Metas¶
Required Metadatas¶
-
class
epubaker.metas.Identifier(text)¶ identifier
-
id¶ xml attributie: id
-
scheme¶ xml attribute: opf:scheme
-
-
class
epubaker.metas.Language(text)¶ https://tools.ietf.org/html/rfc5646
example: en-US
-
id¶ xml attributie: id
-
Option Metadatas¶
-
class
epubaker.metas.Contributor(text)¶ contributor
-
alt_script¶ xml attribute: opf:alt-script
-
dir¶ “ltr” (left-to-right) or “rtl” (right-to-left)
xml attribute: dir
-
file_as¶ xml attribute: opf:file-as
-
id¶ xml attributie: id
-
lang¶ xml attribute: xml:lang
-
role¶ xml attribute: opf:role
-
-
class
epubaker.metas.Coverage(text)¶ coverage
-
dir¶ “ltr” (left-to-right) or “rtl” (right-to-left)
xml attribute: dir
-
lang¶ xml attribute: xml:lang
-
-
class
epubaker.metas.Creator(text)¶ creator
-
alt_script¶ xml attribute: opf:alt-script
-
dir¶ “ltr” (left-to-right) or “rtl” (right-to-left)
xml attribute: dir
-
file_as¶ xml attribute: opf:file-as
-
id¶ xml attributie: id
-
lang¶ xml attribute: xml:lang
-
role¶ xml attribute: opf:role
-
-
class
epubaker.metas.Description(text)¶ description
-
dir¶ “ltr” (left-to-right) or “rtl” (right-to-left)
xml attribute: dir
-
id¶ xml attributie: id
-
lang¶ xml attribute: xml:lang
-
-
class
epubaker.metas.Publisher(text)¶ publisher
-
alt_script¶ xml attribute: opf:alt-script
-
dir¶ “ltr” (left-to-right) or “rtl” (right-to-left)
xml attribute: dir
-
file_as¶ xml attribute: opf:file-as
-
id¶ xml attributie: id
-
lang¶ xml attribute: xml:lang
-
-
class
epubaker.metas.Relation(text)¶ relation
-
dir¶ “ltr” (left-to-right) or “rtl” (right-to-left)
xml attribute: dir
-
id¶ xml attributie: id
-
lang¶ xml attribute: xml:lang
-
-
class
epubaker.metas.Rights(text)¶ rights
-
dir¶ “ltr” (left-to-right) or “rtl” (right-to-left)
xml attribute: dir
-
id¶ xml attributie: id
-
lang¶ xml attribute: xml:lang
-
Only for Epub3¶
-
epubaker.metas.get_dcterm(name)¶ get a term class by term name
-
class
epubaker.metas.Meta3(property_, text)¶ meta for Epub3.metadata
-
alt_script¶ xml attribute: opf:alt-script
-
dir¶ “ltr” (left-to-right) or “rtl” (right-to-left)
xml attribute: dir
-
file_as¶ xml attribute: opf:file-as
-
id¶ xml attributie: id
-
lang¶ xml attribute: xml:lang
-
property¶ xml attribute: property
-
scheme¶ xml attribute: opf:scheme
-