• Technosailor.com
  • Desk of the Editor
  • Entrepreneurship
  • Web Marketing
  • Tech Policy
  • Contenido Español
Technosailor
  • Blog
  • Authors
  • Twitter Pitch Me!
  • Disclosures
  • Advertise on Technosailor.com
Jan
02
2007

New Version of Serendipity (s9y) to WordPress Importer Available

Posted by: Aaron Brazell
Woodlawn, MD, USA

There is a new version of the Serendipity importer available for WordPress. It can be downloaded at here. Note: The old location no longer works.

This version is a bugfix version addressing issues of unassociated comments and unassociated categories. This should be considered a beta release until I get more user feedback.

To use, upload serendipity.php to your WordPress blog in the wp-admin/import directory.

Table of contents for WordPress Plugins

  1. WordPress-to-WordPress Import
  2. WordPress-to-WordPress Import v2.0 Released
  3. New Version of Serendipity (s9y) to WordPress Importer Available
  4. Timecapsule Plugin 1.0.3
  5. WordPress Plugin: Embargo Press Release
Previous in series Next in series
  • Add to Mixx!
  • Stumble it!
About the Author: Aaron Brazell is the lead editor of Technosailor.com and a social media expert. His passion is to see companies and individuals use the internet and web technologies wisely and effectively to promote their brands and companies. He served as Director of Technology at b5media from 2005-2008 and is currently an independent consultant.
Tagged: WordPress Plugins Series at 7:19 pm -
discussion by DISQUS

Add New Comment

  • Subscribe:  This Thread
  • Go to:  My Comments ·  Community Page
  • Sort thread by:

    Viewing 15 Comments

    Thanks. Your comment is awaiting approval by a moderator.

    Do you already have an account? Log in and claim this comment.

      • ^
      • v
      • Permalink
      • Admin
        • Remove Post
        • Block email
        • Block IP address
      ckay 1 year ago 1 point

      Please login to rate.

      Do you already have an account? Log in and claim this comment.

      doesn't work for me. it seems that the importer tries to use the s9y database for inserting the data into wordpress, but in my case they are two different databases on the same server.

      Also it would be nice if i could choose what to import. Right now i have to do one thing after the other even if i don't want to :) (i would like to skip the users and categories, as they already exist)
      reply  edit  flag   record video comment
      http://www.ckay.de /people/dc840ef4cc27e9f742880feae0cee1f3/
      • ^
      • v
      • Permalink
      • Admin
        • Remove Post
        • Block email
        • Block IP address
      Paws 1 year ago 1 point

      Please login to rate.

      Do you already have an account? Log in and claim this comment.

      Same goes for me. Both, the S9Y and the WP Databases are on the same server. Now when I try to import, the Plugin tries to write the data into the S9Y Database instead of the WP Database


      WordPress database error: [Table 'usr_webXX_12.wp_categories' doesn't exist]
      SELECT cat_ID FROM wp_categories WHERE category_nicename = 'php'


      usr_webXX_12 = The S9Y DB
      usr_webXX_14 = WP Database
      reply  edit  flag   record video comment
      http://blog.phpaws.net /people/d936dfd857ed0757702a9aaa11611a2a/
      • ^
      • v
      • Permalink
      • Admin
        • Remove Post
        • Block email
        • Block IP address
      Paws 1 year ago 1 point

      Please login to rate.

      Do you already have an account? Log in and claim this comment.

      Found the solution....

      as Database host enter "127.0.0.1" instead of "localhost"
      reply  edit  flag   record video comment
      http://blog.phpaws.net /people/d936dfd857ed0757702a9aaa11611a2a/
      • ^
      • v
      • Permalink
      • Admin
        • Remove Post
        • Block email
        • Block IP address
      Paws 1 year ago 1 point

      Please login to rate.

      Do you already have an account? Log in and claim this comment.

      *grins*

      Keep up the good work! You're a life saver!
      *hug* :)
      reply  edit  flag   record video comment
      http://blog.phpaws.net /people/d936dfd857ed0757702a9aaa11611a2a/
      • ^
      • v
      • Permalink
      • Admin
        • Remove Post
        • Block email
        • Block IP address
      HMTKSteve 1 year ago 1 point

      Please login to rate.

      Do you already have an account? Log in and claim this comment.

      Great job, I just used it to save me some time!

      One thing, why does it not pull the extended text?
      reply  edit  flag   record video comment
      http://www.hmtk.com /people/abf9a7e118d22ef8ca56b7a55f46d383/
      • ^
      • v
      • Permalink
      • Admin
        • Remove Post
        • Block email
        • Block IP address
      Kim 1 year ago 1 point

      Please login to rate.

      Do you already have an account? Log in and claim this comment.

      I'm trying to download this and it tells me that the file is corrupted?
      reply  edit  flag   record video comment
      http://www.kmsklinar.co.uk /people/a7696f265d0315698f32215a2a642906/
      • ^
      • v
      • Permalink
      • Admin
        • Remove Post
        • Block email
        • Block IP address
      SoGua 1 year ago 1 point

      Please login to rate.

      Do you already have an account? Log in and claim this comment.

      I work just half way, i cant import my extended message to my wordpress.

      ANy new solution?
      reply  edit  flag   record video comment
      http://sogua.mamakcorner.com /people/e57ba57bc0fab9cf82fadc496bfaaa38/
      • ^
      • v
      • Permalink
      • Admin
        • Remove Post
        • Block email
        • Block IP address
      SoGua 1 year ago 1 point

      Please login to rate.

      Do you already have an account? Log in and claim this comment.

      ok i've modified line 317 to join the $extended content. As this:-

      $post_body = $wpdb->escape($body) . $wpdb->escape($extended);
      reply  edit  flag   record video comment
      http://sogua.mamakcorner.com /people/e57ba57bc0fab9cf82fadc496bfaaa38/
      • ^
      • v
      • Permalink
      • Admin
        • Remove Post
        • Block email
        • Block IP address
      54 1 year ago 1 point

      Please login to rate.

      Do you already have an account? Log in and claim this comment.

      what do you mean SoGua? And kim and ether repare the file, or re download the file.
      reply  edit  flag   record video comment
      /people/87d15a88703f2b197c739aa2fb3dfd70/
      • ^
      • v
      • Permalink
      • Admin
        • Remove Post
        • Block email
        • Block IP address
      ritman 1 year ago 1 point

      Please login to rate.

      Do you already have an account? Log in and claim this comment.

      i have a blog with 4 authors. your import plugin works good, but all entrys are importet for the administrator..

      what is the problem?
      reply  edit  flag   record video comment
      http://gedankenblase.de /people/631085e4ac3aa35702e2055416ba9c7c/
      • ^
      • v
      • Permalink
      • Admin
        • Remove Post
        • Block email
        • Block IP address
      ritman 1 year ago 1 point

      Please login to rate.

      Do you already have an account? Log in and claim this comment.

      no one here to help me?
      reply  edit  flag   record video comment
      http://gedankenblase.de /people/631085e4ac3aa35702e2055416ba9c7c/
      • ^
      • v
      • Permalink
      • Admin
        • Remove Post
        • Block email
        • Block IP address
      Henk 1 year ago 1 point

      Please login to rate.

      Do you already have an account? Log in and claim this comment.

      Uhm, I keep getting errors:

      WordPress database error: [Table 'serendipity._category' doesn't exist]

      This is correct, because it should be serendipity_category NOT serendipity._category with a . in it!!

      How to fix this?
      reply  edit  flag   record video comment
      http://zion.demon.nl/ /people/ef830f78558a43d4d392173950e10181/
      • ^
      • v
      • Permalink
      • Admin
        • Remove Post
        • Block email
        • Block IP address
      Paws 1 year ago 1 point

      Please login to rate.

      Do you already have an account? Log in and claim this comment.

      That's what I get now when trying to import from my S9Y DB:

      ---
      Error establishing a database connection

      This either means that the username and password information in your wp-config.php file is incorrect or we can't contact the database server at . This could mean your host's database server is down.
      ---

      doesn't work with 127.0.0.1 as db-host either... :|
      reply  edit  flag   record video comment
      http://blog.phpaws.net /people/d936dfd857ed0757702a9aaa11611a2a/
      • ^
      • v
      • Permalink
      • Admin
        • Remove Post
        • Block email
        • Block IP address
      peanutsof80s 1 year ago 1 point

      Please login to rate.

      Do you already have an account? Log in and claim this comment.

      This [code]PGNvZGU+c2VyZW5kaXBpdHkucGhwPC9jb2RlPg==[/code] script works perfectly in my case, making my former Serendipity 0.9 (s9y) install a history with about 200 entries perfectly imported to Wordpress (WP) 2.2. However, it's not perfect out of the box. It needs some preparation to make the migration works.

      The following should be made prior to migration based on my preparation.

      - Backup both s9y and WP package and MySQL databases. Whatever method will be fine.
      - Download the package and install into your WP installation folder:

      [code]PGNvZGU+DQojIGNkIHt3b3JkcHJlc3Nfd2ViX3Jvb3RfcGF0aH0vd3AtYWRtaW4vaW1wb3J0DQojIHdnZXQgLWMgaHR0cDovL3d3dy50ZWNobm9zYWlsb3IuY29tL2Rvd25sb2Fkcy9zZXJlbmRpcGl0eS1pbXBvcnRlci56aXANCiMgdW56aXAgc2VyZW5kaXBpdHktaW1wb3J0ZXIuemlwDQo8L2NvZGU+[/code]

      - Apply the fix to include extended data on s9y entries table. See SoGua comment. Just add or concat [code]PGNvZGU+JHdwZGItPmVzY2FwZSgkZXh0ZW5kZWQpPC9jb2RlPg==[/code] to [code]PGNvZGU+JHBvc3RfYm9keTwvY29kZT4=[/code] variable.

      - Add MySQL admin (e.g., root) access to 127.0.0.1 host to avoid possible MySQL connection issue.

      [code]PGNvZGU+DQpHUkFOVCBhbGwgcHJpdmlsZWdlcyBvbiAqLiogdG8gXCdyb290XCdAXCcxMjcuMC4wLjFcJyBpZGVudGlmaWVkIGJ5IFwneW91cl9teXNxbF9wYXNzd2RcJzsNCkZMVVNIIFBSSVZJTEVHRVM7DQo8L2NvZGU+[/code]

      - Verify your s9y database name and prefix. By default it's "serendipity" and "serendipity_" respectively. Try listing [code]PGNvZGU+bHMgLTEgL3Zhci9saWIvbXlzcWwvPC9jb2RlPg==[/code]

      - Remove all single-quoted Category names like most of the French words. Otherwise, the import will continue but MySQL will skip importing those single-quoted Categories. You can manually remove it or via SQL command.

      - At this point, you're all set to go ahead with s9y migration through WP admin ... Manage ... Import ... Serendipity. A default s9y install should be like these:

      [code]PGNvZGU+DQpTZXJlbmRpcGl0eSBEYXRhYmFzZSBVc2VyOiByb290DQpTZXJlbmRpcGl0eSBEYXRhYmFzZSBQYXNzd29yZDogeW91cl9teXNxbF9wYXNzd29yZA0KU2VyZW5kaXBpdHkgRGF0YWJhc2UgTmFtZTogc2VyZW5kaXBpdHkNClNlcmVuZGlwaXR5IERhdGFiYXNlIEhvc3Q6IDEyNy4wLjAuMQ0KU2VyZW5kaXBpdHkgVGFibGUgcHJlZml4IChpZiBhbnkpOiBzZXJlbmRpcGl0eV8NCjwvY29kZT4=[/code]

      The rest is just pony and click. The import includes Categories, Users, Posts and Comments.

      I hope this will help your migration to WP error-free.
      reply  edit  flag   record video comment
      /people/707a1fefb9ac2490370888ed040adf44/
      • ^
      • v
      • Permalink
      • Admin
        • Remove Post
        • Block email
        • Block IP address
      Ryan 1 year ago 1 point

      Please login to rate.

      Do you already have an account? Log in and claim this comment.

      Paws -

      I get the same error as you. Any luck figuring it out? My s9y installation is hosted at dreamhost, so I can't use 'localhost' or '127.0.0.1' to connect, I must use my actual domain name (ryanroth.net). I'm assuming this may be part of the problem.

      Any ideas would be splendid!
      reply  edit  flag   record video comment
      http://ryanroth.net /people/7ad39a44e7f210628e7fba3ae0923bf4/
    discussion by DISQUS

    Add New Comment

    close Joe Chill(joechill)
    konvict

    status via twitter

    Murdering the Wayne parents, creating Batman · 2 minutes ago

    recent comments (follow comments)

      View Profile »
      Powered by Disqus · Learn more
      blog comments powered by Disqus
      • Recent Posts

        • Fantasy Football for Charity
        • Findability is a Legitimate Concern for Bloggers
        • Search and Findability
        • Will I See you in Boston? Or in San Francisco? Or in Boulder? Or in Vegas?
        • The Psychology of Gap Marketing
      • Recent Comments

        Powered by Disqus
      • Tags

        Aaron Brazell Advertising Apple b5media Blogging book conferences Design entrepreneurship Facebook Finance and Funding Google guest_blogging holidays humor hurricanes_and_natural_disasters interesting job Links Marketing Music nfl Op-Ed Perfect Pitch personal politics pr Predictions productivity Programming Security Social Issues Social Media Social Networking social_issues Sports Tech Industry Technology Technosailor Travel twitter unix Venture Files WordPress you_can_blog

      • License Creative Commons Attribution-Noncommercial-Share Alike 3.0 | Copyright © 2004 - 2008 - Aaron Brazell | Lisa helped out | Privacy Policy

        Twitter Pitch!

        <p>Twitter pitching is a form of pitch that requires succint "what does this mean for me" kind of pitching. It is the ultimate efficiency of words. You have 140 characters or less to tell me why your pitch matters to me or my readers. Please include a means of contacting you. This is included in your 140 characters. If you send successive pitches, you will likely be ignored, unless it's obvious that the first pitch was a case of "accidental send", etc.</p> <p>This form of pitching does not mean I'm being a diva. It means that my time is valuable, and you want a piece of it. It's good practice for you, and delivers your pitch in a format I want. Win-win.</p>


        (X) Close

        Twitter Pitch Me!