09-13-2012, 04:21 PM | #16 |
Dedicated
Posts: 441
Karma: 11279376
Join Date: Jun 2012
Location: Amarillo, TX
Device: iPad Mini 1 & 4, Nook ST, Dell 11-3000, iPhone 5s
|
Glad to spend more time.
I've already created a test library and have tried a couple of things. Calibre help info indicates that the plugboard works "when saving to disk or sending to device". I tried saving to disk (my desktop) and the author changed from "calibre" to today's date. However, downloading to my Nook did not change the author at all. If any files from within the EPUB container saved to the desktop would be of any help, let me know. G ... the ball is in your court! |
09-13-2012, 04:48 PM | #17 |
Dedicated
Posts: 441
Karma: 11279376
Join Date: Jun 2012
Location: Amarillo, TX
Device: iPad Mini 1 & 4, Nook ST, Dell 11-3000, iPhone 5s
|
Here's the "content.opf" file from the EPUB saved to my desktop with today's date as author:
|
09-13-2012, 06:36 PM | #18 |
Comparer of the Ephemeris
Posts: 1,496
Karma: 424697
Join Date: Mar 2009
Device: iPad
|
Create a plugboard for epub that modifies save to disk with all the same settings as described earlier. In the content.opf file, you're looking to see that <dc:creator> was set to the adjusted value. Note that this will only affect an epub that has a 'Catalog' tag.
Also, note that you need to look at the .OPF file inside the EPUB, not the one that's in the folder. That .OPF is not modified. G Last edited by GRiker; 09-13-2012 at 06:45 PM. |
09-13-2012, 07:09 PM | #19 | |
Dedicated
Posts: 441
Karma: 11279376
Join Date: Jun 2012
Location: Amarillo, TX
Device: iPad Mini 1 & 4, Nook ST, Dell 11-3000, iPhone 5s
|
Quote:
The content.opf file that I posted is from inside the EPUB that was created with the plugboard. (I unzipped the EPUB created with the plugboard). |
|
09-13-2012, 07:19 PM | #20 |
Comparer of the Ephemeris
Posts: 1,496
Karma: 424697
Join Date: Mar 2009
Device: iPad
|
I followed the steps I outlined earlier from scratch, and <dc:creator> was properly modified with the Save to disk plugboard template.
The .OPF you posted did change the <dc:title> field to 0-Books, so you have at least half of it working. G Edit: Attached is my version of content.opf after Save to disk through the plugboard Last edited by GRiker; 09-13-2012 at 07:29 PM. |
09-13-2012, 08:00 PM | #21 |
Dedicated
Posts: 441
Karma: 11279376
Join Date: Jun 2012
Location: Amarillo, TX
Device: iPad Mini 1 & 4, Nook ST, Dell 11-3000, iPhone 5s
|
For my test library, I had your Catalog program set up to use the title "0-books". It was not renamed by the template/plugboard.
I do have two custom columns set up for title and author. The custom columns display "The Good Earth" by "Pearl S. Buck" as: "Good Earth, The" by "Buck, Pearl S." Could these be running interference with what we're trying to do? |
09-13-2012, 08:06 PM | #22 |
Comparer of the Ephemeris
Posts: 1,496
Karma: 424697
Join Date: Mar 2009
Device: iPad
|
Are your custom columns referenced in the metadata plugboard? If not, then I don't see how they would cause a problem.
Also, I didn't see a <dc:subject>Catalog tag in your OPF. Is the Catalog file that you're working with a cleanly generated file (which would have a Catalog tag), or one that you re-converted? Better to start with a clean catalog file. G |
09-13-2012, 09:47 PM | #23 | |
Dedicated
Posts: 441
Karma: 11279376
Join Date: Jun 2012
Location: Amarillo, TX
Device: iPad Mini 1 & 4, Nook ST, Dell 11-3000, iPhone 5s
|
Quote:
Your OPF compared to mine showed several differences. I'm guessing that my custom columns "#author_ln" and "#title_ln" must be causing some problem. Will be out of town for a 3-day weekend. Will remove the custom columns next week and see if that fixes things. More next week ... |
|
09-14-2012, 12:43 AM | #24 |
Dedicated
Posts: 441
Karma: 11279376
Join Date: Jun 2012
Location: Amarillo, TX
Device: iPad Mini 1 & 4, Nook ST, Dell 11-3000, iPhone 5s
|
G,
Last post until next week ... we hit the road in the morning ... Opened a Catalog in calibre's E-book viewer and clicked the metadata button within the viewer. Nothing shows up under Tags. However, book details window shows "Catalog" tag. Stumped!! Have a good weekend ... Marty |
09-14-2012, 08:32 AM | #25 |
Comparer of the Ephemeris
Posts: 1,496
Karma: 424697
Join Date: Mar 2009
Device: iPad
|
Here's a simpler way to test the template before using it in a plugboard.
Create the template function to return a substitute title for Catalogs:
In the Template test column, you should see either the Title of the book, or 0-calibre if the book has a 'Catalog' tag. Once you have that working, you can create a plugboard for saving to disk or sending to a specific device. G Last edited by GRiker; 09-15-2012 at 03:33 PM. |
09-16-2012, 04:02 PM | #26 | |
Dedicated
Posts: 441
Karma: 11279376
Join Date: Jun 2012
Location: Amarillo, TX
Device: iPad Mini 1 & 4, Nook ST, Dell 11-3000, iPhone 5s
|
Where things stand ...
Quote:
Back in town after a relaxing weekend spoiling the Grandkids ... Here's a recap of where things stand: Currently, the Catalog is generated with the name "0-Books - calibre.epub". I want to change this to "0-Books - 0-Marty.epub". (I changed the author name I first mentioned to avoid any confusion between "calibre" and "0-calibre".) Created the template "change_author_if_catalog" and created the custom column "Authors Test". The requested author name (0-Marty) is correctly displayed in the custom column. The original "authors" column is not changed. So, with the template working correctly, I then created the plugboard for save-to-disk. Saving books to disk has the option: "Update metadata in saved copies". I selected this option. The save-to-disk template I used: {author_sort}/{title} - {authors} is the same format I use when I send books to the Nook. When the catalog is saved-to-disk: - in the epub, the "content.opf" is updated to: <dc:creator opf:role="aut" opf:file-as="calibre">0-Marty</dc:creator> - the saved-to-disk catalog is still actually named "0-Books - calibre.epub". However, if the saved-to-disk epub is then added back into calibre, it gets the name I want: "0-Books - 0-Marty.epub". Apparently the plugboard updates the "content.opf" in an epub but does not actually rename the epub itself before save-to-disk. Is this correct behavior? You said: "I followed the steps I outlined earlier from scratch, and <dc:creator> was properly modified with the Save to disk plugboard template." Question: Was the epub that was saved-to-disk actually renamed, or was only the content.opf changed? The calibre manual states: Plugboards affect the metadata written into the book when it is saved to disk or written to the device. Plugboards do not affect the metadata used by save to disk and send to device to create the file names. Instead, file names are constructed using the templates entered on the appropriate preferences window. Anything else I should try? Thanks, Marty |
|
09-16-2012, 05:09 PM | #27 | |
Comparer of the Ephemeris
Posts: 1,496
Karma: 424697
Join Date: Mar 2009
Device: iPad
|
Quote:
G Last edited by GRiker; 09-19-2012 at 08:25 AM. |
|
10-08-2012, 09:45 AM | #28 |
Member
Posts: 18
Karma: 10
Join Date: Jun 2012
Device: nook
|
Although this topic might be "old" news now. Here is a possible reason why the plugboard is not changing the author/title going to the Nook. At least for my Nook(s) calibre recognizes them as Nook-Color NOT Nook; even though they are all the Nook Simple Touch Glowlight. So just to cover all bases, I always create two plugboards with the exact same code - one for nook and one for nook-color.
|
Thread Tools | Search this Thread |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
How to pack/zip Kindle (.mobi/azw3) files | rstoothoff | Amazon Kindle | 8 | 10-07-2012 01:53 PM |
New Catalog features for generating EPUB/MOBI/AZW3 catalogs (0.8.64) | GRiker | Library Management | 15 | 09-05-2012 05:15 PM |
How to pack/zip Kindle (.mobi/azw3) files | rstoothoff | Kindle Formats | 4 | 08-24-2012 11:55 PM |
mobi catalog = periodical, ePub catalog = book | trekchick | Library Management | 7 | 03-12-2011 01:11 PM |
PRS-950 Modified firmware with clock and other features - updated with latest Sony 2.0 rev | gardenstate | Sony Reader | 6 | 12-27-2010 06:06 AM |