Git Product home page Git Product logo

blogml-to-wrx's Introduction

BlogML-to-WRX

The tool can be used if you need to convert BlogML format into WRX file (WordPress Extended RSS import file format) for subsequent import it into WordPress.

The tool was originally developed by Saravana Kumar and initial code was downloaded from blog "Migrating your blog from any BlogML based platform to WordPress"

The code in this repository has error handling/logging enhancements and fixed import of multiple comments.

For detailed description see the blog post "Migrating your blog from any BlogML based platform to WordPress"

Extract from the post:

Options available with the tool.

  • RemoveComments
  • ExportToWRX
  • QATarget
  • QASource
  • NewWRXWithOnlyFailedPosts

You simply run the tool with the following command

BlogML.Helper.exe /Action:ExportToWRX /BlogMLFile:BlogML.xml /SourceUrl:geekswithblogs.net/OldBlog /TargetUrl:NewBlog.wordpress.com

Similar tools :

To import blogML format to Wordpress, there are a few tools available.
If your new site is self hosted from Wordpress.org, you can install some of available plugins, e.g. importing-a-big-honkin-blogml-xml-file-into-wordpress But custom plugins not supported in Wordpress.com. For Wordpress.com you can use Blogmigrator or this tool(aka BlogML.Helper.exe). Blogmigrator has less steps to do, but doesn't import comments. If comments are important to you, the only choice that I found is this tool.

WordPress and high post ID's when using DasBlog as a Source

Depending on which Blog Platform you are migrating from. The postid field is sometimes a GUID, this is usually the case with DasBlog. This can cause issues in the WordPress WRX Importer plugin. It tries to convert the GUIDs to integers but it does this in quite an odd way. If you have quite a few posts in the blog you are migrating it will eventually go past 2147483647 as a postid. This is fine in MySQL but not in WordPress where it attempts to convert postid's when you render posts in WordPress to an int. When PHP encounters a post id higher than 2147483647 when converting to int it just makes the post id 2147483647 and you will end up with what looks like multiple duplicates but what is happening is all blogposts with an id greater than 2147483647 will appear as the post that actually has that id in WordPress.

To get around this use the BlogPostIdSeed, first check what the highest postid is in your WordPress if you have existing posts. If you have a new site you should be good with a number around 50. This will replace all the postids in the generated files with an incremented number starting from the seed.

BlogML.Helper.exe /Action:ExportToWRX /BlogMLFile:sourceblogML.xml /SourceUrl:myblog.com /TargetUrl:mynewblog.com /BlogPostIdSeed:50

blogml-to-wrx's People

Contributors

mnf avatar rorystreet avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.