bad characters on RSS feeds

"Bocsaru Alexandru Mihai" <mbocsaru-/[email protected]>
Newsgroups gmane.network.syndication.rss.devel
Message-ID <[email protected]>


Dear Friends,


I have several MovableType driven Blogs and I am experiencing 
problems with bad characters inside the RSS feeds.


The problems I have are related to the use of special characters such 
as:

"
"
"
'
™
—
–


At the moment the feed charset is declared as being iso-8859-1.

With this ISO standard the above-mentioned characters are not 
recognized and therefore the feed doesn't validate. Same happens if I 
switch the charset to UTF-8.

I have tried to use the "encode_xml" attribute as well as the "XML-
smart" plugin.

Absolutely no positive result for the special characters mentioned 
above.



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>

<description><![CDATA[<MTEntryExcerpt regex="bc1 bc2 bc3 bc4 bc5 bc6 
bc7">]]></description>


The disadvantage of this solution is that only the characters 
mentioned above will be encoded to their HTML entities, while many 
other ones that could appear in the future may break again the feeds.


Any idea or plugin that could help encode any special character to an 
HTML entity like &ENTITY_NAME; would be highly appreciated.

Thanks in advance for your patience and support.


Warm Regards,
Mihai Alexandru








 
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.