1
0
mirror of https://github.com/owncloudarchive/contacts.git synced 2024-12-01 13:24:10 +01:00
OwncloudContactsOfficial/formats/import_vcard_gmail_connector.xml
2014-09-10 12:29:09 -04:00

138 lines
3.8 KiB
XML

<?xml version='1.0' standalone='yes'?>
<!--
Parameters available
<import_core>
@brief: main parameters
<name></name>
@brief: Internal name
must match the xml file name with the pattern import_<name>_connector.xml
<display_name></display_name>
@brief: Display name
<type></type>
@brief: type (csv,vcard,ldif,...)
<active></active>
@brief: if 0, will not be used
<card_begin value=""/>
@brief: string delimiter to set the begining of a VCard
<card_end value=""/>
@brief: string delimiter to set the end of a VCard
<replace from="" to="" />
@brief: strings to replace in the source card before parsing
</import_core>
</vcard_entry>
</import_entry>
<import_entry name="" position="" enabled="" separator="" remove="">
@brief: vcard property to look for
property: property name
enabled: import_entry used or not
separator: string used to separate multiple values
remove: string to remove in the value
<group_entry property="" value="">
@brief: used to filter property search with group value
<vcard_favourites></vcard_favourites>
@brief: entry value to look for in order to add the current VCard to the Favourites section
<vcard_entry property="" type="" prefix=""/>
@brief: VCard entry to add
property: VCard property name
type: VCard property type
prefix: prefix to add to the value
<additional_property name="" value="" />
@brief: optional parameter to add
name: name of the parameter
value: value of the parameter
</import_entry>
-->
<!--
XML connector for Gmail VCard import
author: Nicolas Mora mail@babelouest.org
-->
<import_entries>
<import_core>
<name>vcard_gmail</name>
<display_name>Gmail VCard</display_name>
<type>vcard</type>
<active>1</active>
<card_begin>BEGIN:VCARD</card_begin>
<card_end>END:VCARD</card_end>
<replace from="\://" to="://" />
</import_core>
<import_entry property="URL" enabled="true">
<group_entry property="X-ABLabel" value="_$!&lt;HomePage&gt;!$_">
</group_entry>
<vcard_entry property="URL" type="HOME">
</vcard_entry>
</import_entry>
<import_entry property="X-GTALK" enabled="true">
<vcard_entry property="IMPP" prefix="xmpp:">
<additional_property name="X-SERVICE-TYPE" value="googletalk" />
</vcard_entry>
</import_entry>
<import_entry property="X-AIM" enabled="true">
<vcard_entry property="IMPP" prefix="aim:">
<additional_property name="X-SERVICE-TYPE" value="aim" />
</vcard_entry>
</import_entry>
<import_entry property="X-YAHOO" enabled="true">
<vcard_entry property="IMPP" prefix="ymsgr:">
<additional_property name="X-SERVICE-TYPE" value="yahoo" />
</vcard_entry>
</import_entry>
<import_entry property="X-SKYPE" enabled="true">
<vcard_entry property="IMPP" prefix="skype:">
<additional_property name="X-SERVICE-TYPE" value="skype" />
</vcard_entry>
</import_entry>
<import_entry property="X-QQ" enabled="true">
<vcard_entry property="IMPP" prefix="x-apple:">
<additional_property name="X-SERVICE-TYPE" value="qq" />
</vcard_entry>
</import_entry>
<import_entry property="X-MSN" enabled="true">
<vcard_entry property="IMPP" prefix="msn:">
<additional_property name="X-SERVICE-TYPE" value="msn" />
</vcard_entry>
</import_entry>
<import_entry property="X-ICQ" enabled="true">
<vcard_entry property="IMPP" prefix="icq:">
<additional_property name="X-SERVICE-TYPE" value="icq" />
</vcard_entry>
</import_entry>
<import_entry property="X-JABBER" enabled="true">
<vcard_entry property="IMPP" prefix="xmpp:">
<additional_property name="X-SERVICE-TYPE" value="jabber" />
</vcard_entry>
</import_entry>
<import_entry property="CATEGORIES" enabled="true" remove="*" separator=",">
<vcard_favourites>Starred</vcard_favourites>
<vcard_entry property="CATEGORIES">
</vcard_entry>
</import_entry>
</import_entries>