Following describes Advanced Comic Book Format specifications. Current released version is 1.0, proposed changes for version 1.1 are highlighted./new in 1.1/
Meta-data section in ACBF XML structure contains <book-info>, <publish-info> and <document-info> sections, which describe book metadata (such as title, author, genre ...), publishing information (publisher, publish date ...) and acbf document metadata (creator, date of creation, document version ...).
Book-info section Edit
This section describes elements and their attributes present inside the <book-info> section.
<book-info> <author>...</author> <book-title>...</book-title> <genre>...</genre> <annotation>...</annotation> <keywords></keywords> <coverpage>...</coverpage> <languages>...</languages> <sequence>...</sequence> <databaseref>...</databaseref> <content-rating>...</content-rating> </book-info>
Defines author of particular comic book.
Occurence: mandatory, can occur more than once in case there are more authors of particular comic book.
It has an optional attribute activity, which defines activity that particular author carried out on the comic book. Following is a list of allowed values:
- Writer (story was written by)
- Adapter (in case the comic book story is adaptation of story written by someone else)
- Artist (art was drawn by)
- Penciller (penciller, inker, colorist and leterrer attribute value may be used in case art was created in collaboration by a group of different artists)
- Letterer (in case texts are handwritten)
- CoverArtist (created comic book cover)
- Photographer /new in 1.1/
- Assistant Editor /new in 1.1/
- Other /new in 1.1/
Another optional attribute lang defines the language into which particular author (translator) translated the comic book. It may be used in element describing writer, letterer as well.
This element has 6 child elements: <first-name>, <middle-name>, <last-name>, <nickname>, <home-page> and <email>. Author element must contain either <first-name> and <last-name> or just <nickname>. Other elements are in both allowed cases optional.
<author activity=“Writer“> <first-name>...</first-name> <middle-name>...</middle-name> <last-name>...</last-name> <nickname>...</nickname> <home-page>...</home-page> <email>...</email> </author>
Contains title of the comic book. Has one optional attribute lang.
Occurence: mandatory, can occur multiple times (with different lang attribute)
Comic book genre.
Occurence: mandatory, can occur more than once
Optional attribute match defines the match percentage to that particular genre.
<genre match=“70“>science_fiction</genre> <genre match=“30“>humor</genre>
Following is the list of comic book genres defined by ACBF:
- military (war ...)
- superhero (e.g. Superman, Spiderman … or Super Villains)
- history (historical comics)
- biography (biographical comics)
- education (education and science)
- computer (computers related)
- alternative (abstract, underground ...)
List of (main) characters that appear in the comic book.
Contains one or more child elements called <name>
<characters> <name>...</name> </characters>
Annotation or short summary describing the comic book.
Occurence: mandatory, occurs at least once (once per each language used).
It has one optional attribute lang, which defines language in which the annotation is written.
It contains one mandatory child paragraph element, that can occur more than once inside this element.
<annotation lang=“en“> <p>...</p> </annotation>
Keywords regarding this comic book intended for use by search engines. It is supposed to be a comma delimited list.
Can have one optional attribute lang to define language in which the keywords are.
Comic book cover.
Has one mandatory child element <image> which references binary image. For detailed description of href attribute see <image> element description in body section.
Text layers, frames and jump objects can be defined on coverpage as well /new in 1.1/. For detailed description see description of <text-layer>, <frame>, <jump> elements in Body Section Definition.
<coverpage> <image href="#cover.jpg"/> <frame points="0,0 388,0 388,155 0,155"/> <frame points="0,144 388,144 388,600 0,600"/> </coverpage>
Lists all text layers which are used in particular ACBF document inside document body. One ACBF document can contain more text layers with different translations.
Contains at least one <text-layer> element.
<languages> <text-layer lang=“en“ show=“False“/> </languages>
Defines a text-layer that is present in the ACBF document.
Text-layer element has one mandatory attribute lang which defines the language used in particular text-layer. This attribute is unique identificator of that text-layer and matches related <text-layer> elements from <body> section.
Text-layer element has one optional attribute called show which defines if particular text-layer is drawn over the background image. Available values are either True or False (default is True). If show attribute is defined as False text-layer is not drawn over the background image but particular <text-area> may be shown to the user when requested. This is useful when background image contains lettering but in particular cases on smaller displays some texts would not be readable. In those cases viewer application can display those texts after some user interaction (e.g. clicking on particular text-area pop ups the dialog window with the text message).
Contains the sequence and number if particular comic book is part of a series.
Occurence: optional, can occur more than once in case particular comic book is part of more series.
It has one mandatory attribute title which is a title of the whole comic book serie part of which is this particular comic book. Optional attribute volume /new in 1.1/ may define volume number into which particular comic book belongs.
<sequence title=“All time Greatest Comics“ volume=“1“>1</sequence>
Contains reference to a record in a comic book database (such as for example Grand Comics Database).
Occurance: optional, can occur more than once
It has one mandatory attribute dbname. There si no definitive list of allowed values for this attribute but it is recommended that viewer software recognizes „GCD“ as Grand Comics Database.
Apart from mandatory dbname, there's optional attribute type, which defines the reference type, e.g. URL, IssueID, SeriesID ...
Actual element value may be a URL, ID etc. pointing to a particular comic book, issue or series.
<databaseref dbname=“GCD“ type=“IssueID“>276799</databaseref>
Content-rating /new in 1.1/ Edit
Contains rating of the content of comic book, with regard to appropriateness for different age groups.
Occurance: optional, can occur more than once
It has one optional attribute type, which defines the rating system.
<content-rating type=“Marvel Rating System“>T+</content-rating>
Publish-Info Section Edit
This section describes elements and their attributes present inside the <publish-info> section.
<publish-info> <publisher>...</publisher> <publish-date>...</publish-date> <city>...</city> <isbn>...</isbn> <license>...</license> </publish-info>
Name of the publisher.
Date when the comic book was published.
Has one optional attribute value, which contains computer readable variant of the date in the ISO form YYYY-MM-DD.
<publish-date value=“2010-12-01“>December 1st 2010</publish-date>
City where this particular comic book was published.
International Standard Book Number
License under which particular ACBF document is published.
Occurence: optional, when no license specified common copyright applies.
<license>Creative Commons Attribution 3.0 Unported License</license>
Document-Info Section Edit
This section describes elements and their attributes present inside the <document-info> section.
<document-info> <author>...</author> <creation-date>...</creation-date> <source>...</source> <id>...</id> <version>...</version> <history>..</history> </document-info>
Defines author/creator of particular document in ACBF format. For more details see Author definition in Book-Info section. It is of the same type.
Occurence: mandatory, can occur more than once in case there are more authors.
Date when this particular document was created. It is of the same type as publish-date from publish-info section.
Document source, if this comic book is a derivate of or based on an existing comic book either in electronic format or published on paper. May contain URL or some other source description. Has one child element p, which defines individual paragraphs.
<source> <p>...</p> </source>
Unique Document ID. Used for distinctly define ACBF documents for cataloguing purposes.
Contains document history.
Has one child element p, which defines individual paragraphs.
<history> <p>v 1.0 – Initial Conversion</p> <p>v 1.1 – Corrected frames on page 3</p> </history>