1
jcortego
RSS FEEDS IN XOOPS
  • 2006/8/8 20:43

  • jcortego

  • Just popping in

  • Posts: 16

  • Since: 2003/9/30


When I add a PHP RSS feeds reader to the XOOPS environment of my site, I can't see special spanish characters like stressed vowels (á,é,í,ó,ú). I previously tested the feed and it works OK when I use other readers outside XOOPS.
Feed's reading stops failing when I comment the line that includes the header of XOOPS in the reader's PHP code:

include(XOOPS_ROOT_PATH."/header.php");

Can anyone tell me the reason of this and if it can be fixed ?

A solution I've found is to replace:

<?xml version="1.0" encoding="utf-8" ?>

by:

<?xml version="1.0" encoding="ISO-8859-1"?>

but it appears to me that this isn't the best way to fix the problem as long as the feed works OK outside XOOPS.

Thanks

2
metropolis
Re: RSS FEEDS IN XOOPS

Can you provide a link to your site?

If you use stressed vowels directly and the RSS-feed has a UTF-8 encoding, those vowels will not be rendered correctly. In this case you have to use HTML entities or UTF-8 chars.

Quote:

jcortego wrote:
<?xml version="1.0" encoding="ISO-8859-1"?>

I don't see a reason why not using this. If you use stressed vowels directly, then ISO-8859-1 is the best charset you could set.

Login

Who's Online

238 user(s) are online (166 user(s) are browsing Support Forums)


Members: 0


Guests: 238


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: May 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits