ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Importing a Serendipity blog

August 20, 2007 2:49am

Subscribe [4]
  • #1 / Aug 20, 2007 2:49am

    PatC

    4 posts

    I use Serendipity (an excellent open-source software, http://www.s9y.org) to publish a blog, but I would like to integrate it with a forum and a wiki. So, EE seems to be an excellent choice.

    So, I will use EE if I can import all my Serendipity blog (entries, categories, users and comments). Is it possible?

    Thanks.

  • #2 / Aug 20, 2007 3:03am

    PXLated

    1800 posts

    Not familiar with Serendipity but the most common way of importing from other blog/cms packages is to first export from them into a MoveableType format. Some packages have this feature builtin. Once in that format, EE has an import MT function.

  • #3 / Aug 20, 2007 3:33am

    PatC

    4 posts

    Alas, there is no MT export in Serendipity…

    Thanks.

  • #4 / Aug 20, 2007 3:53am

    Ingmar

    29245 posts

    See this thread for some suggestions.

  • #5 / Aug 20, 2007 4:08am

    PatC

    4 posts

    Thanks a lot. I’ll give this a try.

  • #6 / Aug 23, 2007 10:39am

    PatC

    4 posts

    I have tried the RSS to MT translator, but it doesn’t work: I only get file with titles and categories, but neither text nor comments.

    Another idea? Thanks.

  • #7 / Aug 23, 2007 11:37am

    Robin Sowell

    13255 posts

    Well, you could try CSVGrab- that might work.  Or the data are in a mysql database- correct?  Could you just run some queries to output the data in MT format?

  • #8 / Aug 24, 2007 4:21am

    PatC

    4 posts

    Hi Robin,

    Thanks for your answer.

    Or the data are in a mysql database- correct?  Could you just run some queries to output the data in MT format?

    Can you give me an example?

    By the way, wouldn’t it be useful for EE to have more importers? 😉

  • #9 / Aug 26, 2007 12:59pm

    Robin Sowell

    13255 posts

    Well, MT is pretty standard (that’s why it was included)- but beyond that, it there isn’t much of a standardized import/export format. 

    It’s hard for me to give examples of how to get it in MT format because I don’t know the table structure- so I don’t have any idea of the queries you’ll need to get the data out.  Check this page- it’s an overview of MT format.  Basically, you just need to get the data into this format- same spacing, dashes, etc- and save it as a text file.  But I don’t know the tool, so I’m not sure how you could go about it.  Pure php would do it- looping through query results- but without knowing the db structure, I couldn’t guess as to the queries.

  • #10 / Aug 27, 2007 3:00am

    Bjørn Børresen

    629 posts

    Hi,

    I’ve created a Serendipity to MT export script which I used to convert my blog to EE. It works great. Let me know if you want it 😊

    - bjorn

  • #11 / Aug 27, 2007 11:06am

    Robin Sowell

    13255 posts

    Oh, nice addition, bjorn.  You might consider adding an entry to the Wiki- under the ‘Import’ category.  I’m sure others are going to find this useful!

  • #12 / Aug 27, 2007 5:58pm

    Bjørn Børresen

    629 posts

    Thanks Robin 😊

    Yeah I will add it to the Wiki, I just have to set up my EE site first. I have some various tools I want to make available.

    Anyhow, for those who need this script now you can find it here: http://www.skitx.com/s9y_mt_export.phps

    It should be pretty self-explanatory (just edit the settings in the top)

    - bjorn

  • #13 / Sep 04, 2007 3:44am

    Bjørn Børresen

    629 posts

    FYI - I’ve published this script here now: Serendipity to ExpressionEngine convertor.

    I also added it to the Migrating to EE wiki page.

    - bjorn

  • #14 / Sep 04, 2007 9:53am

    Robin Sowell

    13255 posts

    Really nice job on this, bjornbjorn.  It’s much appreciated.

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases