[uf-discuss] General vcard help
John M. Dlugosz
hevv9sktcu at snkmail.com
Tue Mar 29 09:26:23 PST 2011
On 3/29/2011 12:08 PM, Martin McEvoy martin-at-weborganics.co.uk |Microformats
dicsussion/Allow to home| wrote:
> you could also take a look at
> http://microformats.org/wiki/value-class-pattern#Using_value-title_to_publish_machine-data
>
> If you are worried about making your data look "nice" eg:
>
> <dl class="vcard">
> <dt>PHONE</dt>
> <dd class="tel">
> <span class="type"><span class="value-title" title="work">
> </span></span>
> <span class="value">+1 800-818-5336</span>
> </dd>
>
> <dt>FAX</dt>
> <dd class="tel">
> <span class="type"><span class="value-title" title="fax"> </span></span>
> <span class="value">+1 214-295-9491</span>
> </dd>
> </dl>
>
> of course the above is a lot more verbose than your original example ...
> but the data you are publishing will look "nice" to a machine too ;)
>
> Best wishes ans welcome John
>
> Martin McEvoy.
>
Ah, I think value-type is exactly what I was looking for: be able to put the keyword in an
attribute instead of the element's text content.
More information about the microformats-discuss
mailing list