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 followsfrom xpyth.xierpa.builders.xierpabuilder import XierpaBuilder XierpaBuilder(e, result).simplesite()
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
