Nicola Ken Barozzi wrote:
I would be even more supportive if Lenya and Cocoon adopt the Maven one,
so that we would have a single format for all these projects.
You mean http://maven.apache.org/maven2/site.html ?
And here is how we could do it instead:
<?xml version="1.0" encoding="ISO-8859-1"?>
<project name="Maven">
<body>
<links>
<!-- these are the tabs -->
<item id="apache" name="Apache" href="http://www.apache.org/" />
<item name="Maven 1.0" href="http://maven.apache.org/"/>
</links>
<menu name="Maven 2.0">
<!-- this is the menu -->
<item id="intro" name="Introduction" href="index.html"/>
<item id="download" name="Download" href="download.html"/>
<item name="Road Map" href="roadmap.html" />
</menu>
...
</body>
</project>
that in itself would not be sufficient. i suppose you could do:
<menu name="Maven 2.0">
<!-- this is the menu -->
<item id="intro" name="Introduction" href="index.html"/>
<item id="download" name="Download" href="download/">
<item id="1-4" name="1.4" href="1.4.html">
<item xml:lang="en" id="1-2" name="1.2" href="1.2.en.html">
<item xml:lang="de" id="1-2" name="1.2" href="1.2.de.html">
<item visibleinnav="false" name="Road Map" href="roadmap.html" />
</menu>
in essence, augment the maven format with additional attributes as
required. i suppose maven does not validate site.xml?