1
zBoost
RSS Encoding
  • 2006/3/28 21:36

  • zBoost

  • Just popping in

  • Posts: 7

  • Since: 2005/8/30


Hello, I have site with WINDOWS-1251 encoding and i want to have rss news to it. The problem is that the RSS charset is hardcoded to UTF-8. I changed the header with to WINDOWS-1251 in the system_rss.html and for the news news_rss.html. Also backend.php and backednt.php in news, nothing helped. As I see the UTF-8 encoding is hardcoded there:

Quote:
$tpl->assign('channel_title', xoops_utf8_encode(htmlspecialchars($xoopsConfig['sitename'], ENT_QUOTES)));
$tpl->assign('channel_link', XOOPS_URL.'/');
$tpl->assign('channel_desc', xoops_utf8_encode(htmlspecialchars($xoopsConfig['slogan'], ENT_QUOTES)));
...
$tpl->append('items', array('title' => xoops_utf8_encode(htmlspecialchars($story->title(), ENT_QUOTES)), 'link' => XOOPS_URL.'/modules/news/article.php?storyid='.$story->storyid(), 'guid' =>


Someone with ideas ?

2
dadoprom
Re: RSS Encoding
  • 2006/3/28 22:11

  • dadoprom

  • Not too shy to talk

  • Posts: 143

  • Since: 2004/3/2 1


Try rssfit module from brandycoke http://www.brandycoke.com/products/rssfit/

I am not a coder thus help like this only.
Everything is possible......
-------------------------------------------------
http://www.mla.sk

3
zBoost
Re: RSS Encoding
  • 2006/3/29 15:31

  • zBoost

  • Just popping in

  • Posts: 7

  • Since: 2005/8/30


thanks, this module does great job

Login

Who's Online

292 user(s) are online (227 user(s) are browsing Support Forums)


Members: 0


Guests: 292


more...

Donat-O-Meter

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

Latest GitHub Commits