Code Monkey home page Code Monkey logo

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?

wordpressimport-redux's People

Contributors

tractorcow avatar camfindlay avatar

Watchers

Alvar Laigna avatar James Cloos 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.