Hi,
I read and highlight HTML files with a Pocketbook sense. I needed something to export HTML files with their highlights from my Pocketbook to my computer. I wrote a java program to handle this. Maybe it could be useful to others.
DISCLAIMER :
- be careful, save your files before using it...
- It's quite slow (full text search...)
- It works only with HTML files (shouldn't be hard to make it work with epub ?)
My pocketbook stores highlights in files in system/config/Active Contents/
The highligts file is named like original html file, but with some md5sum in the name
If the html file is : aTrueStory.html
The highlights file will look like : aTrueStory_F_4fc9fb8512e5dececd000280d6a942.html
To use this thing, launch :
Code:
java -jar <htmlFile> <highlightsFile> <htmlWithHighlightsToCreate>
java -jar highlightConverter.jar aTrueStory.html aTrueStory_F_4fc9fb8512e5dececd000280d6a942.html aTrueStory_HIGHLIGHTED.html