/[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

Annotation of /trunk/html/all.xml

Parent Directory Parent Directory | Revision Log Revision Log


Revision 80 - (hide annotations)
Sat May 22 18:33:33 2004 UTC (19 years, 11 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 dpavlin 17 <?xml version="1.0" encoding="ISO-8859-1"?>
2     <config
3 dpavlin 59 max_hits="10"
4 dpavlin 17 prog="/usr/bin/swish-e"
5     index="/rest/references/swish/index/all"
6 dpavlin 18 charset="iso-8859-1"
7 dpavlin 17 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 dpavlin 27 <!-- 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 dpavlin 17 <text>
25 dpavlin 59 <search>Show </search>
26     <documents> documents on page containing words: </documents>
27 dpavlin 17 <submit>Search</submit>
28 dpavlin 27 <limit>Limit this search just to:</limit>
29 dpavlin 17 <no_spell>don't use alternative spellings</no_spell>
30 dpavlin 36 <no_properties>don't display results details</no_properties>
31 dpavlin 17 <hits>Showing %s documents (of maximum %d)... (%s)</hits>
32     <no_hits>Can't find any documents (%s, %s)</no_hits>
33 dpavlin 76 <pages>Pages:</pages>
34 dpavlin 17 <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 dpavlin 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 dpavlin 80 <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 dpavlin 17
54    
55 dpavlin 36
56 dpavlin 17 </config>

Properties

Name Value
cvs2svn:cvs-rev 1.5

  ViewVC Help
Powered by ViewVC 1.1.26