• twitter image
  • facebook image
  • youtube image
  • linkedin image
Language: CMS Made Simple Czech CMS Made Simple France CMS Made Simple Hungary CMS Made Simple Russia CMS Made Simple Netherlands

All times are UTC




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: Re: Events Listing module - cross domain
PostPosted: Wed Jun 13, 2018 1:56 pm 
Offline
Dev Team Member
Dev Team Member
User avatar

Joined: Wed Apr 23, 2008 7:53 am
Posts: 7586
Location: The Netherlands
RSS Feed(Reader) or use Cache Remote File tag? http://cms.ms/7S86

Example:
CGBlog content from main website made available as plain HTML "file" https://www.zeijen.nu/feeds/feed-svz-nieuws
With CacheRemoteFile tag read, stored and displayed at another site https://sportvereniging.zeijen.nu/

_________________
Image

Did my post help you solving a problem at your (customers) website and it saved you many hours of work? Great!! Consider buying me a cup of coffee in return! [ Click here ]



Top
  Profile  
 
Share On:
Share on Facebook Share on Twitter Share on Google+
 Post subject: Re: Events Listing module - cross domain
PostPosted: Wed Jun 13, 2018 4:54 pm 
Offline
Dev Team Member
Dev Team Member
User avatar

Joined: Wed Apr 23, 2008 7:53 am
Posts: 7586
Location: The Netherlands
What is the output of each site? List, table? Have a link?

_________________
Image

Did my post help you solving a problem at your (customers) website and it saved you many hours of work? Great!! Consider buying me a cup of coffee in return! [ Click here ]



Top
  Profile  
 
Share On:
Share on Facebook Share on Twitter Share on Google+
 Post subject: Re: Events Listing module - cross domain
PostPosted: Thu Jun 14, 2018 9:26 am 
Offline
Dev Team Member
Dev Team Member
User avatar

Joined: Wed Apr 23, 2008 7:53 am
Posts: 7586
Location: The Netherlands
I am playing in my mind with the idea it could be possible with something like a table or list.
You can sort them at the receiving website.

Very quick example using a table:

Client websites, 4 times something like:
Code:
{foreach from=$events item='event'}
  <tr>
    <td>{$the_date_tags}</td>
    <td>{$the_description_tags}</td>
  </tr>
{/foreach}


Call the Event Listing module at a hidden page and no template, so plain HTML. Like described in my tutorial http://cms.ms/7S86

At the receiving website
Code:
<table>
  <th>
    <td>Date</td>
    <td>Description</td>
  </th>
  {cache_remote_file url='http://www.website-1.com/index.php?page=some-alias'}
  {cache_remote_file url='http://www.website-2.com/index.php?page=some-alias'}
  {cache_remote_file url='http://www.website-3.com/index.php?page=some-alias'}
  {cache_remote_file url='http://www.website-4.com/index.php?page=some-alias'}
</table>


With jQuery table sorting you can put them in the correct order... At least that is how it could work in my brain right now :)
You should setup a test small test install to see how (if!) it works in real life...

_________________
Image

Did my post help you solving a problem at your (customers) website and it saved you many hours of work? Great!! Consider buying me a cup of coffee in return! [ Click here ]



Top
  Profile  
 
Share On:
Share on Facebook Share on Twitter Share on Google+
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
A2 Hosting