Documentation for the BAD Engine

XML Files

For each before and after page there is an XML file which is constructed in the following way:

<annotations>
	<annotation id="01">
		<title><![CDATA[
			Text
		]]></title>
		<desc><![CDATA[
			Text
		]]></desc>
		<linkplace>prev_sib|parent_node</linkplace>
		<style><![CDATA[
			CSS
		]]></style>
		<guideline id="ID">
			<title><![CDATA[
				Text
			]]></title>
			<desc><![CDATA[
				Text
			]]></desc>
			<link>URL</link>
		</guideline>
	</annotation>
</annotations>

Elements:

PHP marker

There are two markers which can be attached directly to the HTML code. Example:

<div id="header"<?php GAp(true);?>>
	<img src="…" alt="Citylights: your access to the city."><?php GA('01'); ?>
	<img src="…" alt="Sunny Spells">