Reply to Re: xml_parse and entities and quotes

Your name:

Reply:


Posted by A.Martini on 02/19/07 21:34

Hello,

Thank you all.

Actually I solved my problems after some google code search about "&8230;"
I have found this function that definitely solve my problem.

http://www.martintod.org.uk/blog/wp-content/plugins/ld_fixrssentities.zip

The big problem was caused by those curly quotes derived by work cut&paste
in the rss.

$poshquotes =
array('’','’','‘','‘','“','”','&8212;','–','&8230;');
$plebquotes = array("'","'","'","'",'"','"','-','-','...');

(warning above the curly quotes are not displayed properly, you shoud
download the code to see it properly)

Seems that some entities are not recognised by the parser and should be
translated into more simple (equivalent) characters.

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация