View Single Post
Old 11-12-2023, 12:38 PM   #5
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,741
Karma: 24031403
Join Date: Dec 2010
Device: Kindle PW2
Quote:
Originally Posted by derrickoswald View Post
From the ePub 3.3 specification of metadata contents, the meta element can only have attributes:[...]
Not really, since the specs also mention that the epub3 specs are based on HTML5, and in HTML5, the meta tag may have a name attribute.
Moreover, several of the epub3 sample files endorsed by the EPUB3 Working Group contain <meta name="cover" content="cover"/> entries. For example: Wasteland and Page Blanche

Quote:
Originally Posted by derrickoswald View Post
[...]
Code:
    <dc:creator id="software">Sigil 2.0.1</dc:creator>
    <meta refines="#software" property="role" scheme="marc:relators">oth</meta>
or any other correct syntax?
Even though another well-known epub app does this, technically you can't use <dc:creator> for apps, because that entry should only be used for persons, organizations or services that create documents.

BTW, if you want to find out whether an epub book is valid, simply check it with EPUBCheck.

Quote:
Originally Posted by derrickoswald View Post
[...]but sadly, there is no setmetadataxml() method. Any suggestions?
You're mistaken, there's, of a course, a bk.setmetadataxml() method.
You might want to download the latest version of the Sigil Plugin Framework Guide.
Doitsu is offline   Reply With Quote