Tutorial
- Copy Approriate Sample Publication
(for instance: cp -r lenya/pubs/ethz-mat lenya/pubs/my-pub
)
- Configure sitemap.xmap
(for instance: replace ethz-mat by my-pub)
- Mount sitemap.xmap from the root sitemap.xmap which is located within the lenya directory
<map:match pattern="my-pub/**">
<map:mount uri-prefix="my-pub" src="lenya/pubs/my-pub/sitemap.xmap" check-reload="true" reload-method="synchron"/>
</map:match>
- Set Prefix for Stylesheets: lenya/pubs/my-pub/stylesheets/Configuration/read.xsl
(for instance: replace ethz-mat by my-pub)
- Set Name of Publication: lenya/pubs/my-pub/stylesheets/lenya/conf/conf.xsl
(for instance: replace "Materials Science" by "My Publication")
- Start modifying the XML, XSLT and the various sitemaps
- Create XSLT from HTML with JTidy:
export PATH=/usr/local/jdk1.3.1/bin:$PATH
java -classpath LENYACMS/build/lenya/classes:LENYACMS/build/lenya/webapp/WEB-INF/lib/jtidy-04aug2000r7-dev.jar org.apache.lenya.util.TidyCommandLine