tags:

views:

16

answers:

2

I've had these RSS feeds running for some time and have just now run into an issue on one of them.

http://www.gamer-source.com/feed/news.xml (doesn't work)

and

http://www.starcraft-source.com/feed/news.xml (works)

Chrome is throwing the error...

This page contains the following errors:

error on line 20 at column 63: EntityRef: expecting ';'

Below is a rendering of the page up to the first error.

I've checked it out and can't find any issues with the content there.

A: 
<link>http://www.gamer-source.com/index.php?cmd=article&amp;sec=news&amp;act=view&amp;id=581&lt;/link&gt;

The "&" symbols are your problem. Replace like this:

<link>http://www.gamer-source.com/index.php?cmd=article&amp;amp;sec=news&amp;amp;act=view&amp;amp;id=581&lt;/link&gt;

throughout the XML.

Andy
A: 

The problems comes from the URLs:

http://www.gamer-source.com/index.php?cmd=article&amp;sec=news&amp;act=view&amp;id=581

Those un-encoded ampersands '&' are being interpreted as the beginning of entity references:

http://validator.w3.org/check?uri=http%3A%2F%2Fwww.gamer-source.com%2Ffeed%2Fnews.xml&amp;charset=%28detect+automatically%29&amp;doctype=Inline&amp;group=0

George Marian