homepage Welcome to WebmasterWorld Guest from 54.198.42.213
register, free tools, login, search, subscribe, help, library, announcements, recent posts, open posts,
Subscribe to WebmasterWorld
Home / Forums Index / Code, Content, and Presentation / RSS, ATOM, and Related Technologies
Forum Library, Charter, Moderators: bill & werty

RSS, ATOM, and Related Technologies Forum

    
Changing feeds to reflect edited or deleted posts - best practices?
geordie007




msg:1542649
 8:19 pm on Jan 31, 2006 (gmt 0)

hi. really need some advice as google isn't helping.

i've created a bespoke cms/blogging tool for my own site using php and mysql. i'm currently using a php function to generate an rss 2.0 feed - containing the 12 most recent posts - whenever i add a new post. all seems to be working fine, and the feed validates.

my question is this: what is the accepted method with dealing with edited or deleted posts? if i edit a post, this will call my function again, but obviously my original post will be sitting in someone's reader. is there a way of flagging this as an updated post or something? and what about a publish date? do i create a new publish date, or should i continue with the original publish date, or is there an rss 2.0 tag like rePubDate or something?

i just can't seem to find any general advice relating to the fact that you may want to change your feed in some way rather than just adding to it. i can't imagine that it's possible to recall a feed, so surely there is an accepted 'best practice' for when this situation arises.

any advice, help or links to some guides on this would be greatly appreciated. thanks in advance.

danny

 

geordie007




msg:1542650
 6:01 pm on Feb 3, 2006 (gmt 0)


so is there no one in an rss area of a webmasters forum that has created their own rss feed for their site?

Jordo needs a drink




msg:1542651
 7:57 pm on Feb 3, 2006 (gmt 0)

Normally you would show your 12 new posts as different items with the newest post being the first item and your oldest being the last item. Whenever you edit or add a new post, it will become the first item with the others moving down and the last post dropping off the list. If you delete a post, then it should just disappear from your feed. Anytime you change your feed (add, edit, or delete a post) you should update the publish date, because this is what flags the readers as to how fresh the feed is.

geordie007




msg:1542652
 12:34 am on Feb 4, 2006 (gmt 0)


thanks Jordo. anyone else?

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / RSS, ATOM, and Related Technologies
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved