From: Luca Padovani Date: Wed, 13 Feb 2002 02:34:44 +0000 (+0000) Subject: - added common stylesheet X-Git-Tag: V_0_3_0_debian_8~341 X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=commitdiff_plain;h=8b27edce3f78c9a0922e9a3a22fd1639c78e64fc;p=helm.git - added common stylesheet - preliminary support for news - modified menu - simplified makefile --- diff --git a/helm/mowgli/home/html/.cvsignore b/helm/mowgli/home/html/.cvsignore index f0808a004..1ea3c06ca 100644 --- a/helm/mowgli/home/html/.cvsignore +++ b/helm/mowgli/home/html/.cvsignore @@ -3,3 +3,4 @@ index.html menu.html consortium.html project.html +news.html diff --git a/helm/mowgli/home/html/Makefile b/helm/mowgli/home/html/Makefile index 0d514f07d..0537f51d1 100644 --- a/helm/mowgli/home/html/Makefile +++ b/helm/mowgli/home/html/Makefile @@ -1,9 +1,13 @@ TEMPLATESROOT = ../templates XMLROOT = ../xml XSLROOT = ../xsl -DOCUMENTS = home.html index.html menu.html \ +DOCUMENTS = \ + index.html \ + home.html \ + menu.html \ consortium.html \ project.html \ + news.html \ sites/aei.html \ sites/bologna.html \ sites/dfki.html \ @@ -55,6 +59,7 @@ DOCUMENTS = home.html index.html menu.html \ publications/others/tcs2001_og.html \ publications/others/tphols2000_gwz.html \ publications/others/tphols2001_apss.html \ + work-packages/index.html \ work-packages/distribution.html \ work-packages/information-dissemination-and-exploitation.html \ work-packages/interfaces.html \ @@ -67,38 +72,48 @@ DOCUMENTS = home.html index.html menu.html \ all: $(DOCUMENTS) home.html: $(TEMPLATESROOT)/home.html - cp $(TEMPLATESROOT)/home.html . + cp $< $@ index.html: $(TEMPLATESROOT)/index.html - cp $(TEMPLATESROOT)/index.html . + cp $< $@ menu.html: $(TEMPLATESROOT)/menu.html - cp $(TEMPLATESROOT)/menu.html . + sed s/\@DATE\@/"`date`"/ $< >$@ consortium.html: $(XMLROOT)/consortium.xml \ $(XSLROOT)/consortium.xsl - xsltproc -o $@ $(XSLROOT)/consortium.xsl $(XMLROOT)/consortium.xml + xsltproc -o $@ $(XSLROOT)/consortium.xsl $< project.html: $(XMLROOT)/project.xml \ $(XSLROOT)/project.xsl - xsltproc -o $@ $(XSLROOT)/project.xsl $(XMLROOT)/project.xml + xsltproc -o $@ $(XSLROOT)/project.xsl $< -sites/%.html: $(XMLROOT)/$(@:%.html=%.xml) \ +news.html: $(XMLROOT)/news.xml \ + $(XSLROOT)/news.xsl + xsltproc -o $@ $(XSLROOT)/news.xsl $< + +sites/%.html: $(XMLROOT)/sites/%.xml \ $(XSLROOT)/site.xsl - xsltproc -o $@ $(XSLROOT)/site.xsl $(XMLROOT)/$(@:%.html=%.xml) + xsltproc -o $@ $(XSLROOT)/site.xsl $< -people/%.html: $(XMLROOT)/$(@:%.html=%.xml) \ +people/%.html: $(XMLROOT)/people/%.xml \ $(XSLROOT)/person.xsl - xsltproc -o $@ $(XSLROOT)/person.xsl $(XMLROOT)/$(@:%.html=%.xml) + xsltproc -o $@ $(XSLROOT)/person.xsl $< -publications/%.html: $(XMLROOT)/$(@:%.html=%.xml) \ +publications/%.html: $(XMLROOT)/publications/%.xml \ $(XSLROOT)/publication.xsl - xsltproc -o $@ $(XSLROOT)/publication.xsl $(XMLROOT)/$(@:%.html=%.xml) + xsltproc -o $@ $(XSLROOT)/publication.xsl $< -work-packages/%.html: $(XMLROOT)/$(@:%.html=%.xml) \ +work-packages/index.html: $(TEMPLATESROOT)/work-packages/index.html + cp $< $@ + +work-packages/%.html: $(XMLROOT)/work-packages/%.xml \ $(XSLROOT)/work-package.xsl - xsltproc -o $@ $(XSLROOT)/work-package.xsl $(XMLROOT)/$(@:%.html=%.xml) + xsltproc -o $@ $(XSLROOT)/work-package.xsl $< clean: rm -f $(DOCUMENTS) .PHONY: clean + +$(XSLROOT)/%.xsl : $(XSLROOT)/common.xsl + diff --git a/helm/mowgli/home/templates/index.html b/helm/mowgli/home/templates/index.html index 89df5e643..30a32119c 100644 --- a/helm/mowgli/home/templates/index.html +++ b/helm/mowgli/home/templates/index.html @@ -10,8 +10,8 @@ - - + + diff --git a/helm/mowgli/home/templates/menu.html b/helm/mowgli/home/templates/menu.html index 894dc63e6..7a04a4303 100644 --- a/helm/mowgli/home/templates/menu.html +++ b/helm/mowgli/home/templates/menu.html @@ -20,13 +20,15 @@ - - - - - - - + + + + + + + + +
Members
Documentation
Software (CVS)
Bibliography
Events
News Archive
Members Area
Home
Consortium
Work Packages
Publications
Bibliography
Events
News Archive
Members Area
Software (CVS)
@@ -36,13 +38,14 @@ - - - - + + + +
HELM
MathML
OpenMath
OmDOC
HELM
MathML
OpenMath
OmDOC
+ + About
- - - + + + + + +
Contact: asperti@cs.unibo.it
Webmaster: mowgli-webmaster@cs.unibo.it
Last Updated: January 18, 2002
Contact:
asperti@cs.unibo.it
Webmaster:
mowgli-webmaster@cs.unibo.it
Last Update:
@DATE@
diff --git a/helm/mowgli/home/templates/work-packages/index.html b/helm/mowgli/home/templates/work-packages/index.html new file mode 100644 index 000000000..199ead8db --- /dev/null +++ b/helm/mowgli/home/templates/work-packages/index.html @@ -0,0 +1,30 @@ + + + + + + Work Packages + + + + + + +
+

Work Packages

+ + +
+ + + diff --git a/helm/mowgli/home/xml/news.xml b/helm/mowgli/home/xml/news.xml new file mode 100644 index 000000000..455f8c289 --- /dev/null +++ b/helm/mowgli/home/xml/news.xml @@ -0,0 +1,28 @@ + + + + +]> + + + + + February 12, 2002 + + Site moved into CVS. XSLT stylesheets are used to generate + HTML pages from XML sources. + + Claudio Sacerdoti Coen + + + + January 19, 2002 + + First Web pages created. + + Luca Padovani + + + + diff --git a/helm/mowgli/home/xsl/common.xsl b/helm/mowgli/home/xsl/common.xsl new file mode 100644 index 000000000..c4f0d3a44 --- /dev/null +++ b/helm/mowgli/home/xsl/common.xsl @@ -0,0 +1,25 @@ + + + + + + +
+
+ + +
+
+ This page is hosted by the + Department of Computer Science, + University of Bologna +
+
+ +
+ diff --git a/helm/mowgli/home/xsl/consortium.xsl b/helm/mowgli/home/xsl/consortium.xsl index 09ee0d8d4..81327d141 100644 --- a/helm/mowgli/home/xsl/consortium.xsl +++ b/helm/mowgli/home/xsl/consortium.xsl @@ -3,6 +3,8 @@ + + diff --git a/helm/mowgli/home/xsl/news.xsl b/helm/mowgli/home/xsl/news.xsl new file mode 100644 index 000000000..d14069f62 --- /dev/null +++ b/helm/mowgli/home/xsl/news.xsl @@ -0,0 +1,51 @@ + + + + + + + + + + + + News Archive + + + + +
+ +

News Archive

+
+ +
+ +
+ + +
+ + +
+ + + + + + + +
+
+ + +

+
+
+
+
+
+
+ +
diff --git a/helm/mowgli/home/xsl/person.xsl b/helm/mowgli/home/xsl/person.xsl index 8323ecf0e..1942a977c 100644 --- a/helm/mowgli/home/xsl/person.xsl +++ b/helm/mowgli/home/xsl/person.xsl @@ -3,6 +3,8 @@ + + diff --git a/helm/mowgli/home/xsl/project.xsl b/helm/mowgli/home/xsl/project.xsl index ba1f7a9bd..5e93d5765 100644 --- a/helm/mowgli/home/xsl/project.xsl +++ b/helm/mowgli/home/xsl/project.xsl @@ -3,6 +3,8 @@ + + diff --git a/helm/mowgli/home/xsl/publication.xsl b/helm/mowgli/home/xsl/publication.xsl index 49a9b7b17..2c9903cb7 100644 --- a/helm/mowgli/home/xsl/publication.xsl +++ b/helm/mowgli/home/xsl/publication.xsl @@ -3,6 +3,8 @@ + + diff --git a/helm/mowgli/home/xsl/site.xsl b/helm/mowgli/home/xsl/site.xsl index df3ce1d0d..f7568a823 100644 --- a/helm/mowgli/home/xsl/site.xsl +++ b/helm/mowgli/home/xsl/site.xsl @@ -1,7 +1,10 @@ + + + diff --git a/helm/mowgli/home/xsl/work-package.xsl b/helm/mowgli/home/xsl/work-package.xsl index 62231d7b8..b6bc9347f 100644 --- a/helm/mowgli/home/xsl/work-package.xsl +++ b/helm/mowgli/home/xsl/work-package.xsl @@ -3,6 +3,8 @@ + +