The first function that is calles is main(), and after finishing it, the program is exited with exit.
main() - In main the function read_config() is called for getting the configuration data and afterwards the SPIP core function create_spip() is called.
read_config() - reads the SPIP configuration file config.spip in the working directory with XML::Simple into an internal hash structure.
create_spip() - This is the core function of SPIP. It calls all the other functions to create the page data of all pages and then writes the HTML files.
create_css() - Creates with HTML::Template and the template spip_css.tmpl the css file spip.css for the presentation.
create_title() - Creates with HTML::Template and the template spip_title.tmpl the start and title page index.html of the presentation.
work_on_sheets() - Reading all the sheets (with read_sheet()) and create an array with the pages.
read_sheet() - reads one SPIP sheet file with XML::Simple into an internal structure.
split_the_breaks() - Splits the pages at the {{{BREAK}}} signs.
create_navigation() - Creates the page navigation of all pages and the content of the contents page.
create_contents() - Creates with HTML::Template and the template spip_contents.tmpl the contents file contents.html of the presentation.
create_sheet() - Creates with HTML::Template and the template spip_sheet.tmpl one page of the presentation.
color_read() - Reads a Color Code file and translates it into HTML/CSS.