Re: FriendFeed's Simple Update Protocol
"Charles Iliya Krempeaux" <[email protected]> Sat, 6 Dec 2008 11:43:24 -0800
| Newsgroups | gmane.network.syndication.rss.support |
|---|---|
| Message-ID | <84ce626f0812061143r4ce6ef2ema5c7064828e09fcb__20421.8209059492$1228592934$gmane$org@mail.gmail.com> |
Hello, On Sat, Dec 6, 2008 at 7:48 AM, rcade <[email protected]> wrote: > FriendFeed is working on Simple Update Protocol (SUP), a means of > discovering when feeds on a particular service have been updated > without polling the individual feeds: > > http://code.google.com/p/simpleupdateprotocol/ > > Feeds indicate their updates can be tracked with SUP by using a new > channel-link tag, as in this example from an Atom feed: > > <link rel="http://api.friendfeed.com/2008/03#sup" > href="http://friendfeed.com/api/sup.json#53924729" > type="application/json" /> > > The rel attribute identifies an ID for the feed, called its SUP-ID. > The href attribute contains a URL that uses JSON data to identify > updated feeds by their SUP-IDs. > > My first take on the protocol is that defining a relationship with a > URI is too different than standard link relationships in HTML: > > http://www.w3.org/TR/REC-html40/types.html#type-links AFAIK, Atom requires you to use URLs for non-standard "rel" attribute values. So what SUP is doing for the "rel" attribute is correct. > Also, neither RSS 1.0 nor RSS 2.0 allows multiple channel-link tags, > so this would only be valid in an Atom feed. > > Both of these concerns could be addressed by identifying the SUP > provider with a new namespace like this: > > <rss xmlns:sup="http://friendfeed.com/api/sup/"> > <channel> > <sup:provider href="http://friendfeed.com/api/sup.json#53924729" > type="application/json" /> > ... You could also just use Atomic RSS... http://www.tbray.org/ongoing/When/200x/2005/07/27/Atomic-RSS ... and get... <rss xmlns:atom="http://www.w3.org/2005/Atom"> <channel> <atom:link rel="http://api.friendfeed.com/2008/03#sup" href="http://friendfeed.com/api/sup.json#53924729" type="application/json" /> ... That way SUP looks basically the same in Atom and RSS. -- Charles Iliya Krempeaux, B.Sc. http://changelog.ca/ ------------------------------------ Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/rss-public/ <*> Your email settings: Individual Email | Traditional <*> To change settings online go to: http://groups.yahoo.com/group/rss-public/join (Yahoo! ID required) <*> To change settings via email: mailto:[email protected] mailto:[email protected] <*> 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/