Re: Re: Feed, know thyself?
Danny Ayers <[email protected]>
| Newsgroups | gmane.network.syndication.rss.devel |
|---|---|
| Message-ID | <[email protected]> |
On Mon, 17 Jan 2005 16:11:25 -0000, Phil Shaw <phil-BtY/pAun/[email protected]> wrote: > > On 17 Jan 2005, at 14:20, ecomputerd wrote: > > > I agree about the urgent need for a universal way of being able to > > sign up for a feed from a browser. And I agree that a self- > > referencing Uri is very useful as well. > > > > My only complaint is from a usage standpoint: I would really like a > > way to know the Uri is a feed or opml file from the HREF itself so I > > can parse an HTML document and retrieve all RSS/OPML files without > > doing a server request for each link. > > There are ways for an HTML document to declare the content type of a > link in advance of an HTTP request; the type attribute is used for > RSS autodiscovery with link elements [1] and could just as well be > used for a elements -- the type, rel, href and title attributes > apply. > > <a rel="alternate" type="application/rss+xml" title="RSS" > href="url/to/rss/feed">RSS feed</a> > > This makes it a task for publishers to use such a scheme and > browsers, spiders, etc. to do something with it. Yep. The case with spidering/autodiscovery is slightly different than the one referred to here. > URI is designed to be content independent -- content negotiation may > result in any acceptable type being returned, or none. The HTTP > Content-Type header tells you what's coming down the line. Quite. The resource identified by http://example.org/something.xml could have both a OPML and an RSS representation. > I don't quite see Danny's use case where you have a feed and cannot > deduce its network origin? When you click on a link in your browser...mime-type handlers in Internet Explorer (and probably other browsers) only pass on the data stream, not its source URI. (As yet I've not found a definitive doc for this, but this is as I understand it from skimming around MSDN, e.g. http://msdn.microsoft.com/workshop/networking/pluggable/overview/overview.asp ) 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/