An open API service indexing awesome lists of open source software.

https://github.com/randogoth/wordpress2markdown

small php script to export all WordPress posts to Markdown textfiles (Pelican compatible)
https://github.com/randogoth/wordpress2markdown

Last synced: 10 months ago
JSON representation

small php script to export all WordPress posts to Markdown textfiles (Pelican compatible)

Awesome Lists containing this project

README

          

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/

1. place `wp2md` folder in root folder of your WordPress installation

2. make sure the `wp2md` folder is writable for your webserver

sudo chown www-data:www-data wp2md

3. call the `wp2md.php` with your browser or use the commandline

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

enjoy!