Changing RSS Feed Charset


Subject: Changing RSS Feed Charset
If you have problem with the feed on IE

OPEN rss.php

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


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


058-004 Rss Feed.zip
Description:  
Download
Filename: 058-004 Rss Feed.zip
Filesize: 7.41 KB
Downloaded: 595 Time(s)

Subject: Re: 058-004 - FIXED - RSS Feed
Bicet, the file I've downloaded here contains a MacOS folder :mrgreen: ;)

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

Subject: Re: 058-004 - FIXED - RSS Feed
Bicet wrote: [View Post]

OPEN rss.php
Code: [Download] [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? :wink:

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? :roll:

Subject: Re: 058-004 - FIXED - RSS Feed
buldo wrote: [View Post]
Bicet wrote: [View Post]

OPEN rss.php
Code: [Download] [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? :wink:

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? :roll:

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.

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'.

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: [Download] [Hide]
  1. $lang['ENCODING_ALT'] = 'utf8'; 


to

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


I'll move this to Docs section.

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" ?>

Subject: Re: Changing RSS Feed Charset
Try installing this patch, and let me know:

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

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! ;)

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! :LOL:

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... :shock:

any ideas what can causes this problem?

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


Page 1 of 1


  
You cannot post new topics
You cannot reply to topics
You cannot edit your posts
You cannot delete your posts
You cannot vote in polls
You cannot attach files
You can download files
You cannot post calendar events

   

This is a "Lo-Fi" version of our main content. To view the full version with more information, formatting and images, please click here.

Powered by Icy Phoenix based on phpBB
Generation Time: 0.0699s (PHP: 32% SQL: 68%)
SQL queries: 12 - Debug Off - GZIP Enabled