diff options
-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 @@ -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) |