Giter VIP home page Giter VIP logo

wp2k's Introduction

WordPress 2 Kentico Blog Migration Tool

This tool is built to aid in migrating a WordPress blog to the Kentico CMS platform. It works by parsing the XML WordPress export file and inserting the data into an existing Kentico database. The newly-created blog entries can then be accessed and edited just like any other document created in the Kentico system.

The goal of the WP2K application is to not only import a WordPress blog to Kentico, but to help maintain the original path structure and ID links from the original blog.

System Requirements

  • .Net 4.0+, or .Net 3.0+ with Entity Framework, LINQ
  • SQL Server 2008+
  • Microsoft Visual Studio 2010+

Recommended: Kentico 7+, WordPress 3+

How to Use

  1. Export your WordPress blog to XML using the WordPress exporter tool.
  2. Install Kentico to your target location.
  3. Download the WP2K tool and edit the AppSettings and connection sections of App.config for your setup.
  • You can use an existing Blog section, or allow the tool to create a new one1
  1. Compile the application and run it from Visual Studio2.

1 While the tool does create the Blog section, there is currently a known issue where the document isn't completely created, and the CMS doesn't entirely recognize it. 2 It is possible to install the application, but it is not currently built to do so. The application will run immediately upon successful installation.

Settings

Because of the variable nature of Kentico setups, the application comes with a number of settings. They can all be found at the beginning of the App.config file.

  • Database Connection and Entity String - Set these as necessary. By default, they are set up to access a SQL Server database.
  • file - The full path to the WordPress blog export file.
  • kenticoBlogId - The ID of the blog in Kentico to use. If no item of Blog type exists at this ID, then the system will create a new one.
  • kenticoBlogLevel - The NodeLevel of the Blog Node. 1 is directly under the site root.
  • kenticoBlogPath - The parent Nodes of the Blog Node, if kenticoBlogLevel is greater than 1. Leave blank if kenticoBlogLevel is 1.
  • nodeOwnerId - The default ID of all Nodes created by the system. Defaults to the site administrator (53), but can be set to any valid User ID.
  • tagGroupName - The name for the Tag Group that all transferred tags will be filed under. Required to connect tags to posts.
  • siteId - The ID of the Kentico Site the blog belongs to.
  • xmlTrumpsDb - For posts, this provides the option to allow or deny the XML file's ability to overwrite existing blog entries with the same (BlogPost) ID.

Contributing

This was created to fill a need at the time. I no longer maintain it as I no longer use Kentico. Because of this, I probably won't accept code pull requests on it (as I can't verify any changes). However, feel free to fork it, and let me know about your fork and I'll link to here for the sake of others (or open a pull request for an update to this file with your info, which I will accept), especially for major updates/refactorings/new Kentico version compatilibity.

License

Released under the DBAD Public License. Fork it to your heart's content. Update it, fix it, re-release it with your changes. Just don't be a dick. If you make money off it, it'd be nice (though not required) to get me coffee or lunch money in return. Like most open source stuff, this project is provided as is and with no warranty.

wp2k's People

Contributors

shaunagordon avatar

Watchers

Ben Wagner avatar  avatar  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.