/[swish]/trunk/html/all.xml
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Contents of /trunk/html/all.xml

Parent Directory Parent Directory | Revision Log Revision Log


Revision 80 - (show annotations)
Sat May 22 18:33:33 2004 UTC (16 years, 2 months ago) by dpavlin
File MIME type: text/xml
File size: 2111 byte(s)
major improvement: added <path2title> to configuration so that you can specify
part of path to add prefix (collection title) to results,
code cleanup (removed unused parts of code), specified but non-existant
affix and findaffix files will be skipped

1 <?xml version="1.0" encoding="ISO-8859-1"?>
2 <config
3 max_hits="10"
4 prog="/usr/bin/swish-e"
5 index="/rest/references/swish/index/all"
6 charset="iso-8859-1"
7 title="Search through all references"
8 affix="/usr/lib/ispell/american.aff"
9 url="/references/"
10 >
11 <labels>
12 <label value="10"> 10</label>
13 <label value="100"> 100</label>
14 <label value="0">unlimited</label>
15 </labels>
16 <!-- this is commeted out because you have to enter more paths below
17 for it to actually be usefull; if there isn't paths tags in
18 XML config file, this option won't be shown to users... -->
19 <!--
20 <paths>
21 <path limit="/">all</path>
22 </paths>
23 -->
24 <text>
25 <search>Show </search>
26 <documents> documents on page containing words: </documents>
27 <submit>Search</submit>
28 <limit>Limit this search just to:</limit>
29 <no_spell>don't use alternative spellings</no_spell>
30 <no_properties>don't display results details</no_properties>
31 <hits>Showing %s documents (of maximum %d)... (%s)</hits>
32 <no_hits>Can't find any documents (%s, %s)</no_hits>
33 <pages>Pages:</pages>
34 <footer>Searcher will try to create different variations of words using spelling dictionary. If you enter a word with minus (-) before it, it will exclude documents with this word and plus (+) will do the opposite (e.g. -work +play)</footer>
35 </text>
36 <!-- additional data to show summary -->
37 <properties>swishdescription swishdocsize</properties>
38 <hit><![CDATA[ <a href="%s">%s</a> [%s]<br>
39 <font color=gray size=-2>%s ... <i>%s bytes</i></font><br>
40 ]]></hit>
41 <path2title>
42 <path dir="usenix/login/">USENIX ;login</path>
43 <path dir="merlyn/LinuxMag/">Randal: Linux Magazine</path>
44 <path dir="merlyn/PerlJournal/">Randal: Perl Journal</path>
45 <path dir="merlyn/UnixReview/">Randal: SysAdmin Magazine</path>
46 <path dir="merlyn/WebTechniques/">Randal: WebTechniques Magazine</path>
47 <path dir="tpj/">The Prel Journal</path>
48 <path dir="byte/">BYTE Magazine</path>
49 <path dir="sql_magazine/">SQL Server Magazine</path>
50 <path dir="ora_books/">O'Reilly</path>
51 <path dir="dr_dobbs/journal_14/">DDJ</path>
52 </path2title>
53
54
55
56 </config>

Properties

Name Value
cvs2svn:cvs-rev 1.5

  ViewVC Help
Powered by ViewVC 1.1.26