Hi,
Sorry if this question sounds really dumb. I just started to play with xml and rss.
I have this xml file
<?xml version="1.0"?>
<rss version="2.0">
<channel>
<title>Test RSS</title>
<description>The explanation of how the items are related goes here</description>
<link>http://www.mydomain.com/index.php</link>
<item>
<title>Title</title>
<description>The description goes here</description>
<link>http://www.mydomain.com/createPage.php?id=fakeID&url=contents/myContent.php&img=0&pageType=type</link>
</item>
<item>
...
</item>
<item>
...
</item>
</channel>
</rss>
I submitted this to RSSpect.com. On my page, when I click on the link from RSSpect, it goes to the page where there is a list of all articles in my site. When I click on the Read More, the individual article comes up in Safari as expected. But when I do it on IE7, it gives an error about the line:
<link>http://www.mydomain.com/createPage.php?id=fakeID&url=contents/myContent.php&img=0&pageType=type</link>
It says that semi colon character was expected Character: 65
And when I tried to validate it on W3C, it complains about this line too, saying it's not well formed.
If it's not well formed, why does it work on Safari? How do I remady this? Do I need to write some kind of DTD?
Thanks in advance.
M
Sorry if this question sounds really dumb. I just started to play with xml and rss.
I have this xml file
<?xml version="1.0"?>
<rss version="2.0">
<channel>
<title>Test RSS</title>
<description>The explanation of how the items are related goes here</description>
<link>http://www.mydomain.com/index.php</link>
<item>
<title>Title</title>
<description>The description goes here</description>
<link>http://www.mydomain.com/createPage.php?id=fakeID&url=contents/myContent.php&img=0&pageType=type</link>
</item>
<item>
...
</item>
<item>
...
</item>
</channel>
</rss>
I submitted this to RSSpect.com. On my page, when I click on the link from RSSpect, it goes to the page where there is a list of all articles in my site. When I click on the Read More, the individual article comes up in Safari as expected. But when I do it on IE7, it gives an error about the line:
<link>http://www.mydomain.com/createPage.php?id=fakeID&url=contents/myContent.php&img=0&pageType=type</link>
It says that semi colon character was expected Character: 65
And when I tried to validate it on W3C, it complains about this line too, saying it's not well formed.
If it's not well formed, why does it work on Safari? How do I remady this? Do I need to write some kind of DTD?
Thanks in advance.
M