09-20-2010, 09:25 AM | #1 |
Grand Sorcerer
Posts: 9,707
Karma: 32763414
Join Date: Dec 2008
Location: Krewerd
Device: Pocketbook Inkpad 4 Color; Samsung Galaxy Tab S6
|
Adding PDF books
Is there a way for Calibre to read my PDFInfo files when I add PDF books?
When I add an epub book, the fields are all nicely filled (author, title, tag, etc). But with PDF books it completely ignores my PDFInfo fields (which are nicely filled, at least, Author, Title and Subject are). If it doesn't, is there a way for it to read the folder structure (by using the reg expression)? Because the filenames of my books only contain a series index (if applicable) and the title of the book. The author (and series, again if applicable) are folder names... |
09-20-2010, 10:18 AM | #2 | |
Wizard
Posts: 4,004
Karma: 177841
Join Date: Dec 2009
Device: WinMo: IPAQ; Android: HTC HD2, Archos 7o; Java:Gravity T
|
Quote:
|
|
Advert | |
|
09-20-2010, 11:06 AM | #3 | |
Grand Sorcerer
Posts: 9,707
Karma: 32763414
Join Date: Dec 2008
Location: Krewerd
Device: Pocketbook Inkpad 4 Color; Samsung Galaxy Tab S6
|
Quote:
|
|
09-20-2010, 11:10 AM | #4 |
creator of calibre
Posts: 44,564
Karma: 24495948
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
make sure your pdf metadata reader plugin is enabled in Preferences->Advanced->Plugins->Metadata rader plugins
|
09-20-2010, 11:58 AM | #5 | |
Wizard
Posts: 4,004
Karma: 177841
Join Date: Dec 2009
Device: WinMo: IPAQ; Android: HTC HD2, Archos 7o; Java:Gravity T
|
Quote:
edit: You should also be aware that Calibre will pick up metadata in an opf file stored with any other format in preference to the other two methods. If there's any chance you have some sort of .opf file with the same name as the pdf, it would override the other metadata. Last edited by Starson17; 09-20-2010 at 12:19 PM. |
|
Advert | |
|
09-21-2010, 03:16 AM | #6 |
Grand Sorcerer
Posts: 9,707
Karma: 32763414
Join Date: Dec 2008
Location: Krewerd
Device: Pocketbook Inkpad 4 Color; Samsung Galaxy Tab S6
|
|
09-21-2010, 03:47 AM | #7 | |
Wizard
Posts: 4,553
Karma: 950151
Join Date: Nov 2008
Device: Sony PRS-950, iphone/ipad (Marvin/iBooks/QuickReader)
|
Quote:
|
|
09-21-2010, 07:00 AM | #8 |
Grand Sorcerer
Posts: 9,707
Karma: 32763414
Join Date: Dec 2008
Location: Krewerd
Device: Pocketbook Inkpad 4 Color; Samsung Galaxy Tab S6
|
My sources are HTML and the PDF's are the converted files. But I don't want to add all my formats to Calibre, because I have no need for multiple copies of all my files. Especially as my .OPF files are all called the same...
|
09-21-2010, 07:05 AM | #9 |
Wizard
Posts: 4,553
Karma: 950151
Join Date: Nov 2008
Device: Sony PRS-950, iphone/ipad (Marvin/iBooks/QuickReader)
|
HTML is the best format for conversion, so if you have that available use it for the conversion.
|
09-21-2010, 07:26 AM | #10 |
Grand Sorcerer
Posts: 9,707
Karma: 32763414
Join Date: Dec 2008
Location: Krewerd
Device: Pocketbook Inkpad 4 Color; Samsung Galaxy Tab S6
|
As I said, HTML is my source format, PDF is the converted format... But I don't want to add the HTML + epub + mobi + PDF files. I don't like the fact that Calibre makes a copy of each book. I was just exploring if I could use Calibre to keep track of the books on my devices. I don't use the GUI to convert, the only conversion I use is by command-line (from mobi to HTML, the rest I do using my own tools).
|
09-21-2010, 08:52 AM | #11 |
Wizard
Posts: 4,004
Karma: 177841
Join Date: Dec 2009
Device: WinMo: IPAQ; Android: HTC HD2, Archos 7o; Java:Gravity T
|
If you have .opf files named the same as the .pdf file, they will override the pdf data and prevent it from being read. If you're having trouble importing a pdf, remove the .opf file from that folder and test that way.
|
09-21-2010, 11:17 AM | #12 | |
Grand Sorcerer
Posts: 9,707
Karma: 32763414
Join Date: Dec 2008
Location: Krewerd
Device: Pocketbook Inkpad 4 Color; Samsung Galaxy Tab S6
|
Quote:
I have a folder: Source/authorname/bookname which contains my metadata, toc.ncx and all other files in a nice epub-like structure I have another folder: PDF/authorname which contains all books by that author which has been generated by using the files in my source/authorname/bookname folder. When I try to add said PDF, it will not read the pdfinfo metadata, which can be seen if I open it with a pdf reader. Which means I have to manually change every single PDF and that kind of defeats the purpose of using metadata and thus, Calibre. |
|
09-21-2010, 11:47 AM | #13 | ||
Wizard
Posts: 4,004
Karma: 177841
Join Date: Dec 2009
Device: WinMo: IPAQ; Android: HTC HD2, Archos 7o; Java:Gravity T
|
Quote:
As Kovid has said in connection with another PDF metadata problem: Quote:
http://sourceforge.net/projects/podofo/ |
||
09-21-2010, 12:35 PM | #14 |
creator of calibre
Posts: 44,564
Karma: 24495948
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Actually calibre uses poppler to read metadata, which is yet another library The reason for that is poppler allows rendering of the PDF, so calibre can render the first page as the cover.
Are you sure your PDF metadata is in the PDFInfo structure and not in the extended XML metadata? |
09-21-2010, 01:01 PM | #15 |
Wizard
Posts: 4,004
Karma: 177841
Join Date: Dec 2009
Device: WinMo: IPAQ; Android: HTC HD2, Archos 7o; Java:Gravity T
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
delete old books after adding | iconeo | Calibre | 4 | 05-21-2010 02:03 AM |
Adding empty books | vbussell | Calibre | 4 | 12-10-2009 06:42 PM |
Help with adding books please | stustaff | Calibre | 12 | 10-27-2009 03:30 PM |
Adding cover image to PDF? | silvijakk | Bookeen | 2 | 04-02-2009 04:33 PM |
Trouble adding PDF file | kmsulli | Sony Reader | 1 | 02-20-2007 11:26 PM |