Difference between revisions of "SimpleGraph-CardDAV"

From BITPlan Wiki
Jump to navigation Jump to search
(Created page with "{{SimpleGraphModule |name=CardDAV |logo=File:Farm-Fresh_vcard.png |modulename=carddav |systemname=CarddavSystem |url=https://en.wikipedia.org/wiki/CardDAV |apiname= |apiurl= |...")
 
 
(8 intermediate revisions by the same user not shown)
Line 12: Line 12:
 
|viewmode=hidden
 
|viewmode=hidden
 
}}
 
}}
 +
= Mental Model =
 +
Click on any of the classes to get to the JavaDoc of it
 +
 +
<uml>
 +
  hide circle
 +
  class VCard [[http://mangstadt.github.io/ez-vcard/javadocs/latest/ezvcard/VCard.html]]{
 +
  }
 +
  class VCardProperty [[http://mangstadt.github.io/ez-vcard/javadocs/latest/ezvcard/property/VCardProperty.html]] {
 +
  }
 +
  class VCardParameters [[http://mangstadt.github.io/ez-vcard/javadocs/latest/ezvcard/parameter/VCardParameters.html]]{
 +
  }
 +
  VCard "1" -> "properties n" VCardProperty
 +
  VCardProperty "1" -> "parameters " VCardParameters
 +
</uml>
 +
 +
= Example =
 +
see https://www.w3.org/2002/12/cal/vcard-examples/
 +
== John Doe ==
 +
 +
* [https://www.w3.org/2002/12/cal/vcard-examples/john-doe.vcf John Doe's VCard at www.w3.org]
 +
 +
<source lang='bash'>
 +
BEGIN:VCARD
 +
VERSION:3.0
 +
N:Doe;John;;;
 +
FN:John Doe
 +
ORG:Example.com Inc.;
 +
TITLE:Imaginary test person
 +
EMAIL;type=INTERNET;type=WORK;type=pref:johnDoe@example.org
 +
TEL;type=WORK;type=pref:+1 617 555 1212
 +
TEL;type=WORK:+1 (617) 555-1234
 +
TEL;type=CELL:+1 781 555 1212
 +
TEL;type=HOME:+1 202 555 1212
 +
item1.ADR;type=WORK:;;2 Enterprise Avenue;Worktown;NY;01111;USA
 +
item1.X-ABADR:us
 +
item2.ADR;type=HOME;type=pref:;;3 Acacia Avenue;Hoemtown;MA;02222;USA
 +
item2.X-ABADR:us
 +
NOTE:John Doe has a long and varied history\, being documented on more police files that anyone else. Reports of his death are alas numerous.
 +
item3.URL;type=pref:http\://www.example/com/doe
 +
item3.X-ABLabel:_$!<HomePage>!$_
 +
item4.URL:http\://www.example.com/Joe/foaf.df
 +
item4.X-ABLabel:FOAF
 +
item5.X-ABRELATEDNAMES;type=pref:Jane Doe
 +
item5.X-ABLabel:_$!<Friend>!$_
 +
CATEGORIES:Work,Test group
 +
X-ABUID:5AD380FD-B2DE-4261-BA99-DE1D1DB52FBE\:ABPerson
 +
END:VCARD
 +
</source>

Latest revision as of 09:37, 28 August 2018

Farm-Fresh vcard.png

SimpleGraph CardDAV module

The SimpleGraph CardDAV module makes VCard data available see [ ]. The initial issue is 13

Sources

Mental Model

Click on any of the classes to get to the JavaDoc of it

Example

see https://www.w3.org/2002/12/cal/vcard-examples/

John Doe

BEGIN:VCARD
VERSION:3.0
N:Doe;John;;;
FN:John Doe
ORG:Example.com Inc.;
TITLE:Imaginary test person
EMAIL;type=INTERNET;type=WORK;type=pref:johnDoe@example.org
TEL;type=WORK;type=pref:+1 617 555 1212
TEL;type=WORK:+1 (617) 555-1234
TEL;type=CELL:+1 781 555 1212
TEL;type=HOME:+1 202 555 1212
item1.ADR;type=WORK:;;2 Enterprise Avenue;Worktown;NY;01111;USA
item1.X-ABADR:us
item2.ADR;type=HOME;type=pref:;;3 Acacia Avenue;Hoemtown;MA;02222;USA
item2.X-ABADR:us
NOTE:John Doe has a long and varied history\, being documented on more police files that anyone else. Reports of his death are alas numerous.
item3.URL;type=pref:http\://www.example/com/doe
item3.X-ABLabel:_$!<HomePage>!$_
item4.URL:http\://www.example.com/Joe/foaf.df
item4.X-ABLabel:FOAF
item5.X-ABRELATEDNAMES;type=pref:Jane Doe
item5.X-ABLabel:_$!<Friend>!$_
CATEGORIES:Work,Test group
X-ABUID:5AD380FD-B2DE-4261-BA99-DE1D1DB52FBE\:ABPerson
END:VCARD