[Pmwiki-users] pmwiki rss problem
Patrick R. Michaud
Sun Dec 28 19:58:12 CST 2003
The problem appears to be that RSS/RDF documents do not have support
for HTML entities or non-ASCII characters. I've researched the topic
a bit, and the best solution for removing non-ASCII characters appears to
be to convert them to the form &#nnn; . For example, the word
"merkw?rdigerweise" would be translated into "merkwürdigerweise".
Handling named character entitites such as "—" is a bit trickier,
because those aren't defined by default in XML. However, the RSS 1.0
core specification recommends adding the following to the
DOCTYPE to enable XHTML entities in RSS 1.0 (RDF) documents
<!DOCTYPE rdf:RDF [
<!ENTITY % HTMLlat1 PUBLIC "-//W3C//ENTITIES Latin 1 for XHTML//EN"
<!ENTITY % HTMLspecial PUBLIC "-//W3C//ENTITIES Special for XHTML//EN"
I can make this change to the distributed rss.php module if anyone would
like me to do that. In the meantime, I've already made this change to
rss.php on the pmichaud.com site, so that we can verify that it works
for http://www.pmichaud.com/wiki/Main/AllRecentChanges?action=rss .
I haven't made the change on pmichaud.com to convert non-ASCII characters
into XML character entities but should be able do that tomorrow sometime
and issue a release.
Please let me know soon if anyone does *not* want the above DOCTYPE
specification added to the rss.php script.
On Sun, Dec 28, 2003 at 04:56:51AM +0100, Patrick Ogay wrote:
> I'm new to the pmwiki list.
> Recently I implemented the RSS feature and syndication from an other CMS
> (SPIP -
> http://www.basel-inside.ch/spip/resume.php3 "sur le Web") works perfectly).
> I installed AmphetaDesk and now I have the following problem:
> AmphetaDesk could not determine the format of
> This string did work:
> (I don't see a difference in structure...)
> By the way: http://www.pmichaud.com/wiki/Main/AllRecentChanges?action=rss
> doesn't work at the moment at all (28 Dez. 2003):
> XML Parsing Error: undefined entity
> Location: http://www.pmichaud.com/wiki/Main/AllRecentChanges?action=rss
> Line Number 93, Column 34: <description> HomePage —
> Homepage of
> this group
> kind Regards
> Patrick Ogay
> Pmwiki-users mailing list
> Pmwiki-users at pmichaud.com
More information about the pmwiki-users