1.2.0-alpha.5 • Published 2 years ago
wordpress-api-to-markdown v1.2.0-alpha.5
🍱 Wordpress API to markdown
Takes all the posts from a Wordpress wp-api endpoint and writes them to disk as markdown.
This is an opinionated script for my own use cases, but I welcome PRs to make it more extensible.
Usage
npx wordpress-api-to-markdown --input example.org --output ./_posts/wordpress
This will crawl the wp-json API on example.org
and write all the posts to
markdown files in ./_posts/wordpress
Presently this tool does not download images, so the original Wordpress server will still be used to serve images.
Options
--force-permalink
- write a permalink to the front matter. Used to work around wonky permalink implementations (Personally I can never get Hexo to work right).
1.2.0-alpha.4
2 years ago
1.2.0-alpha.5
2 years ago
1.2.0-alpha.3
2 years ago
1.1.0
2 years ago
1.2.0-alpha.2
2 years ago
1.2.0-alpha.0
2 years ago
1.2.0-alpha.1
2 years ago
1.0.4
2 years ago
1.0.3
2 years ago
1.0.2
3 years ago
1.0.1
3 years ago
1.0.0
3 years ago