Skip to content

Tags: speric/kindle-highlights

Tags

v2.0.1

Toggle v2.0.1's commit message
Bump to v2.0.1

v2.0.0

Toggle v2.0.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Handle new Kindle Notes page (#16)

Some time ago (not sure exactly when), Amazon updated their Kindle
"Notes and Highlights" page. First, they changed the URL to this page,
and secondly, they completely changed the structure of the page.

Previously, it was possible to figure out which URL was serving up
the JSON which drove the highlights, and after logging in, simply fetch
highlights via that URL. As best I can tell, that has also changed. Now,
the URL which serves up the highlights data returns HTML.

As a result, I made some significant changes.

In the interest of [overcoming my obsession with stringly-typed
Ruby](http://confreaks.tv/videos/rubyconf2014-overcoming-our-obsession-with-stringly-typed-ruby),
I've introduced `Book` and `Highlight` classes. Highlights are fetched
through the `Book` class, via the Mechanize agent.

Additionally, highlights are losing the following information:

```
"customerId"
"embeddedId"
"endLocation"
"howLongAgo"
"startLocation"
"timestamp"
```

Unfortunately, it became too difficult at this time to figure out how to
get that information from the "new" endpoint. I welcome anyone taking a
shot at getting that information back into the `Highlight` class.

Since these are breaking changes, I will bump the version to 2.0 and cut
a new release sometime soon.

v1.0.2

Toggle v1.0.2's commit message
Merge pull request #12 from sirupsen/double-signin

Attempt authing two times before failing

v1.0.1

Toggle v1.0.1's commit message
Bumped to v1.0.1

v1.0.0

Toggle v1.0.0's commit message
Updated gemspec for v1.0.0

v0.0.8

Toggle v0.0.8's commit message
Correct typo in README

v0.0.7

Toggle v0.0.7's commit message
v 0.0.7