Changing RSS Feed Charset »  Show posts from    to     

Icy Phoenix


Old Docs - Changing RSS Feed Charset



Bicet [ Sat 19 Aug, 2006 18:00 ]
Post subject: Changing RSS Feed Charset
If you have problem with the feed on IE

OPEN rss.php

FIND:
Code: [Hide]
  1. 'S_CONTENT_ENCODING' => $lang['ENCODING_ALT'], 


REPLACE WITH:
Code: [Hide]
  1. 'S_CONTENT_ENCODING' => $lang['ENCODING'], 


zankyw [ Tue 22 Aug, 2006 01:25 ]
Post subject: Re: 058-004 - FIXED - RSS Feed
Bicet, the file I've downloaded here contains a MacOS folder


Round11 [ Wed 23 Aug, 2006 12:05 ]
Post subject: Re: 058-004 - FIXED - RSS Feed
Every time I try to add a news feed using XS, it says:

Unable to open the XML input: http://www.whateversite.com


buldo [ Wed 23 Aug, 2006 14:28 ]
Post subject: Re: 058-004 - FIXED - RSS Feed
Bicet wrote: [View Post]

OPEN rss.php
Code: [Hide]
  1. 'S_CONTENT_ENCODING' => $lang['ENCODING_ALT'], 



This modification was made by MG under my request to have a different encoding table for RSS and I find it very useful. You can use the same encoding table instead deletng "ENCODING_ALT", or not?

Round11 wrote: [View Post]
Every time I try to add a news feed using XS, it says:
http://www.whateversite.com

This is your site or the one you want include in your RSS feed?


Round11 [ Wed 23 Aug, 2006 22:36 ]
Post subject: Re: 058-004 - FIXED - RSS Feed
buldo wrote: [View Post]
Bicet wrote: [View Post]

OPEN rss.php
Code: [Hide]
  1. 'S_CONTENT_ENCODING' => $lang['ENCODING_ALT'], 



This modification was made by MG under my request to have a different encoding table for RSS and I find it very useful. You can use the same encoding table instead deletng "ENCODING_ALT", or not?

Round11 wrote: [View Post]
Every time I try to add a news feed using XS, it says:
http://www.whateversite.com

This is your site or the one you want include in your RSS feed?

Well, I just put http://www.whateversite.com as an example. It doesn't matter what site I use their XML feed from, but that's what I get regarless.


andrea75 [ Thu 24 Aug, 2006 13:04 ]
Post subject: Re: 058-004 - FIXED - RSS Feed
The RSS still doesn't works with IE. The error message is:

Quote:
The XML page cannot be displayed
Cannot view XML input using style sheet. Please correct the error and then click the Refresh button, or try again later.


--------------------------------------------------------------------------------

System does not support the specified encoding. Error processing resource 'http://www.phpbbxs.eu/rss.php'.


Mighty Gorgon [ Sun 27 Aug, 2006 02:59 ]
Post subject: Re: 058-004 - FIXED - RSS Feed
Bicet, that is not a bug... I've added that line to allow people to have feed in more than one lang.

You can change the setting in lang_main.php, by changing this line:

Code: [Hide]
  1. $lang['ENCODING_ALT'] = 'utf8'; 


to

Code: [Hide]
  1. $lang['ENCODING_ALT'] = 'iso-8859-1'; 


I'll move this to Docs section.


andrea75 [ Sun 27 Aug, 2006 09:20 ]
Post subject: Re: Changing RSS Feed Charset
MG, the RSS still doesn't work on IE.... try to open

http://www.phpbbxs.eu/rss.php

and you'll see that error

Quote:
Impossibile visualizzare la pagina XML
Impossibile visualizzare l'input XML tramite il foglio di stile . Correggere l'errore, quindi fare clic su Aggiorna, oppure riprovare in un momento successivo.


--------------------------------------------------------------------------------

La codifica specificata non è supportata nel sistema. Errore durante l'elaborazione della risorsa "http://www.phpbbxs.eu/rs...

<?xml version="1.0" encoding="utf8" ?>


Mighty Gorgon [ Sun 27 Aug, 2006 15:04 ]
Post subject: Re: Changing RSS Feed Charset
Try installing this patch, and let me know:

http://www.icyphoenix.com/viewtopic.php?t=183


andrea75 [ Sun 27 Aug, 2006 17:51 ]
Post subject: Re: Changing RSS Feed Charset
Mighty Gorgon wrote: [View Post]
Try installing this patch, and let me know:

http://www.icyphoenix.com/viewtopic.php?t=183


Yes, now rss works fine!


Mighty Gorgon [ Sun 27 Aug, 2006 21:09 ]
Post subject: Re: Changing RSS Feed Charset
Wow... what a tough job with these RSS... the code is not so friendly... I've tried to clean it up a bit... but it's still a mess...

Anyway, if now works correctly, I hope to don't mind anymore!


KugeLSichA [ Sun 27 Aug, 2006 21:51 ]
Post subject: Re: Changing RSS Feed Charset
i still have an problem with RSS feeds in XS banner.

ÄÖÜß are not displayed correctly... i played alot with ENCODING and ENCODING_ALT and tried many RSS feeds, but no luck.

and what i dont understand is, an my localserver all works fine, but not on my server...

any ideas what can causes this problem?


difus [ Sun 27 Aug, 2006 21:55 ]
Post subject: Re: Changing RSS Feed Charset
if it is apache in conifg file there are charset table

try to disable or change default charset on yoour local server and look for result




Powered by Icy Phoenix