A slight rework of the original wordpressimport modules. Gives you a disposable module to deploy to get your blog migrated from a Wordpress XML export file.
License: Other
wordpressimport-redux's Introduction
###############################################
Wordpress Import Module - Redux! (A re-work)
###############################################
Maintainer Contact
-----------------------------------------------
Original Module by:
Saophalkun Ponlu (Nickname: phalkunz)
<phalkunz (at) silverstripe (dot) com>
Additional Updates:
Cam Findlay (Nickname: camfindlay)
<cam (at) camfindlay.com>
Damian Mooyman (Nickname: tractorcow)
<damian (dot) mooyman (at) gmail (dot) com>
Requirements
-----------------------------------------------
mod_rewrite
Silverstripe 3.0
Documentation
-----------------------------------------------
Installation Instructions
-----------------------------------------------
Usage Overview
-----------------------------------------------
It will change any links to uploaded images and
files in your posts that follow the convention
"http://yourdomain.com/wp-content/uploads/yyyy/mm/filesname.jpg"
to "http://yourdomain.com/assets/Uploads/yyyy/mm/filesname.jpg"
which allows you to migrate you uploaded images
and files over to SilverStripe while maintaining
images in your posts.
Add this in your .htaccess file to port old
wordpress posts in the form /yyyy/mm/name-of-post/
to new SilverStripe /blog/name-of-post convention.
<code>
RewriteRule ^[0-9]{4}/[0-9]{2}/(.*)$ /blog/$1 [R,L]
</code>
Known issues:
-----------------------------------------------
Content can lose a lot of the formatting coming from Wordpress.
Perhaps parsing the content through a nl2br might help?