1
0
mirror of https://github.com/owncloudarchive/contacts.git synced 2024-12-04 15:24:35 +01:00
OwncloudContactsOfficial/formats/import_vcard_standard_connector.xml

78 lines
1.9 KiB
XML
Raw Normal View History

<?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_standard</name>
<display_name>Standard VCard</display_name>
<type>vcard</type>
<active>1</active>
<card_begin>BEGIN:VCARD</card_begin>
<card_end>END:VCARD</card_end>
<replace from="http\://" to="http://" />
<replace from="https\://" to="https://" />
</import_core>
</import_entries>