[uf-discuss] Avoiding duplicating org info in cards
David Thompson
microformats at fatbusinessman.com
Tue Jun 26 01:46:25 PDT 2007
Stephanie Hobson wrote:
> Hi all,
Hi Stephanie,
> I am hoping to convert a few of my clients contact pages into
> microformats soon and I have been searching for a way to avoid
> duplicating the organization's contact information (which is listed at
> the top of the page) in the vcard (hcard?) of every person on the
> page.
>
> I remember hearing about a way using object tags on the list a few
> weeks ago but my searches of the archives and the wiki have been
> fruitless. If someone could point me in the right direction, or
> better yet provide an example (I find the wiki a little hard to read)
> I would be grateful!
The include pattern[1] is what you're looking for. That particular page
appears to be quite nicely padded out with examples, which should
hopefully make things pretty clear: failing that, I'm sure one of the
more experienced list members should be able to explain things more
clearly than I can.
> Also, since I'm asking n00b questions: What is the difference between
> vcard and hcard and what is the proper use of each? Am I marking up
> my websites with vcards or hcards?
vCard[2] is a file format for exchanging contact information; hCard[3]
is a mapping of this format onto class names in HTML/XHTML/XML.
Therefore you are marking up your websites with hCards.
Hope that helps,
[1]: http://microformats.org/wiki/include-pattern
[2]: http://en.wikipedia.org/wiki/VCard
[3]: http://microformats.org/wiki/hcard
--
David Thompson
More information about the microformats-discuss
mailing list