Git Product home page Git Product logo

wordpress2markdown's Introduction

wordpress2markdown

small php script to export all WordPress posts to Markdown textfiles (Pelican compatible - http://getpelican.com/)

also gets the custom fields from all posts - something the official pelican-import script doesn't support

  1. REQUIRED: you need to place the HTML_To_Markdown.php script into the wp2md folder. make sure to get the newest one at https://github.com/nickcernis/html-to-markdown/

  2. place wp2md folder in root folder of your WordPress installation

  3. make sure the wp2md folder is writable for your webserver

     sudo chown www-data:www-data wp2md
    
  4. call the wp2md.php with your browser or use the commandline

  5. the wp2md folder will be populated with textfiles named your-article-slug.md - make sure your posts have unique titles!

enjoy!

wordpress2markdown's People

Contributors

randogoth avatar

Watchers

 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.