Ken MacLeod <ken@...> wrote:
> If that's the case, <link> is definitely the URL of the site or
> channel that this <channel> describes, therefore the rdf:about would
> be too, and any examples to the contrary are just wrong.
I was just re-reading the spec on this point, and things are very unclear.
First, the channel element only says "The {resource} URL of the channel
element's rdf:about attribute *must* be the *same* as that found in each of
the inchannel elements found in the image, item, and textinput elements." To
me this implies that it can be any URL.
It is not until you get to the link element that you see "The channel link
element is superceded by (and identical to) the channel element's rdf:about
attribute, but is required for backward compatibility with RSS 0.9."
However, syntax section reads <link>{channel_link}</link> not {resource} as
would be expected. This is inconsistent with all of the other link elements
in the spec.
However, every example in the spec, as well as Edd's proposal, use the
rdf:about to point to the URL of the RSS file, like:
<channel rdf:about="http://www.xml.com/xml/news.rss">
<channel rdf:about="http://meerkat.oreillynet.com/?_fl=rss1.0">
If nothing else, we need to clear up the inconsistency in the spec.
--
Aaron Swartz | me@... | http://www.aaronsw.com