May 4, 2011

Encoding problems with RSS feeds | CyberSEO Pro | Support Forum

Avatar

Lost password?
Advanced Search

— Forum Scope —




— Match —





— Forum Options —





Minimum search word length is 3 characters - maximum search word length is 84 characters

sp_TopicIcon
Encoding problems with RSS feeds
Topic Rating: 0 Topic Rating: 0 Topic Rating: 0 Topic Rating: 0 Topic Rating: 0 Topic Rating: 0 (0 votes) 
April 25, 2013
8:21 pm
Avatar
ninoyannick
Guest
Guests

Hi

On my blog Login to see this link, I have some encoding problems (all my feeds are in french).

Last time, I use some PHP code, but as private messages have been deactivated, I’m asking it again here.

The feed is Login to see this link

I would like to use the answer for all feeds, because, almost all my feeds would be in french (with accent)

April 26, 2013
6:05 am
Avatar
CyberSEO
Admin
Forum Posts: 3679
Member Since:
July 2, 2009
sp_UserOfflineSmall Offline

Enable “Convert character encoding” in the feed settings to convert ISO-8859-1 into UTF-8.

April 26, 2013
7:02 am
Avatar
ninoyannick
Guest
Guests

I’ve tryied it, it seems not to work as you can see here Login to see this link

Here is a screenshot of my setup Login to see this link

As far as I can remember, last time, you provide me some kind of PHP code, with html entities, or something near that.

April 26, 2013
7:54 am
Avatar
CyberSEO
Admin
Forum Posts: 3679
Member Since:
July 2, 2009
sp_UserOfflineSmall Offline

Please email me with login/pass to your blog.

April 26, 2013
5:45 pm
Avatar
ninoyannick
Guest
Guests

Done.

Hope you see it

April 28, 2013
2:25 pm
Avatar
ninoyannick
Guest
Guests

Hi

have you seen my email ?

April 28, 2013
4:11 pm
Avatar
CyberSEO
Admin
Forum Posts: 3679
Member Since:
July 2, 2009
sp_UserOfflineSmall Offline

No, I haven’t.

April 29, 2013
6:56 am
Avatar
ninoyannick
Guest
Guests

I resend it. Have you got it this time ?

April 29, 2013
8:38 am
Avatar
CyberSEO
Admin
Forum Posts: 3679
Member Since:
July 2, 2009
sp_UserOfflineSmall Offline

Yes, I’ve got your email. The feed you are pulling uses “ISO-8859-1” character encoding, while the full articles that you are trying to extract are written in “UTF-8”.

So CyberSEO gets confused which exactly character encoding it should use (the title and text body use different charsets). Thus only title must be converted while the post body must be left without changes.

To do this, you must disable the “Convert character encoding” option and add the following code into the “PHP code <?php .. ?>” box:

Login to see the code

April 29, 2013
1:41 pm
Avatar
ninoyannick
Guest
Guests

Thx, it works perfect.

I have another problem, my exceprts are like

Login to see the code

You can see some 

– s’

– l’

How can I correct that ? I remember you already propose a PHP code for that too

April 29, 2013
1:49 pm
Avatar
CyberSEO
Admin
Forum Posts: 3679
Member Since:
July 2, 2009
sp_UserOfflineSmall Offline
11sp_Permalink sp_Print
0

Login to see the code

April 30, 2013
12:04 pm
Avatar
ninoyannick
Guest
Guests

How to parse this feed correctly ?

Login to see this link

It gives weird articles now, like Login to see this link

April 30, 2013
12:16 pm
Avatar
CyberSEO
Admin
Forum Posts: 3679
Member Since:
July 2, 2009
sp_UserOfflineSmall Offline
13sp_Permalink sp_Print
0

What’s wrong with that? I don’t see any encoding problems there.

April 30, 2013
12:17 pm
Avatar
ninoyannick
Guest
Guests
14sp_Permalink sp_Print
0

sorry, yes, the problem is not encoding.

The problem is that the article does not embed the video directly, which is thebest for Youtube video

April 30, 2013
12:28 pm
Avatar
CyberSEO
Admin
Forum Posts: 3679
Member Since:
July 2, 2009
sp_UserOfflineSmall Offline

The thread title says: “Encoding problems with RSS feeds”. Please make sure to read the appropriate thread Login to see this link.

Forum Timezone: Europe/Amsterdam

Most Users Ever Online: 541

Currently Online:
5 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

ninja321: 84

s.baryshev.aoasp: 64

Freedom: 61

MediFormatica: 49

B8europe: 47

saviulisse67: 45

Member Stats:

Guest Posters: 338

Members: 2639

Moderators: 0

Admins: 1

Forum Stats:

Groups: 1

Forums: 5

Topics: 1538

Posts: 7760

Newest Members:

thiago_barbosa, maxus.ix, marino.costa.gonzalez, christian.501pressurewashing, kevin.crywolf, kevin.cooper.boonenewsmedia

Administrators: CyberSEO: 3679