Empty RSS feeds that don’t break
Posted: 09 June 2008 04:46 AM   [ Ignore ]  
Lab Assistant
RankRank
Total Posts:  120
Joined  01-12-2006

Following on from this thread I thought I’d open up a feature request regarding the current behaviour of the {exp:rss:feed} tag when no entries are present. Currently if no entries are present for the criteria specified then the feed is not generated at all, with EE throwing up an inaccurate ‘The section specified in your RSS feed does not exist.’ error.

As that error is wrapped in the standard EE message HTML any feed reader will report that the feed is broken whenever it is empty, which is likely to lead to users unsubscribing as they will assume the feed is useless. In my opinion the RSS feed should be generated as normal, despite containing no entries. Feed readers will then be able to provide a ‘no items’ warning which, within the context of an ‘upcoming events’ feed, for instance, is by far the more desirable behaviour.

I can’t really think of a time when the existing behaviour would be helpful. It displays a message that is inaccurate and that the user has no need to see. From a debugging perspective it’s pretty confusing.

Thoughts?

 Signature 

VayaDesign | EE Design & Development Services
EE Goodies: TealTemplate, Simple Pagination Plugin

Profile
 
 
Posted: 09 June 2008 04:51 AM   [ Ignore ]   [ # 1 ]  
Moderator
Avatar
RankRankRankRankRankRankRank
Total Posts:  14038
Joined  05-15-2004

I’m not saying that this FR is without merit, but I have a hard time thinking of a scenario where your feed would be empty.

 Signature 

Everything will be good in the end. If it’s not good, it’s not the end.

Profile
MSG
 
 
Posted: 09 June 2008 05:03 AM   [ Ignore ]   [ # 2 ]  
Lab Assistant
RankRank
Total Posts:  120
Joined  01-12-2006

I have a site with an Upcoming Events feed. As the client in question has a variety of revenue streams events are not always going to be forthcoming. Because of that it is especially valuable to be able to provide an RSS feed, so this is an issue that I have to work around currently.

 Signature 

VayaDesign | EE Design & Development Services
EE Goodies: TealTemplate, Simple Pagination Plugin

Profile
 
 
   
 
 
Post Marker Legend
New Topic New posts Hot Topic Hot Topic with new posts New Poll New Poll Moved Topic Moved Topic Sticky Topic Sticky topic
Old Topic No new posts Hot Old Topic Hot Topic with no new posts Old Poll Old Poll Closed Topic Closed Topic Announcement Announcements
Theme
Change Theme
Visitor Statistics
The most visitors ever was 1149, on July 16, 2007 10:33 AM
Total Registered Members: 62608 Total Logged-in Users: 20
Total Topics: 77099 Total Anonymous Users: 7
Total Replies: 416319 Total Guests: 155
Total Posts: 493418    
Members ( View Memberlist )
Newest Members:  CIfan1000grayskwrlcornernotetriplexwengbaoshanGenki1gabewellsGlaucoeudj1nsehart