Re: Preparing site content for RSS XML feed

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




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

---------------------------------------------------------

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux