I have had some problems setting up a RSS feed url via Views today.
From what I can tell, and please fill me in here, is that the tag is requesting a namespace of "dc" which is not defined in the xml tag. All the other tags in the rss feed are the default namespace, such as . Shouldn't the tag be and not ?
This causes both Firefox and IE to generate parse errors and not display the RSS feed...
Comments
Comment #1
dawehnerThis is views:
This is from core:
I guess views would have to add " xmlns:dc="http://purl.org/dc/elements/1.1/" right?
Comment #2
darren1713 commentedEXACTLY! but I think I ran across a bug somewhere because that namespace is written into code, but does not come through in the $namespace variable in views-view-rss.tpl.php
I modified views-view-rss.tpl.php to include xmlns:dc='http://purl.org/dc/elements/1.1/' and although it is hardcoded, it works. Is that namespace really a "variable" though? Should it just be hardcoded in the template file?
Comment #3
dawehnerOh I found the problem.
I commited a fix. It will be availible on the next 6hrs in the dev release and immediately in the cvs.