<?xml version="1.0"?>
<comic name="Thalion Dynasty">
<-- base directories. these are automatically prepended to the given
links -->
<base name="comic" path="/"/>
<base name="nav" path="/images/"/>
<-- navigation tools. you can use textual, graphical and some others -->
<nav id="prev" titleimg="back.gif" title="bleedin' one before this one"/>
<nav id="next" titleimg="next.gif" title="whatever bloody page is after this"/>
<nav id="first" title="back to the start of this 'ole mess"/>
<nav id="last" title="'e bloody end, already"/>
<-- the contents of the book are defined here. -->
<-- the book can be divided into multiple sections (chapters?) -->
<section titleimg="book1.gif" titlesmall="book1_small.gif"
title="Book 1 - The Dawning" path="Book1/">
<page titleimg="one.gif" src="1-1.JPG" small="page1_small.jpg"
title="Page 1" date="February 2002"/>
<page titleimg="two.gif" src="1-2.JPG" small="page2_small.jpg"
title="Page 2" date="March 10, 2002"/>
</section>
</comic>
Named directions that can be used when specifying pages relative to the current page:
%PAGE%
%PAGE-SMALL%
%URL%
%NAV-direction%
%NAV-PREV% or %NAV-FIRST%. A list of valid directions.
%URL-direction%
%URL-PREV% or %URL-FIRST%
%LINK-direction%
%LINK-NEXT% or %LINK-LAST%
%LINKREL%
%LIST-PAGES:tag%
%LIST-PAGES:li%
could put:
<li><a href="comicview.pl?page=0;section=1">Page 1</a></li> <li><a href="comicview.pl?page=1;section=1">Page 2</a></li> <li><a href="comicview.pl?page=2;section=1">Page 3</a></li>
%LIST-SECTIONS:tag%
%LIST-PAGES%
%SECTION-TITLE%
%SECTION-TITLE-IMG:attributes%
%TITLE%
%TITLE-IMG%
%DATE%