Skip to content

Add and Example Script - #20

Open
andykemp wants to merge 14 commits into
speric:masterfrom
andykemp:andykemp-Example
Open

Add and Example Script#20
andykemp wants to merge 14 commits into
speric:masterfrom
andykemp:andykemp-Example

Conversation

@andykemp

@andykemp andykemp commented Jan 5, 2018

Copy link
Copy Markdown

I've added an example script which uses the framework to create a separate .txt file for each book in markdown format which includes all quotes, page numbers, notes and generates a kindle:// link to the highlight.

I use this to save to my dropbox folder and then display in Uylsses as a writing prompt.

Extract the page number (where available) and the contents of any notes recorded with that highlight.

highlight.page will return "Page: 7" or "Location: 123" depending on whether the page number is available...
Updated test data to include highlight.page and highlight.note
Update fetching_books_and_highlights_test.rb
Fixed test files to include notes and page data
Updated to include details of highlight.page and highlight.note
Added description of script to start
@andykemp

andykemp commented Jan 5, 2018

Copy link
Copy Markdown
Author

Should say this is reliant on changes in my other PR.

@andykemp andykemp closed this Jan 6, 2018
@andykemp andykemp reopened this Jan 6, 2018
@speric

speric commented Jan 9, 2018

Copy link
Copy Markdown
Owner

I left some feedback on #19, some of which I now realize I should have left here.

Either way, my general comments remain the same.

Thanks for these PRs. 👊

@andykemp

Copy link
Copy Markdown
Author

Resolved in other PR

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants