• Resolved timb111

    (@timb111)


    I want to use the RSS feature to show the events list from my website (site1) on another website (site2), and show the event name and start date/time and featured image with a link back to my site. I’m using this URL and the RSS feed does display a list:
    https://site1.co.uk/?eme_rss=main&scope=future&show_ongoing=1&order=ASC&category=&author=&contact_person=&limit=5&location_id=&title=

    EME’s RSS feed seems to list just the date the event was published on the site <pubDate>. I can see that the event start date is listed in the <description> tag of the feed but it’s joined with the event description and the image url. Site2 is also made using WordPress and the RSS reader plugins that I’ve tried don’t seem to have a feature to extract and display the event start date/time and image url from within the <description>.

    Is it possible to have EME list the start date/time in a separate tag and also the image url in a separate tag? Or is there another way to do this?

    Thanks

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author Franky

    (@liedekef)

    The RSS standard doesn’t support event info as separated fields. Maybe you can try to use the EME ical feed, that is more suited for event info.

    Thread Starter timb111

    (@timb111)

    Thanks Franky. I tried the ical feed but it looks more complicated to get the result I need, so I went back to explore the RSS feed.

    I found in the EME settings the options “RSS Pubdate is start date” and this is what I needed. It gives the events start date correctly but it gives the event start time incorrectly, showing a start time of 1 hour before the actual event start time. E.g. I have one event starting at 4.30pm but the feed shows 3.30pm. I wondered if it was a timezone issue, and I checked the edit event page and the settings for a timezone option but there isn’t one. And I don’t need one. So I’m wondering if this a bug?

    And I checked the Harvard RSS link that’s added to the RSS feed. It shows that an image link is part of the RSS specification. So is it possible to add the featured image URL in an image tag to the RSS feed?

    Thanks

    Plugin Author Franky

    (@liedekef)

    The timezone of your WP installation is used, so maybe that’s the problem?
    Concerning the image, this should fix it:

    https://plugins.trac.ww.wp.xz.cn/changeset/2121528/

    Thread Starter timb111

    (@timb111)

    Brilliant, thanks Franky! Changing the WP timezone to London didn’t work, but changing it to GMT did work just fine.

    And thanks for adding the event image url to the code for version 2.1.29. I’ll wait for that to be released.

    Plugin Author Franky

    (@liedekef)

    If the timezones of your 2 installations are the same, then it should work as expected. I’ll test some more here too.

    Plugin Author Franky

    (@liedekef)

    Concerning the timezone: I now show the RSS feed (when using event start date) with the local timezone. This should help with some parsers (it used to be GMT, but some parsers might not take up the timezone difference).
    This is the change:
    https://plugins.trac.ww.wp.xz.cn/changeset/2121713/

    Thread Starter timb111

    (@timb111)

    Great, thanks for the update Franky!

Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘Event dates in RSS feed’ is closed to new replies.