Exporting a Wordpress blog to Jekyll is useful if you prefer Jekyll's light static webpage generation. It is also useful if you just want to export your Wordpress blog posts to Markdown files.
$ git clone https://github.com/thomasf/exitwp.git
wordpress-xmldirectory that is present inside the repository.
$ python exitwp.py
build/jekyll/your-wordpress-blog-name/_postsdirectory in the repository.