Problem: All rss displays on a view will have the xml:base attribute on the rss tag set to the value of the first rss display for that view.
Steps to recreate: Create a view with two rss displays "x" and "y". Inspect the source code of both feeds. Notice that the first line for both feeds reads: <?xml version="1.0" encoding="utf-8" ?><rss version="2.0" xml:base="http://my.site/x.xml" xmlns:dc="http://purl.org/dc/elements/1.1/">
Now reorder the displays so that "y" comes before "x" and the first line for both feeds now reads <?xml version="1.0" encoding="utf-8" ?><rss version="2.0" xml:base="http://my.site/y.yml" xmlns:dc="http://purl.org/dc/elements/1.1/">
While not affecting the actual feed contents, this has the unfortunate side effect of making google reader (and likely other digests) display (title unknown) for the feed.
Note: Here is the offending line in the default rss template <rss version="2.0" xml:base="<?php print $link; ?>"<?php print $namespaces; ?>>
Comments
Comment #1
dawehnerI tryed to setup a very simple view
Sadly i couldn't reproduce the bug.
On the views issue create page is a link to http://drupal.org/node/571990.
There you can read that it's highly recommended to export the view :) In general it's worth to read this document.
Comment #2
esmerel commentedComment #3
nonprofit commentedI'm having a similar problem with Views 6.x-2.12.
View created to generate feed and Google Reader reads the title of the feed as "(title unknown)"
View is a simple one:
May be related to http://drupal.org/node/225825
Any assistance appreciated. Thanks!
Comment #4
nonprofit commentedIn an unexpected twist, changing the path from /news/feed to /news/feed.xml (and resubscribing) causes Google Reader to properly display title.