31

You can "polish" your ebooks with calibre since version 1.0. But you have to add the capability to the calibre interface: To use this tool, go to Preferences->Toolbar and add the Polish books tool to the main toolbar. Then simply select the books you want to be polished and click the Polish books button. Polishing, unlike conversion, does not change the ...


18

This is not straightforward but there is a Calibre extension that you can install : Count Pages (it counts pages but it also counts words). It works only for MOBI and EPUB files so it won't be able to show the word count of books you have only in Amazon Kindle format for instance. First you need to install Count Pages : In Calibre Preferences window, go to ...


13

As you are on Linux, the way to do this is to change to the directory at the base of your library and do: find . -name "*.epub" -exec /bin/bash -c 'ebook-polish --opf="$(dirname "$0")/metadata.opf" "$0" ' {} \; This way you polish them all in one go.


10

exiftool can read (but not write) epub meta data. For example exiftool -T -Title main.epub


9

Here's a quick bash script (with no error-checking whatsoever) to do what you want: #!/bin/bash # if [ $# -lt 3 ] then echo echo "Usage: minfo -m <meta-type> <epub-file>" echo else fileloc=`unzip -l "$3" | grep -Po '\b[^\s-]*\.opf\b'` metafound=`zipgrep '<dc:'$2'>(.*)</dc:'$2'>' "$3" $fileloc` echo `expr "$...


7

The dc:identifier is commonly an ISBN, though any sort of URN will do. Further information about using in epub can be found on the IDPF's site, but as a quick example, you could use something like: <dc:identifier id="isbn">urn:isbn:0451450523</dc:identifier> As long as the identifier is unique, it should be fine. At the above link, the IDPF ...


6

Setting the title of the PDF: File menu / Properties / Description tab, Title field. Setting the author: Tools menu / Options / LibreOffice / User Data tab, fill the First name and Last name fields, File menu / Properties / General tab, tick the Apply user data checkbox, press the Reset button (it's near to the Apply user data checkbox). The Reset button ...


6

An EPUB file is just a zip file, and the book's metadata is contained in the OPF (Open Packaging Format) file, which is an XML file. The title is located in the /package/metadata/dc:title element. The other info you're looking for is probably also in children of the metadata element. Here's a good intro to the EPUB format: http://www.ibm.com/developerworks/...


5

You can change default behaviour in Preferences/Tweaks: # Splitting multiple author names The default setting is: authors_split_regex = ',?\s+(and|with)\s+' When you clear that, Calibre won't split author names.


4

Anything that you want to actually show up on an ebook reader will need to be in the content files of the epub, just like any of the chapters or other divisions of the text. It is possible to include a description in the metadata of the book; this should appear in the <meta> section of the content.opf file and be formatted as described in the epub 3.0 ...


4

I use Calibre 2.20 and I find, that if you forego using the "Edit metadata" button and just click on the Author field in the main window and edit the name there, you get to keep the "and". If you click on "Edit metadata" afterwards you will notice that the "Author sort" field has a red marking, however, it should work fine regardless. When you do sort, it ...


4

Yes it should be unique, and no, it is not hased to an IP or MAC address. The example in the EPUB 3.0 specification uses a UUID. The particular UUID used in the example is: A1B0D67E-2E81-4DF5-9E67-A64CBE366809 And the 4 in the position directly after the second - indicates that it is a random UUID. The UUID linked to a MAC address is version 1. There is ...


4

Yes, you can accomplish that using SubGroups in Calibre. The way to do a subgroup is described here (for user entered Genres) but I'll do the TL;DR below for how to do it with publication dates: https://manual.calibre-ebook.com/sub_groups.html Create a custom column with desired lookup name (yearpub) and heading and give the column type "Column built from ...


3

To print out epub metadata, exiftool yourbook.epub To edit the metadata, you'd need to unzip it and then zip it back again, as mentioned by others, epub is just a zip file mkdir tempfolder mv yourbook.epub tempfolder cd tempfolder unzip yourbook.epub mv yourbook.epub ../youroldbook.epub Find and edit the metadata in opf file find . -iname '*.opf' ...


3

For CreateSpace you essentially need to provide a PDF and do the layout by combining your output with images in the form of PDF output. To conform to their formats, you would still need a template for the editing software that you use, that generates a PDF that can be merged with such templates (and not come into the margins as they warn you not to). The ...


3

I am not aware if it is such a tool/service/API, and generally publishers don't offer APIs IMHO mainly because copyright infringement sites or concurrent businesses might use them. So you need to take a custom approach, using URL because most of the sites use GET method to do their queries and do some data-mining using scripts (wget/selenium etc). You ...


2

This helped a lot! I also discovered that if you add the "Embed metadata" icon to you toolbar, it's a simpler way to achieve this goal. The only differences are that it will ONLY embed the metadata, and non of the additional options that the Polishing function has available. It will also show the progress as a percentage tab on your screen, and not as a "...


2

What you call a "blurb" has actually a long tradition in publishing, is, or should be, a presentation, a comment written by the publisher. In France they use a very nice word: "prière d'insérer" referring to a text prepared by the publisher and aimed to booksellers and general readers. I believe such a text can find a right position immediately after the ...


2

The only metadata that is visible to the user in a Kindle Paperwhite is the title and author of the ebooks. Connecting the Kindle to a PC does only help if you synced your Kindle with Calibre's library, because in this case you would have in the root folder of your Kindle a file called metadata.calibre that would contain the metadata of your ebooks in YAML ...


2

It seems that this is not directly possible, but you can add an additional column to achieve something like this: Go to Preferences → Add your own columns Add custom column: Give it a name and a heading (this will be displayed in the tag browser) Select Column built from other columns Under "Template", enter the name of the date-based column you want to ...


2

This is a great question, and I don't have any inside knowledge about how search engines interpret metadata for books. I checked the source of several book distributors and found that there's an open graph generator for books. http://webcodetools.com/open-graph-generator/book Librarything, Smashwords and Harper Row publishers embed ebook info in these ...


1

If you are not going to use a ncx, my answer is no, you don't need to change this xhtml file at all. I'm going to guess here. ns:ncx means that you are using a namespace called "ncx." A namespace is like an xml prefix. Somewhere -- maybe on another file -- you are referring to the ncx namespace, and the error is suggesting that you need to identify it ...


1

Recently, I came across a set of scripts called ebook-tools that can solve this problem. Works like a charm.


1

For Windows cmd.exe: ren 12345.epub mybookname.epub For linux based OS: mv 12345.epub mybookname.epub For Windows gui: use file manager, click once on the file. Hit F2 to enter "rename mode". Only the base filename should be selected (not the extension). Type the new name.


1

Calibre - switching title and series column There may be no elegant way to do what you're asking, but there is a way. Create a temporary column to hold copied titles place your cursor over any column heading, right click, and select "add your own columns" click the "+" icon on the right margin of the dialog box name your column "titletemp" if you're ...


1

No, there isn't a one click solution for swapping series and title. You can only swap title and author (in bulk metadata edit mode). If you want to automate this you have to write a (small) program that reads the metadata file (which is XML), does the swap for you, and feed it the offending files. Not helpful for the files you already imported but maybe ...


1

If I understand correctly, you are asking a multi-faceted question; on how metadata hurts or helps your website and ebook content. I apologize in advance- if some of this information is repetitive or overly descriptive. I'm providing as many descriptions, references and links as possible, in order to provide as thorough an answer as possible. Thanks. ...


1

Calibre writes the metadata in a seperate file metadata.opf. This file looks very much like the content.opf file found in an EPUB file, but is different and also exists and has the same format, when your ebooks are not in EPUB format. The metadata.opf filecalib resides in the same directory as the book in your library, easily accessed by right-clicking the ...


1

I had trouble with metadata from Calibre until I realised that I had to either reconvert or polish the ebook after making any changes to the title, author, description etc. For the metadata to "stick" you have to polish (in the case of an epub) or convert (in the case of a new book in other than epub format). Although the metadata will look fine in ...


1

Your eBook has been rejected for improper capitalization. The first letter of all words in the title, subtitle and author name should be capitalized, except for the following words: a, an, and, for, from, of, or, the, to. The first and last word of the title and subtitle should always be capitalized. This error is because you have a title or author ...


Only top voted, non community-wiki answers of a minimum length are eligible