Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Editor

Notices

Reply
 
Thread Tools Search this Thread
Old 01-14-2023, 05:44 PM   #1
ownedbycats
Custom User Title
ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.
 
ownedbycats's Avatar
 
Posts: 10,969
Karma: 75337983
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
metadata.opf & AZW3

While trying to investigate whether Amazon formats the DCMI same as epub, I opened up a AZW3 previously acquired from Kindle, imported into Calibre (de'drm'd):

Code:
  <metadata xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:calibre="http://calibre.kovidgoyal.net/2009/metadata" xmlns:opf="http://www.idpf.org/2007/opf">
    <dc:title>Third Contact (Envoys Book 1)</dc:title>
    <dc:creator opf:role="aut" opf:file-as="Aldin, Peter J">Peter J Aldin</dc:creator>
    <dc:contributor opf:role="bkp" opf:file-as="calibre">calibre (6.11.0) [https://calibre-ebook.com]</dc:contributor>
    <dc:identifier id="calibre_id" opf:scheme="calibre">50ef213d-0a34-449c-9f3b-02e48a8f203d</dc:identifier>
    <dc:date>2020-11-14T00:00:00-04:00</dc:date>
    <dc:language>eng</dc:language>
    <dc:identifier opf:scheme="MOBI-ASIN">B08KNYV3LX</dc:identifier>
Does this indicate that Calibre inserted them upon either import or opening an un-imported AZW3 in ebook-editor?

Also, what is http://calibre.kovidgoyal.net/2009/metadata? It redirected to the front page. If I change it to https and click past the invalid certificate error it leads to a 404 page.
ownedbycats is offline   Reply With Quote
Old 01-14-2023, 06:15 PM   #2
jhowell
Grand Sorcerer
jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.
 
jhowell's Avatar
 
Posts: 7,069
Karma: 91577715
Join Date: Nov 2011
Location: Charlottesville, VA
Device: Kindles
Calibre’s editor and the KindleUnpack plugin both attempt to produce an OPF that meets EPUB standards from Kindle formats that are actually structured much differently.

For what Amazon actually uses see https://wiki.mobileread.com/wiki/MOBI#EXTH_Header
jhowell is offline   Reply With Quote
Advert
Old 01-15-2023, 01:37 AM   #3
Doitsu
Grand Sorcerer
Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.
 
Doitsu's Avatar
 
Posts: 5,726
Karma: 24031401
Join Date: Dec 2010
Device: Kindle PW2
Quote:
Originally Posted by ownedbycats View Post
Also, what is http://calibre.kovidgoyal.net/2009/metadata?
Even though it looks exactly like a URL it's actually a so-called XML namespace, which is required when adding custom Calibre metadata elements, e.g. Calibre book ratings, to .opf files.
Unfortunately, Calibre will also add this name space declaration when processing books that don't actually contain custom Calibre metadata entries.
Doitsu is offline   Reply With Quote
Old 01-16-2023, 06:04 AM   #4
ownedbycats
Custom User Title
ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.
 
ownedbycats's Avatar
 
Posts: 10,969
Karma: 75337983
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
Amusingly, from the wikipedia page:

Quote:
The Namespaces specification does not say what should happen if such a URL is dereferenced (that is, if software attempts to retrieve a document from this location). One convention adopted by some users is to place an RDDL document at the location.[5] In general, however, users should assume that the namespace URI is simply a name, not the address of a document on the Web.
Thanks
ownedbycats is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Automatic cover page - based on metadata from content.opf (EPUB/AZW3) dxcore35 ePub 7 01-10-2020 02:37 PM
Problem adding metadata (.opf, .mobi, .azw3) mobilemax Library Management 3 04-27-2016 11:29 AM
Are cover.jpg and metadata.opf files included with Book.azw3 important? omareg94 Amazon Kindle 13 02-11-2015 06:11 AM
metadata & OPF files u238110 Conversion 9 12-03-2014 11:28 AM
cover.jpg & metadata.opf BetterRed Calibre 1 05-10-2013 10:29 PM


All times are GMT -4. The time now is 11:15 PM.


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