[pmwiki-users] pmfeed translation glitch

Chris Cox ccox at airmail.net
Sun Jun 3 02:40:02 CDT 2007


Ben Stallings wrote:
> Hi, folks.  I'm having trouble with the pmfeed recipe...  I've got an 
> RSS feed that has a standard HTML curly apostrophe (’) in the 
> title of an article, but by the time it displays in the browser it has 
> been converted to ctrl-Y (ASCII 0x19), which displays as a box.
> 
> The problem seems to be in pmfeed's unhtmlentities function, which in 
> turn calls PHP's get_html_translation_table function.
> 
> Questions:
> 
> 1) Is the unhtmlentities function perhaps left over from an old version 
> of PmWiki?  It seems to me that recent versions of PmWiki can handle 
> most HTML entities just fine without translation.  If this function is 
> no longer necessary, how should I safely go about disabling it?
> 
> 2) Is it worth looking into whether my server's HTML translation table 
> is incorrect?  Is it likely to cause other problems down the line?

I haven't had time to study it... but I think (?) it's a problem
in that some feeds are UTF8 and some are not... and I didn't look
into what it would take to handle each. :)

Also, apparently, some feeds try to identify the type, some
get it right, and some get it wrong... so even more of a problem.

However, if anyone has some suggestions... I'll certainly
make the changes.  Just one of the many reasons why pmfeed
is still "alpha".




More information about the pmwiki-users mailing list