RSS Not Working »  Show posts from    to     

Icy Phoenix


Old Support Topics - RSS Not Working



Riwer [ Tue 26 Jan, 2010 14:01 ]
Post subject: RSS Not Working
If I access to "rss.php" i get:


This page contains the following errors:

error on line 1 at column 62: XML declaration allowed only at the start of the document
error on line 1 at column 100: Encoding error
Below is a rendering of the page up to the first error.


Riwer [ Wed 27 Jan, 2010 14:14 ]
Post subject: Re: RSS Not Working
I aplied the 1.3.0.53a patch (with the new rss.php file)
and nothing, same error......


spydie [ Wed 27 Jan, 2010 15:02 ]
Post subject: Re: RSS Not Working
Riwer wrote: [View Post]



Below is a rendering of the page up to the first error.



Where ?????


Riwer [ Wed 27 Jan, 2010 17:10 ]
Post subject: Re: RSS Not Working
Número de línea 1, columna 57:
<!-- template ./templates/default/rss_body.tpl start --><?xml version="1.0" encoding="iso-8859-1" ?>
--------------------------------------------------------^


this is the error x_x

"I reuploaded the file "rss_body.tpl" and nothing ._.


the error "in opera browser"

adf


spydie [ Wed 27 Jan, 2010 17:32 ]
Post subject: Re: RSS Not Working
try playing with this:

http://www.icyphoenix.com/show_post.php?p=45182


Riwer [ Wed 27 Jan, 2010 17:50 ]
Post subject: Re: RSS Not Working
not working for me ._.

isn't a encoding problem..... (i think)


Riwer [ Sat 30 Jan, 2010 00:53 ]
Post subject: Re: RSS Not Working
anybody can help me? ._.


Mighty Gorgon [ Sat 30 Jan, 2010 09:27 ]
Post subject: Re: RSS Not Working
Try to change the encoding in lang_main_settings.php for your language.

Code: [Hide] [Select]
$lang['ENCODING'] = 'ISO-8859-1';
//$lang['ENCODING'] = 'UTF-8';
$lang['ENCODING_ALT'] = 'UTF-8';
$lang['DIRECTION'] = 'ltr';
$lang['HEADER_LANG'] = 'en-gb';
$lang['HEADER_XML_LANG'] = 'en-gb';


Riwer [ Sun 31 Jan, 2010 00:49 ]
Post subject: Re: RSS Not Working
Mighty Gorgon wrote: [View Post]
Try to change the encoding in lang_main_settings.php for your language.

Code: [Hide] [Select]
$lang['ENCODING'] = 'ISO-8859-1';
//$lang['ENCODING'] = 'UTF-8';
$lang['ENCODING_ALT'] = 'UTF-8';
$lang['DIRECTION'] = 'ltr';
$lang['HEADER_LANG'] = 'en-gb';
$lang['HEADER_XML_LANG'] = 'en-gb';



or


Code: [Hide] [Select]
//$lang['ENCODING'] = 'ISO-8859-1';
$lang['ENCODING'] = 'UTF-8';
$lang['ENCODING_ALT'] = 'UTF-8';
$lang['DIRECTION'] = 'ltr';
$lang['HEADER_LANG'] = 'en-gb';
$lang['HEADER_XML_LANG'] = 'en-gb';
[/quote]




or


Code: [Hide] [Select]
//$lang['ENCODING'] = 'ISO-8859-1';
//$lang['ENCODING'] = 'UTF-8';
//$lang['ENCODING_ALT'] = 'UTF-8';
$lang['DIRECTION'] = 'ltr';
$lang['HEADER_LANG'] = 'en-gb';
$lang['HEADER_XML_LANG'] = 'en-gb';
[/quote]





or


Code: [Hide] [Select]
$lang['ENCODING'] = 'ISO-8859-1';
$lang['ENCODING'] = 'UTF-8';
$lang['ENCODING_ALT'] = 'UTF-8';
$lang['DIRECTION'] = 'ltr';
$lang['HEADER_LANG'] = 'en-gb';
$lang['HEADER_XML_LANG'] = 'en-gb';
[/quote]



same error
the error isn't a code in wrong place?


Riwer [ Sun 07 Feb, 2010 16:22 ]
Post subject: Re: RSS Not Working
any idea?


Mighty Gorgon [ Mon 15 Feb, 2010 15:32 ]
Post subject: Re: RSS Not Working
Unfortunately no idea yet...


spydie [ Mon 15 Feb, 2010 15:57 ]
Post subject: Re: RSS Not Working
BTW

MG . Icy .com is throughing the same error then checking it through feed tester


Danielc [ Tue 16 Feb, 2010 02:11 ]
Post subject: Re: RSS Not Working
I discovered i have the same problem... My news rss is working fine, but my general RSS has an error in the encoding and doesn't show anything.. I tried the solutions you provided but they didn't work.. Also, i tried to check the rss related files, and the functions related to the encoding of them, but i didn't find anything strange..

No ideas?

Greetings


Danielc [ Sat 20 Feb, 2010 15:39 ]
Post subject: Re: RSS Not Working
Please, no ideas??


Danielc [ Tue 23 Feb, 2010 02:57 ]
Post subject: Re: RSS Not Working
Hello Everybody!!!.. I think i have solved it.. This is what i did:

Changes in rss.php:

FIND:

if(!strpos($useragent, 'MSIE'))
{
$encoding_charset = $lang['ENCODING'];
}
else
{
$encoding_charset = $lang['ENCODING_ALT'];
}

REPLACE WITH:

/*if(!strpos($useragent, 'MSIE'))
{
$encoding_charset = $lang['ENCODING'];
}
else
{
$encoding_charset = $lang['ENCODING_ALT'];
}*/
$encoding_charset = $lang['ENCODING'];

FIND

$topic_title = utf8_encode($topic_title);
$post_subject = utf8_encode($post_subject);
$message = utf8_encode($message);

REPLACE WITH:

/*$topic_title = utf8_encode($topic_title);
$post_subject = utf8_encode($post_subject);
$message = utf8_encode($message);*/

----


And it worked!!...

Greetings


Riwer [ Thu 25 Feb, 2010 13:48 ]
Post subject: Re: RSS Not Working
Not working for me...


Lin [ Sat 11 Feb, 2012 17:04 ]
Post subject: Re: RSS Not Working
Hello,

We have a problem with RSS news in our forum. RSS news that the Bulgarian language look like ?????
I would be very grateful if you help us deal with it.

4388889v


Joshua203 [ Sun 12 Feb, 2012 00:39 ]
Post subject: Re: RSS Not Working
Hello Lin, welcome to IcyPhoenix

Maybe you can post the feed url you have tried to use for this source, so one of us can do a little test?

And it could also be a good idea to tell us which version of IcyPhoenix you are using.

Greetings,
...Joshua203

PS... maybe you can also take a close look at the News Configuration in ACP, especially the Feed Language setting?
ACP>>News>>News Configuration>>Feed Language

and closely read this topic?


Lin [ Sun 12 Feb, 2012 17:03 ]
Post subject: Re: RSS Not Working
Hi Joshua203,

Thanks for the reply.
I really like Icy Phoenix. Me and my friends translate it into Bulgarian.
We use version of Icy Phoenix 1.3.0.53b
To use Cyrillic encoding of the site is windows-1251.
The settings are as the photos.
I read what was written in the subject, trying but not working with RSS in Cyrillic.

Best Regards,
Lin

2012_02_12_175023
2012_02_12_175133
2012_02_12_175212

PS: Sorry for my bad English


Joshua203 [ Sun 12 Feb, 2012 21:27 ]
Post subject: Re: RSS Not Working
Hello again,

Don't worry, your English is very good.

I think you should use UTF8 but I am not an expert on this, please wait for a reply from someone that really know (maybe it could help you to look at other translations to see how it's done)

I'm sure TheSteffen will jump into this topic when he will see your post, he is in charge of the translations.

Maybe you are willing to share your work here and become part of the translations-team so we could expand our language packs, you may have noticed that we already have quite a few in the download section. (especially black_pearl has many packs already.. http://www.icyphoenix.com/styles/styles.php?cat_id=ip)

Please do consider to give us the feed link you are trying to use so we can maybe test and see if we can get it working correctly and how


Lin [ Sun 12 Feb, 2012 21:47 ]
Post subject: Re: RSS Not Working
Hi

When we translate the whole language pack will share it of course.

Our site is at: BGHelpforum.com
If we use UTF-8 Cyrillic looks like photo 2012-02-12_224326.png


Joshua203 [ Sun 12 Feb, 2012 21:56 ]
Post subject: Re: RSS Not Working
Please wait for someone that knows more about this to reply, because obviously that does not look right

BTW I meant the url you used to show the Feed that looks bad ( the full RSS link of investor.bg )

Also please have a look here ...maybe it will help/maybe not?
http://www.icyphoenix.com/viewtopic.php?f=4&t=1547


Joshua203 [ Sun 12 Feb, 2012 22:27 ]
Post subject: Re: RSS Not Working
After some searching I stumbled upon these links too:

http://www.assembla.com/code/icypho...ngarian?rev=108

http://subversion.assembla.com/svn/...lang_hungarian/

http://subversion.assembla.com/svn/...runk/hungarian/

maybe it's old, maybe it's incomplete ...I really don't know
It has nothing to do with your question but it may help you speed up translating?

EDIT: Ooops.. I think I need sleep ..it's not BULgarian but it's HUNgarian


TheSteffen [ Sun 12 Feb, 2012 22:56 ]
Post subject: Re: RSS Not Working
First of all... this would be more easy with the next version of IcyPhoenix, because it would be UTF-8

Second: There is a different between RSS from you own forum and RSS from other websites.
Last one you want to insert.

You should change your "lang_main_settings.php" to this:
Code: [Hide] [Select]
$lang['ENCODING'] = 'ISO-8859-5';
//$lang['ENCODING'] = 'UTF-8';
$lang['ENCODING_ALT'] = 'UTF-8';
$lang['DIRECTION'] = 'ltr';
$lang['HEADER_LANG'] = 'bg-BG';
$lang['HEADER_XML_LANG'] = 'bg-BG';


But I am quite sure it would not help you with some of this RSS feeds
Code: [Hide] [Select]
http://www.investor.bg/info/rss.html


Well, I am not an expert. But I would suggest you to wait for IP 2.0

EDIT: And you can give this a try

You can change the setting in language/lang_main_settings.php, by changing this line:

Code: [Hide]
  1. $lang['ENCODING_ALT'] = 'utf-8'; 


to

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


Lin [ Tue 14 Feb, 2012 17:16 ]
Post subject: Re: RSS Not Working
Thanks TheSteffen and Joshua203.

I made the changes recommended to me, but again does not work.

If $ lang ['ENCODING_ALT'] = 'ISO-8859-5';

Cyrillic in site looks like this:

Investor.bg is only one of all that we tried. The result is the same.

http://www.sportal.bg/uploads/rss_category_120.xml


spydie [ Tue 14 Feb, 2012 18:09 ]
Post subject: Re: RSS Not Working
ENCODING_ALT UTF-8 ????

should´nt that be ISO aswell ?


Lin [ Tue 14 Feb, 2012 19:15 ]
Post subject: Re: RSS Not Working
Hi spydie

I try but not work.


Mighty Gorgon [ Tue 14 Feb, 2012 22:56 ]
Post subject: Re: RSS Not Working
Unfortunately I think you will have to wait Icy Phoenix 2.0.

Solution is not easy.


Lin [ Wed 15 Feb, 2012 19:18 ]
Post subject: Re: RSS Not Working
Thank you Mighty Gorgon.
I will wait.


Joshua203 [ Wed 15 Feb, 2012 21:02 ]
Post subject: Re: RSS Not Working
It might be a good idea for you to already get a headstart and give the latest beta release (Icy Phoenix 2.0 Beta 2) a local test run.
Local, because it is still a beta version.

Maybe even make a start on that translation you seem to be planning

You can find the download and Info at the top of the forum in "News And Announcements/stickyed topics" if you like.

Just an idea


Lin [ Thu 15 Mar, 2012 19:40 ]
Post subject: Re: RSS Not Working
Hello again,

I have a new problem with the rss and I need help. I want to put RSS feeds from BGHelpForum, but when I subscribe and select the new shows me an error.

Please tell me where I'm wrong.

PS. Joshua203, definitely I will try the new version (Icy Phoenix 2.0 Beta 2).


Joshua203 [ Thu 15 Mar, 2012 23:26 ]
Post subject: Re: RSS Not Working
 
Off Topic
:
Lin wrote: [View Post]
PS. Joshua203, definitely I will try the new version (Icy Phoenix 2.0 Beta 2).

Mighty Gorgon wrote: [View Post]
As soon as I have some free time I'll try to release a RC version.


The above was posted today in the announcement forum by Mighty Gorgon, RC means Release Candidate


About this error..that looks like the encoding problem again, the characters of your language are unrecognized and so they are replaced by silly characters, which results in your error notice.


Hans [ Sat 31 Mar, 2012 13:31 ]
Post subject: Re: RSS Not Working
I have noticed that this happens with some signatures on my forum. Usually Mine.




Powered by Icy Phoenix