关于vcard的格式 w3c 起草了文案 地址http://www.w3.org/TR/vcard-rdf/

 

摘录一些选项

 

 

Previous Ontology

Equivalent (Current Ontology)

VCard (Class)

Kind

BBS (Class)

NOTE: This concept has been deprecated

Car (Class)

NOTE: This concept has been deprecated

Dom (Class)

NOTE: This concept has been deprecated

Email (Class)

NOTE: This concept has been deprecated

ISDN (Class)

NOTE: This concept has been deprecated

Internet (Class)

NOTE: This concept has been deprecated

Intl (Class)

NOTE: This concept has been deprecated

Label (Class)

NOTE: This concept has been deprecated

Modem (Class)

NOTE: This concept has been deprecated

Msg (Class)

NOTE: This concept has been deprecated

PCS (Class)

NOTE: This concept has been deprecated

Parcel (Class)

NOTE: This concept has been deprecated

Postal (Class)

NOTE: This concept has been deprecated

Pref (Class)

NOTE: This concept has been deprecated

Tel (Class)

NOTE: This concept has been deprecated

X400 (Class)

NOTE: This concept has been deprecated

adr (object property)

hasAddress

email (object property)

hasEmail

geo (object property)

hasGeo

key (object property)

hasKey

logo (object property)

hasLogo

n (object property)

hasName

org (object property)

organization-name

photo (object property)

hasPhoto

sound (object property)

hasSound

tel (object property)

hasTelephone

url (object property)

hasURL

agent (object property)

NOTE: This concept has been deprecated

class (data property)

NOTE: This concept has been deprecated

extended-address (data property)

NOTE: This concept has been deprecated

label (data property)

NOTE: This concept has been deprecated

latitude (data property)

NOTE: This concept has been deprecated

longitude (data property)

NOTE: This concept has been deprecated

mailer (data property)

NOTE: This concept has been deprecated

post-office-box (data property)

NOTE: This concept has been deprecated



二维码生成规则:

BEGIN:VCARD
FN:姓
N:名
NICKNAME:小名
TITLE:职位
ORG:公司(部门)
TEL;CELL:手机
LOGO:http://www.baidu.com/img/bd_logo.png
PHOTO:http://www.baidu.com/img/bd_logo.png
TEL;WORK:电话
TEL;WORK;FAX:传真
ADR;WORK:地址
URL:网址
EMAIL;WORK:邮箱
NOTE:备注
END:VCARD

只需要把上面的字符串转化为qrcode,手机就能识别电子名片了。注意 每个参数后面是 带有 \r\n