Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

Migrating a Site to Silverstripe /

What you need to know when migrating your existing site to SilverStripe.

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo, swaiba

Wordpress to SS with 2500+ post


Go to End


7 Posts   3240 Views

Avatar
BuddhaSource

Community Member, 57 Posts

12 February 2011 at 7:47am

Have been struggling to migrate posts from Wordpress to SilverStripe for last few days.
I have a WordPress blog with 2500+ posts & need to port it with images.

Some of the tools available are not optimized to handle big site. Wordpress connector for example shows the post list only when I delete my post & bring it to 500 posts.

XML importer tool again has its own set of errors.
Can somebody suggest something that is simple & can handle 2500+ posts?

Avatar
Willr

Forum Moderator, 5523 Posts

12 February 2011 at 2:42pm

You might want to get in touch with Andrew who developed the Wordpress Connector and see if he has had any experience with that many pages. It's a relatively new module so may not have been tried on a site that big.

Avatar
BuddhaSource

Community Member, 57 Posts

18 February 2011 at 7:58pm

Thank Willr,

I did contact Andrew and he was kind enough to look into the problem. Well according to him the the default Wordpress XML-RPC API does not allow to fetch any sub-set of posts hence we can't get limited number of post at a time. He adviced increasing the memory for PHP to few GB but again no luck.

However as a work around I deleted my post and brought it down to 600 post. Now atleast these post show up in External Content >> WordpressPostSource. But again the actual import fails. I tried queuing it and got an error, I have attached the file.

Avatar
ajshort

Community Member, 244 Posts

18 February 2011 at 9:19pm

Hey,

This requires the latest version of the external content and queued jobs module - can you try updating both of those to the latest master?

Avatar
BuddhaSource

Community Member, 57 Posts

22 February 2011 at 2:48am

Thank Andrew, Worked finally. I thought I was working with latest trunk.

As of now only content was imported, media & comment import is still not working. Well I can still forget about importing media but comments are critical :)

Avatar
BuddhaSource

Community Member, 57 Posts

3 March 2011 at 5:55pm

There is inconstancy in the import part, I am trying to import again with same setup its not working. In the previous attempt importing comments failed but content was imported.

Also there are two external content module on GitHub

1. https://github.com/ajshort/silverstripe-external-content
2. https://github.com/nyeholt/silverstripe-external-content

Jobs - https://github.com/nyeholt/silverstripe-queuedjobs
WP Connector - https://github.com/ajshort/silverstripe-wordpressconnector

Environment : Localhost, Apache, MySQL Windows.

Please advice.

Avatar
Garrett

Community Member, 245 Posts

19 May 2011 at 8:59am

I can say definitively that an Import of Wordpress Blog content using a WordpressPostContentSource connector with all the latest from github:

External Content Module 0.2.7
Blog Module 0.4.1
Word Press Connector Module 0.1-beta1
Queued Jobs Module 1.2.3

Does not work. You get a message saying the import is starting and then nothing happens after that and nothing is imported, even if you kick the task off using http://path.to.silverstripe/dev/tasks/ProcessJobQueueTask.

Any guidance on this would be greatly appreciated. I have too many posts to do manually.

Thanks,
Garrett