View Single Post
Old 04-11-2015, 12:06 PM   #1
grrr3
Junior Member
grrr3 began at the beginning.
 
Posts: 1
Karma: 10
Join Date: Apr 2015
Device: pockebook sense
Highlight Converter

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
Attached Files
File Type: jar highlightConverter-0.1.jar (319.3 KB, 165 views)
grrr3 is offline   Reply With Quote