Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/davidwinter/wordpress-to-jekyll
https://github.com/davidwinter/wordpress-to-jekyll
Last synced: 1 day ago
JSON representation
- Host: GitHub
- URL: https://github.com/davidwinter/wordpress-to-jekyll
- Owner: davidwinter
- Created: 2011-10-29T11:36:22.000Z (about 13 years ago)
- Default Branch: master
- Last Pushed: 2011-10-29T11:43:56.000Z (about 13 years ago)
- Last Synced: 2024-05-01T13:39:29.436Z (7 months ago)
- Language: PHP
- Homepage:
- Size: 88.9 KB
- Stars: 18
- Watchers: 3
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Wordpress to Jekyll
A simple script that will convert posts from a Wordpress export into Jekyll friendly post files.
It will pull out the title and tags from posts, along with the main post content and then save them into the correct timestamp named files based on the post date and post title slug.
This will ensure if you're moving from Wordpress to Jekyll, your old links will work so long as you include the correct permalink structure in your `_config.yml` file.
**Requires PHP 5.3**
## Install
git clone git://github.com/davidwinter/wordpress-to-jekyll.git
cd wordpress-to-jekyll/
git submodule update --init --recursiveDownload your Wordpress export to the same directory, and then rename it to `export.xml`, then run:
php wordpress-to-jekyll.php
This will create a `posts` directory with all your converted files.