Skip to content
This repository has been archived by the owner on Aug 18, 2018. It is now read-only.

Commit

Permalink
Added --kindle option. Fixed a bug with None dates.
Browse files Browse the repository at this point in the history
  • Loading branch information
Alberto Pettarin committed Jan 17, 2017
1 parent 9253b05 commit 4af8eea
Show file tree
Hide file tree
Showing 5 changed files with 181 additions and 24 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG
@@ -1,6 +1,13 @@
Changelog
=========

v2.1.0 (2017-01-17)
-------------------

#. Added --kindle option
#. Fixed a bug with dates being None and causing --csv to fail


v2.0.0 (2016-09-09)
-------------------

Expand Down
2 changes: 1 addition & 1 deletion LICENSE
@@ -1,6 +1,6 @@
The MIT License (MIT)

Copyright (c) 2013-2016 Alberto Pettarin (alberto@albertopettarin.it)
Copyright (c) 2013-2017 Alberto Pettarin (alberto@albertopettarin.it)

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
15 changes: 11 additions & 4 deletions README.md
Expand Up @@ -2,8 +2,8 @@

A Python tool to export annotations and highlights from a Kobo SQLite file.

* Version: 2.0.0
* Date: 2016-09-09
* Version: 2.1.0
* Date: 2017-01-17
* Developer: [Alberto Pettarin](http://www.albertopettarin.it/)
* License: the MIT License (MIT)
* Contact: [click here](http://www.albertopettarin.it/contact.html)
Expand All @@ -20,12 +20,18 @@ $ python export-kobo.py --help
$ # export to file instead of stdout
$ python export-kobo.py KoboReader.sqlite --output /path/to/out.txt

$ # export as CSV
$ # export in CSV format
$ python export-kobo.py KoboReader.sqlite --csv

$ # export as CSV to file
$ # export in CSV format to file
$ python export-kobo.py KoboReader.sqlite --csv --output /path/to/out.csv

$ # export in Kindle My Clippings format
$ python export-kobo.py KoboReader.sqlite --kindle

$ # export in Kindle My Clippings to file
$ python export-kobo.py KoboReader.sqlite --kindle --output /path/to/out.csv

$ # export annotations only
$ python export-kobo.py KoboReader.sqlite --annotations-only

Expand Down Expand Up @@ -183,6 +189,7 @@ Check that you wrote the book title exactly as printed by ``--list``

* Pierre-Arnaud Rabier suggested adding an option to extract the annotations and highlights for a single ebook.
* Nick Kalogirou and Andrea Moro provided me with theirs KoboReader.sqlite file with the new schema.
* Curiositry suggested adding an option to extract in Kindle My Clippings format.


## License
Expand Down
2 changes: 1 addition & 1 deletion VERSION
@@ -1 +1 @@
2.0.0
2.1.0

0 comments on commit 4af8eea

Please sign in to comment.