Welcome to Geeklog, Anonymous Thursday, December 26 2024 @ 05:49 am EST

Geeklog Forums

Problem on chinese RSS feed and rss aggregator


Status: offline

melindam

Forum User
Newbie
Registered: 11/20/06
Posts: 2
Hi,

I have problem to integrate a chinese rss feed into the block nor static pages. It displays weird characters, it seems like it is some sort of encoding problems. The feed should come in with utf8 or big5 encoding, but it cannot be decoded correctly on the site via block or static pages. Can anybody help?

Also, I have tried to use the RSS aggregator function downloaded from here, but I got the following errors when displaying the static pages, it cannot display the format correctly with links, can anybody help as well:
Oops!
News Feed
array(10) { [0]=> array(5) { ["title"]=> string(29) "Rangel: Bring back the draft " ["link"]=> string(63) "http://rss.cnn.com/~r/rss/cnn_topstories/~3/51434176/index.html" ["summary"]=> string(250) "Read full story for latest details.


" ["date"]=> string(29) "Sun, 19 Nov 2006 21:28:48 EST" ["site"]=> string(3) "CNN" } [1]=> array(5) { ["title"]=> string(49) "Iraq's deputy health minister kidnapped from home" ["link"]=> string(63) "http://rss.cnn.com/~r/rss/cnn_topstories/~3/51274168/index.html" ["summary"]=> string(599) "More than 20 gunmen today stormed the house of Iraq's deputy health minister Ammar al-Saffar and abducted him, a Baghdad emergency police official told CNN. Al-Saffar's abduction came as U.S.-led coalition and Iraqi forces continued searching for five Western security contractors seized in southern Iraq as well as hostages taken in a mass kidnapping at a Baghdad research institute.


" ["date"]=> string(29) "Sun, 19 Nov 2006 18:55:30 EST" ["site"]=> string(3) "CNN" } [2]=> array(5) { ["title"]=> string(30) "Bush praises Vietnam's economy" ["link"]=> string(63) "http://rss.cnn.com/~r/rss/cnn_topstories/~3/51484496/index.html" ["summary"]=> string(250) "Read full story for latest details.


" ["date"]=> string(29) "Sun, 19 Nov 2006 23:06:56 EST" ["site"]=> string(3) "CNN" } [3]=> array(5) { ["title"]=> string(30) "Gamers snap up Nintendo's Wii " ["link"]=> string(63) "http://rss.cnn.com/~r/rss/cnn_topstories/~3/51323794/index.html" ["summary"]=> string(250) "Read full story for latest details.



 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
Quote by: melindam I have problem to integrate a chinese rss feed into the block nor static pages. It displays weird characters, it seems like it is some sort of encoding problems.

For starters, the URL of that feed would help ...

bye, Dirk
 Quote

Status: offline

melindam

Forum User
Newbie
Registered: 11/20/06
Posts: 2
Quote by: Dirk

Quote by: melindam I have problem to integrate a chinese rss feed into the block nor static pages. It displays weird characters, it seems like it is some sort of encoding problems.

For starters, the URL of that feed would help ...

bye, Dirk



here is the URL of the feed that I was trying to use:

http://hk.news.yahoo.com/rss/news_hk_general_all.xml

 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
Since the feed is using UTF-8 you would also have to run your site on UTF-8 for it to display correctly.

bye, Dirk
 Quote

All times are EST. The time is now 05:49 am.

  • Normal Topic
  • Sticky Topic
  • Locked Topic
  • New Post
  • Sticky Topic W/ New Post
  • Locked Topic W/ New Post
  •  View Anonymous Posts
  •  Able to post
  •  Filtered HTML Allowed
  •  Censored Content