07-07-2018, 07:19 AM | #1 |
Connoisseur
Posts: 79
Karma: 228
Join Date: Aug 2014
Device: lambda k21
|
Why not a metadata editor sigil-style?
I make and edit epubs with the calibre editor, but when I have to edit metadata I cannot do it into the editor and I have to use sigil.
I think that a metada editor into the calibre editor would be very useful and very appreciated. Aren't you agree, Kovid? ss |
07-07-2018, 08:32 AM | #2 |
creator of calibre
Posts: 43,860
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Because you can edit metadata in calibre, I'm not intereseted in duplicating that functionality in the editor.
|
07-16-2018, 05:52 AM | #3 | |
Connoisseur
Posts: 79
Karma: 228
Join Date: Aug 2014
Device: lambda k21
|
Quote:
Maybe an editor plugin would be useful enough. ss. Last edited by Sam Sahara; 07-16-2018 at 06:06 AM. |
|
07-16-2018, 07:56 AM | #4 |
Grand Sorcerer
Posts: 24,907
Karma: 47303748
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
|
But, that is what the metadata editor is doing. It just isn't doing it directly to the book. It is doing it in the calibre library. Calibre will then update the book with the metadata at various times, some automatically, and some when you trigger it. The ways I can think of are: Embed metadata, Polish books, conversion, Modify ePub plugin, send to device, save to disk and opening the editor. That makes a metadata editor in the editor a lot less necessary than it is in a stand-alone tool like Sigil.
|
07-16-2018, 08:57 AM | #5 | |
Connoisseur
Posts: 79
Karma: 228
Join Date: Aug 2014
Device: lambda k21
|
Quote:
Anyway, I'm not sure to understand: how would you add the following metadata into the .opf file of an epub with the calibre metadata editor? Code:
<!-- Attention to 'opf:role="com"' --> <dc:creator opf:file-as="Dolci, Francesco" opf:role="com">Francesco Dolci</dc:creator> <dc:rights>-SS- luglio 2018</dc:rights> <dc:contributor opf:role="bkp">Created with EBC - the Electric Book Creator by Sasha Pavlowskij</dc:contributor> <meta content="1.0" name="EBC - the Electric Book Creator"/> Last edited by Sam Sahara; 07-16-2018 at 08:59 AM. |
|
07-16-2018, 09:52 AM | #6 | ||
Grand Sorcerer
Posts: 24,907
Karma: 47303748
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
|
Quote:
Quote:
My understanding is that calibre is maintaining most of the Dublin Core metadata entries when it updates the metadata in the books. The dc:rights seems to be the missing entry but that might just be my books. The other two entries are application specific and I wouldn't expect anyone to manually add them. I would suggest doing some experiments to see what happens. Create an empty book, fill in the metadata in calibre and update the book. Then view the OPF and see what you have. |
||
07-16-2018, 10:32 AM | #7 |
Wizard
Posts: 1,161
Karma: 1404241
Join Date: Nov 2010
Location: Germany
Device: Sony PRS-650
|
I can see pro and cons. I use the editor often w/o calibre in direct mode (like Sigil). In this case I sometimes whish to have a simple expandable tool too. On the other hand you can easily use snippets to work around this.
|
07-16-2018, 10:52 AM | #8 | ||||
Connoisseur
Posts: 79
Karma: 228
Join Date: Aug 2014
Device: lambda k21
|
Quote:
Quote:
Quote:
Code:
Term Name: rights URI: http://purl.org/dc/elements/1.1/rights Label: Rights Definition: Information about rights held in and over the resource. Comment: Typically, rights information includes a statement about various property rights associated with the resource, including intellectual property rights. Quote:
ss Last edited by Sam Sahara; 07-16-2018 at 11:00 AM. |
||||
07-16-2018, 11:58 AM | #9 |
creator of calibre
Posts: 43,860
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Simply edit the OPF file directly. calibre is never going to manage all the insanities of EPUB metadata, it is not an EPUB application, but an ebook application.
And just so you know EPUB metadata is not that simple. opf:role was removed from EPUB 3 (see footnote) in favor of an absurdly complicated scheme that was in turn ditched for EPUB 3.1, where they brought back opf:role and as far as I know it is going to change again for EPUB 4. As such I really have no interest in writing a metadata editor for EPUB. * Removal of opf:role in EPUB 3 http://www.idpf.org/epub/30/spec/epu...dcmes-optional * And in EPUB 3.1 they got rid of the refines system entirely, http://www.idpf.org/epub/31/spec/epu...f-meta-refines Last edited by BetterRed; 07-16-2018 at 07:37 PM. Reason: fix url |
07-16-2018, 12:25 PM | #10 | |
Connoisseur
Posts: 79
Karma: 228
Join Date: Aug 2014
Device: lambda k21
|
Good idea.
Quote:
The calibre editor is an EPUB/AZW application. Your intonation is quite aggressive, and it is not the case. Nobody will oblige you to code what you don't want to. ss |
|
07-16-2018, 12:51 PM | #11 |
Wizard
Posts: 1,161
Karma: 1404241
Join Date: Nov 2010
Location: Germany
Device: Sony PRS-650
|
@ Kovid,
regarding idpf.org links. They start to be not reachable anymore. Here you will find some background information: https://www.w3.org/2017/01/pressrele...nation.html.en This should be the adequate link: https://www.w3.org/Submission/ and https://www.w3.org/Submission/2017/S...ages-20170125/ |
07-17-2018, 12:08 AM | #12 | ||
Grand Sorcerer
Posts: 24,907
Karma: 47303748
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
|
Quote:
Code:
Term Name: rights URI: http://purl.org/dc/elements/1.1/rights Label: Rights Definition: Information about rights held in and over the resource. Comment: Typically, rights information includes a statement about various property rights associated with the resource, including intellectual property rights. As I expected and I see it so rarely added I'm not surprised it isn't included by calibre. Quote:
|
||
07-17-2018, 09:25 AM | #13 |
The Fumbler
Posts: 66
Karma: 10
Join Date: Jun 2015
Device: android 4.2/fbreader
|
|
07-18-2018, 10:20 AM | #14 | |
Deviser
Posts: 2,265
Karma: 2090983
Join Date: Aug 2013
Location: Texas
Device: none
|
Introduction to EPUB 4
https://www.edrlab.org/introduction-to-epub-4/
Quote:
|
|
07-19-2018, 03:37 AM | #15 |
Wizard
Posts: 1,161
Karma: 1404241
Join Date: Nov 2010
Location: Germany
Device: Sony PRS-650
|
Le roi est mort, vive le roi...
|
Tags |
editor, metadata editor |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Using Calibre book editor -text style please | C-novice | Editor | 7 | 10-03-2016 10:30 PM |
Sigil 0.9.0 no encoding Ampersands in Metadata Editor | Camelot | Sigil | 2 | 11-28-2015 02:47 PM |
Using Sigil's Metadata Editor to tag ebooks with 'Collection' tags | Afrosheen | Sigil | 17 | 05-14-2013 07:40 AM |
Style Sheet editor? | GraciousMe | Sigil | 6 | 06-04-2012 03:06 PM |
ABBYY questions about the Style Editor | gnarlynewport | Workshop | 1 | 05-07-2011 10:46 AM |