Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/SnShine/Wordpress-to-DayOne
:book: :blue_book: Imports wordpress blog entries to DayOne journal
https://github.com/SnShine/Wordpress-to-DayOne
Last synced: 18 days ago
JSON representation
:book: :blue_book: Imports wordpress blog entries to DayOne journal
- Host: GitHub
- URL: https://github.com/SnShine/Wordpress-to-DayOne
- Owner: SnShine
- Created: 2015-12-12T13:12:11.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2019-08-26T17:10:58.000Z (over 5 years ago)
- Last Synced: 2024-11-21T00:24:22.458Z (22 days ago)
- Language: Python
- Homepage:
- Size: 3.91 KB
- Stars: 9
- Watchers: 3
- Forks: 4
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- project-awesome - SnShine/Wordpress-to-DayOne - :book: :blue_book: Imports wordpress blog entries to DayOne journal (Python)
README
# Wordpress-to-DayOne
This `main.py` script parses wordpress journal entries and creates [Day One](http://dayoneapp.com) 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](https://help.dayoneapp.com/en/articles/435871-command-line-interface-cli) installed.
### Download WordPress posts as an XML file
1. Log into WordPress wp-admin page.
2. Click on Export under Tools and select the posts option.
3. Download the XML file and rename it to `personal_data.xml`.### Run main.py
1. Place the files `main.py` and `personal_data.xml` in the same folder.
2. Create a folder named `files` in the same folder as `main.py`.
3. 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.