Skip to content

Commit 7a4cd26

Browse files
committed
add workflow example
1 parent 5a7edfa commit 7a4cd26

4 files changed

Lines changed: 104 additions & 149 deletions

README.md

Lines changed: 61 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,67 @@ The tool automatically extracts book titles and authors from the HTML file's hea
106106
2. Manually edit the **Title** and **Author** columns as needed
107107
3. Save the file and proceed with Readwise import
108108

109+
*Common reasons for incorrect extraction: unusual formatting in the original Meebook export, titles with dashes, or missing author information.*
110+
111+
## 📚 Complete Workflow Example
112+
113+
Here's exactly what happens when you use this tool:
114+
115+
### Step 1: Your Meebook HTML files (in `html-files/`)
116+
```
117+
html-files/
118+
├── Why We Sleep_ Unlocking the Power of Sleep and Dreams - Matthew Walker_20251026_083943.html
119+
└── To Kill a Mockingbird - Harper Lee_20251026_083931.html
120+
```
121+
122+
### Step 2: Run the Converter
123+
**Double-click** `batch_convert.bat` (Windows) or run `python html_to_csv_converter.py --batch`
124+
125+
**Console Output:**
126+
```
127+
Found 2 HTML files to process:
128+
- Why We Sleep_ Unlocking the Power of Sleep and Dreams - Matthew Walker_20251026_083943.html
129+
- To Kill a Mockingbird - Harper Lee_20251026_083931.html
130+
131+
Processing: Why We Sleep_ Unlocking the Power of Sleep and Dreams - Matthew Walker_20251026_083943.html
132+
✓ Created: output\Why We Sleep_ Unlocking the Power of Sleep and Dreams - Matthew Walker.csv
133+
✓ Found 36 highlights
134+
135+
Processing: To Kill a Mockingbird - Harper Lee_20251026_083931.html
136+
✓ Created: output\To Kill a Mockingbird - Harper Lee.csv
137+
✓ Found 7 highlights
138+
139+
============================================================
140+
BATCH PROCESSING COMPLETE!
141+
============================================================
142+
Combined CSV file: output\all_books_combined.csv
143+
Total highlights across all books: 43
144+
```
145+
146+
### Step 3: Generated Files (in `output/`)
147+
```
148+
output/
149+
├── Why We Sleep_ Unlocking the Power of Sleep and Dreams - Matthew Walker.csv (36 highlights)
150+
├── To Kill a Mockingbird - Harper Lee.csv (7 highlights)
151+
└── all_books_combined.csv (43 total highlights)
152+
```
153+
154+
### Step 4: Fix Book Titles (Optional but Recommended)
155+
1. **Open** `all_books_combined.csv` in Excel or Google Sheets
156+
2. **Edit the Title column** to clean up book titles:
157+
- Change `"Why We Sleep_ Unlocking the Power of Sleep and Dreams"``"Why We Sleep"`
158+
- Keep `"To Kill a Mockingbird"` as is
159+
3. **Save** the file
160+
161+
### Step 5: Import to Readwise
162+
1. Go to [readwise.io/import_bulk](https://readwise.io/import_bulk)
163+
2. **Upload** your edited `all_books_combined.csv`
164+
3. **✅ Success!** All 43 highlights are now in Readwise with clean titles, proper dates, and personal notes
165+
166+
**Result in Readwise:**
167+
- 📖 "Why We Sleep" by Matthew Walker (36 highlights)
168+
- 📖 "To Kill a Mockingbird" by Harper Lee (7 highlights)
169+
109170
## 🤝 Contributing & Support
110171

111172
### Found a Bug?

0 commit comments

Comments
 (0)