"RSS" required in the title of an RDF RSS feed?
I came across an awkward behavior earlier where the RSS 1.0 <link> tag from an HTML page would not be picked up by firefox or safari as an RSS feed (and displayed as such in the address bar).
<?php
<link rel="alternate" type="application/rdf+xml" title="News feed" href="http://example.com/index.rdf" />
?>I did some more testing on a local static HTML page to try some variants, and it seems a <link> tag of the type type="application/rss+xml" or type="application/atom+xml" will be picked up no matter what its title is, but this is not the case for the type type="application/rdf+xml", which requires the title to contain the keyword "RSS" to appear in the address bar. This works:
<?php
<link rel="alternate" type="application/rdf+xml" title="RSS 1.0 News feed" href="http://example.com/index.rdf" />
?>This occurred while I was working on a View with the project issue module. The title of the RDF RSS feed was "Issues for %1", I simply had to override the default View argument Project issue: Project with something like "RSS Issues for %1" to make the RSS feed appear in the address bar.
Add new comment