diff options
author | Sergey Poznyakoff <gray@gnu.org.ua> | 2006-10-08 21:41:59 +0000 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org.ua> | 2006-10-08 21:41:59 +0000 |
commit | 139d4c177be102895960d45360bf5c185b72ac17 (patch) | |
tree | 816709ab83a51b94f38a5120fa9a4de1595b572d /xml | |
parent | 3bac1bc6312395e44925eee099d7c2f57977adaf (diff) | |
download | ellinika-139d4c177be102895960d45360bf5c185b72ac17.tar.gz ellinika-139d4c177be102895960d45360bf5c185b72ac17.tar.bz2 |
(DIRECTORY CGIBIN): Configurable
(DICT): New element
(install-nea): New macro
git-svn-id: file:///home/puszcza/svnroot/ellinika/trunk@465 941c8c0f-9102-463b-b60b-cd22ce0e6858
Diffstat (limited to 'xml')
-rw-r--r-- | xml/lingua.conf.in | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/xml/lingua.conf.in b/xml/lingua.conf.in index e5c1eea..41ed693 100644 --- a/xml/lingua.conf.in +++ b/xml/lingua.conf.in @@ -3,3 +3,3 @@ <LOGO SRC="graphics/parthenon-gnu.png" ALT=" [A GNU in front of the Parthenon] " /> - <DIRECTORY CGIBIN="/cgi-bin" /> + <DIRECTORY CGIBIN="=SCRIPT_DIR=" /> <DIRECTORY TMP="=TMPDIR=" /> @@ -8,2 +8,4 @@ <DIRECTORY SOUND="/sound" /> + + <DICT PROG="dict.=SCRIPT_SUFFIX=" /> <BASE HREF="=BASE_HREF=" /> @@ -20,2 +22,12 @@ +(define-macro (install-nea) + `(use-modules (xmltrans lingua) + (xmltools dict)) + (letrec ((nea (lambda (. args) + (string-append + (lingua:get-cgi-bin) + "/nea.=SCRIPT_SUFFIX=?LANG=" + (lingua:LANG args))))) + (xmltrans:set-attr "LINGUA" "NEA" nea))) + (xmltrans:end-tag |