http://www.icyphoenix.com/viewtopic.php?f=35&t=6888
-----------------------------------
Riwer
Tue 26 Jan, 2010 14:01

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

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

Re: RSS Not Working
-----------------------------------
[quote user="Riwer" post="47347"]


Below is a rendering of the page up to the first error.[/quote]


Where ?????


-----------------------------------
Riwer
Wed 27 Jan, 2010 17:10

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"

[img]http://www.icyphoenix.com/files/images/4661/adf.jpg[/img]


-----------------------------------
spydie
Wed 27 Jan, 2010 17:32

Re: RSS Not Working
-----------------------------------
try playing with this:

http://www.icyphoenix.com/show_post.php?p=45182


-----------------------------------
Riwer
Wed 27 Jan, 2010 17:50

Re: RSS Not Working
-----------------------------------
not working for me ._.

isn't a encoding problem.....  (i think)


-----------------------------------
Riwer
Sat 30 Jan, 2010 00:53

Re: RSS Not Working
-----------------------------------
anybody can help me? ._.


-----------------------------------
Mighty Gorgon
Sat 30 Jan, 2010 09:27

Re: RSS Not Working
-----------------------------------
Try to change the encoding in [b]lang_main_settings.php[/b] for your language.

[codeblock]$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';[/codeblock]


-----------------------------------
Riwer
Sun 31 Jan, 2010 00:49

Re: RSS Not Working
-----------------------------------
[quote user="Mighty Gorgon" post="47404"]Try to change the encoding in [b]lang_main_settings.php[/b] for your language.

[codeblock]$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';[/codeblock][/quote]


or 


[codeblock]//$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';[/codeblock][/quote]




or 


[codeblock]//$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';[/codeblock][/quote]





or 


[codeblock]$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';[/codeblock][/quote]



same error
the error isn't a code in wrong place?


-----------------------------------
Riwer
Sun 07 Feb, 2010 16:22

Re: RSS Not Working
-----------------------------------
any idea?


-----------------------------------
Mighty Gorgon
Mon 15 Feb, 2010 15:32

Re: RSS Not Working
-----------------------------------
Unfortunately no idea yet... :sad:


-----------------------------------
spydie
Mon 15 Feb, 2010 15:57

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

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

Re: RSS Not Working
-----------------------------------
Please, no ideas??


-----------------------------------
Danielc
Tue 23 Feb, 2010 02:57

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

Re: RSS Not Working
-----------------------------------
Not working for me...  :cry:


-----------------------------------
Lin
Sat 11 Feb, 2012 17:04

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.

 [img]http://www.prikachi.com/images/889/4388889V.png[/img]


-----------------------------------
Joshua203
Sun 12 Feb, 2012 00:39

Re: RSS Not Working
-----------------------------------
Hello Lin, welcome to IcyPhoenix  :wink: 

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?  :wink:


-----------------------------------
Lin
Sun 12 Feb, 2012 17:03

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

 [img]http://www.icyphoenix.com/files/images/10185/2012_02_12_175023.png[/img] 
 [img]http://www.icyphoenix.com/files/images/10185/2012_02_12_175133.png[/img]  
 [img]http://www.icyphoenix.com/files/images/10185/2012_02_12_175212.png[/img] 

PS: Sorry for my bad English  :oops:


-----------------------------------
Joshua203
Sun 12 Feb, 2012 21:27

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 :wink:


-----------------------------------
Lin
Sun 12 Feb, 2012 21:47

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

Re: RSS Not Working
-----------------------------------
Please wait for someone that knows more about this to reply, because obviously that does not look right :oops: 

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

Re: RSS Not Working
-----------------------------------
After some searching I stumbled upon these links too:

http://www.assembla.com/code/icyphoenix_langs/subversion/nodes/trunk/hungarian?rev=108

http://subversion.assembla.com/svn/icyphoenix_langs/tags/release_1_3_0_53/hungarian/language/lang_hungarian/

http://subversion.assembla.com/svn/icyphoenix_langs/trunk/hungarian/

maybe it's old, maybe it's incomplete ...I really don't know :oops:   :wink:
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  :lol:


-----------------------------------
TheSteffen
Sun 12 Feb, 2012 22:56

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 [b]should[/b] change your [b]"lang_main_settings.php"[/b] to this:
[code linenumbers=false]$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';[/code]

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

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 [b]language/lang_main_settings.php[/b], by changing this line:

[code]$lang['ENCODING_ALT'] = 'utf-8';[/code]

to

[code]$lang['ENCODING_ALT'] = 'ISO-8859-5';[/code]


-----------------------------------
Lin
Tue 14 Feb, 2012 17:16

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

Re: RSS Not Working
-----------------------------------
ENCODING_ALT UTF-8 ????

should´nt that be ISO aswell ?


-----------------------------------
Lin
Tue 14 Feb, 2012 19:15

Re: RSS Not Working
-----------------------------------
Hi spydie

I try but not work.


-----------------------------------
Mighty Gorgon
Tue 14 Feb, 2012 22:56

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

Re: RSS Not Working
-----------------------------------
Thank you Mighty Gorgon.
I will wait.


-----------------------------------
Joshua203
Wed 15 Feb, 2012 21:02

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 [color=red]local[/color] test run.
Local, because it is still a beta version.

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

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  :idea:


-----------------------------------
Lin
Thu 15 Mar, 2012 19:40

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

Re: RSS Not Working
-----------------------------------
[ot][quote user="Lin" post="55415"]PS. Joshua203, definitely I will try the new version (Icy Phoenix 2.0 Beta 2).[/quote]
[quote user="Mighty Gorgon" post="55411"]As soon as I have some free time I'll try to release a RC version.[/quote]

The above was posted today in the announcement forum by Mighty Gorgon, RC means Release Candidate  :wink: [/ot]

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

Re: RSS Not Working
-----------------------------------
I have noticed that this happens with some signatures on my forum. Usually Mine.


