I have the following RSS code in an XML file. <?xml version="1.0"?> <rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"> <channel> <title>hi (RSS) - DT Centrepiece 4</title> <description>MainPage</description> <link>http://127.0.0.1/C4.2/index.asp?p=1</link> <atom:link href="http://127.0.0.1/C4.2/rss.asp?p=1" rel="self" type="application/rss+xml" /> <item> <title>123</title> <description>hi</description> <link>http://127.0.0.1/C4.2/index.asp?p=1</link> </item> <item> <title>blah</title> <description>hi</description> <link>http://127.0.0.1/C4.2/index.asp?p=1</link> </item> </channel> </rss> Code (markup): The first item shows up fine, but the second item doesn't show up at all in IE or Safari (Works in Firefox). IE says that the RSS contains an error. Any ideas what this error might be? All of the browsers say that there's a problem, but none of them will even give me an error number or description.
try adding this line at the end put the exact url of the rss in it. <atom:link href="http://www.yourdomain.com/rss.xml" rel="self" type="application/rss+xml" /> </channel> </rss>
All yeah besides that line there is nothing wrong with it at all older versions of Internet Explorer do not display rss to add it to your site the correct line of code on your page to make it display after the url in the address bar is <link rel="alternate" type="application/rss+xml" hreflang="en-gb" href="http://www.yourdomain.com/rss.xml" title="RSS Feed: The Title of your url "> this code should go in the head of your page, like in between these <head> </head>