开发者

vCard Microformat on a web page

开发者 https://www.devze.com 2023-01-02 08:39 出处:网络
I\'m trying to use the vCard Microformat standard to provide a VCF export option on a web page, but when I try to export to Outlook 2003, it doesn\'t show the phone numbers at all. Here\'s the vCard c

I'm trying to use the vCard Microformat standard to provide a VCF export option on a web page, but when I try to export to Outlook 2003, it doesn't show the phone numbers at all. Here's the vCard code in the page; is this normal for Outlook to not pull in the phone numbers?

<div id="" class="vcard" style="float:left; display:inline-block;">
 <a class="url fn n" style="color: #EEFDFD; text-decoration:none" href="http://www.unctv.org">
 <span class="given-name"></span>
  <span class="additional-name"></span>
  <span class="family-name"></span>
 </a>
 <div class="org">UNC-TV</div>
 <div class="adr">
  <div class="street-address" style="display:inline">10 T.W. Alexander Drive, P.O. Box 14900</div>,
  <span class="locality">Research Triangle Park</span>, 
  <span class="region">N.C.</span> 
  <span class="postal-code">27709-4900</span>
  <span class="country-name"></span>
 </div>
 <span class="tel">
  (919) 555-7000
 </开发者_高级运维span>, 
 <span class="tel">
  <span class="type">Fax</span> 
    <span class="value">(919) 555-7201</span>
 </span>,
 <a class="email" id="email" style="color: #EEFDFD; text-decoration:none" title="Click to email UNC-TV" href="mailto:some_email@somedomain.com">some_email@somedomain.com</a>
</div>


The Operator plugin, as suggested by cygri, does the job. I'm using both the Tails Export and Operator to show the power of microformats to folks.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号