Re: rss feeds from db
| From: | Adam Zey | Date: | Thu, 22 Jun 2006 19:41:25 +0000 |
| Subject: | Re: rss feeds from db | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-238522@lists.php.net to get a copy of this message | ||
Dan McCullough wrote:
I'm having some problems where some undefined entity are getting in, these entities are usually html entities. sad thing is"¦bringing in these large chains is putting the xml doc points to the & in ";¦" as the problem. what do I need to do to get this stuff cleaned up?Not quite. That first ; is part of the previous entity, """. You want to do a search/replace for "¦" And ¦ is a perfectly valid entity. It represents a pipe character ("¦"), so it is NOT an undefined entity. If you really don't want it there, do a search-replace for "¦" and either replace it with an alternative character (perhaps a ¦ directly), or an empty string to remove it entirely. Regards, Adam.