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

Go Back   MobileRead Forums > E-Book Software > Calibre > Library Management

Notices

Reply
 
Thread Tools Search this Thread
Old 12-10-2014, 01:08 PM   #1
BookJunkieLI
Addict
BookJunkieLI could sell banana peel slippers to a Deveel.BookJunkieLI could sell banana peel slippers to a Deveel.BookJunkieLI could sell banana peel slippers to a Deveel.BookJunkieLI could sell banana peel slippers to a Deveel.BookJunkieLI could sell banana peel slippers to a Deveel.BookJunkieLI could sell banana peel slippers to a Deveel.BookJunkieLI could sell banana peel slippers to a Deveel.BookJunkieLI could sell banana peel slippers to a Deveel.BookJunkieLI could sell banana peel slippers to a Deveel.BookJunkieLI could sell banana peel slippers to a Deveel.BookJunkieLI could sell banana peel slippers to a Deveel.
 
Posts: 281
Karma: 3136
Join Date: Jan 2010
Location: Long Island
Device: Nook, REB 1100, Ebookwise 1500, Jb-Lite, PRS-650, PB302, Asus T-90MT
First page as cover?

Not sure if this is the right place to ask about this or even if it's possible but I was wondering if it was possible to make the first page of an epub appear as the cover in the cover grid or edit metadata screen?

I have a large number of fanfiction epubs that because of how I initially downloaded them don't have the word count information from the archive in the custom column I created. I like to have this information to compare against the word count from the Count Pages PI so that I know if something happened during the download. This information can be found on the first page of the epub. So is there any way to make that first page appear as the cover? Rather than having to View File for every single one, which would take a really long time with 1000+ files.

I know I can create a metadata jacket and insert the metadata from Calibre into the epub but that metadata is incomplete. What I want is the metadata already showing in the epub without having to go through and redownload it again for just the one piece of information.
BookJunkieLI is offline   Reply With Quote
Old 12-10-2014, 06:36 PM   #2
BetterRed
null operator
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 3,968
Karma: 2925589
Join Date: Mar 2012
Location: NSW Australia
Device: none
@BookJunkieLI - if I'm understanding you correctly then maybe you could hack the Extract ISBN PI to extract the word count that's in the book and populate a custom column

BR
BetterRed is offline   Reply With Quote
 
Advertisement
Old 12-10-2014, 08:20 PM   #3
BookJunkieLI
Addict
BookJunkieLI could sell banana peel slippers to a Deveel.BookJunkieLI could sell banana peel slippers to a Deveel.BookJunkieLI could sell banana peel slippers to a Deveel.BookJunkieLI could sell banana peel slippers to a Deveel.BookJunkieLI could sell banana peel slippers to a Deveel.BookJunkieLI could sell banana peel slippers to a Deveel.BookJunkieLI could sell banana peel slippers to a Deveel.BookJunkieLI could sell banana peel slippers to a Deveel.BookJunkieLI could sell banana peel slippers to a Deveel.BookJunkieLI could sell banana peel slippers to a Deveel.BookJunkieLI could sell banana peel slippers to a Deveel.
 
Posts: 281
Karma: 3136
Join Date: Jan 2010
Location: Long Island
Device: Nook, REB 1100, Ebookwise 1500, Jb-Lite, PRS-650, PB302, Asus T-90MT
@BetterRed - If I had any clue how to do that I suspect it probably would be the answer to my problem. Unfortunately I really don't. I figured out how to take a look at the inside of the py files in the extract isbn zip file but after looking around in them a bit I had to admit i really had no clue what i was looking at. Well, not more than a very vague clue. I recognized ids field but that was about it. Although reading through the original forum topic that led to the creation of the Extract ISBN PI it looks like it does a search for ISBN: followed by numbers. I need pretty much the same thing only Words: followed by numbers.

From poking at the epub in Edit Book it looks like what I'd like to be able to see in the Metadata Editor instead of the cover is the title_page.xhtml. Somehow I doubt that's any easier than me figuring out how to adjust the Extract ISBN PI to look for the info I need. Sigh.
BookJunkieLI is offline   Reply With Quote
Old 12-10-2014, 08:41 PM   #4
BetterRed
null operator
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 3,968
Karma: 2925589
Join Date: Mar 2012
Location: NSW Australia
Device: none
@BookJunkieLI - if you can post a sample book, maybe someone can figure a way. Or if they're always in the titlepage.xhtml just post one of those in code tags.

BR
BetterRed is offline   Reply With Quote
Old 12-11-2014, 09:32 AM   #5
BookJunkieLI
Addict
BookJunkieLI could sell banana peel slippers to a Deveel.BookJunkieLI could sell banana peel slippers to a Deveel.BookJunkieLI could sell banana peel slippers to a Deveel.BookJunkieLI could sell banana peel slippers to a Deveel.BookJunkieLI could sell banana peel slippers to a Deveel.BookJunkieLI could sell banana peel slippers to a Deveel.BookJunkieLI could sell banana peel slippers to a Deveel.BookJunkieLI could sell banana peel slippers to a Deveel.BookJunkieLI could sell banana peel slippers to a Deveel.BookJunkieLI could sell banana peel slippers to a Deveel.BookJunkieLI could sell banana peel slippers to a Deveel.
 
Posts: 281
Karma: 3136
Join Date: Jan 2010
Location: Long Island
Device: Nook, REB 1100, Ebookwise 1500, Jb-Lite, PRS-650, PB302, Asus T-90MT
I've attached a copy of an epub as well as added the contents of the xhtml page below the spoiler cut. Hopefully someone can help, otherwise I'll just keep muddling along.

Spoiler:
Code:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Crossing The Timestreams by Jedi Buttercup</title>
<link href="stylesheet.css" type="text/css" charset="UTF-8" rel="stylesheet"/>
</head>
<body>
<h3><a href="https://www.fanfiction.net/s/6217304/1/">Crossing The Timestreams</a> by <a class='authorlink' href='https://www.fanfiction.net/u/183901/Jedi-Buttercup'>Jedi Buttercup</a></h3>
<div>

<b>Category:</b> Angel, Eureka<br />

<b>Language:</b> English<br />

<b>Characters:</b> Illyria, Jo L.<br />

<b>Status:</b> Completed<br />

<b>Published:</b> 2010-08-07 23:56:39<br />

<b>Updated:</b> 2010-08-07 23:56:39<br />

<b>Packaged:</b> 2014-10-04 20:08:04<br />

<b>Rating:</b> K+<br />

<b>Chapters:</b> 1<br />

<b>Words:</b> 1,332<br />

<b>Publisher:</b> www.fanfiction.net<br />

<b>Summary:</b> Dr. Burkle tilted her head, birdlike, and the hairs inexplicably stood up on the backs of Jo's arms.  SEASON 4 SPOILERS.<br />

</div>

</body>
</html>


Edited to add: This is an FFN fanfic but as far as I can tell AO3 fanfics come through exactly the same. Most likely because I did use the FFDL PI to download them originally.
Attached Files
File Type: epub Crossing The Timestreams - Jedi Buttercup.epub (8.7 KB, 9 views)
BookJunkieLI is offline   Reply With Quote
Old 12-11-2014, 07:45 PM   #6
JimmXinu
Plugin Developer
JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.
 
Posts: 1,820
Karma: 510215
Join Date: Dec 2011
Location: Midwest USA
Device: Nook STR w/Glowlight, Kindle 3g, Droid
Gee, that's a familiar looking book form!

I do exactly you've asking for myself.

First, for existing books, Edit Metadata--with one book, you have to choose the format (epub, I assume), and click the button to the upper left of the formats list that has a book cover icon. For multiple books Edit Metadata and toward the bottom under 'Change Cover' choose 'Set from ebook file(s)', the OK or Apply.

In FFDL config on the Basic tab, turn on the option 'Update Calibre Cover when Updating Metadata?' (2nd under Updating Calibre Options heading), then FFDL will do it for you when ever you add or update a book from FFDL.
JimmXinu is offline   Reply With Quote
Old 12-12-2014, 04:25 PM   #7
BookJunkieLI
Addict
BookJunkieLI could sell banana peel slippers to a Deveel.BookJunkieLI could sell banana peel slippers to a Deveel.BookJunkieLI could sell banana peel slippers to a Deveel.BookJunkieLI could sell banana peel slippers to a Deveel.BookJunkieLI could sell banana peel slippers to a Deveel.BookJunkieLI could sell banana peel slippers to a Deveel.BookJunkieLI could sell banana peel slippers to a Deveel.BookJunkieLI could sell banana peel slippers to a Deveel.BookJunkieLI could sell banana peel slippers to a Deveel.BookJunkieLI could sell banana peel slippers to a Deveel.BookJunkieLI could sell banana peel slippers to a Deveel.
 
Posts: 281
Karma: 3136
Join Date: Jan 2010
Location: Long Island
Device: Nook, REB 1100, Ebookwise 1500, Jb-Lite, PRS-650, PB302, Asus T-90MT
Thanks, Jimm! That's exactly what I was looking for. It works great when editing the individual metadata. It doesn't seem to want to work in bulk edit but I'm running 1.48 at work, I'll see what Calibre does on 2.9 when I get home.

And thanks for the tip for getting it to appear when I add or update via FFDL. I eventually plan to do custom covers but for now having the metadata as the cover is useful.
BookJunkieLI is offline   Reply With Quote
Old 12-12-2014, 05:55 PM   #8
JimmXinu
Plugin Developer
JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.
 
Posts: 1,820
Karma: 510215
Join Date: Dec 2011
Location: Midwest USA
Device: Nook STR w/Glowlight, Kindle 3g, Droid
Quote:
Originally Posted by BookJunkieLI View Post
...
It works great when editing the individual metadata. It doesn't seem to want to work in bulk edit but I'm running 1.48 at work, I'll see what Calibre does on 2.9 when I get home.
...
That's a bug that was fixed in 2.4.
JimmXinu is offline   Reply With Quote
Old 12-12-2014, 08:16 PM   #9
BookJunkieLI
Addict
BookJunkieLI could sell banana peel slippers to a Deveel.BookJunkieLI could sell banana peel slippers to a Deveel.BookJunkieLI could sell banana peel slippers to a Deveel.BookJunkieLI could sell banana peel slippers to a Deveel.BookJunkieLI could sell banana peel slippers to a Deveel.BookJunkieLI could sell banana peel slippers to a Deveel.BookJunkieLI could sell banana peel slippers to a Deveel.BookJunkieLI could sell banana peel slippers to a Deveel.BookJunkieLI could sell banana peel slippers to a Deveel.BookJunkieLI could sell banana peel slippers to a Deveel.BookJunkieLI could sell banana peel slippers to a Deveel.
 
Posts: 281
Karma: 3136
Join Date: Jan 2010
Location: Long Island
Device: Nook, REB 1100, Ebookwise 1500, Jb-Lite, PRS-650, PB302, Asus T-90MT
Cool. Thanks!
BookJunkieLI is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
PDF Cover howto: first page instead of generic cover for lots of PDFs? timediver Calibre 2 11-28-2014 03:05 PM
Cover Page juneymoon Conversion 3 02-17-2012 12:49 PM
Any page for cover dinya Library Management 2 08-24-2011 01:30 AM
Cover is not the first page. Dark123 Calibre 0 01-28-2011 04:48 PM
Best way to do cover page ToboldH Gen3 Developer's Corner 0 01-17-2011 04:47 AM


All times are GMT -4. The time now is 09:53 AM.


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