2levelsabove Posted December 24, 2008 Share Posted December 24, 2008 Hello, I have a RSS feed (http://alltherides.com/feed.xml) that appears fine in certain instances and when you refresh page it randomly starts showing up as plain text without any formatting. Please please help me fix this as I have asked this question before noone was able to help me. Thanks a lot and happy holidays Quote Link to comment https://forums.phpfreaks.com/topic/138344-solved-rss-feed-shows-up-randomly-as-text-noone-was-able-to-help-me-in-othe-forum/ Share on other sites More sharing options...
JasonLewis Posted December 24, 2008 Share Posted December 24, 2008 Uh not sure, tried a different method of encoding? Quote Link to comment https://forums.phpfreaks.com/topic/138344-solved-rss-feed-shows-up-randomly-as-text-noone-was-able-to-help-me-in-othe-forum/#findComment-723409 Share on other sites More sharing options...
chronister Posted December 25, 2008 Share Posted December 25, 2008 Check this out, I would start with this and go from there. http://feedvalidator.org/ Recommendations This feed is valid, but interoperability with the widest range of feed readers could be improved by implementing the following recommendations. *Feeds should not be served with the "text/html" media type [help] * Your feed appears to be encoded as "UTF-8", but your server is reporting "ISO-8859-1" [help] * line 24, column 50: description contains bad characters (1710 occurrences) [help] <description><![CDATA[Trax Auto Wholesale Inc  2005 Ford Escape Limite ... That's what I get when I run your xml file through it. It may be a valid feed, but since it is not working all the time I would bring it to a completely valid, proper feed and see if that works for ya... if it does, then start adding the other things and see where it breaks. I got it to be recognized as an rss feed once... then about 5 times as plain xml code. Nate Quote Link to comment https://forums.phpfreaks.com/topic/138344-solved-rss-feed-shows-up-randomly-as-text-noone-was-able-to-help-me-in-othe-forum/#findComment-723420 Share on other sites More sharing options...
chronister Posted December 25, 2008 Share Posted December 25, 2008 Remove encoding="UTF-8" and it will work. I copied your source, and removed the encoding type and it now shows up as an rss feed every time. Nate Quote Link to comment https://forums.phpfreaks.com/topic/138344-solved-rss-feed-shows-up-randomly-as-text-noone-was-able-to-help-me-in-othe-forum/#findComment-723424 Share on other sites More sharing options...
JasonLewis Posted December 25, 2008 Share Posted December 25, 2008 Or giving it the correct encoding which, as stated, would be ISO-8859-1. Quote Link to comment https://forums.phpfreaks.com/topic/138344-solved-rss-feed-shows-up-randomly-as-text-noone-was-able-to-help-me-in-othe-forum/#findComment-723431 Share on other sites More sharing options...
2levelsabove Posted December 25, 2008 Author Share Posted December 25, 2008 Guys thank you all for your feedback. I removed the encoding="UTF-8" and it seems to be working fine. Thank you soooooooooooooooooooooooooooooooooooooo much. This was a thorn in my ass for a while. Quote Link to comment https://forums.phpfreaks.com/topic/138344-solved-rss-feed-shows-up-randomly-as-text-noone-was-able-to-help-me-in-othe-forum/#findComment-723435 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.