[Okular-devel] Script python to Convert Kindle Clippings to okular cml
Albert Astals Cid
aacid at kde.org
Thu Feb 12 19:16:45 UTC 2015
El Dijous, 12 de febrer de 2015, a les 18:53:01, Roberto Polli va escriure:
> I started working on that.
>
> https://github.com/ioggstream/kindle-okular-clippings
>
> To run the tests you need a copy of High Performance Python: I'll refactor
> with a n other free pdf book.
>
> # python kindleparse.py clippings.txt High_Performance_Python.pdf
>
> Then copy the output file to your okular folder.
>
> As of now:
> - I don't know how to generate the effective xml filename, which is
> prefixed by an interger;
It's the size i think.
> - I used inline notes instead of highlight: I don't know how to highlight
Look at the code, the place where the xml writing is done is quite isolated.
Cheers,
Albert
>
> If you can shed some light on that I'll appreciate.
>
> Peace,
> R:
More information about the Okular-devel
mailing list