aboutsummaryrefslogtreecommitdiff
path: root/xml
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org.ua>2007-10-07 23:18:55 +0000
committerSergey Poznyakoff <gray@gnu.org.ua>2007-10-07 23:18:55 +0000
commit9a1fcb367eb404f3dc1206505a614aa8776f4378 (patch)
tree638679e3edc185bf6f823762d7a5f791061792bb /xml
parent7c9849933c4aaa6c1fbf39a489b0459447d11d08 (diff)
downloadellinika-9a1fcb367eb404f3dc1206505a614aa8776f4378.tar.gz
ellinika-9a1fcb367eb404f3dc1206505a614aa8776f4378.tar.bz2
Htdig does not support UTF-8, so drop it and use Google search instead.
Hopefully will switch to Swis once it is mature enough. * graphics/google.png: New file. * xml/uk/ellinika.xml: Remove htdig pages. * xml/ru/ellinika.xml: Likewise * xml/pl/ellinika.xml: Likewise * xml/lingua.conf.in: (SEARCH): Use Google search. git-svn-id: file:///home/puszcza/svnroot/ellinika/trunk@491 941c8c0f-9102-463b-b60b-cd22ce0e6858
Diffstat (limited to 'xml')
-rw-r--r--xml/lingua.conf.in87
-rw-r--r--xml/pl/ellinika.xml23
-rw-r--r--xml/ru/ellinika.xml6
-rw-r--r--xml/uk/ellinika.xml26
4 files changed, 21 insertions, 121 deletions
diff --git a/xml/lingua.conf.in b/xml/lingua.conf.in
index 3569f8a..c376f99 100644
--- a/xml/lingua.conf.in
+++ b/xml/lingua.conf.in
@@ -13,8 +13,19 @@
13 <![CDATA[ 13 <![CDATA[
14 <img src="graphics/audio.png" width="16" height="16" alt="[ sound ]" />]]> 14 <img src="graphics/audio.png" width="16" height="16" alt="[ sound ]" />]]>
15 </SOUNDREF> 15 </SOUNDREF>
16 <SEARCH 16 <SEARCH ARGS="(list (lingua:gettext &quot;Search&quot;))">
17 ADD-INPUTS="config=ellinika.{@LANG},restrict=/{@LANG}/,lang={@LANG}" /> 17 <![CDATA[
18 <form method="get"
19 action="http://www.google.com/custom"
20 enctype="application/x-www-form-urlencoded">
21 ~A <img src="graphics/google.png" alt="[Google]" width="75" height="32" />
22 <input type="text" size="30" maxlength="255" name="q" value="">
23 <input type="hidden" name="cof" value="L:http://ellinika.gnu.org.ua/graphics/parthenon-gnu.png;LW:180;LH:140;T:black;ALC:#ff3300;LC:#000099;BGC:white;AH:left;VLC:#660066;GL:0;" />
24
25 <input type="hidden" id="searchEllinika" name="sitesearch" checked="checked" value="ellinika.gnu.org.ua" />
26 <input type="hidden" name="domains" value="ellinika.gnu.org.ua" />
27 </form>]]>
28 </SEARCH>
18 <GUILE> 29 <GUILE>
19 <![CDATA[ 30 <![CDATA[
20(use-modules (xmltools xmltrans) 31(use-modules (xmltools xmltrans)
@@ -63,78 +74,6 @@
63 (tag attr text) 74 (tag attr text)
64 (list "<div class=\"permanent-article\">" text "</div>")) 75 (list "<div class=\"permanent-article\">" text "</div>"))
65 76
66(xmltrans:end-tag
67 "htdig:nomatch"
68 (tag attr text)
69 (format #f
70"<div class=\"htdig-result-header\">
71~A
72</div>
73
74<div class=\"htdig-result-form\">
75<form method=\"get\" action=\"$(CGI)\">
76<input type=\"hidden\" name=\"exclude\" value=\"$&(EXCLUDE)\">
77~A: $(METHOD)
78~A: $(FORMAT)
79~A: $(SORT)
80<br>
81~A:
82<input type=\"text\" size=\"30\" name=\"words\" value=\"$&(WORDS)\">
83<input type=\"submit\" value=\"~A\">
84~{~A~}
85</form>
86</div>"
87 (lingua:gettext "No matches were found for '$&amp;(LOGICAL_WORDS)'")
88 (lingua:gettext "Match")
89 (lingua:gettext "Format")
90 (lingua:gettext "Sort by")
91 (lingua:gettext "New search")
92 (lingua:gettext "Search")
93 (lingua:expand-additional-inputs
94 (xmltrans:tag-attributes "LINGUA")
95 (lingua:attr "SEARCH" "ADD-INPUTS"))))
96
97(xmltrans:end-tag
98 "htdig:body"
99 (tag attr text)
100 (format #f
101"<div class=\"htdig-result-form\">
102<form method=\"get\" action=\"$(CGI)\">
103<input type=\"hidden\" name=\"exclude\" value=\"$&(EXCLUDE)\">
104~A: $(METHOD)
105~A: $(FORMAT)
106~A: $(SORT)
107<br>
108~A:
109<input type=\"text\" size=\"30\" name=\"words\" value=\"$&(WORDS)\">
110<input type=\"submit\" value=\"~A\">
111~{~A~}
112</form>
113</div>
114
115<div class=\"htdig-result-header\">
116~A
117~A
118</div>
119
120<div class=\"htdig-result-list\">
121$(HTSEARCH_RESULTS)
122$(PAGEHEADER)
123$(PREVPAGE) $(PAGELIST) $(NEXTPAGE)
124</div>"
125 (lingua:gettext "Match")
126 (lingua:gettext "Format")
127 (lingua:gettext "Sort by")
128 (lingua:gettext "New search")
129 (lingua:gettext "Search")
130 (lingua:expand-additional-inputs
131 (xmltrans:tag-attributes "LINGUA")
132 (lingua:attr "SEARCH" "ADD-INPUTS"))
133 (lingua:gettext "Documents $(FIRSTDISPLAYED) - $(LASTDISPLAYED) of $(MATCHES) matches.")
134 (format #f
135 (lingua:gettext "More ~A's indicate a better match.")
136 "<img src=\"/htdig/star.gif\" alt=\"*\">")))
137
138(gamlet:set-handler "INFO" 77(gamlet:set-handler "INFO"
139 (lambda (. args) 78 (lambda (. args)
140 (display "<ul class=\"menu\">") 79 (display "<ul class=\"menu\">")
diff --git a/xml/pl/ellinika.xml b/xml/pl/ellinika.xml
index 3ea0e80..024eba1 100644
--- a/xml/pl/ellinika.xml
+++ b/xml/pl/ellinika.xml
@@ -1,5 +1,5 @@
1<?xml version="1.0" encoding="UTF-8"?> 1<?xml version="1.0" encoding="UTF-8"?>
2<!-- Copyright (C) 2004, 2005, 2006 Sergey Poznyakoff 2<!-- Copyright (C) 2004, 2005, 2006, 2007 Sergey Poznyakoff
3 3
4 Permission is granted to copy, distribute and/or modify this document 4 Permission is granted to copy, distribute and/or modify this document
5 under the terms of the GNU Free Documentation License, Version 1.2 5 under the terms of the GNU Free Documentation License, Version 1.2
@@ -23,16 +23,6 @@
23 <MSGSTR ID="Top of the Page">Początek strony</MSGSTR> 23 <MSGSTR ID="Top of the Page">Początek strony</MSGSTR>
24 <MSGSTR ID="This page in other languages">Ta strona w innych językach</MSGSTR> 24 <MSGSTR ID="This page in other languages">Ta strona w innych językach</MSGSTR>
25 <MSGSTR ID="Search">Szukaj</MSGSTR> 25 <MSGSTR ID="Search">Szukaj</MSGSTR>
26 <MSGSTR ID="Match">Dopasowanie</MSGSTR>
27 <MSGSTR ID="Format">Format</MSGSTR>
28 <MSGSTR ID="Sort by">Sortuj</MSGSTR>
29 <MSGSTR ID="New search">Nowy wzorzec</MSGSTR>
30 <MSGSTR ID="Documents $(FIRSTDISPLAYED) - $(LASTDISPLAYED) of $(MATCHES) matches.">
31 Wyniki $(FIRSTDISPLAYED) - $(LASTDISPLAYED) z $(MATCHES).
32 </MSGSTR>
33 <MSGSTR ID="More ~A's indicate a better match.">
34 Im więcej gwiazdek (~A), tym lepiej pasuje wzorzec.
35 </MSGSTR>
36</LOCALIZATION> 26</LOCALIZATION>
37 27
38<COPYRIGHT> 28<COPYRIGHT>
@@ -45,7 +35,7 @@
45 (lingua:attr "AUTHOR" "CONTACT")) ]]> 35 (lingua:attr "AUTHOR" "CONTACT")) ]]>
46</GUILE> 36</GUILE>
47</PARA> 37</PARA>
48<PARA>Copyright <![CDATA[&copy;]]> 2004, 2005, 2006 Sergey Poznyakoff</PARA> 38<PARA>Copyright <![CDATA[&copy;]]> 2004, 2005, 2006, 2007 Sergey Poznyakoff</PARA>
49<PARA> 39<PARA>
50Verbatim copying and distribution of this entire article are 40Verbatim copying and distribution of this entire article are
51permitted worldwide, without royalty, in any medium, provided 41permitted worldwide, without royalty, in any medium, provided
@@ -129,15 +119,6 @@ this notice is preserved.</PARA>
129<PARA>@@article-date@@</PARA> 119<PARA>@@article-date@@</PARA>
130<news:permanent-article>@@article-text@@</news:permanent-article> 120<news:permanent-article>@@article-text@@</news:permanent-article>
131</PAGE> 121</PAGE>
132
133<PAGE PREFIX="htdig" HIDDEN="1">
134<HEADER>Wyniki wyszukiwania "$&amp;(WORDS)"</HEADER>
135<htdig:body />
136</PAGE>
137<PAGE PREFIX="nomatch" HIDDEN="1">
138<HEADER>Wyniki wyszukiwania "$&amp;(WORDS)"</HEADER>
139<htdig:nomatch />
140</PAGE>
141</GROUP> 122</GROUP>
142 123
143</LINGUA> 124</LINGUA>
diff --git a/xml/ru/ellinika.xml b/xml/ru/ellinika.xml
index dec08b5..c7a3d4f 100644
--- a/xml/ru/ellinika.xml
+++ b/xml/ru/ellinika.xml
@@ -1,5 +1,5 @@
1<?xml version="1.0" encoding="UTF-8"?> 1<?xml version="1.0" encoding="UTF-8"?>
2<!-- Copyright (C) 2004, 2005, 2006 Sergey Poznyakoff 2<!-- Copyright (C) 2004, 2005, 2006, 2007 Sergey Poznyakoff
3 3
4 Permission is granted to copy, distribute and/or modify this document 4 Permission is granted to copy, distribute and/or modify this document
5 under the terms of the GNU Free Documentation License, Version 1.2 5 under the terms of the GNU Free Documentation License, Version 1.2
@@ -22,6 +22,7 @@
22 <MSGSTR ID="Next Page">Следующая страница</MSGSTR> 22 <MSGSTR ID="Next Page">Следующая страница</MSGSTR>
23 <MSGSTR ID="Top of the Page">В начало страницы</MSGSTR> 23 <MSGSTR ID="Top of the Page">В начало страницы</MSGSTR>
24 <MSGSTR ID="This page in other languages">Эта страница на других языках</MSGSTR> 24 <MSGSTR ID="This page in other languages">Эта страница на других языках</MSGSTR>
25 <MSGSTR ID="Search">Поиск</MSGSTR>
25</LOCALIZATION> 26</LOCALIZATION>
26 27
27<COPYRIGHT> 28<COPYRIGHT>
@@ -34,7 +35,7 @@
34 (lingua:attr "AUTHOR" "CONTACT")) ]]> 35 (lingua:attr "AUTHOR" "CONTACT")) ]]>
35</GUILE> 36</GUILE>
36</PARA> 37</PARA>
37<PARA>Copyright <![CDATA[&copy;]]> 2004, 2005, 2006 Sergey Poznyakoff</PARA> 38<PARA>Copyright <![CDATA[&copy;]]> 2004, 2005, 2006, 2007 Sergey Poznyakoff</PARA>
38<PARA> 39<PARA>
39Verbatim copying and distribution of this entire article are 40Verbatim copying and distribution of this entire article are
40permitted worldwide, without royalty, in any medium, provided 41permitted worldwide, without royalty, in any medium, provided
@@ -110,6 +111,7 @@ this notice is preserved.</PARA>
110<PAGE PREFIX="map" HEADER="Карта сайта"> 111<PAGE PREFIX="map" HEADER="Карта сайта">
111{SITEMAP} 112{SITEMAP}
112</PAGE> 113</PAGE>
114<ITEM>SEARCH</ITEM>
113</GROUP> 115</GROUP>
114 116
115<GROUP TITLE="permalink" HIDDEN="1"> 117<GROUP TITLE="permalink" HIDDEN="1">
diff --git a/xml/uk/ellinika.xml b/xml/uk/ellinika.xml
index b44ca1a..464ea35 100644
--- a/xml/uk/ellinika.xml
+++ b/xml/uk/ellinika.xml
@@ -1,5 +1,5 @@
1<?xml version="1.0" encoding="UTF-8"?> 1<?xml version="1.0" encoding="UTF-8"?>
2<!-- Copyright (C) 2004, 2005, 2006 Sergey Poznyakoff 2<!-- Copyright (C) 2004, 2005, 2006, 2007 Sergey Poznyakoff
3 3
4 Permission is granted to copy, distribute and/or modify this document 4 Permission is granted to copy, distribute and/or modify this document
5 under the terms of the GNU Free Documentation License, Version 1.2 5 under the terms of the GNU Free Documentation License, Version 1.2
@@ -23,19 +23,6 @@
23 <MSGSTR ID="Top of the Page">Початок сторінки</MSGSTR> 23 <MSGSTR ID="Top of the Page">Початок сторінки</MSGSTR>