您可以使用hCard 微格式来标记您网站上的 vCard 数据,例如
<div class="vcard">
<address class="adr author">
<span class="type hide">work</span>
<span class="fn">John Doe</span>
<span class="role">Webdeveloper</span>
<span class="street-address">Fooway 1</span>
<span class="postal-code">1234 </span> <span class="locality">N.Y.</span>
<span class="hide country-name">USA</span>
</address>
<div>
<span class="tel">
<span class="type">Tel</span>
<span class="value">0800-1234567</span>
</span>
<span class="tel">
<span class="type">Fax</span>
<span class="value">0800-7654321</span>
</span>
<a class="email" href="mailto:jd@example.com">Mail Me</a>
<span class="url">http://www.example.com</span>
</div>
<div class="hcard-export">
<a href="http://h2vx.com/vcf/http://www.stb-rueter.de/">
<img src="/images//icons/hcard.png" alt="hCard Microformat" />
<span>Download vCard</span>
</a>
</div>
然后添加一个链接以通过http://h2vx.com/vcf进行转换。该服务将解析您告诉它的 URL,以查找站点上的任何 hCard,将它们转换为 vCard,然后提供下载。