Migrating from Nucleus to Serendipity

Having trouble installing serendipity?
Post Reply
jaal
Regular
Posts: 63
Joined: Thu Oct 26, 2006 2:48 pm
Location: Guetersloh, Germany
Contact:

Migrating from Nucleus to Serendipity

Post by jaal »

Hi all,

as Nucleus is stalled in development and is missing some features which I don't really want to script myself, I'm searching for a new blogging system.

Some of the blogs I'm reading are using Serendipity so I tried it.

Does look great and even the importing function is a big plus for me. But after using it, I saw it didn't imported the entries correct.
Okay, I can handle the images by myself (import/export DB and do a replace) but the German "Umlaute" were not imported correct.
If you take a look at
http://www.salid.de/~salid/blog3/index. ... 8221;.html
http://www.salid.de/~salid/blog3/index. ... rting.html
You will get a picture of this.

Any idea how to get rid of this?

Thanks
Jan
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Migrating from Nucleus to Serendipity

Post by garvinhicking »

Hi!

When you imported, which charset did you select in the nucleus import panel? And which setting did you use for the HTMLentity conversion?

Play with those two settings, they affect how special characters are treated.

HTH,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
jaal
Regular
Posts: 63
Joined: Thu Oct 26, 2006 2:48 pm
Location: Guetersloh, Germany
Contact:

Re: Migrating from Nucleus to Serendipity

Post by jaal »

garvinhicking wrote: When you imported, which charset did you select in the nucleus import panel?
Both ISO and UTF
garvinhicking wrote: And which setting did you use for the HTMLentity conversion?
The same: both.

If I use "HTML" it works for most of the entries but not the headlines. If I don't use HTML, it corrupts all special signs.

I guess that I have to do an export of my DB and use awk or something like this to do a mass edit.
But maybe there are any other nucleus users who did a successful transfer?

Jan
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Migrating from Nucleus to Serendipity

Post by garvinhicking »

Hi Jaal!

If you could provide me an SQL dump of your nucleus tables, I could try to test some things here?

It might be a problem of how nucleus mixed html entites and non html-entities which is scaring of serendipity, so maybe there are some things that can be done with search+replace to fix this.

Best regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
jaal
Regular
Posts: 63
Joined: Thu Oct 26, 2006 2:48 pm
Location: Guetersloh, Germany
Contact:

Re: Migrating from Nucleus to Serendipity

Post by jaal »

garvinhicking wrote: It might be a problem of how nucleus mixed html entites and non html-entities which is scaring of serendipity, so maybe there are some things that can be done with search+replace to fix this.
Yes, that seems to be the problem. I already took a look at my nightly SQL Dump and Nucleus stores the special chars directly with not HTML formatting in the database, which is from my point of view very odd.
On the other hand a " char is placed as

Code: Select all

& #8220; (without the space)
in the database.

I'll send you a link to the file via PM.

Thanks
Jan
Post Reply