- This topic has 2 replies, 2 voices, and was last updated 11 years, 12 months ago by .
Viewing 3 posts - 1 through 3 (of 3 total)
Viewing 3 posts - 1 through 3 (of 3 total)
- The forum ‘Generic’ is closed to new topics and replies.
Events Made Easy › Forums › Generic › RSS feed error….
Hi, I am using the rss feed for events but in the feed when there are no events it shows:
“An error has occurred; the feed is probably down. Try again later.”
I did just want to change this text to something like:
“Thank you for looking but at this time there are no events listed, please check back later.”
Rather than the site looking like it’s broken when it’s not but couldn’t find this text in the files (“An error….”) or is there a way for the feed to show the text I want to instead of the error text.
Thanks
Let me check this, this is most probably a bug …
The rss feed code is perfectly ok: when there are no events, the feed has no “item” entries. A correctly implemented RSS reader should be ok with this.
But see http://stackoverflow.com/questions/4009114/how-to-make-an-empty-rss-feed , it seems google reader (and maybe others), don’t like it when the feed is item-less. So I added a dummy item if the feed is empty. No extra text can be added though, since that would assume there’s an actual entry.