Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Readers > More E-Book Readers > Bookeen

Notices

Reply
 
Thread Tools Search this Thread
Old 03-05-2013, 11:34 AM   #1
amibz
Junior Member
amibz began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Mar 2013
Device: Cybook Odyssey FrontLight HD
Lightbulb Annotations, how to extract them

Hello,

I'm a recent owner of a Cybook Odyssey HD and I mainly buy it to read articles for my Ph.D research.

So I highly use the annotation features (I tap the upper right of the screen to show quickly the annotation menu).

I use Calibre to manage my book collection. I've seen that there is in Calibre a function to get the annotation back from the device. But apparently it works only with a Kindle.

I try also to read the .epub or .pdf with Adobe Digital Editions 2.0 (on mac os), and each time I open a file with annotations it crash..

So for now the only solution I've found is to connect the Cybook, open the folder "Digital Editions" and inside this folder there is an hidden folder named "Annotations".

Inside this folder you can find .annot file, which when you open it with a text editor is basically an XML file.

Here what it's look like for an .epub :

Quote:
<?xml version="1.0"?>
<annotationSet xmlns="http://ns.adobe.com/digitaleditions/annotations" xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:dc="http://purl.org/dc/elements/1.1/">
<timestamps>
<timestamp name="bookmark" value="2013-03-04T15:16:32"></timestamp>
<timestamp name="annotation" value="2013-03-04T15:13:36"></timestamp>
</timestamps>
<publication></publication>
<annotation color="#EE00EE">
<target>
<fragment start="index_split_001.html#point(/1/4/22:1)" end="index_split_001.html#point(/1/4/23/5:165)">
<text>The annotation I made on my epub or pdf</text>
</fragment>
</target>

So the annotated text is in between the <text> </text>

I manage to use regular expression to extract only these part.

Search and replace with regex : </text>*.*<text>

After that I have a text file with only the annotations, but no page indication from where they are.

I'm also using Zotero and this could be useful in my work.

Does anyone manage to transfer the annotation made on a Cybook back to a PDF on a computer ?
amibz is offline   Reply With Quote
Old 03-10-2013, 06:09 PM   #2
nlundberg
Enthusiast
nlundberg has a complete set of Star Wars action figures.nlundberg has a complete set of Star Wars action figures.nlundberg has a complete set of Star Wars action figures.nlundberg has a complete set of Star Wars action figures.nlundberg has a complete set of Star Wars action figures.
 
Posts: 41
Karma: 454
Join Date: Jan 2013
Location: Sweden
Device: Cybook Odyssey HD Frontlight, Calibre, Macbook pro, OSX 10.6.8
I'd really like to see this working in Calibre...
nlundberg is offline   Reply With Quote
Old 04-12-2013, 05:09 AM   #3
joepsichip
Member
joepsichip has learned how to buy an e-book online
 
joepsichip's Avatar
 
Posts: 16
Karma: 78
Join Date: Aug 2009
Location: Piemonte, Italy
Device: Cybook Odyssey HD FrontLight & Opus White • iRex DR800SG & iLiad 2 Ed.
I'm sorry for my English.
I hope to help someone with my speech.

The fastest way to annotate / highlight is to press and hold with two fingers selecting the text reference. A window will appear directly with the choice between annotations or underlining. The manual does not seem to talk about it.

I would be very interested to export function of the notes.
joepsichip is offline   Reply With Quote
Old 04-12-2013, 01:11 PM   #4
nlundberg
Enthusiast
nlundberg has a complete set of Star Wars action figures.nlundberg has a complete set of Star Wars action figures.nlundberg has a complete set of Star Wars action figures.nlundberg has a complete set of Star Wars action figures.nlundberg has a complete set of Star Wars action figures.
 
Posts: 41
Karma: 454
Join Date: Jan 2013
Location: Sweden
Device: Cybook Odyssey HD Frontlight, Calibre, Macbook pro, OSX 10.6.8
The manual also does not mention that you can tap upper left corner for table of content or the right one for annotations. But this does not seem to work with pdf documents.
nlundberg is offline   Reply With Quote
Old 05-07-2013, 04:19 PM   #5
AlPe
Digital Amanuensis
AlPe ought to be getting tired of karma fortunes by now.AlPe ought to be getting tired of karma fortunes by now.AlPe ought to be getting tired of karma fortunes by now.AlPe ought to be getting tired of karma fortunes by now.AlPe ought to be getting tired of karma fortunes by now.AlPe ought to be getting tired of karma fortunes by now.AlPe ought to be getting tired of karma fortunes by now.AlPe ought to be getting tired of karma fortunes by now.AlPe ought to be getting tired of karma fortunes by now.AlPe ought to be getting tired of karma fortunes by now.AlPe ought to be getting tired of karma fortunes by now.
 
AlPe's Avatar
 
Posts: 597
Karma: 1281565
Join Date: Dec 2011
Location: Padova, Italy
Device: Kindle3, Odyssey, eDGe, A60, PRS-T1, iPad3, KoboGlo
Hi all,

here you can find a Python 2.x script to extract the annotations and highlights from an .annot file generated by the Odyssey.

You need Python 2.x and python-lxml installed. Confirmed to work under Linux and Windows.

Usage:
Code:
$ python export_Odyssey_notes.py [ARGUMENTS]

Arguments:
 -h, --help          : print this usage message and exit
 -f, --file <file>   : <file> is the path to .annot file
 -c, --csv           : output CSV values, instead of human-readable strings
 -o, --output <file> : write output to <file>

Exit codes:

 0 = no error
 1 = invalid argument(s) error
 2 = specified file not found
 4 = provided file is not a valid .annot file
 8 = output file cannot be written

Examples:

 1. Print this usage message
    $ python export_Odyssey_notes.py -h

 2. Print annotations and highlit passages in human-readable form
    $ python export_Odyssey_notes.py -f ebook.epub.annot

 3. As above, but output to output.txt
    $ python export_Odyssey_notes.py -f ebook.epub.annot -o output.txt

 4. As above, but output in CSV form
    $ python export_Odyssey_notes.py -c -f ebook.epub.annot

 5. As above, but output to output.csv
    $ python export_Odyssey_notes.py -c -f ebook.epub.annot -o output.csv

Last edited by AlPe; 05-11-2013 at 10:02 AM.
AlPe is offline   Reply With Quote
Reply

Tags
annotation, cybook, odyssey

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Extract Pubdate Martin Hollander Calibre 10 01-10-2013 09:30 AM
Extract TOC from EPUB vishnu.kumar Conversion 11 08-08-2012 07:54 AM
Pdf annotations and Kindle annotations BranMakMorn Calibre 0 06-25-2011 03:42 PM
Auto extract atjnjk Calibre 2 10-23-2010 12:52 PM
Metadata extract from Title 507Tuli Calibre 14 05-29-2009 04:13 AM


All times are GMT -4. The time now is 02:24 AM.


MobileRead.com is a privately owned, operated and funded community.