This project is meant for those looking to migrate a Jekyll- (or Octopress-) based blog to the Medium platform.
Medium currently only accepts Wordpress XML (sample XML) when importing a blog, so this plugin will shove your entire blog into a Wordpress XML, which is suitable for import into Medium.
Just put the export.xml
file in your root jekyll directory (the same directory where you have your index.html
).
export.xml
with your own details, instead of the Foo Bar stuffsrc
tags have absolute URLs (eg. http://foo.bar/img/img1.jpg
instead of /img/img1.jpg
)_posts
dir, you could modify the {{ post.content }}
in the export.xml
to be something like {{ post.content | replace: '/img/', 'http://foo.bar/img/' }}
.After the file is present, re-build your Jekyll site (jekyll build
), and you will then have an export.xml file in your site's root (the _site
folder). Use this file to import into Medium.