Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Readers > Android Devices > enTourage eDGe > enTourage Archive

Notices

 
 
Thread Tools Search this Thread
Old 11-01-2010, 03:52 PM   #1
Regiomontanus
Edge User
 
Journal files - where are they stored?

Perhaps I am missing something, but it seems that when a journal file is created, there is no way to store it in a folder of your choice (e.g., on USB memory stick) - or is this possible?

If not, where are journal files stored (I mean, what is the absolute path to the directory with journal files)?
 
Old 11-01-2010, 04:05 PM   #2
borisb
Edge User
 
The Journal files are stored in protected storage. You can export them to a folder of your choice using the File menu in the Journal app, but that converts them to a PDF and are no longer editable using the Journal app (although you can read and mark them up using the Reader).

If you want to back them up, use the "Local Backup" application, which backs up all your Library content to either the SD card or a USB device (memory stick, USB ext hard drive, etc.).
 
Advert
Old 11-04-2010, 03:27 PM   #3
Regiomontanus
Edge User
 
Thanks a lot for your reply.

What does it mean "protected storage"? Encrypted perhaps? In any case, these files must be stored in a concrete place in the filesystem, and this is what I need to know.

I have to say that all of this is a very peculiar design decision. I read elsewhere on this forum that journal application uses xournal file format, so it seems natural that the user would want to move the file to another machine on which xournal is installed.

But it seems that somebody put extra effort into making such portability as difficult as possible. I wonder why? Does enTourage seriously think that somebody will write important notes in journal, only to have them locked on a particular device? I use tablets for work which I want to be able to edit years from now - so it is out of question to have it stored in non-portable format.
 
Old 11-04-2010, 03:33 PM   #4
fgruber
Edge User
 
It is actually on a "hidden" directory: .edge/.esi-content

unluckily the journal files have this weird naming. So you will have to modify the journal that you want to copy and sort by date in order to find one in particular.

The thread that you are mentioning about xournal was just guesswork from opening the file with a text editor. The format does look like the format of xournal. I don't know if anyone has actually tried opening them in xournal to see if it works. That would be an interesting experiment...




Quote:
Originally Posted by Regiomontanus View Post
Thanks a lot for your reply.

What does it mean "protected storage"? Encrypted perhaps? In any case, these files must be stored in a concrete place in the filesystem, and this is what I need to know.

I have to say that all of this is a very peculiar design decision. I read elsewhere on this forum that journal application uses xournal file format, so it seems natural that the user would want to move the file to another machine on which xournal is installed.

But it seems that somebody put extra effort into making such portability as difficult as possible. I wonder why? Does enTourage seriously think that somebody will write important notes in journal, only to have them locked on a particular device? I use tablets for work which I want to be able to edit years from now - so it is out of question to have it stored in non-portable format.
 
Old 11-04-2010, 03:37 PM   #5
Regiomontanus
Edge User
 
Great, this is what I needed! I will try to do some experiments over the weekend, and I will post results here. For me, if the format is non-portable, it means useless, so I hope that the "guess" about xournal is correct.

Last edited by Regiomontanus; 11-04-2010 at 03:42 PM.
 
Advert
Old 11-04-2010, 03:39 PM   #6
fgruber
Edge User
 
Yep. So far the only way to use the journal files outside the edge is by converting to pdf. What I usually do is converting the pdf to images and send them to evernote. That way at least I get some handwriting search. But I agree that it would be better if we could edit the journal form outside. Please do let us know what you find.

Quote:
Originally Posted by Regiomontanus View Post
Great, this is what I needed! I will try to make some experiments over the weekend, and I will post results here. For me, if the format is non-portable, it means useless, so I hope that the "guess" about xournal is correct.
 
Old 11-04-2010, 04:56 PM   #7
borisb
Edge User
 
Quote:
Originally Posted by Regiomontanus View Post
What does it mean "protected storage"? Encrypted perhaps? In any case, these files must be stored in a concrete place in the filesystem, and this is what I need to know.
fgruber indicates the actual directory.

However, the contents of this directory are not meant to be manipulated (other than possibly read) directly as these files are managed by the Library app (things like indexing, meta data, linkages, etc.), hence my term "protected storage." When you add an item to the Library, the file is copied into this location rather than referenced in the original source location.

Editing and renaming/relocating can cause the Library app to lose track of the Journal (meaning you won't be able to open it in the Journal app anymore) and, I'm guessing, possibly lead to Library corruption.

However, nothing stops you from hacking these files - more power to you!
 
Old 11-05-2010, 04:27 PM   #8
Regiomontanus
Edge User
 
OK, here is what I found.

Journal files are indeed stored in
/sdcard/.edge/.esi-content
and have extension .esj

These files appear to be xournal files, but you cannot open them with xournal. You need to do the following first:
copy foo.esj to another machine with xournal installed.
mv foo.esj foo.gz
unzip foo.gz

Then open foo with text editor, and replace line
<page width="396.00" height="540.00" tabname="">
with line
<page width="396.00" height="540.00">

Then do:
gzip foo
mv foo.gz foo.xoj

The resulting foo.xoj file can then be opened with xournal. I guess I will simply write a script which does this automatically.
 
Old 11-05-2010, 04:28 PM   #9
borisb
Edge User
 
Nice work. The tabname would be one of enTourage's customizations...
 
Old 03-02-2011, 07:09 AM   #10
Tom
Edge User
 
Thanks for the xournal info
 
Old 03-02-2011, 07:26 AM   #11
sarah11918
Edge User
 
Quote:
Originally Posted by Regiomontanus View Post
The resulting foo.xoj file can then be opened with xournal. I guess I will simply write a script which does this automatically.
That's awesome, thanks! I had tried last weekend to open an .esj file on my Nokia N810 (no success, obv.) and similarly the .xoj file on my edge (similarly, no success). Since the N810 has a terminal app, I'm guessing I'll be able to do this right on my N810.

Have you tried the process in reverse to convert .xoj files to .esj? If the same can be done to move between Journal and Jarnal files (Jarnal is cross-platform Windows, Mac, Linux), then these files could be read on any machine. Neat!
 
Old 03-15-2011, 03:25 PM   #12
Tom
Edge User
 
There's another difference - xournal doesn't understand the "landscape" or "activity" (calendar) background style, so instead of just
Code:
zcat $infile | sed -e 's/\(^.*<page .*\) tabname.*$/\1>/' | gzip -c > $outfile
you need to do:
Code:
zcat $infile | sed -e 's/\(^.*<page .*\) tabname.*$/\1>/' -e 's/landscape/plain/'  -e 's/activity/plain/'| gzip -c > $outfile
There may be more...

Last edited by Tom; 03-19-2011 at 04:24 PM.
 
 


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
where is indexing stored cybmole Amazon Kindle 23 09-03-2015 08:58 PM
where are the actual kobo files stored? LevitateTheKing Kobo Reader 4 03-26-2011 08:07 AM
Where is TOC stored? jpaulm Sigil 8 01-19-2011 10:58 AM
Where are Reader files stored? GatorDeb Sony Reader 2 12-22-2007 11:12 PM
Accessing different eBook files stored on external card? daught Workshop 3 05-25-2004 10:20 PM


All times are GMT -4. The time now is 03:11 PM.


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