RSS Feed No Start or End Dates

Home Forums Welcome! Pre-Sales Questions RSS Feed No Start or End Dates

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #50675
    Brett
    Guest

    I visited your forum and found this page about adding the start and end event dates in a feed: https://theeventscalendar.com/how-to-add-events-to-your-rss-feed/. I tried adding the following code that you provided for the functions.php, at the bottom of the page:

    // Add Tribe Event Namespace
    add_filter( ‘rss2_ns’, ‘events_rss2_namespace’ );
    function events_rss2_namespace() {
    echo ‘xmlns:ev=”http://purl.org/rss/2.0/modules/event/”‘;
    }

    // Add Event Date to RSS Feeds
    add_action(‘rss_item’,’tribe_rss_feed_add_eventdate’);
    add_action(‘rss2_item’,’tribe_rss_feed_add_eventdate’);
    add_action(‘commentsrss2_item’,’tribe_rss_feed_add_eventdate’);
    function tribe_rss_feed_add_eventdate() { ?>

    <?php }

    However, I get a parse error on the last line of functions.php. I had to pull this code out immediately via FTP because the whole site was gone. However, here is a link to my feed: http://kellysrestaurant.com/outer-banks-events-entertainment/feed/.
    Any help is appreciated. Thank you.
    http://wordpress.org/extend/plugins/the-events-calendar/

    Will the Pro version automatically pull event start and end dates into the feed?

    #50735
    Leah
    Member

    Hi Brett,

    Thanks for getting in touch. Events Calendar PRO will not automatically pull the start and end dates into the feed- it works more or less the same as the feed for The Events Calendar. However, buying PRO would get you access to our premium support forums, where we could hopefully help you solve the parsing error.

    If that’s not an option, you might try posting your issue to the open source forum. We hit that forum about once a week as we can, since our core effort is on the PRO forums. But someone else in the community may be able to help out.

    Best,
    Leah

    #979177
    Support Droid
    Keymaster

    This topic has not been active for quite some time and will now be closed.

    If you still need assistance please simply open a new topic (linking to this one if necessary)
    and one of the team will be only too happy to help.

Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘RSS Feed No Start or End Dates’ is closed to new replies.