Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 08-13-2011, 07:34 AM   #16
kiwidude
Calibre Plugins Developer
kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.
 
Posts: 4,729
Karma: 2197770
Join Date: Oct 2010
Location: Australia
Device: Kindle Oasis
Quote:
Originally Posted by dwanthny View Post
You can delete those files prior to import.
But then you lose all the tags and book metadata, unless the person importing it has the "read from file" option checked, which is something I always recommend turning off because of the junk generally in files. So the person importing would have to alternate turning it on and off, which will never work.

The timestamp is not the one inside the EPUB - when you save to disk from Calibre the separate opf file has the likes of this in it:
<meta content="2010-11-22T15:29:14+00:00" name="calibre:timestamp"/>

A simple tweak giving the option to ignore the calibre timestamp when adding files would do the trick - even better would be the ability to control what values are imported (so for example your "#read" column doesn't get stuffed with values from the person who gave you the book) but I would settle for just allowing me to easily see what books I have just added to my library, regardless of where they came from
kiwidude is offline   Reply With Quote
Old 08-13-2011, 07:39 AM   #17
DoctorOhh
US Navy, Retired
DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.
 
DoctorOhh's Avatar
 
Posts: 9,896
Karma: 13806776
Join Date: Feb 2009
Location: North Carolina
Device: Icarus Illumina XL HD, Kindle PaperWhite SE 11th Gen
Quote:
Originally Posted by kiwidude View Post
But then you lose all the tags and book metadata, unless the person importing it has the "read from file" option checked, which is something I always recommend turning off because of the junk generally in files. So the person importing would have to alternate turning it on and off, which will never work.
I was talking about he external metadata.opf, in theory the metadata inside the book is updated when you use the Save to disk feature so would still import into calibre.

Quote:
Originally Posted by kiwidude View Post
The timestamp is not the one inside the EPUB - when you save to disk from Calibre the separate opf file has the likes of this in it:
<meta content="2010-11-22T15:29:14+00:00" name="calibre:timestamp"/>
This timestamp is also in the internal opf file, but I don't think it is used during import.
DoctorOhh is offline   Reply With Quote
Advert
Old 08-13-2011, 07:59 AM   #18
kiwidude
Calibre Plugins Developer
kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.
 
Posts: 4,729
Karma: 2197770
Join Date: Oct 2010
Location: Australia
Device: Kindle Oasis
Quote:
Originally Posted by dwanthny View Post
I was talking about he external metadata.opf, in theory the metadata inside the book is updated when you use the Save to disk feature so would still import into calibre.
I know - we were talking about the same thing. Yes in certain circumstance Calibre will update some of the metadata inside the book, depending on the format as you know. However Calibre will not (if you have unchecked the option I mentioned above) read it from the book file if you were to delete the external opf as a workaround. And as I said it is an option I recommend people turn off anyways unless you knew the only place you imported books from was from someone who did have quality metadata when they exported.
Quote:
This timestamp is also in the internal opf file, but I don't think it is used during import.
Yes, that was what I was (badly) trying to say - you seemed to indicate the only date you could find was the published date, and Ron was saying he only found one inside the EPUB. The one that is used during an add in the scenario we are describing is indeed I believe that one in the external opf file.
kiwidude is offline   Reply With Quote
Old 08-13-2011, 08:03 AM   #19
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 31,048
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Quote:
Originally Posted by kiwidude View Post
Not possible to turn it off that I am aware of, definitely something I would like to have an option for. Particularly when I share my books with my parents Calibre library - my Dad imports them, but unless he goes down the route of "adding a tag for new books" then removing it in batches etc unfortunately it is impossible for him to see the newest books that I have just sent him. Which is a real pain.

The only workaround I have found for this (when I remember) is in the source library to do a bulk edit before I export/copy to library on the books, and set the date field to Today. However I don't always remember.

I can understand for people restoring their Calibre system after corruption from the opf files why they would want date preserved. However in the other use cases (moving books between libraries as you process them, or sharing your books with another user for import into their library) it is highly undesirable to have "date added" left at it's source value imho.
Wouldn't sorting on the (Calibre) Modified Date column help somewhat?
theducks is online now   Reply With Quote
Old 08-13-2011, 08:06 AM   #20
Ron.
Evangelist
Ron. ought to be getting tired of karma fortunes by now.Ron. ought to be getting tired of karma fortunes by now.Ron. ought to be getting tired of karma fortunes by now.Ron. ought to be getting tired of karma fortunes by now.Ron. ought to be getting tired of karma fortunes by now.Ron. ought to be getting tired of karma fortunes by now.Ron. ought to be getting tired of karma fortunes by now.Ron. ought to be getting tired of karma fortunes by now.Ron. ought to be getting tired of karma fortunes by now.Ron. ought to be getting tired of karma fortunes by now.Ron. ought to be getting tired of karma fortunes by now.
 
Ron.'s Avatar
 
Posts: 448
Karma: 864744
Join Date: Mar 2011
Device: Kindle 3, LookBook, Nook Simple Touch
could we not just open a ticket a request this (feature) or is there a reason it has to import the date from the opf ?
Ron. is offline   Reply With Quote
Advert
Old 08-13-2011, 08:13 AM   #21
DoctorOhh
US Navy, Retired
DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.
 
DoctorOhh's Avatar
 
Posts: 9,896
Karma: 13806776
Join Date: Feb 2009
Location: North Carolina
Device: Icarus Illumina XL HD, Kindle PaperWhite SE 11th Gen
Quote:
Originally Posted by Ron. View Post
could we not just open a ticket a request this (feature) or is there a reason it has to import the date from the opf ?
It is a feature of calibre and has been discussed before. I guess a toggle as described by kiwidude might work but deleting the external opf file should allow you to add any book without the date changing from today's date.
DoctorOhh is offline   Reply With Quote
Old 08-13-2011, 08:16 AM   #22
Ron.
Evangelist
Ron. ought to be getting tired of karma fortunes by now.Ron. ought to be getting tired of karma fortunes by now.Ron. ought to be getting tired of karma fortunes by now.Ron. ought to be getting tired of karma fortunes by now.Ron. ought to be getting tired of karma fortunes by now.Ron. ought to be getting tired of karma fortunes by now.Ron. ought to be getting tired of karma fortunes by now.Ron. ought to be getting tired of karma fortunes by now.Ron. ought to be getting tired of karma fortunes by now.Ron. ought to be getting tired of karma fortunes by now.Ron. ought to be getting tired of karma fortunes by now.
 
Ron.'s Avatar
 
Posts: 448
Karma: 864744
Join Date: Mar 2011
Device: Kindle 3, LookBook, Nook Simple Touch
Quote:
Originally Posted by dwanthny View Post
It is a feature of calibre and has been discussed before. I guess a toggle as described by kiwidude might work but deleting the external opf file should allow you to add any book without the date changing from today's date.
then you lose all data that was in the opf not just the date
Ron. is offline   Reply With Quote
Old 08-13-2011, 08:20 AM   #23
DoctorOhh
US Navy, Retired
DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.
 
DoctorOhh's Avatar
 
Posts: 9,896
Karma: 13806776
Join Date: Feb 2009
Location: North Carolina
Device: Icarus Illumina XL HD, Kindle PaperWhite SE 11th Gen
Quote:
Originally Posted by Ron. View Post
then you lose all data that was in the opf not just the date
Exactly what data do you lose? Information from someone's library? Isn't most of the metadata your concerned with, publisher, title, author, published date, tags, etc.. (at least for epub and probably mobi) in the ebook itself?
DoctorOhh is offline   Reply With Quote
Old 08-13-2011, 08:23 AM   #24
kiwidude
Calibre Plugins Developer
kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.
 
Posts: 4,729
Karma: 2197770
Join Date: Oct 2010
Location: Australia
Device: Kindle Oasis
Quote:
Originally Posted by theducks View Post
Wouldn't sorting on the (Calibre) Modified Date column help somewhat?
That is what I recommended to my Dad to do, as it seems the "best" of the limited options he has. The problem is that the Modified Date will change any time he touches any other book, such as recording in a custom column that he has read it, so it won't take long before sorting by that column does not reflect when books got added to the library.
kiwidude is offline   Reply With Quote
Old 08-13-2011, 08:23 AM   #25
Ron.
Evangelist
Ron. ought to be getting tired of karma fortunes by now.Ron. ought to be getting tired of karma fortunes by now.Ron. ought to be getting tired of karma fortunes by now.Ron. ought to be getting tired of karma fortunes by now.Ron. ought to be getting tired of karma fortunes by now.Ron. ought to be getting tired of karma fortunes by now.Ron. ought to be getting tired of karma fortunes by now.Ron. ought to be getting tired of karma fortunes by now.Ron. ought to be getting tired of karma fortunes by now.Ron. ought to be getting tired of karma fortunes by now.Ron. ought to be getting tired of karma fortunes by now.
 
Ron.'s Avatar
 
Posts: 448
Karma: 864744
Join Date: Mar 2011
Device: Kindle 3, LookBook, Nook Simple Touch
Quote:
Originally Posted by dwanthny View Post
Exactly what data do you lose? Information from someone's library? Isn't most of the metadata your concerned with, publisher, title, author, published date, tags, etc.. (at least for epub and probably mobi) in the ebook itself?
it's only in the file if I converted the book with calibre
Ron. is offline   Reply With Quote
Old 08-13-2011, 11:39 AM   #26
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 45,345
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
When you export an ebook from calibre's library, metadata is updated in that ebook. So there is no need to send someone an opf file. Indeed, if you are sharing with a limited number of people, simply use email sending in calibre.

@kiwidude: I know you're going to say, but I have my dad turn off read metadata. Even in that case the title and author will be imported correctlt, since, IIRC the default filename regex works with the default save to disk template. So you dad will have title/author and date added set correctly.
kovidgoyal is offline   Reply With Quote
Old 08-13-2011, 11:55 AM   #27
dutch
Junior Member
dutch began at the beginning.
 
Posts: 7
Karma: 10
Join Date: Apr 2011
Device: Ipad1
Have been reading through this thread and I don't know if it is in place here but I will try it anyway....
I would like to sort my books by the date added to Calibri, is this possible ? I updat my books once per month, and sometimes I add like 10 and it's hard to find them again once sorted by author.
dutch is offline   Reply With Quote
Old 08-13-2011, 12:02 PM   #28
itimpi
Wizard
itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.
 
Posts: 4,553
Karma: 950151
Join Date: Nov 2008
Device: Sony PRS-950, iphone/ipad (Marvin/iBooks/QuickReader)
Normally when you add a book to Calibre then the Date field is set to the date you added so you can simply sort on that field. The majority of this thread was about scenarios in which that Date field does NOT get set to todays date (the default action).
itimpi is offline   Reply With Quote
Old 08-13-2011, 12:15 PM   #29
dutch
Junior Member
dutch began at the beginning.
 
Posts: 7
Karma: 10
Join Date: Apr 2011
Device: Ipad1
Damn, am I stupid or what???
Thx itimpi !!
dutch is offline   Reply With Quote
Old 08-13-2011, 12:56 PM   #30
kiwidude
Calibre Plugins Developer
kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.
 
Posts: 4,729
Karma: 2197770
Join Date: Oct 2010
Location: Australia
Device: Kindle Oasis
Quote:
Originally Posted by kovidgoyal View Post
When you export an ebook from calibre's library, metadata is updated in that ebook. So there is no need to send someone an opf file. Indeed, if you are sharing with a limited number of people, simply use email sending in calibre.

@kiwidude: I know you're going to say, but I have my dad turn off read metadata. Even in that case the title and author will be imported correctlt, since, IIRC the default filename regex works with the default save to disk template. So you dad will have title/author and date added set correctly.
Hi Kovid,

The problem is I want to preserve everything about the book, except the date added. I've already done "all the work" of getting perfect metadata, linked ids, custom columns, tags etc setup and just want him to have the same.

So if not sending him the opf files, that leaves two choices: not importing metadata from the book at all (using the filename as you mention), or importing metadata from the book (which will only work for some metadata and on some formats, and will potentially cause problems if he adds his own books from elsewhere).

Likewise when I transfer between libraries on my machine using Copy to Library, I hit exactly the same problem. I want all the data preserved, except date added. And right now the only way I can do that is (when I remember) to select the books before I export them and manually set the date. Otherwise it can become too difficult by the time you switch to the other library to find the books you just transferred.

It just would be nice for an option to allow date added to reflect exactly that - the date added to this library, not the date added to any library in Calibre ever...
kiwidude is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Kindle "Sort by Author" is Sorting by First Name SHydroxide Calibre 2 01-13-2011 09:47 AM
Troubleshooting Sort is all reversed! - Oldest first bibble Amazon Kindle 5 06-24-2010 03:25 PM
Problem Sorting by Author on Jetbook smg927 Ectaco jetBook 5 08-27-2009 11:52 PM
"Sort By Author" not sorting correctly within author's collection Sonist Amazon Kindle 1 08-05-2009 07:52 PM
Author sorting problem - purchased books DeaHamlet Sony Reader 4 07-03-2008 04:16 PM


All times are GMT -4. The time now is 12:53 PM.


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