Re: Feed updates and duplicates handling

Danny Ayers <[email protected]>
Newsgroups gmane.network.syndication.rss.devel
Message-ID <[email protected]>
On Wed, 22 Dec 2004 00:36:01 -0000, Frédéric Laruelle
<laruellef-/[email protected]> wrote:
> 
> 
> How are RSS feeds typically updated?, i.e.:
> - are old elements removed?

Usually there will be around 10-20 entries in a feed. When a new entry
is published, it is added to the top of the 'list' and the oldest
entry is removed from the bottom.

> - how do you deal with publishing multiple times the same element(s)?

Each entry has a globally unique identifier (its URI) so it's easy to
spot duplicates (in the typical pub-sub situation).

> is removing duplicates the responsibility of the reader?

Hmm, yes and no. The publisher will usually only be publishing one
copy of an entry in a feed at any given time. But if the reader gets
the same entry from different sources (the original publisher, an
online agregated site like one of the "Planets" etc) then they can use
the entry URI to spot duplicates.

(RSS 1.0 and Atom use standard URIs, RSS 2.0 uses 'guid's which can be
arbitrary strings)

> Are these topics addressed in a specification or earlier thread?

Probably, but a long time ago - your best bet now might be Google.
Here's one quick overview:
http://www.mnot.net/rss/tutorial/

Cheers,
Danny.


-- 

http://dannyayers.com


 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/rss-dev/

<*> To unsubscribe from this group, send an email to:
    [email protected]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.