Exports Wordpress RSS Feed to Jekyll posts.
ℹ️
|
If you can install plugins to your Wordpress installation then jekyll-exporter-plugin may help. |
Table of Contents
-
First export all post to a xml file (which must be RSS 2 compatible), see: https://en.support.wordpress.com/export/ or use a dedicated plugin;
-
Download blog-exporter.zip;
-
Extract
blog-export.jar
-
Execute:
java -jar blog-exporter.jar -p /path/to/feed.xml -layout inner (1) -outputDir /opt
-
Post layout name used in post front matter
❗Requires Java 8.
-
|
If you get the following error: Caused by: com.rometools.rome.io.ParsingFeedException: Invalid XML: Error on line 1: Content is not allowed in prolog. You’ll need to edit exported xml and remove any content before <rss version="2.0" |
If your are using an IDE just right click on RSJUGBlogExporter.java
and run as java application.