Re: Geavanceerd zoeken met Filters oa Nieuw binnen
Geplaatst: 20 feb 2011, 19:17
Hier nog de betekenis van de verschillende waardes, deze zijn afgeleid van ftd
http://www.ftd4linux.nl/wiki/index.php/ConsolePostHowto
je kunt ook een filter maken wat naar een specifieke post zoekt en daarbij de cams etc uitsluit. Bijvoorbeeld.
<Filter Name="Zoek naar iets 1" Margin="0,0,0,0"><![CDATA[ ( Title LIKE '*hier de naam waarnaar je zoekt*' ) AND ( Cat='0' AND ( ( ( SCat = '3' ) OR ( SCat = '10' ) ) AND ( ( Tags LIKE '*b3|*' ) OR ( Tags LIKE '*b7|*' ) ) AND ( ( Tags LIKE '*c0|*' ) OR ( Tags LIKE '*c3|*' ) OR ( Tags LIKE *c4|*' ) OR ( Tags LIKE '*c7|*' ) OR ( Tags LIKE '*c1|*' ) OR ( Tags LIKE '*c2|*' ) OR ( Tags LIKE '*c6|*' ) OR ( Tags LIKE '*c10|*' ) OR ( Tags LIKE '*c11|*' ) ) AND ( ( Tags LIKE '*d0|*' ) OR ( Tags LIKE '*d29|*' ) OR ( Tags LIKE '*d2|*' ) OR ( Tags LIKE '*d28|*' ) OR ( Tags LIKE '*d1|*' ) OR ( Tags LIKE '*d3|*' ) OR ( Tags LIKE '*d32|*' ) OR ( Tags LIKE '*d30|*' ) OR ( Tags LIKE '*d31|*' ) OR ( Tags LIKE '*d6|*' ) OR ( Tags LIKE '*d7|*' ) OR ( Tags LIKE '*d8|*' ) OR ( Tags LIKE '*d9|*' ) OR ( Tags LIKE '*d10|*' ) OR ( Tags LIKE '*d12|*' ) OR ( Tags LIKE '*d33|*' ) OR ( Tags LIKE '*d4|*' ) OR ( Tags LIKE '*d19|*' ) OR ( Tags LIKE '*d5|*' ) OR ( Tags LIKE '*d13|*' ) OR ( Tags LIKE '*d14|*' ) OR ( Tags LIKE '*d15|*' ) OR ( Tags LIKE '*d21|*' ) OR ( Tags LIKE '*d16|*' ) OR ( Tags LIKE '*d17|*' ) OR ( Tags LIKE '*d18|*' ) OR ( Tags LIKE '*d20|*' ) OR ( Tags LIKE '*d11|*' ) OR ( Tags LIKE '*d22|*' ) ) ) ) ]]></Filter>
dat geeft een meer afgebakend resultaat vergeleken met
<Filter Name="Test 2" Margin="0,0,0,0"><![CDATA[ ( Title LIKE '*faster*' ) ]]></Filter>
http://www.ftd4linux.nl/wiki/index.php/ConsolePostHowto
je kunt ook een filter maken wat naar een specifieke post zoekt en daarbij de cams etc uitsluit. Bijvoorbeeld.
<Filter Name="Zoek naar iets 1" Margin="0,0,0,0"><![CDATA[ ( Title LIKE '*hier de naam waarnaar je zoekt*' ) AND ( Cat='0' AND ( ( ( SCat = '3' ) OR ( SCat = '10' ) ) AND ( ( Tags LIKE '*b3|*' ) OR ( Tags LIKE '*b7|*' ) ) AND ( ( Tags LIKE '*c0|*' ) OR ( Tags LIKE '*c3|*' ) OR ( Tags LIKE *c4|*' ) OR ( Tags LIKE '*c7|*' ) OR ( Tags LIKE '*c1|*' ) OR ( Tags LIKE '*c2|*' ) OR ( Tags LIKE '*c6|*' ) OR ( Tags LIKE '*c10|*' ) OR ( Tags LIKE '*c11|*' ) ) AND ( ( Tags LIKE '*d0|*' ) OR ( Tags LIKE '*d29|*' ) OR ( Tags LIKE '*d2|*' ) OR ( Tags LIKE '*d28|*' ) OR ( Tags LIKE '*d1|*' ) OR ( Tags LIKE '*d3|*' ) OR ( Tags LIKE '*d32|*' ) OR ( Tags LIKE '*d30|*' ) OR ( Tags LIKE '*d31|*' ) OR ( Tags LIKE '*d6|*' ) OR ( Tags LIKE '*d7|*' ) OR ( Tags LIKE '*d8|*' ) OR ( Tags LIKE '*d9|*' ) OR ( Tags LIKE '*d10|*' ) OR ( Tags LIKE '*d12|*' ) OR ( Tags LIKE '*d33|*' ) OR ( Tags LIKE '*d4|*' ) OR ( Tags LIKE '*d19|*' ) OR ( Tags LIKE '*d5|*' ) OR ( Tags LIKE '*d13|*' ) OR ( Tags LIKE '*d14|*' ) OR ( Tags LIKE '*d15|*' ) OR ( Tags LIKE '*d21|*' ) OR ( Tags LIKE '*d16|*' ) OR ( Tags LIKE '*d17|*' ) OR ( Tags LIKE '*d18|*' ) OR ( Tags LIKE '*d20|*' ) OR ( Tags LIKE '*d11|*' ) OR ( Tags LIKE '*d22|*' ) ) ) ) ]]></Filter>
dat geeft een meer afgebakend resultaat vergeleken met
<Filter Name="Test 2" Margin="0,0,0,0"><![CDATA[ ( Title LIKE '*faster*' ) ]]></Filter>