|
|
#1 |
|
Custom User Title
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 11,358
Karma: 79528341
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>
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. |
|
|
|
|
|
#2 |
|
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,160
Karma: 92500001
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 |
|
|
|
| Advert | |
|
|
|
|
#3 |
|
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 5,763
Karma: 24088559
Join Date: Dec 2010
Device: Kindle PW2
|
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. |
|
|
|
|
|
#4 | |
|
Custom User Title
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 11,358
Karma: 79528341
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
|
Amusingly, from the wikipedia page:
Quote:
|
|
|
|
|
![]() |
| Thread Tools | Search this Thread |
|
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 03:37 PM |
| Problem adding metadata (.opf, .mobi, .azw3) | mobilemax | Library Management | 3 | 04-27-2016 12:29 PM |
| Are cover.jpg and metadata.opf files included with Book.azw3 important? | omareg94 | Amazon Kindle | 13 | 02-11-2015 07:11 AM |
| metadata & OPF files | u238110 | Conversion | 9 | 12-03-2014 12:28 PM |
| cover.jpg & metadata.opf | BetterRed | Calibre | 1 | 05-10-2013 11:29 PM |