开发者

Query RSS feeds

开发者 https://www.devze.com 2023-02-13 12:15 出处:网络
I have generated the RSS feeds successfully. Now the problem is, XML output is coming out very well in Mozilla Firefox browser. But when it comes to Google Chrome, output is displaying with NO XML t

I have generated the RSS feeds successfully.

Now the problem is, XML output is coming out very well in Mozilla Firefox browser. But when it comes to Google Chrome, output is displaying with NO XML tags. And also when I tried in IE 8, it's throwing an error like "Internet Explorer cannot display this开发者_如何学编程 feed".

Please suggest, how this can be handled.


Validators are your friend here - at least a better friend than browsers. Run your feed through an RSS validator, and if it passes, you're probably fine.

  • Firefox - displays a parsed XML structure when pointed at an XML document.
  • Chrome - doesn't attempt to show an XML structure, you'll just see the text without any tags (which is what you're seeing).
  • Internet Explorer - Not sure about IE8, google says it's supposed to show feeds, but there are plenty of results for the error you're getting.

Use the validator and if there are errors, it will tell you.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号