harvesterplugins/contacts/data/contactconfig.xml
changeset 26 367228f82b66
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/harvesterplugins/contacts/data/contactconfig.xml	Tue Oct 05 13:32:14 2010 +0530
@@ -0,0 +1,50 @@
+<?xml version="1.0" encoding="utf-8"?>
+<category>
+	<name>Contact</name>
+	<mime>application/contact</mime>
+	<licon>qtg_large_phonebook</licon>
+	<baseapp>root contact</baseapp>
+	<lname>txt_search_list_contatcs</lname>
+	<displayorder>1</displayorder>
+	<exceptionstring>txt_phob_dblist_unnamed</exceptionstring>
+	<tsfile>Z:/resource/qt/translations/contacts_</tsfile>
+	<actionuri>
+		<uri>
+			<uristring></uristring>
+			<lname></lname>
+			<licon></licon>
+			<uriref></uriref>
+			<action></action><!-- primary action or default action. alternatively, we could always use first entry as this one -->
+		</uri>
+	</actionuri>
+  <fieldmap>
+  	<resulthit>
+  		<field>FAMILYNAME</field>
+  		<auri></auri><!-- alternatively <auriorder>1,2,3,4</auriorder> instead of four lines -->
+  	</resulthit>
+  </fieldmap>
+ <indexcontentsize>L</indexcontentsize> <!-- possible values S, M, L, XL, XXL. or scale of 1 to 10. -->
+ <policy>
+ 	<capability>WriteDeviceData<!-- Allow search on my data from clients with only Write Device Data capability it is combination of SID/VID/capability --></capability>
+ </policy>
+ <resultfirstline>
+ 	<list>
+ 	<field>FAMILYNAME</field><!-- commo seperated list, if there is a chance that certain field could be empty -->
+ 	<field>GIVENNAME</field>
+ 	</list>
+ 	</resultfirstline> 
+ <relevancy>
+ 	<boost>
+ 		<field>FAMILYNAME</field>
+ 		<boostvalue>10</boostvalue><!-- on scale 1-10 -->
+ 	</boost>
+ 	<boost>
+ 		<field>COMPANY</field>
+ 		<boostvalue>5</boostvalue>
+  </boost>
+  <boost>
+  	<field>EMAIL</field>
+  	<boostvalue>7</boostvalue>
+  </boost>
+ </relevancy>
+</category>