Quantcast
Channel: RSS feed output has HTML, doesn’t validate/work in IE | WordPress.org
Viewing all articles
Browse latest Browse all 12

RSS feed output has HTML, doesn’t validate/work in IE

$
0
0

So after researching this a bit, I’ve found that my RSS feed link for my site is outputting the HTML for the homepage of the site after the RSS XML tag closes. While Firefox and Chrome don’t have a problem with that, IE deems it as poorly formed XML and refuses to display it.

So, in extremely abridged form:

<xml>
<rss></rss>
</xml>
<!DOCTYPE>
<html>
</html>

My RSS URL links to category specific posts and looks like this:
http://www.website.com/?feed=rss&cat=4

In IE it gives me an error saying ‘Cannot have a DOCTYPE declaration outside of a prolog.’ Has anyone seen this before and found a way around it, or why it does this? I tried to link to the RSS like this:
http://www.website.com/news/feed/rss
but it says the link doesn’t exist.


Viewing all articles
Browse latest Browse all 12

Trending Articles