1

Topic: How to migrating from Wordpress?

I want to transfer my site: http://www.zhu8.net/ to Wolf(which was made by Wordpress),but how can I migrating Wordpress to Wolf CMS? and how about posts/pages/comments? Will somebody write a Plugin to make it work?
Thanks!

Thumbs up

2

Re: How to migrating from Wordpress?

@Zhu8 - I like the idea! I'm not a coder so no real help wink but I wonder if there is a possibility here of matching XML output from Wordpress to the structure of the new BackupRestore plugin? Worth thinking about.

3

Re: How to migrating from Wordpress?

Anyone else have any experience with this? I have a wordpress blog right now and I'm thinking of moving my site over to Wolf. Has anyone moved that has any input on the most convenient way to do it?

Thumbs up

Re: How to migrating from Wordpress?

Hi !
I discovered WolfCMS today, as I was looking for a better blog software.
Today I also use WordPress and was hoping to try to import some of my posts into WolfCMS to see how it would display...

I'd be interested to try someone idea.... As David suggest, you can export WordPress DB in XML, could be interesting to work on a plugin that could import some data from that export... I'm a little busy right now, I'll see what I can do.

5

Re: How to migrating from Wordpress?

Hi ZenZen - welcome to the Wolf forums! wink

ZenZen wrote:

...could be interesting to work on a plugin that could import some data from that export...

I hope you can find time for it -- that would make a very welcome addition to Wolf's plugin offerings. Let us know how you get on!

Re: How to migrating from Wordpress?

Actually, I already wrote a bit of code to do exactly this... however since I don't have a good "default" export of a Wordpress site in XML format I haven't been able to do any testing.

If someone can send me a proper export to my gmail account, I can do some basic testing. If it works in the basics, I'll release the rough code.

Wolf CMS founder and lead developer
Please always check the Support forums and Wiki before asking. (My Ohloh account.)
Like Wolf CMS? Consider making a financial contribution.

Re: How to migrating from Wordpress?

Hi !
I started something and I must say that I like the way plugins works in WolfCMS... So easy to create and to understand... But a bit hard to find documentation about it.
I also should get something working soon, I mean something that would import pages of WordPress into WolfCMS (not blogpost).

I'm having some functionnal questions about what informations should be imported as I don't know what field are mandatory to create a w_page... I may need help for that sort of things...

@mvdkleijn : Should I keep working on my plugin or your work is enough ?? Can't send you my export as it's in french, or maybe you don't car or even better you speak french ?

Re: How to migrating from Wordpress?

@ZenZen

I only have some basic code, intended to import blog posts but I never continued work on it because there were other priorities and I didn't have a proper export of a non-trivial WP install. I don't really care what language it is in as that shouldn't matter for imports.

Since you're in the same time zone you can add me in gmail if you want. That way we can discuss collaboration on this and I can help you with mapping.

You are very welcome to continue work on your code. I originally wanted to add the WP import as an option to the Backup Restore plugin in the core so maybe instead of you creating a separate plugin, you/we can develop the import code and then add it to the Backup Restore plugin instead?

As a side note, in case you're interested... (though probably not ;-) )

I speak: Dutch (mother tongue), English (fluent), German (rusty but understandable), Spanish (enough to go shopping), French (very rusty and mostly bits and pieces)

I understand: Dutch (fluent), English (fluent), German (good), Spanish (reasonable), French (somewhat), Japanese (bits and pieces)

Wolf CMS founder and lead developer
Please always check the Support forums and Wiki before asking. (My Ohloh account.)
Like Wolf CMS? Consider making a financial contribution.

Re: How to migrating from Wordpress?

mvdkleijn wrote:

@ZenZen

I only have some basic code, intended to import blog posts but I never continued work on it because there were other priorities and I didn't have a proper export of a non-trivial WP install. I don't really care what language it is in as that shouldn't matter for imports.

I just send you an email with forum form with a link to my WPDB.

mvdkleijn wrote:

Since you're in the same time zone you can add me in gmail if you want. That way we can discuss collaboration on this and I can help you with mapping.

Why not !

mvdkleijn wrote:

You are very welcome to continue work on your code. I originally wanted to add the WP import as an option to the Backup Restore plugin in the core so maybe instead of you creating a separate plugin, you/we can develop the import code and then add it to the Backup Restore plugin instead?

That would be an excellent idea. Though, I'll create a git with it, so you can import it after...

And about your languages skill, I'm jealous... tongue

10

Re: How to migrating from Wordpress?

I created a github so that I can get feedback on how I did things.

You can try it, but before, please, save your WolfCMS database...

Grab it here -> https://github.com/jbleuzen/Wolf_WPDB_Import

Put your Wordpress XML file in your WolfCMS root, activate the plugin, select the user and hit "Import".
You should see your WordPress pages appears under Articles... Hopefully.

Just a thought, what should I do with images ? I haven't seen a thing about images in WolfCMS, maybe assets plugins ??? tongue

11

Re: How to migrating from Wordpress?

Wow! That was quick. Impressive.

I'll have to give this a try when I have a minute.

Thumbs up

Re: How to migrating from Wordpress?

@ZenZen - Couple of points.

You may want to try checking if a user with the same username exists in both Wolf CMS and WP. If so, you can auto-map pages/articles from the original user to the user in Wolf. smile That would make for a lot nicer import when multiple users were creating pages originally.

There's not a generic "images" plugin. The only thing you need for importing a WP page is making sure you have correct in-page references to articles/pages & images. In other words, if applicable, either:

- Create the paths on disk to make sure your images are available to the imported pages
- Change the paths to images in the imported pages

Wolf CMS founder and lead developer
Please always check the Support forums and Wiki before asking. (My Ohloh account.)
Like Wolf CMS? Consider making a financial contribution.

13

Re: How to migrating from Wordpress?

@mvdkleijn :
#1 :
I've been thinking of importing file with Author from WPDB file, but I've face a problem. What should I do if the user from WPDB doesn't exist in WolfCMS ?? Maybe add a page where you ask user in that very case ?

#2 : For images, I won't do anything. I used to upload images in a specific folder in my WP install, so it's all compatible with my import in WolfCMS.

I'll submit a new version soon, that will import pages as pages and blog posts in a specific blog posts, and I'll create a specific post in 3rd party plugins.

Re: How to migrating from Wordpress?

For #1 there are (roughly) three options I guess.

a) Create the missing user.
b) Popup a question mid-import to ask which existing user should be considered the author.
c) Use a user as the default author when the actual author doesn't exist.

Probably option a) is the nicest since it is likely that you also want to import the users from your old site. Though option c) is the easiest. Option b) is not desirable since someone may want to start the import and walk away.

The most appropriate would probably be to implement both a) and c) and let the user choose between the two before the import starts.

For #2: sounds good.

Hope the wiki page with the field mappings helped out.

Wolf CMS founder and lead developer
Please always check the Support forums and Wiki before asking. (My Ohloh account.)
Like Wolf CMS? Consider making a financial contribution.

15

Re: How to migrating from Wordpress?

Hi,
Just made an update to the plugin on github...
Works perfectly with me but I'd like to have some testing...

What is supported today :

* Import of published Pages.
* Import Categories as an empty Page.
* Import of published Posts in the right Category.
* Import ALL comments (spam and non-spam) and bind them to the right Post.
* Upload a WordPress XML backup file into the CMS.

https://github.com/jbleuzen/Wolf_WPDB_Import

Thank you !

Last edited by ZenZen (2010-12-01 20:49)

16

Re: How to migrating from Wordpress?

ZenZen wrote:

Works perfectly with me but I'd like to have some testing...

Fab work, ZenZen! big_smile I can give this a test, but probably not until the weekend. I'll be sure to report back here when I get a chance to try it, though. Thanks for this!

17

Re: How to migrating from Wordpress?

P.s. Added to Repo

Is it worth opening a discussion thread in the 3rd Party Plugins forum now? smile

Re: How to migrating from Wordpress?

i currently have a blog on wordpress, did some research and now i want to try migrate it to wolf, is there any plugin that i can use to get it done? im not good with edit coding.

Thank you.

Thumbs up

19

Re: How to migrating from Wordpress?

Hi pjsnoop - and welcome to the Wolf forums!

pjsnoop wrote:

i currently have a blog on wordpress, did some research and now i want to try migrate it to wolf, is there any plugin that i can use to get it done? im not good with edit coding.

There is such a plugin, and you can read more about it in its own thread. You'll see there is some on-going discussion there. Do let us know how it goes for you (probably best if you add to that thread). Thanks!