Re: Preparing site content for RSS XML feed

From: Date: Thu, 02 Feb 2006 09:10:39 +0000
Subject: Re: Preparing site content for RSS XML feed
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-229698@lists.php.net to get a copy of this message
Murray @ PlanetThoughtful wrote: > Hi All, > > I currently generate a simple rss.xml file for syndication from my site, > containing nothing more than the subject of the post and a link to the > article on my site. > > I'd like to syndicate the the actual content of each of the posts, but > as I understand it RSS / XML is somewhat demanding in what it expects of > how various html entities are treated etc? > > I don't suppose, by any chance, that there are any PHP tools that can be > easily factored in to a process to take content that would include > normal HTML (ie DIV and SPAN tags, links, TABLEs etc)? > > Failing that, does anyone know of a good guide on what steps need to be > taken to create a valid RSS feed where the content contains HTML? > > Any help appreciated! > > Much warmth, > > Murray > -- Why dont you look at other feeds see how they do this? Enclosing the HTML data within a cdata section should suffice! James --------------------------------------------------------- Master CIW Designer http://www.ciwcertified.com Zend Certified Engineer http://www.zend.com http://www.jamesbenson.co.uk ---------------------------------------------------------

« previous php.general (#229698) next »