How to add URL to vCard 2.1?

vcf-vcard

Solution

I think you can do it like this:

URL;type=pref:http\://www.example.com

Problem

I am trying to add the website URL to business card.I have created the vCard string and the business card is generating with image. All that is left is the website URL. The string I am generating is : ``` $vcard = 'BEGIN:VCARD VERSION:2.1 N:'.$attendee['name'].' FN:'.$attendee['name'].' ORG:'.$attendee['organization'].' TITLE:'.$attendee['title'].' TEL;WORK;VOICE:'.$attendee['phone'].' EMAIL;PREF;INTERNET:'.$attendee['email'].' PHOTO;ENCODING=BASE64;TYPE=JPG:'.$image.' REV:20080424T195243Z END:VCARD'; ```

Original source