I’ve moved a couple of my blogs from Serendipity to WordPress (mostly because I’ve discovered that Serendipity has some issues with newer PHP setups, but also because I’m getting lazy and WordPress’ admin panel is nicer than s9y’s
).
Luckily someone else did already write a s9y->WP importer plugin. Sadly it didn’t support nested categories, so I changed a couple of things and here’s my Serendipity (S9Y) importer for WordPress 1.5 (hoping that noone else has already used that version number… the history of the plugin contains several authors
)
One snag: after the import, you’ll need to edit one of the categories (just open and save it) to fix the hierarchy. I don’t know why and honestly I don’t care
Worked for me, your mileage might vary.
Refer to this article for other useful migration tips.
Hey, saw your updated the code (1.5 is probably free, no one else has “claimed” it). Though your link to the source code does not work. Speaking of, would you mind if I took yours and checked it into the SVN repo I’ve got mine in? That way we have a continuing source of functioning code.
Sure, go ahead. The link is now working.
Committed your version to SVN
Pingback: Hallo Welt … – RC505
Pingback: Serendipity to WordPress – Importer version 1.5 | Snowulf
this plugin definitely does not work with wordpress 3.x — the install fails because of a lack of valid header and the even if you write in a valid header (which I did), this error message is thrown
Fatal error: Call to undefined function register_importer() in [watever]/wp-content/plugins/s9y2wp/serendipity.php on line 706
Anyone have better luck than me?
last time I used it, WP 3.0 hadn’t been released yet, but I can still see the plugin in my control panel without any problem.
Importer plugins are supposed to be installed in a different location than normal plugins though: wp-admin/import/serendipity.php
i think they did away with the wp-admin/import/ directory in the 3.x distribution. i don’t understand why. this was all i could find about it: https://wordpress.org/support/topic/where-is-wp-adminimport-in-new-distributive
Pingback: Serendipty auf Wordpress migriert | Cogito Ergo Blog
i just installed 2.9.2 and followed the instructions…worked great. since everything is in, i can just upgrade to 3.x whenever. thanks for your work on this plugin.
Sorry to barge in. I am trying to use the serendipity.php file 1.4 but cannot follow the directions “put .php file in /import directory” because there is no import directory in 3.x.
Does anyone know how to get that file into the IMPORT link in the ADMIN screen?
Thank you
Rack
oops…
Logistic problem.
I recently found that most themes, widgets, plugins ect do not work with older 2.x versions.
I cannot design and layout a new site with an older version.
I need to leave the Serendipity blog up and running. which has 8000 articles and about 10 new a day.
I expect it to take me a month or so to layout, design, tweak, seo, server and such before I do the DB move and start it up.
300 articles in the meantime will not make it to the WP blog.
Cant have dat!
Any ideas to rise out of my dilemma?
have you tried installing WP 2.9, then the plugin, then upgrading to WP 3.x and see if the plugin still works?
I have installed 2.9, I assumed the .php file would work as there is a proper place to put it.
My problem is kind of hard to explain. As you can see from the explanation above!
It’s a process issue.
To try and make it short.
I need a way to get the serendipity.php file working in 3.3.
I’ve made a minor change to the plugin so that it can be installed as a normal plugin in WP 3.x. It also appears in the Import menu.
I haven’t actually tested whether it works or not, though
If you want to give it a try (at your own risk!
, it’s available at http://files.tellini.info/s9y2wp3.zip
WOw! Thanx. I have it in a special folder ready to go.
It could be some time before I am ready to give it a try.
I will be sure to let you know!
Thanx again!!
Where should I put this newer serendipity.php file?
in the standard plugins directory: wp-content/plugins/
Then you’ll have to activate it in the plugins section of the control panel and finally it’ll appear in the Tools->Import page
I get this when after I put serendipity.php into the /plugin directory in WP 3.3.1
Fatal error: Call to undefined function register_importer() in /home/kick/public_html/kick/wp-content/plugins/serendipity.php on line 698
Wow THANKS! I will let you know how it turns out… Thanks again rack
about the error above, are you sure you used the new version? (the one linked in the previous comment)
There should be this line near the beginning of the serendipity.php file:
require_once ABSPATH . ‘wp-admin/includes/import.php’;
which is required to use the register_importer() function…
Me bag of hammers…
I did get the serendipity files messed up and used the old one. Sorry. And thanx for bearing with me. Ok, it did the categories and then for users it stopped with this…
Catchable fatal error: Object of class WP_Error could not be converted to string in /home/kick/public_html/kick/wp-includes/capabilities.php on line 497
I am still ADMIN if that matters.
I was afraid it wouldn’t have been so easy
There must have been other API changes that require more work on the plugin. Unfortunately, at the moment I don’t have enough time to do it…