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

Go Back   MobileRead Forums > E-Book Readers > Apple Devices

Notices

Reply
 
Thread Tools Search this Thread
Old 02-12-2013, 04:24 AM   #1
tsolignani
Zealot
tsolignani juggles running chainsaws for a bit of light exercisetsolignani juggles running chainsaws for a bit of light exercisetsolignani juggles running chainsaws for a bit of light exercisetsolignani juggles running chainsaws for a bit of light exercisetsolignani juggles running chainsaws for a bit of light exercisetsolignani juggles running chainsaws for a bit of light exercisetsolignani juggles running chainsaws for a bit of light exercisetsolignani juggles running chainsaws for a bit of light exercisetsolignani juggles running chainsaws for a bit of light exercisetsolignani juggles running chainsaws for a bit of light exercisetsolignani juggles running chainsaws for a bit of light exercise
 
tsolignani's Avatar
 
Posts: 111
Karma: 38608
Join Date: May 2012
Location: Vignola, Modena, Italy
Device: iPad
[marvin] exported annotations in xhtml

I recently switched from iBooks to Marvin and it's a great piece of nice crafted software. I hope a new version for both iPhone and Mac gets out.

In the meantime, I would like to understand how can I handle the exported annotations in xhtml. Can I open it in every browser? When reimporting into Marvin, can I link to the original epub even if in the meantime I changed the name and/or metadata of the book?

Thank you.


–
cordialmente,

[Promotion deleted - MODERATOR]

Last edited by Dr. Drib; 01-07-2014 at 12:07 PM.
tsolignani is offline   Reply With Quote
Old 02-12-2013, 04:33 AM   #2
Faterson
pokrývač škridiel
Faterson ought to be getting tired of karma fortunes by now.Faterson ought to be getting tired of karma fortunes by now.Faterson ought to be getting tired of karma fortunes by now.Faterson ought to be getting tired of karma fortunes by now.Faterson ought to be getting tired of karma fortunes by now.Faterson ought to be getting tired of karma fortunes by now.Faterson ought to be getting tired of karma fortunes by now.Faterson ought to be getting tired of karma fortunes by now.Faterson ought to be getting tired of karma fortunes by now.Faterson ought to be getting tired of karma fortunes by now.Faterson ought to be getting tired of karma fortunes by now.
 
Faterson's Avatar
 
Posts: 1,234
Karma: 2755966
Join Date: Oct 2011
Location: Bratislava, Slovakia
Device: iPad mini 2, iPad 3&1, iPhone 5S, LG 8.3 & G2, Kobo Mini, Kindle DX&3
Question

Quote:
Originally Posted by tsolignani View Post
In the meantime, I would like to understand how can I handle the exported annotations in xhtml. Can I open it in every browser?
Yes. In a future release, Marvin will be switching from XHTML to standard HTML to make the exported file even more compatible. (XHTML fails to display properly in iOS 6.)

Quote:
Originally Posted by tsolignani View Post
When reimporting into Marvin, can I link to the original epub even if in the meantime I changed the name and/or metadata of the book?
Good question. Why not test it to see what happens? Create a backup of the original copy of the book, though, in case it doesn't work out. I believe Kris once mentioned Marvin compares 2 books "byte by byte" in order to determine whether they are identical. A change of the file-name, for instance, might disrupt the process, though.
Faterson is offline   Reply With Quote
Old 02-12-2013, 07:04 AM   #3
kguil
Addict
kguil ought to be getting tired of karma fortunes by now.kguil ought to be getting tired of karma fortunes by now.kguil ought to be getting tired of karma fortunes by now.kguil ought to be getting tired of karma fortunes by now.kguil ought to be getting tired of karma fortunes by now.kguil ought to be getting tired of karma fortunes by now.kguil ought to be getting tired of karma fortunes by now.kguil ought to be getting tired of karma fortunes by now.kguil ought to be getting tired of karma fortunes by now.kguil ought to be getting tired of karma fortunes by now.kguil ought to be getting tired of karma fortunes by now.
 
kguil's Avatar
 
Posts: 1,013
Karma: 1475758
Join Date: Feb 2010
Location: Malta, Europe
Device: Gerty and Marvin for iOS
Marvin needs to match the annotations to the book. The match works (more or less) in the following order of decreasing likelihood:

- The book is *exactly* the same as the one that created the annotations file.
- Calibre's UUID (Marvin will show a nag to confirm).
- Some other stuff like name and author (Marvin will show a nag to confirm).

This is a safe-to-cautious approach. Importing annotations into the wrong book can mess things up.

Edit: the file name is irrelevant.
kguil is offline   Reply With Quote
Old 02-15-2013, 07:20 AM   #4
tsolignani
Zealot
tsolignani juggles running chainsaws for a bit of light exercisetsolignani juggles running chainsaws for a bit of light exercisetsolignani juggles running chainsaws for a bit of light exercisetsolignani juggles running chainsaws for a bit of light exercisetsolignani juggles running chainsaws for a bit of light exercisetsolignani juggles running chainsaws for a bit of light exercisetsolignani juggles running chainsaws for a bit of light exercisetsolignani juggles running chainsaws for a bit of light exercisetsolignani juggles running chainsaws for a bit of light exercisetsolignani juggles running chainsaws for a bit of light exercisetsolignani juggles running chainsaws for a bit of light exercise
 
tsolignani's Avatar
 
Posts: 111
Karma: 38608
Join Date: May 2012
Location: Vignola, Modena, Italy
Device: iPad
Than you, Kristian.

The case where the books is exactly the same of course is irrelevant, it would never rise an error or an issue. That could arise when you change something into the book (if the filename is irrelevant, I guess metadata such as author, title and UUID).

It could be useful to write a FAQ telling people what they have to ensure is matching when importing annotation, and if something does not match how to edit both the epub and the xhtml file to get the both to match each other. An ID field would be the better thing, and maybe one can use the UUID from Calibre, but I wonder whether the epub gets edited with the UUID from Calibre (I knew Calibre do not touch epubs, as long as you do not install the modify epub plugin).

And let's talk this scenario: I have a Calibre library which gets messed up, I rebuild it from scratch, reimporting every book, in that case I guess the UUID would change, right?

And, eventually, what about letting the user decide to which book import the annotations while importing? Marvin could suggest the best match, but the user could scroll the library and choose another one...

My 2 cents, of course.

Have a nice week/end.


–
cordialmente,

[Promotion deleted - MODERATOR]

Last edited by Dr. Drib; 01-07-2014 at 12:07 PM.
tsolignani is offline   Reply With Quote
Old 02-15-2013, 01:28 PM   #5
kguil
Addict
kguil ought to be getting tired of karma fortunes by now.kguil ought to be getting tired of karma fortunes by now.kguil ought to be getting tired of karma fortunes by now.kguil ought to be getting tired of karma fortunes by now.kguil ought to be getting tired of karma fortunes by now.kguil ought to be getting tired of karma fortunes by now.kguil ought to be getting tired of karma fortunes by now.kguil ought to be getting tired of karma fortunes by now.kguil ought to be getting tired of karma fortunes by now.kguil ought to be getting tired of karma fortunes by now.kguil ought to be getting tired of karma fortunes by now.
 
kguil's Avatar
 
Posts: 1,013
Karma: 1475758
Join Date: Feb 2010
Location: Malta, Europe
Device: Gerty and Marvin for iOS
I don't think the UUID would change if you rebuild the calibre DB. I'll double check with some calibre people.

Regarding putting an explanatory note, you're right. Soon, I'll be launching a blog to cover these types of details.
kguil is offline   Reply With Quote
Old 02-16-2013, 10:05 AM   #6
tsolignani
Zealot
tsolignani juggles running chainsaws for a bit of light exercisetsolignani juggles running chainsaws for a bit of light exercisetsolignani juggles running chainsaws for a bit of light exercisetsolignani juggles running chainsaws for a bit of light exercisetsolignani juggles running chainsaws for a bit of light exercisetsolignani juggles running chainsaws for a bit of light exercisetsolignani juggles running chainsaws for a bit of light exercisetsolignani juggles running chainsaws for a bit of light exercisetsolignani juggles running chainsaws for a bit of light exercisetsolignani juggles running chainsaws for a bit of light exercisetsolignani juggles running chainsaws for a bit of light exercise
 
tsolignani's Avatar
 
Posts: 111
Karma: 38608
Join Date: May 2012
Location: Vignola, Modena, Italy
Device: iPad
Quote:
Originally Posted by kguil View Post
I don't think the UUID would change if you rebuild the calibre DB. I'll double check with some calibre people.
And what about those people like me who keep two calibre libraries into two different macs? In those cases, does the same book sport the same UUID?

How is the UUID calculated?

Just out of curiosity.

Thank you.
tsolignani is offline   Reply With Quote
Old 02-16-2013, 08:36 PM   #7
Faterson
pokrývač škridiel
Faterson ought to be getting tired of karma fortunes by now.Faterson ought to be getting tired of karma fortunes by now.Faterson ought to be getting tired of karma fortunes by now.Faterson ought to be getting tired of karma fortunes by now.Faterson ought to be getting tired of karma fortunes by now.Faterson ought to be getting tired of karma fortunes by now.Faterson ought to be getting tired of karma fortunes by now.Faterson ought to be getting tired of karma fortunes by now.Faterson ought to be getting tired of karma fortunes by now.Faterson ought to be getting tired of karma fortunes by now.Faterson ought to be getting tired of karma fortunes by now.
 
Faterson's Avatar
 
Posts: 1,234
Karma: 2755966
Join Date: Oct 2011
Location: Bratislava, Slovakia
Device: iPad mini 2, iPad 3&1, iPhone 5S, LG 8.3 & G2, Kobo Mini, Kindle DX&3
Lightbulb

Tiziano, why do you keep 2 different Calibres there? Why not keep them both in sync? I use SugarSync to do just that, and it works great. Whatever I add to Calibre on computer 1, automatically appears in Calibre on computer 2 as well. (And vice versa.) Plus, of course, it's also automatically available for download into Marvin on all my iOS devices, thanks to the SugarSync apps there.
Faterson is offline   Reply With Quote
Old 02-18-2013, 04:18 AM   #8
tsolignani
Zealot
tsolignani juggles running chainsaws for a bit of light exercisetsolignani juggles running chainsaws for a bit of light exercisetsolignani juggles running chainsaws for a bit of light exercisetsolignani juggles running chainsaws for a bit of light exercisetsolignani juggles running chainsaws for a bit of light exercisetsolignani juggles running chainsaws for a bit of light exercisetsolignani juggles running chainsaws for a bit of light exercisetsolignani juggles running chainsaws for a bit of light exercisetsolignani juggles running chainsaws for a bit of light exercisetsolignani juggles running chainsaws for a bit of light exercisetsolignani juggles running chainsaws for a bit of light exercise
 
tsolignani's Avatar
 
Posts: 111
Karma: 38608
Join Date: May 2012
Location: Vignola, Modena, Italy
Device: iPad
I usually use Google Drive instead of Dropbox and similar ones to keep my files in sync amongst several machines, but I know drive does not work well with calibre due to the book ID (which drive reads as a duplicate mark - anyway google drive is #crapware, now I cannot trash it for I have many work documents into that, but I would not suggest anyone to start using it, right now). Anyway, this way I should install another sync-client and that's not a think I like the most.

What's more, I wonder what would happen if I kept 2 istances of Calibre open in 2 different machines (I can forget to shut one down, for example): is the sync not going to get messed up? What files does sugarsync (or dropbox, whatever) exactly sync? Just the books of even the database? If I am not wrong, the calibre library is made of several directory with book and a special file which is a SQlite database, what happens when there are 2 conflicting version of the database?

I am not sure I would like syncing calibre with a sync client, it sound much like a workaround, I guess a sync server would be much better.


–
cordialmente,
[Promotion deleted - MODERATOR]

Last edited by Dr. Drib; 01-07-2014 at 12:06 PM.
tsolignani is offline   Reply With Quote
Old 02-18-2013, 07:59 AM   #9
Faterson
pokrývač škridiel
Faterson ought to be getting tired of karma fortunes by now.Faterson ought to be getting tired of karma fortunes by now.Faterson ought to be getting tired of karma fortunes by now.Faterson ought to be getting tired of karma fortunes by now.Faterson ought to be getting tired of karma fortunes by now.Faterson ought to be getting tired of karma fortunes by now.Faterson ought to be getting tired of karma fortunes by now.Faterson ought to be getting tired of karma fortunes by now.Faterson ought to be getting tired of karma fortunes by now.Faterson ought to be getting tired of karma fortunes by now.Faterson ought to be getting tired of karma fortunes by now.
 
Faterson's Avatar
 
Posts: 1,234
Karma: 2755966
Join Date: Oct 2011
Location: Bratislava, Slovakia
Device: iPad mini 2, iPad 3&1, iPhone 5S, LG 8.3 & G2, Kobo Mini, Kindle DX&3
Quote:
Originally Posted by tsolignani View Post
What's more, I wonder what would happen if I kept 2 istances of Calibre open in 2 different machines (I can forget to shut one down, for example): is the sync not going to get messed up?
I don't think so -- at least not using SugarSync.

Quote:
Originally Posted by tsolignani View Post
What files does sugarsync (or dropbox, whatever) exactly sync? Just the books of even the database?
I have no idea. I just know it does exactly what I need to get done: all books are available on all machines, computers or hand-held devices.

Quote:
Originally Posted by tsolignani View Post
I am not sure I would like syncing calibre with a sync client, it sound much like a workaround, I guess a sync server would be much better.
Well, I for one don't care what it sounds like, as long as it works. And it does for me, so I'm happy and can move on to more important things. You know, there are so many things in life that don't work, that I have no time (or need) to examine why certain things do work as expected.
Faterson is offline   Reply With Quote
Reply

Tags
annotations, apple, epub, marvin, reader

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[Archived] Marvin ePub reader for iPad Jessica Lares Marvin 1789 08-27-2013 11:38 AM
Indesign-exported pdf to epub eagles1972 Conversion 0 01-12-2012 01:24 AM
Books blank when exported Joosca77 Library Management 2 06-10-2011 11:33 PM


All times are GMT -4. The time now is 03:22 AM.


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