This main.py
script parses wordpress journal entries and creates Day One entries in your DayOne app. This script imports Title, Date & Time, Text, and Tags from wordpress entries.
You need to have python2 installed to run the script and it works flawlessly on Mac OSX with latest version of DayOne app and its command line tools installed.
- Log into WordPress wp-admin page.
- Click on Export under Tools and select the posts option.
- Download the XML file and rename it to
personal_data.xml
.
- Place the files
main.py
andpersonal_data.xml
in the same folder. - Create a folder named
files
in the same folder asmain.py
. - Run the file as
$ python main.py
BOOM! All of your wordpress entries are imported to DayOne.
Now, in DayOne Preferences > Advanced
click Convert all hashtags to Native tags
and BAM! all your imported entries will be tagged with the same tags as in wordPress journal.