Show
Ignore:
Timestamp:
03/07/08 22:32:33 (10 months ago)
Author:
karpet
Message:

new config support

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • libswish3/trunk/bindings/perl/t/t.conf

    r2014 r2045  
    1 <swishconfig> 
    2  <!-- v attr indicates what handler should do with property buffer --> 
    3  <PropertyNames>title</PropertyNames> 
    4  <PropertyNames type="nothing">fooname</PropertyNames> 
    5  <PropertyNames type="numeric">someNum</PropertyNames> 
    6  <PropertyNames type="comparecase">SoMeCaSe</PropertyNames> 
    7  <PropertyNames type="ignorecase">SoMeOTHERCaSe</PropertyNames> 
    8  <PropertyNames type="date">dAte</PropertyNames> 
    9  <PropertyNames type="nostripchars">propWithNewlines</PropertyNames> 
    10  <!-- these are used when buffering and storing properties --> 
    11  <PropertyNamesMaxLength type="1000">fooname</PropertyNamesMaxLength> 
    12  <PropertyNamesSortKeyLength type="100">fooname</PropertyNamesSortKeyLength> 
    13 <!-- every PropertyName must also be listed as a MetaName --> 
    14  <MetaNames>title fooname someNum SoMeCase soMeOTHERCaSe dAte propWithNewlines</MetaNames> 
    15 </swishconfig> 
     1<swish> 
     2 <PropertyNames> 
     3    <title /> 
     4    <foobar /> 
     5    <someNum type="int" /> 
     6    <SoMeCaSe ignore_case="0" /> 
     7    <SoMeOTHERCaSe ignore_case="1" /> 
     8    <dAte type="date" /> 
     9    <propWithNewlines verbatim="1" /> 
     10    <!-- these are used when buffering and storing properties --> 
     11    <fooname max="1000" sort="1" /> 
     12  </PropertyNames> 
     13  <MetaNames> 
     14    <!-- every PropertyName must also be listed as a MetaName --> 
     15    <title /> 
     16    <fooname /> 
     17    <someNum /> 
     18    <SoMeCase /> 
     19    <soMeOTHERCaSe /> 
     20    <dAte /> 
     21    <propWithNewlines /> 
     22  </MetaNames> 
     23</swish> 
    1624