forked from cam-findlay/wordpressimport-redux
-
Notifications
You must be signed in to change notification settings - Fork 0
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
alvarlaigna/wordpressimport-redux
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
############################################### 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?
About
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.
Resources
License
Stars
Watchers
Forks
Packages 0
No packages published