From 0aaed6f96b856d1181a3cd1f2ef3ea4a91990771 Mon Sep 17 00:00:00 2001 From: Stefano Zacchiroli Date: Wed, 16 Mar 2005 15:56:44 +0000 Subject: [PATCH] generate HTML templates using XSLT starting from a bunch of .src files --- helm/searchEngine/html/Makefile | 7 + helm/searchEngine/html/includes.xsl | 15 + helm/searchEngine/html/index.html | 626 ------------------ helm/searchEngine/html/moogle.html | 183 ++--- helm/searchEngine/html/moogle.html.src | 21 + helm/searchEngine/html/moogle_chat.html | 19 - helm/searchEngine/html/moogle_chat.html.src | 39 ++ helm/searchEngine/html/moogle_form.html.src | 48 ++ helm/searchEngine/html/moogle_header.html.src | 44 ++ .../html/moogle_querybar.html.src | 15 + .../searchEngine/html/moogle_trailer.html.src | 9 + 11 files changed, 293 insertions(+), 733 deletions(-) create mode 100644 helm/searchEngine/html/Makefile create mode 100644 helm/searchEngine/html/includes.xsl delete mode 100644 helm/searchEngine/html/index.html create mode 100644 helm/searchEngine/html/moogle.html.src delete mode 100644 helm/searchEngine/html/moogle_chat.html create mode 100644 helm/searchEngine/html/moogle_chat.html.src create mode 100644 helm/searchEngine/html/moogle_form.html.src create mode 100644 helm/searchEngine/html/moogle_header.html.src create mode 100644 helm/searchEngine/html/moogle_querybar.html.src create mode 100644 helm/searchEngine/html/moogle_trailer.html.src diff --git a/helm/searchEngine/html/Makefile b/helm/searchEngine/html/Makefile new file mode 100644 index 000000000..03a653f93 --- /dev/null +++ b/helm/searchEngine/html/Makefile @@ -0,0 +1,7 @@ +INC_STYLESHEET = includes.xsl +TARGETS = moogle.html moogle_chat.html +all: $(TARGETS) +clean: + rm -f $(TARGETS) +%.html: %.html.src *.src + xsltproc $(INC_STYLESHEET) $< > $@ diff --git a/helm/searchEngine/html/includes.xsl b/helm/searchEngine/html/includes.xsl new file mode 100644 index 000000000..bc2497d23 --- /dev/null +++ b/helm/searchEngine/html/includes.xsl @@ -0,0 +1,15 @@ + + + + + + + + + + + diff --git a/helm/searchEngine/html/index.html b/helm/searchEngine/html/index.html deleted file mode 100644 index fa91efcff..000000000 --- a/helm/searchEngine/html/index.html +++ /dev/null @@ -1,626 +0,0 @@ - - - - - - diff --git a/helm/searchEngine/html/moogle.html b/helm/searchEngine/html/moogle.html index f1ace2df4..d72e43fd0 100644 --- a/helm/searchEngine/html/moogle.html +++ b/helm/searchEngine/html/moogle.html @@ -1,94 +1,101 @@ - -Moogle - + + Moogle + - - - - - - - - - - - - - - -
- -
moogle   - - - - - - -     - - Help
- Input Syntax -
-
-
- - -
- - - - - -
@QUERY_KIND@@QUERY_SUMMARY@
-
-
-
-@RESULTS@ -
- -
- -
+ + + + + + + + + + + + + + +
+ +
moogle   + + + + + + +     + + Help
+ Input Syntax +
+
+
+
+ + + + + +
@QUERY_KIND@@QUERY_SUMMARY@
+

+ +
+ @RESULTS@ +
+ +
Page: @PREV_LINK@ @PAGE@/@PAGES@ @NEXT_LINK@
-
- + - diff --git a/helm/searchEngine/html/moogle.html.src b/helm/searchEngine/html/moogle.html.src new file mode 100644 index 000000000..eca23d339 --- /dev/null +++ b/helm/searchEngine/html/moogle.html.src @@ -0,0 +1,21 @@ + + + + + + + +
+ @RESULTS@ +
+ + + + + diff --git a/helm/searchEngine/html/moogle_chat.html b/helm/searchEngine/html/moogle_chat.html deleted file mode 100644 index 627c625a6..000000000 --- a/helm/searchEngine/html/moogle_chat.html +++ /dev/null @@ -1,19 +0,0 @@ - - - - - - - -

- - - -
-
Andrea Asperti
- - -Last modified: Fri Jun 11 12:47:42 CEST 2004 - - - diff --git a/helm/searchEngine/html/moogle_chat.html.src b/helm/searchEngine/html/moogle_chat.html.src new file mode 100644 index 000000000..1e610b744 --- /dev/null +++ b/helm/searchEngine/html/moogle_chat.html.src @@ -0,0 +1,39 @@ + + + + + + +
+

+ Ambiguous input: @EXPRESSION@ +

+

+ Please choose one of the following interpretations: +

+

+ + + + + + + + @INTERPRETATIONS@ +
+ +
+

+
+
+ +
+ + + diff --git a/helm/searchEngine/html/moogle_form.html.src b/helm/searchEngine/html/moogle_form.html.src new file mode 100644 index 000000000..d98eebfd3 --- /dev/null +++ b/helm/searchEngine/html/moogle_form.html.src @@ -0,0 +1,48 @@ + + + + + + + + + + + + + + + +
+ +
moogle   + + + + + + +     + + Help
+ Input Syntax +
+
+
+
diff --git a/helm/searchEngine/html/moogle_header.html.src b/helm/searchEngine/html/moogle_header.html.src new file mode 100644 index 000000000..2100ca24e --- /dev/null +++ b/helm/searchEngine/html/moogle_header.html.src @@ -0,0 +1,44 @@ + + + + Moogle + + + diff --git a/helm/searchEngine/html/moogle_querybar.html.src b/helm/searchEngine/html/moogle_querybar.html.src new file mode 100644 index 000000000..7a5110abe --- /dev/null +++ b/helm/searchEngine/html/moogle_querybar.html.src @@ -0,0 +1,15 @@ + + +
+ + + + + +
@QUERY_KIND@@QUERY_SUMMARY@
+
+
+
diff --git a/helm/searchEngine/html/moogle_trailer.html.src b/helm/searchEngine/html/moogle_trailer.html.src new file mode 100644 index 000000000..5f067c78a --- /dev/null +++ b/helm/searchEngine/html/moogle_trailer.html.src @@ -0,0 +1,9 @@ + + +
+ Page: @PREV_LINK@ @PAGE@/@PAGES@ @NEXT_LINK@ +
+
-- 2.39.2