What's wrong with my RSS feed?

XML, Perl, Python, and other languages can be discussed here, even if it isn't PHP (We might forgive you).

Moderator: General Moderators

Post Reply
stukov
Forum Commoner
Posts: 26
Joined: Sun Jul 24, 2005 2:16 pm
Location: Sherbrooke, Qc, Canada

What's wrong with my RSS feed?

Post by stukov »

What's wrong with the following XML code (supposed to be an RSS feed). Aren't entities working?

Code: Select all

14:     <guid>http://example.com/showNews.php?id=79</guid>
 15:     <pubDate>Mon, 12 Sep 2005 18:37:00 GMT</pubDate>
 16:     <description>Obtiens un sac a dos gratuitement ! 
 17: 1-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Tu t&rsquo;enregistres : http://www.example.com
 18: 2-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Le jour de l&rsquo;&eacute;v&eacute;nement tu recevras un SMS de confirmation !
Thanks for your help.
User avatar
andyhoneycutt
Forum Contributor
Posts: 468
Joined: Wed Aug 27, 2008 10:02 am
Location: Idaho Falls

Re: What's wrong with my RSS feed?

Post by andyhoneycutt »

Taking a look at XML Character Entity Sets, it appears you are required to define in your xml document which entity sets you will be working with.

-Andy
Post Reply