Questions tagged [hcard]

hCard is a microformat for publishing the contact details (which might be no more than the name) of people, companies, organizations, and places, in (X)HTML, Atom, RSS, or arbitrary XML. The hCard microformat does this using a 1:1 representation of vCard (RFC 2426) properties and values, identified using HTML classes and rel attributes.

hCard is a microformat for publishing the contact details which might be no more than the name of people, companies, organizations, and places, in (X)HTML, Atom, RSS, or arbitrary XML. The hCard microformat does this using a 1:1 representation of vCard (RFC 2426) properties and values, identified using HTML classes and rel attributes.

For more info:

hCard 1.0 http://microformats.org/wiki/hcard

Microformats2 h-card http://microformats.org/wiki/h-card

25 questions
5
votes
1 answer

HTML form autocomplete address semantics

I am working on a registration form that requires home and work addresses upon submitting. The fields are as follows:
G4Hu
  • 338
  • 1
  • 3
  • 18
5
votes
2 answers

Do search engines read hCard Microformat data, or should I use Schema.org as well?

At the bottom of my site I have a contact link which has hCard Microformat data attached to it. The data has the name, org, role, url, and email. Should I also have a Schema.org type here for search engines, or will they read the hCard data and get…
Ian
  • 5,704
  • 6
  • 40
  • 72
4
votes
2 answers

Microformats Semantics Questions

I'm trying to get into adding microformats to my site, but I'm still confused about a couple of things. Do microformats always have to be within an hcard or vcard element? Can I have multiple hcards on one page? Can I have non-microformat content…
kmgdev
  • 2,607
  • 28
  • 41
4
votes
2 answers

Which 'contact information' format has the broadest support for mobile phone QR code scanners?

vCard? mecard? hCard? Is there a de facto standard at this point? I've never personally owned a 'smartphone' -- is there a format that's supported 'out-of-the-box' for either iphone, android or blackberry? edit: found this discussion from last …
Greg
  • 7,782
  • 7
  • 43
  • 69
3
votes
1 answer

Is it possible to include more than one link tag in an HTML document with the same rel="..." value?

I am using the default wordpress theme (twentyseventee) and I see that the header includes the following: I would like to also use the hCard microformat to describe my info (photo, name, email,…
Alexis Wilke
  • 19,179
  • 10
  • 84
  • 156
3
votes
7 answers

Address book DB schema

I need to store contact information for users. I want to present this data on the page as an hCard and downloadable as a vCard. I'd also like to be able to search the database by phone number, email, etc. What do you think is the best way to store…
palmsey
  • 5,812
  • 3
  • 37
  • 41
3
votes
2 answers

Usage of
tag in HTML: copyright or webmaster?

On the footer of my client’s website I have his address and copyright notice, and under there is the address of the webmaster. With both I will use the hCard microformat. With which of them I should use the
tag?
xbb
  • 31
  • 1
  • 3
2
votes
0 answers

library for clientside vcard creation

I would like my site visitors to be able to create a vCard, with all supported properties, notes, and some custom properties. Similar to what this website called vacrdmaker offers. I have found a php library for codeigniter, and and old standalone…
newnomad
  • 1,055
  • 3
  • 11
  • 15
1
vote
2 answers

Get an article's title/author/date info with Javascript

I'm trying to build a bookmarklet that will get the current page/article's author and date information, for referencing purposes. I know that I can get the Page title and url with document.title and document.URL but I'm drawing a blank when it comes…
1
vote
2 answers

aria-label, h-card, or both?

Do I need aria-label attributes when I'm using h-card (this is for company contact information in a page footer)?
Example…</div>
        <div class=
thebjorn
  • 26,297
  • 11
  • 96
  • 138
1
vote
1 answer

hCard: listing contact form as email property

Is it possible to include an email in the hCard micro-format by linking to an contact form, instead of directly listing the email-address? I would prefer this because of spam concerns.
alexandere
  • 83
  • 1
  • 5
1
vote
2 answers
1
vote
2 answers

How to hCard company information?

I'm tying to markup some content semantically. The content is company information, which may have multiple addresses, multiple phone numbers, multiple email addresses. The hCard generators that I see seems to expect a person's details (e.g. first…
StackOverflowNewbie
  • 39,403
  • 111
  • 277
  • 441
1
vote
1 answer

Does hCard understand encodings?

I'm using the Operator extension to firefox. When I go to http://microformats.org/wiki/hcard (which is encoded as utf-8) and try to export the hCard for Tantek Çelik (at the top) to Outlook, it comes through as Tantek Çelik. Does anyone know if…
thebjorn
  • 26,297
  • 11
  • 96
  • 138
0
votes
1 answer

Google Rich Snippets warnings for hCard

I get the following errors from the Google Rich Snippet Tool for my website http://iancrowther.co.uk/ hcard Warning: This information will not appear as a rich snippet in search results results, because it seems to describe an organization.…
iancrowther
  • 5,143
  • 4
  • 25
  • 25
1
2