Re: bad characters on RSS feeds

"janegilkristiansen" <[email protected]>
Newsgroups gmane.network.syndication.rss.devel
Message-ID <[email protected]>


--- In [email protected], "Bocsaru Alexandru Mihai"
<mbocsaru@y...> wrote:
> problems with bad characters inside the RSS feeds.
> 
...
> My current solution is:
> 
> <MTAddRegex name="bc1">s/"/&quot;/g</MTAddRegex>
> <MTAddRegex name="bc2">s/"/&quot;/g</MTAddRegex>
> <MTAddRegex name="bc3">s/"/&quot;/g</MTAddRegex>
> <MTAddRegex name="bc4">s/'/&apos;/g</MTAddRegex>
> <MTAddRegex name="bc5">s/™/&trade;/g</MTAddRegex>
> <MTAddRegex name="bc6">s/—/&mdash;/g</MTAddRegex>
> <MTAddRegex name="bc7">s/–/&ndash;/g</MTAddRegex>

RSS is not HTML. These named entities are defined in HTML, but not in
XML. So &#x2014; is probably more reliable than &mdash;.








 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/rss-dev/

<*> To unsubscribe from this group, send an email to:
    [email protected]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.