Blog

Serendipity (S9Y) importer for WordPress

Update 2: Jon reports that he’s improved on Carsten’s 1.3 version, and has released Version 1.4!

Update: Carsten Dobschat has continued the fine tradition and improved the importer further, adding support for extended posts, and tags.  Grab S9Y importer version 1.3 over at his site.

In the process of merging this site from Serendipity over to WordPress, I came across an importer which lets me migrate the data across. Unfortunately it was a bit buggy, not properly assigning categories and timing out when processing the post data.

I made some improvements, and here’s the new version, if anyone else finds it useful:

Version 1.2 of Serendity importer for WordPress (patch)

, , , . Bookmark the permalink. Both comments and trackbacks are currently closed.

10 Comments

  1. Posted September 15, 2008 at 9:40 pm | Permalink

    Sounds nice :) Migrating from S9Y to WP has been on my todo-list for quite some time. Hopefully, I’ll get around to do that soon. :)

  2. Posted October 12, 2008 at 10:47 am | Permalink

    Been using your updated Serendity importer and I worked really well for my almost 200 posts and about the same number of comments. Thanks for the update mate… I would have been hell doing this by myself.

  3. Dagon
    Posted June 5, 2009 at 7:43 pm | Permalink

    Thanks for this! I used 1.3 and that worked a charm :)

  4. Posted June 15, 2010 at 5:39 am | Permalink

    Hey, dropping you a line to let you know that I’ve come up with a even more slightly improved “1.4” version. http://snowulf.com/2010/06/11/serendipity-to-wordpress-post-import/

    • Posted June 16, 2010 at 12:07 pm | Permalink

      Nice one, Jon! I’ve linked to it in the post, above.

  5. Posted August 8, 2010 at 7:00 pm | Permalink

    Hi Jon, does it keep the Permalinks? I’m bit worried I’ll loose indexed pages in Google and co. Sounds like an excellent piece of coding!

    • Posted August 8, 2010 at 7:58 pm | Permalink

      The layout of WordPress and S9y are different. Really no way to make them the same. That being said, you can re-write all the old URL’s to the new location. I wrote up a post detailing all the url rewrites I used to get everything pushed over. It should cover most every request, but… s9y was not good at all when it comes to keeping URLs to one format (at least in my experience).

      If you don’t understand mod_write, it’s going to be a bit of gibberish unfortunately. I did add some basic comments to explain though.

      Hope that helps.

      • Posted August 8, 2010 at 11:11 pm | Permalink

        The other thing that may help is my Smart 404 plugin which does its best to redirect busted URLs. I wrote it to help me sort things out during a blog changeover.

  6. Posted August 21, 2010 at 4:52 pm | Permalink

    Thanks Jon, Michael. I’m gradually moving toward this. Just looking at how to keep my image captions now. I might just cheat and keep some of the CSS!

    Robin

  7. Posted February 8, 2011 at 11:53 am | Permalink

    Or use the easy way: How to export s9y to WordPress http://ingthor.com/?p=3791

One Trackback

  1. […] while back I found a s9y importer on Michael Tysons weblog which worked pretty well. Since my last visit a german guy had made a few small changes to it to […]