PDA

View Full Version : problem with parser


t2ls
04-26-2006, 09:58 AM
I have a pb, with the rss code above, the first item have a long title:
Sports.fr Sports.fr Ronaldinho est optimiste
So Sports. Sports.fr are not in the title, because not the same item in the rss code.
Can anybody help me?
I have other pb with French Character, if i do that

"I've got the solution :
It's in the includes/config.php file where you need to change the charset.

Juste replace the defaut header by :
header('Content-Type: text/html; charset=iso-8859-1'); "

It work for the news, but title of page, description of page have bad character with @

Content visible to registered users only.

t2ls
04-26-2006, 10:09 AM
For the French characters, i find the solution.
In admin/dir_importrss.php on line 90,
change the line by:
add_link($row['CATEGORY_ID'],$row['ID'],utf8_encode($item->link),utf8_encode($item->title),utf8_encode($item->content),$item->pubdate,2);
So you must add utf8_encode() for link, title, description.

t2ls
04-27-2006, 09:05 AM
It still doesn't work
I use magpierss for test, and this script don't have pb with my rss feeds.
David, can you do something?