Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Sigil

Notices

Reply
 
Thread Tools Search this Thread
Old 12-18-2020, 03:12 PM   #1
elibrarian
Imperfect Perfectionist
elibrarian ought to be getting tired of karma fortunes by now.elibrarian ought to be getting tired of karma fortunes by now.elibrarian ought to be getting tired of karma fortunes by now.elibrarian ought to be getting tired of karma fortunes by now.elibrarian ought to be getting tired of karma fortunes by now.elibrarian ought to be getting tired of karma fortunes by now.elibrarian ought to be getting tired of karma fortunes by now.elibrarian ought to be getting tired of karma fortunes by now.elibrarian ought to be getting tired of karma fortunes by now.elibrarian ought to be getting tired of karma fortunes by now.elibrarian ought to be getting tired of karma fortunes by now.
 
elibrarian's Avatar
 
Posts: 649
Karma: 863576
Join Date: Dec 2011
Location: Ølstykke, Denmark
Device: none
Metadata-editor error?

When using this construction in the .opf:

Code:
<?xml version="1.0" encoding="utf-8"?>
<package version="3.0" unique-identifier="BookId" xml:lang="en" xmlns="http://www.idpf.org/2007/opf" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:dcterms="http://purl.org/dc/terms/">
  <metadata>
    <dc:identifier id="BookId">urn:isbn:9788779797215</dc:identifier>
the metadata editor in Sigil seems to ignore the identifier. If I remove the id="BookId" from the <dc:identifier id="BookId"> the metadata editor will recognise the identifier.

Is this an error? (I think it must be, since the id="whatever"-construction is legal according to the specs.)

Regards,

Kim
elibrarian is offline   Reply With Quote
Old 12-18-2020, 03:48 PM   #2
KevinH
Sigil Developer
KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.
 
Posts: 8,748
Karma: 5706256
Join Date: Nov 2009
Device: many
Unfortunately that was designed behaviour as we did not want metadata editors users to play with any dc:identifier that was designated as the unique identifier of the book because if changed this needs to be properly updated in any ncx uid metadata and can have an impact on font obfuscation.

So the only intended way for users to play around with the book unique dc:identifier was for them to directly edit it in the opf and ncx.

This was all designed and coded up when even epub3's were forced to keep an ncx for epub2 backward compatibility.

I will look into changing this at some future point.



Quote:
Originally Posted by elibrarian View Post
When using this construction in the .opf:

Code:
<?xml version="1.0" encoding="utf-8"?>
<package version="3.0" unique-identifier="BookId" xml:lang="en" xmlns="http://www.idpf.org/2007/opf" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:dcterms="http://purl.org/dc/terms/">
  <metadata>
    <dc:identifier id="BookId">urn:isbn:9788779797215</dc:identifier>
the metadata editor in Sigil seems to ignore the identifier. If I remove the id="BookId" from the <dc:identifier id="BookId"> the metadata editor will recognise the identifier.

Is this an error? (I think it must be, since the id="whatever"-construction is legal according to the specs.)

Regards,

Kim
KevinH is offline   Reply With Quote
Advert
Old 12-18-2020, 03:56 PM   #3
elibrarian
Imperfect Perfectionist
elibrarian ought to be getting tired of karma fortunes by now.elibrarian ought to be getting tired of karma fortunes by now.elibrarian ought to be getting tired of karma fortunes by now.elibrarian ought to be getting tired of karma fortunes by now.elibrarian ought to be getting tired of karma fortunes by now.elibrarian ought to be getting tired of karma fortunes by now.elibrarian ought to be getting tired of karma fortunes by now.elibrarian ought to be getting tired of karma fortunes by now.elibrarian ought to be getting tired of karma fortunes by now.elibrarian ought to be getting tired of karma fortunes by now.elibrarian ought to be getting tired of karma fortunes by now.
 
elibrarian's Avatar
 
Posts: 649
Karma: 863576
Join Date: Dec 2011
Location: Ølstykke, Denmark
Device: none
Quote:
Originally Posted by KevinH View Post
This was all designed and coded up when even epub3's were forced to keep an ncx for epub2 backward compatibility.
Yes, thought it might be an old one. I found it when fiddling with updating some old epub2's to epub3. (I don't use backward compatibility any more. Too limiting in other aspects.)

Quote:
Originally Posted by KevinH View Post
I will look into changing this at some future point.
I shall look forward to that

Regards,

Kim
elibrarian is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Metadata Editor in 0.9.5 MacEachaidh Sigil 20 05-11-2016 11:55 AM
Error in Editor.. samy2 Editor 2 04-05-2014 02:02 AM
Metadata Editor Carly Sigil 3 12-14-2012 04:41 PM
MetaData editor crutledge Sigil 1 09-30-2010 07:53 AM
PDF MetaData editor =X= Sony Reader 9 04-06-2010 10:48 PM


All times are GMT -4. The time now is 06:14 AM.


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