root/libswish3/trunk/src/example/swish.xml

Revision 2098, 0.8 kB (checked in by karpet, 5 months ago)

fix long-standing mem leak with stdin parsing

Line 
1 <!-- swish.xml example header file -->
2 <swish>
3   <FollowSymLinks>yes</FollowSymLinks>
4  
5   <MetaNames>
6    <foo bias="+10" />
7    <bar bias="-5" />
8    <title bias="+50" alias_for="swishtitle" />
9    <other>color size weight</other>
10    <MixEDcASE>UPPERCASE</MixEDcASE>
11   </MetaNames>
12  
13   <PropertyNames>
14    <foo type="text" ignore_case="1" />
15    <bar type="int" />
16    <lastmod type="date" />
17    <bing ignore_case="0" />
18    <description verbatim="1" max="10000" alias_for="swishdescription" />
19    <notsorted sort="0" />
20    <myaliased>somealias someotheralias</myaliased>
21    <UPPERCASE alias_for="MiXeDCaSE" />
22    <mixedcase type="text" />
23   </PropertyNames>
24
25   <MIME>
26    <au>foo/bar</au>
27   </MIME>
28  
29   <Parsers>
30    <XML>text/foo</XML>
31    <HTML>foo/bar 1234/5678</HTML>
32    <TXT>text/flop default</TXT>
33   </Parsers>
34
35   <Tokenize>1</Tokenize>
36 </swish>
37
Note: See TracBrowser for help on using the browser.