Re: Re: Feed, know thyself?

"Phil Shaw" <phil-BtY/pAun/[email protected]>
Newsgroups gmane.network.syndication.rss.devel
Message-ID <41EBE3AD.5529.1A06D8E@localhost>
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.

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.

I don't quite see Danny's use case where you have a feed and cannot 
deduce its network origin?

[1] 
http://diveintomark.org/archives/2002/06/02/important_change_to_the_li
nk_tag


--
<URL:http://www.codestyle.org/>


 
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.