vCard PHP - A vCard Address Book
Download the latest release from
Scroll down to the Latest File Releases section and select the Download link.
What it does
Parses and prints an address book file consisting of one or more vCards.
Supports both the vCard version 2.1 and 3.0 syntax.
Supports the CATEGORIES
property and provides filtering using the cat query parameter.
Provides an internal stylesheet or allows an external stylesheet to be specified
using the style query parameter.
What it does not do
Property groups such as A.N.
Binary encoded data such as images.
For example, the date syntax of the BDAY
property is not checked.
http://host/path/vbook.php?file=filename&title=title&style=stylesheet&cat=cat1,cat2,... | *&hide=hide list
[defaults shown in brackets]
- Specifies the file or URL to parse.
If this is not specified, then nothing is displayed allowing the
vbook.php file to be included in another page and the
print_vcard_address_book function to be called programatically.
- The title at the top of the page. [filename]
- The stylesheet. [style.css]
- A comma delimited list of categories to show. [All]
- This has the same effect as cat=All but the categories are listed
individually instead of just the string 'All' being displayed.
This feature can be used to determine all of the categories in the file.
- hide=hide list
- A comma delimited list of properties or types to hide. The list items are
case insensitive. For example, to hide the NOTE property and any HOME information
for all properties, set the list to note,home.