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)
- Host: GitHub
- URL: https://github.com/randogoth/wordpress2markdown
- Owner: randogoth
- Created: 2014-03-06T23:45:29.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2014-03-07T00:12:50.000Z (over 12 years ago)
- Last Synced: 2025-02-14T13:36:41.408Z (over 1 year ago)
- Language: PHP
- Size: 137 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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!