WordPress to Gemini
(Or Gopher or your own Small-Web site)
Exported a whole 300+ posts WordPress site into Gopher
It didn't take too long thanks to the super-powers of GNU core utils.
- 1 - Used WordPress to Jekyll plugin. That generates a zip file with all your posts in a variant of markdown that includes some meta tags, I suspect for the Jekyll static (Web) site creator.
- 2 - Then uploaded the files, compressed as tar -I could have just uploaded the zip, but then I'd need to install something on my server and I couldn't see the point.
- 3 - Onces uncompressed in a new directory, I used the following command: ls > list.txt to turn the directory listing into a txt file.
- 4 - Finally, I used a bit of awk and some regular expressions to format the file names as a gopher directory. (That took a bit of searching on the Web for help as I'm a pretty basic user).
I'm sure a similar process could be used to export a Wordpress blog to Gemini.