Hello, on 09/19/2005 11:16 AM David Robley said the following:
Wondering if anyone knows of a PHP class or other PHP tool for creating RSS/XML data which gracefully handles 'strange' characters such as M$ Word's delightful 'smart quotes'. I've found a couple so far, libRSS (by Jan Pieper) and ContentFeeder 2.0, but neither deals very well with the plethora of rubbish that seems to issue from Word. These seem to be mainly in the range (but not all of the range) ASCII 128 - 159
You may want to try this class. It can generate XML/RSS documents in any encoding you want. It may also convert iso-8859-1 to utf-8 and vice-versa when generating the XML documents, but if you already have the text in the target encoding that you want to use, you do not need the class to convert anything:
http://www.phpclasses.org/rsswriter You also need this: http://www.phpclasses.org/xmlwriter -- Regards, Manuel Lemos PHP Classes - Free ready to use OOP components written in PHP http://www.phpclasses.org/ PHP Reviews - Reviews of PHP books and other products http://www.phpclasses.org/reviews/ Metastorage - Data object relational mapping layer generator http://www.meta-language.net/metastorage.html -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php