When I go to URL blog/feed the RSS feed has a bad <link> value.
I am getting: <link>?q=blog</link>
It should be: <link>http://www.unicom.com/ctiaustin/new/?q=blog</link>
I will attach a patch that fixes the problem.
| Comment | File | Size | Author |
|---|---|---|---|
| link-url-fix.txt | 1021 bytes | chip |
Comments
Comment #1
chip commentedI may have made a mistake here. The <rss> tag has an xml:base parameter, so the URL produced may be correct after all. Somebody may need to check the RSS 0.92 spec to verify.
Still, I'm wondering if it's wise to depend that the RSS reader has enough of a conforming XML implementation to understand this, rather than just specifying a full URL. A full URL would seem to be the more conservative thing to do.
Comment #2
fx-1 commentedRSS .092:
" <link> -- A URL pointing to the website named in the . Maximum length is 500 characters."
Keyword here: URL. Not "path". Looks like this is valid to fix. But, I haven't been following the RSS wars very close.
Comment #3
jonbob commentedThis is fixed in CVS; I doubt it will be patched in older versions, since the base href is present and 4.5 is not far off. Those interested can apply the patch given here, though.
Comment #4
(not verified) commented