The architecture of the Deep Space 6 Website

Mauro Tortonesi

Deep Space 6

Simone Piunno

Deep Space 6

Abstract

In this article we will show you the architecture of the Deep Space 6 Website. Our purpose is to explain you how to help us working on our site.


Table of Contents

1. The XML architecture of our website: an overview
2. Start working on the site
References

1. The XML architecture of our website: an overview

The architecture of the Deep Space 6 website is rather simple. All the pages are written in XML: the main page and most of the sections pages are written in a custom XML flavour, while the articles are written in standard DocBook-XML - but we want to port all the site to DocBook-XML. From these XML documents, we generate the (X)HTML pages which are then published on our website. We also generate the PDF version of the most interesting articles.

The generation process of the (X)HTML pages is based on the XSL transformation of XML pages, with our customized XSL stylesheets. We make use of two XML+XSL parsers: sablotron and xstlproc (a program included in the libxslt package). Sablotron is used for the pages which are written in our custom XML flavour and xstlproc for the DocBook-XML pages. The whole (X)HTML generation process is automated by the use of Makefiles.

An XSL transformation with Sablotron.

An XSL transformation with Sablotron.

An XSL transformation with XSLTProc.

An XSL transformation with XSLTProc.

2. Start working on the site

DeepSpace6 website open contribution is no longer availble.

References


PDFUpdated 09.06.2018Contribute | DeepSpace6