ohjho / wodup-jekyllflied

simple python script to migrate your Wodup-Wordpress blog into Jekyll

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

WodUp-Jekyllfied

Use WodUp?
Use Wordpress for your box's site?
Migrating to Jekyll?

If your answers are Yes, Yes, and Yes; then this python code is for you!

Getting Started

I recommend using vitrualenvwrapper; if you don't know, now you know.

Prerequisites

Install the requirements in requirements.txt

pip install -r requirements.txt

Configuration

edit config-example.py and rename to config.py

wordpress_url = "http://crossfitasphodel.com/wp-json/wp/v2" # <--- This is your old blog's WP API entry point
posts_path = "_posts/wodup"                                 #_ <-- This is where you will save the new Jekyll posts md files, in the same directory as config.py
images_path = "images/posts"                                # <--- Image from posts will be saved here

Built With

License

This project is licensed under MIT License - see the license.md file for details

Acknowledgements

About

simple python script to migrate your Wodup-Wordpress blog into Jekyll

License:MIT License


Languages

Language:Python 100.0%