Welcome to Xierpa. This is the stable 1.2 version which was developed by Petr van Blokland + Claudia Mens (buro@petr.com) and is maintained by Michiel Kauw-A-Tjoe. It is subclassed by the Museum Meermanno and American Express applications.

Starting in Xierpa

A simple website

For the sake for a quick-and-dirty solution to create a site, there is a single tag that does all the work. It is implemented as a temporarily solution (don't make any assumptions that the layout of the generated pages remains the same in the future) for automatic page layout. The coding for a complete site is as follows
from xpyth.xierpa.builders.xierpabuilder import XierpaBuilder

XierpaBuilder(e, result).simplesite()
Example 2

Link here to the example of the simple site.

The simplesite tag assumes modules in the ./_m directory. The content of the directory is used for the automatic navigation of the pages.
An example of the XML module page1.xml
<?xml version="1.0" encoding="UTF-8"?>
<module>>
<head>This is page page1.xml</head>
Lorem ipsum dolor sit amet, consectetur adipisicing elit, 
sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.<para/>
Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi 
ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit 
in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur 
sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt 
mollit anim id est laborum.
<ruler/>
<calendarmonth/>
<ruler/>
</module>

Go to the next step on complexity