Events Listing module - cross domain

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Post Reply
User avatar
Rolf
Dev Team Member
Dev Team Member
Posts: 7759
Joined: Wed Apr 23, 2008 7:53 am
Location: The Netherlands
Contact:

Re: Events Listing module - cross domain

Post by Rolf »

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
- + - + - + - + - + -
Latest CMSMS tutorial: FormBuilder WatchGuard
- + - + - + - + - + -
Did my post help you solving a problem at your (customers) website and it saved you many hours of work?
Great!! Buy me a cup of coffee in return as a small token of appreciation!
User avatar
Rolf
Dev Team Member
Dev Team Member
Posts: 7759
Joined: Wed Apr 23, 2008 7:53 am
Location: The Netherlands
Contact:

Re: Events Listing module - cross domain

Post by Rolf »

What is the output of each site? List, table? Have a link?
Image
- + - + - + - + - + -
Latest CMSMS tutorial: FormBuilder WatchGuard
- + - + - + - + - + -
Did my post help you solving a problem at your (customers) website and it saved you many hours of work?
Great!! Buy me a cup of coffee in return as a small token of appreciation!
User avatar
Rolf
Dev Team Member
Dev Team Member
Posts: 7759
Joined: Wed Apr 23, 2008 7:53 am
Location: The Netherlands
Contact:

Re: Events Listing module - cross domain

Post by Rolf »

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: Select all

{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: Select all

<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
- + - + - + - + - + -
Latest CMSMS tutorial: FormBuilder WatchGuard
- + - + - + - + - + -
Did my post help you solving a problem at your (customers) website and it saved you many hours of work?
Great!! Buy me a cup of coffee in return as a small token of appreciation!
Post Reply

Return to “Modules/Add-Ons”