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-28-2010, 04:04 PM   #16
aritza
Member
aritza began at the beginning.
 
Posts: 19
Karma: 10
Join Date: Jul 2010
Device: Calibre
Quote:
Originally Posted by itimpi View Post
Many of those fields cannot be saved to the PDF. This is a limitation of the PDF format.

When you do a "Save to "Disk" you are also given the option of having the .opf file as well. This file will have ALL the metadata in it, and if the recipient has Calibre as well can be used to transfer it to their Calibre library
I see the following fields in the PDF file ("file properties"):

Title
Author
Subject
Keywords

And there there is a sectio for "Additional metadata":

Document title
Author
Author title
Description
Description writer
Keywords

plus many more, including "custom properties", of which you can create seemingly as many as you want.

So I do not understand why metadata couldn't be saved to the file, even if it requires some creative mapping.

My fear is that this lack of portability of metadata has me tied to Calibre, which for all I know could stop being developed at any time (or could start charging money, maybe even a lot of money), or a product that better serves my needs could come around.

I don't see why I seem to be the only one concerned about this.
aritza is offline   Reply With Quote
Old 08-28-2010, 04:56 PM   #17
Starson17
Wizard
Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.
 
Posts: 4,004
Karma: 177841
Join Date: Dec 2009
Device: WinMo: IPAQ; Android: HTC HD2, Archos 7o; Java:Gravity T
Quote:
Originally Posted by aritza View Post
I see the following fields in the PDF file ("file properties")...
plus many more, including "custom properties", of which you can create seemingly as many as you want.

So I do not understand why metadata couldn't be saved to the file, even if it requires some creative mapping.
Creative mapping may interfere with other programs usage of those fields. It's all in the .opf file anyway.

Quote:
My fear is that this lack of portability of metadata has me tied to Calibre, which for all I know could stop being developed at any time (or could start charging money, maybe even a lot of money), or a product that better serves my needs could come around.

I don't see why I seem to be the only one concerned about this.
There's no secret plan to trap you into a proprietary format. Calibre is open source and licensed via GPL. You can always run any version for free. Even if you couldn't, all the data in Calibre is easily accessible in multiple ways. You can get it in opf files, in spreadsheets (several formats) in the SQL database, etc.

You have nothing to worry about.
Starson17 is offline   Reply With Quote
Old 08-29-2010, 12:19 AM   #18
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,897
Karma: 13806776
Join Date: Feb 2009
Location: North Carolina
Device: Icarus Illumina XL HD, Kindle PaperWhite SE 11th Gen
Quote:
Originally Posted by aritza View Post
My fear is that this lack of portability of metadata has me tied to Calibre, which for all I know could stop being developed at any time (or could start charging money, maybe even a lot of money), or a product that better serves my needs could come around.

I don't see why I seem to be the only one concerned about this.
Ignorance is a powerful source of fear.

As Starson17 said about metadata

Quote:
Originally Posted by Starson17 View Post
It's all in the .opf file anyway.

You can get it in opf files, in spreadsheets (several formats) in the SQL database, etc.
I've never seen a product that makes it so easy to grab any info. OPF stands for Open Packaging Format, you can read more about OPF here or here.
DoctorOhh is offline   Reply With Quote
Old 08-29-2010, 12:21 AM   #19
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)
Quote:
Originally Posted by aritza;
My fear is that this lack of portability of metadata has me tied to Calibre, which for all I know could stop being developed at any time (or could start charging money, maybe even a lot of money), or a product that better serves my needs could come around.

I don't see why I seem to be the only one concerned about this.
The .opf file is in a XML format defined as part of the EPUB standard - probably the only one that is truly portable and open. Using this file to storeand transport metadata is the one that is most likely to protect you if you decide to switch away from Calibre.
itimpi is offline   Reply With Quote
Old 09-03-2010, 04:59 PM   #20
aritza
Member
aritza began at the beginning.
 
Posts: 19
Karma: 10
Join Date: Jul 2010
Device: Calibre
Thank you for the reassurance. I think you will agree that emphasizing all of this would be a good way to promote Calibre.

Nonetheless, I would like to urge Kovid to please provide a simple and direct way to save information beyond Author and Title to a PDF in some way to the extent that it is possible to map fields.

Thank you!
aritza is offline   Reply With Quote
Old 11-28-2011, 10:41 AM   #21
tonyc46
Member
tonyc46 began at the beginning.
 
Posts: 24
Karma: 10
Join Date: May 2009
Device: iPad Gen 6
I'm having the same problem. I'm trying to read a pdf in Android (Mantano Reader). I use Calibre Save to Disk (PDF format only) to my external SD card. Then I import with Mantano and don't get any of the metadata. Even many of the titles and authors are gibberish.

Thanks.
tonyc46 is offline   Reply With Quote
Old 03-14-2012, 01:36 AM   #22
Benji99
Member
Benji99 began at the beginning.
 
Posts: 12
Karma: 10
Join Date: May 2008
Device: None
I also have a problem with calibre and metadata in pdfs.

Actually, for me, in the few pdfs that I tried, the save to disk works, the metadata seems to be correctly added. The problem comes when I download books via the content server to my android Galaxy Nexus via either Mantano or Aldiko, the metadata doesn't come with it. I checked the downloaded pdf file and sure enough, the title and author fields are blank.

Is it possible for the content server to add the proper metadata before sending the file?
Also, as a side question, is it possible for applications such Mantano to download the .opf file as well in order to get all the metadata? (This would be awesome). If it's possible, I'll go start begging them to add that feature.
Benji99 is offline   Reply With Quote
Old 03-14-2012, 02:10 AM   #23
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,373
Karma: 27230406
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
No, it isn't adding metadata to PDF is a very slow process, the entire PDF has to be read into memory and written out again, as such it is not suitable for a server.
kovidgoyal is offline   Reply With Quote
Old 03-15-2012, 11:43 PM   #24
Benji99
Member
Benji99 began at the beginning.
 
Posts: 12
Karma: 10
Join Date: May 2008
Device: None
For some users that have reasonable specced servers, it would be a really nice option is having incorrect metadata in the reading applications is a pretty significant problem. Anyway I hope one day you can add an option for those that wish that add that feature.

That said, how about an option to write all tags to the pdf files in my library? Perhaps it would slow down Calibre too much if it do it live with all updates, but perhaps some option somewhere to update all tags in all files and let it run over night. This way the server wouldn't need to update the files when serving them.

Oh you forgot the answer my last question, so there's no way for the applications to have access to the data in the opf data along with the pdf file when retrieving it from the Content Server?
Benji99 is offline   Reply With Quote
Old 03-16-2012, 12:21 AM   #25
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,373
Karma: 27230406
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
The content server makes all metadata avaibale in half a dozen different ways, whether the content server using app makes use of it or not, is up to it.
kovidgoyal is offline   Reply With Quote
Old 08-22-2012, 03:18 AM   #26
dtrounson
Junior Member
dtrounson began at the beginning.
 
Posts: 5
Karma: 18
Join Date: Aug 2012
Device: iPad 3
Hi guys, sorry for dragging this thread back from the dead again, but would it be possible for the save to disk command to somehow run the same process over the file actually IN the library? At the moment if I want to preserve any metadata I would need to save it outside, and then reimport it which seems a little time consuming?

Or I have the whole thing wrong...
dtrounson is offline   Reply With Quote
Old 08-22-2012, 03:23 AM   #27
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,897
Karma: 13806776
Join Date: Feb 2009
Location: North Carolina
Device: Icarus Illumina XL HD, Kindle PaperWhite SE 11th Gen
Quote:
Originally Posted by dtrounson View Post
Hi guys, sorry for dragging this thread back from the dead again
Then why do it? At this point I'm unsure if you are talking about only PDF files or all files.

Quote:
Originally Posted by dtrounson View Post
would it be possible for the save to disk command to somehow run the same process over the file actually IN the library? At the moment if I want to preserve any metadata I would need to save it outside, and then reimport it which seems a little time consuming?
The Send to device feature embeds the same metadata in a book that the Save to disk feature does.
DoctorOhh is offline   Reply With Quote
Old 08-22-2012, 03:39 AM   #28
dtrounson
Junior Member
dtrounson began at the beginning.
 
Posts: 5
Karma: 18
Join Date: Aug 2012
Device: iPad 3
Well the thread is with regards to PDF so yes, I am just looking for the fastest way to ensure that the metadata is correctly embedded, with ePubs I tend to use the modifyEpub plugin to ensure consistency of my library, PDF's are a little trickier.

But I will figure the workflow for this some other way I think, it seems like the command line tool would work as a FAST method anyway
dtrounson is offline   Reply With Quote
Old 06-17-2014, 09:06 AM   #29
aboettget
Junior Member
aboettget began at the beginning.
 
Posts: 8
Karma: 12
Join Date: Jun 2011
Device: Kindle 3
You can use this script:
https://github.com/aboettger/ShellSc...ata_by_calibre
aboettget is offline   Reply With Quote
Old 06-17-2014, 09:26 AM   #30
Benji99
Member
Benji99 began at the beginning.
 
Posts: 12
Karma: 10
Join Date: May 2008
Device: None
Nice! will give it a shot shortly!
Benji99 is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Insert downloaded metadata from Calibre into PDF files? jarobi Calibre 5 06-20-2014 03:44 AM
Calibre metadata.calibre not allowing updates Chuckels550 Calibre 10 08-09-2010 05:12 PM
Writing metadata to PDF files in Calibre asts18 Calibre 3 03-23-2010 01:07 PM
0.5.11 PDF metadata thibaulthalpern Calibre 2 05-09-2009 09:14 AM
pdf and other metadata karl9000 Calibre 1 04-20-2009 02:04 PM


All times are GMT -4. The time now is 06:15 AM.


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