I created an RSS feed manually. but when I use it in some Feed sites or social bookmarking sites, it says: "Couldn't parse RSS file!" Anyone can check what's wrong with it, please? The feed URL is: http://twesto.com/mostpopular.xml Thanks
I got this error message " XML Parsing Error: not well-formed Location: Line Number 2, Column 1:<xml version="1.0" encoding="UTF-8"> ^" maybe have a look at line 2 eh? Good luck
Title, link, and description should be inside <channel>, not before it. they are not valid root elements in a XML RSS feed. Also a LOT of XML parsers choke on non UTF encodings, so as convenient as Windows-1256 might be for you when working in Arabic, get that thing to UTF-8. <?xml version="1.0" encoding="utf-8" ?> <rss version="2.0"> <channel> <title>تويستو Twesto</title> <description> Twesto web services. تويستو لخدمات الويب. </description> <link>http://twesto.com/</link> <item> <title>نجوم اف ام</title> <description>الإستماع إلى البث المباشر لإذاعة نجوم اف ام على الإنترنت.</description> <link>http://twesto.com/nogoomfm/</link> </item> <item> <title>Nogoom FM</title> <description>Listen to Nogoom FM live stream on the internet.</description> <link>http://twesto.com/nogoomfm/</link> </item> </channel> </rss> Code (markup): Though a nice side effect is the ability to run multiple channels per feed. .. and be bloody well certain <?xml is the FIRST line of code, some parsers will choke if you even have a CR/LF before it. that < MUST be the first character for best compatibility. SOME parsers will also screw up if you leave out the space between " and ?> -- which is really stupid, but XML was designed to make the parser as simple as possible and the people writing XML work harder.