Exporting posts (3 posts)

  1. furtherup
    Posted 9 years ago #

    I've been using WordPress for around a year, and my blog is now cluttered with many "testing" entries and various others that aren't really ones I want to keep. I'm moving my blog to a small site that hosts a few people, so I'm going to reinstall WordPress and want to do it freshly. Is there a way I can easily export my WP posts to Blogger or LiveJournal so I can read them over later but not have them on my new blog?
    I looked around for a good bit but I couldn't find any simple explanations. Thanks very much!

  2. billsaysthis
    Posted 9 years ago #

    Blogger doesn't really have an import or export function, though I wrote up a process and some l33t PHP code:


    The company where I work, RawSugar, has created a script that exports all the entries in your database (but not the comments) to produce an XML file which we can import for indexing. The script only takes the permalink, post date, title and category list for each post but it wouldn't be hard to add the post content as well if you know a little PHP:


    Once the entries are in XML they should be usable with a little massaging for pretty much anything. Though helping with this would be beyond the scope of what I/we can offer.

    Good luck.

  3. Poco
    Posted 9 years ago #

    It seems like you could just copy your existing WP blog somewhere else (another directory on your site?) and use a different DB table prefix for your new blog. There are instructions in the DOCS somewhere for moving your WP blog to another location.

Topic Closed

This topic has been closed to new replies.

About this Topic