Re: Re: Absolute URLs are required in RSS 2 descriptions or not?
"James Holderness" <[email protected]>
| Newsgroups | gmane.network.syndication.rss.support |
|---|---|
| Message-ID | <BAY141-DAV14F04040D784C918F3D8D9BE030__22035.1158212454$1183521034$gmane$org@phx.gbl> |
A. Pagaltzis wrote:
> It doesn’t say links have to be absolute, but it doesn’t explain
> how to resolve relative URIs either. Therefore aggregators have
> no canonical basis on which to decide, and so they do different
> things.
While the RSS spec doesn't say anything about resolving relative URIs,
section 5 of RFC 3986 does (and prior to that RFC 2396). Also certain parts
of RFC 2616 come into play when a feed is retrieved via HTTP (which is
typically the case). Technically I believe those are the rules an RSS
aggregator *should* be following.
Unfortunately in practice those rules don't work very well for feeds, and
most aggregators don't follow them. Whether that is intentional, or
developers just don't read RFCs is debatable, but the end result is the
same.
d wrote:
> But the validator is wrong to claim that the spec forbids it.
What is the error message you are seeing? I just ran one of my test feeds
through the validator, and all I got was a warning:
http://www.feedvalidator.org/docs/warning/ContainsRelRef.html
While a relative URI inside the description element may not technically be
illegal, it definitely warrants a warning.
Regards
James
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/