Page 1 of 1

Migrating from Nucleus to Serendipity

Posted: Thu Oct 26, 2006 3:32 pm
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

Re: Migrating from Nucleus to Serendipity

Posted: Thu Oct 26, 2006 3:52 pm
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

Re: Migrating from Nucleus to Serendipity

Posted: Fri Oct 27, 2006 6:38 am
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

Re: Migrating from Nucleus to Serendipity

Posted: Fri Oct 27, 2006 9:27 am
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

Re: Migrating from Nucleus to Serendipity

Posted: Fri Oct 27, 2006 9:34 am
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