Error on RSS Feeds

Home Forums Calendar Products Events Calendar PRO Error on RSS Feeds

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #950221
    Jason
    Participant

    I have included the RSS feed information in my functions.php file as documented in the following post:
    https://theeventscalendar.com/knowledgebase/customize-rss-feed/

    I noticed today that my site was returning an error on feeds from the events calendar and after some investigation this was the error:

    error on line 8 at column 12: Specification mandate value for attribute rn

    I see the reference to “rn” in the Add Tribe Event Namespace code:

    function events_rss2_namespace() {
        echo 'xmlns:ev="http://purl.org/rss/2.0/modules/event/"'."rn";
    }
    

    Not what may be causing the feed to fail. Also, while I have your ear, it there an easy way to add the start time to an rss feed?

    #950670
    Josh
    Participant

    Hey Jason,

    Thanks for reaching out!

    I tested the snippet and noticed the same error however noticed that it should work if you exclude the namespace section at the beginning. However, we do need to address the associated URL to see what’s currently causing that error.

    To add the start time, you can follow the same format for the addition of the start date from that same tutorial. You’ll just need to replace the date functions with the time functions https://theeventscalendar.com/function/tribe_get_start_time/.

    Thanks!

    #983915
    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 ‘Error on RSS Feeds’ is closed to new replies.