Day One <- WordPress
The dowp.bash script allows you to suck WordPress posts into your Day One journal.
This tool is Specifically written to be run on a Mac via a bash shell; but you may run it on a Windows host if you install a tool like mobaXterm.
NOTE! This tool is designed to import the Title, Date, and Text of your post only. More may come in the future; but this is the meat of this project for now.
A. Before you run the script, you will need to download your WordPress posts.
- Log in to your WordPress blog control panel.
- On the left hand side, click on Tools - Export.
- Click on the Posts option, and select anything special you want.
- Click Download Export File.
- Save the Export File in a directory called "dowp" in your home directory (i.e. /Users/fred/dowp).
B. Now you need the command line interface (CLI) that Day One uses.
- Go Here: https://dayone.zendesk.com/hc/en-us/articles/200258954-Day-One-Tools
- (Halfway down the page; download and follow the instructions)
C. Next, copy the dowp.bash listed above into the directory called dowp that you made earlier.
$ cd /Users/fred/dowp
$ vi dowp.bash
[Paste in the contents of the dowp.bash script.]
$ chmod 700 dowp.bash
$ ./dowp.bash
That's it! Enjoy!