- To use, download the XML and rar files from wordpress.com and unpack/unzip them somewhere on your local machine
- Clone this repo and install the deps
- Edit the code to point to the output, XML file and source image directories
- Run
go run main.go
You should end up with a directory structure that looks like this containing markdown files and images per article:
BaseDir/
content/
posts/
Some-post-title/
index.md
ImagesDir/
post-image-1.jpg
post-image-2.png
A-different-post-title/
index.md
ImagesDir/
post-image-for-this-other-arcicle.jpg