aboutsummaryrefslogtreecommitdiff
path: root/xml
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org.ua>2006-10-08 21:41:59 +0000
committerSergey Poznyakoff <gray@gnu.org.ua>2006-10-08 21:41:59 +0000
commit139d4c177be102895960d45360bf5c185b72ac17 (patch)
tree816709ab83a51b94f38a5120fa9a4de1595b572d /xml
parent3bac1bc6312395e44925eee099d7c2f57977adaf (diff)
downloadellinika-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.in14
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
@@ -1,11 +1,13 @@
<?xml version="1.0" encoding="UTF-8"?>
<CONFIG>
<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=" />
<DIRECTORY OUT="=OUTDIR=" />
<DIRECTORY TARGET="=TARGET_DIR=" />
<DIRECTORY SOUND="/sound" />
+
+ <DICT PROG="dict.=SCRIPT_SUFFIX=" />
<BASE HREF="=BASE_HREF=" />
<SOUNDREF>
<![CDATA[
@@ -18,6 +20,16 @@
(xmltrans lingua)
(xmltools dict))
+(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
"KATHAREVUSA"
(tag attr text)

Return to:

Send suggestions and report system problems to the System administrator.