#microformats 2017-08-31
2017-08-31 UTC
vivus joined the channel
#
vivus Hello all
KartikPrabhu joined the channel
#
KartikPrabhu hi vivus

#
vivus How are you? KartikPrabhu
#
KartikPrabhu very well thanks!

#
KartikPrabhu what brings you to the #microformats channel

#
vivus KartikPrabhu: I am curious to know if the hcard creator supports social-media accounts? I see Jabber and other older formats, but no FB, twitter, etc.
#
KartikPrabhu what's the link to the hcard creator you are using

#
KartikPrabhu vivus: you can use the same format as the AIM screenname

#
vivus KartikPrabhu: and it is possible to convert the hcard to a vcard and import/export it to android/ios/mobile devices?
#
KartikPrabhu vivus: it should e possible see http://microformats.org/wiki/hcard#Examples but I don't know of any ready-to-use code since hcard itself has been superseded by h-card in microformats2

#
vivus KartikPrabhu: sorry, I have been referring to h-card
#
KartikPrabhu vivus: again same answer, I don't know of any ready-to-use code for that but it should be possible

#
vivus is this something similar: https://github.com/avibrazil/digital-business-card ?
#
KartikPrabhu yes it does look similar except it seems to be using the microformats1 hCard markup

#
vivus and it is recommended to use mf2 ?
#
KartikPrabhu yes, though most available parsers try to be backwards-compatible with mf1 markup

#
gRegorLove http://h2vx.com/ supports converting hCard to vcard

#
gRegorLove Not aware of a version that does that for microformats2 h-card variant, though.

#
KartikPrabhu thanks gRegorLove

#
vivus so the purpose of h-cards/v-cards is to make it possible to extract/manage contacts between apps/devices, etc. ?
#
KartikPrabhu vivus: in general it is to share data about people. it could be contact info for apps or author info for blogposts etc...

#
vivus Is this the only standard or are there other competing/similar standards?
#
KartikPrabhu i am sure there are many "standards"

#
vivus I only found h-card so far. would be keen to know/learn if there are other formats out there
#
KartikPrabhu vivus: you could look at RDF and microdata

#
KartikPrabhu there probably are many in JSON

#
vivus KartikPrabhu: is v-card supported across many devices?
#
KartikPrabhu if you mean phones then I have no idea

#
vivus Maybe I should specify if it is supported across apps. thunderbird, gmail, etc. ?
#
KartikPrabhu i think thunderbird supports vCard in the ".vcf" format

#
KartikPrabhu gmail probably does too

#
vivus what benefit would there be to using h-card/v-card over hCard/vCard?
#
KartikPrabhu to be clear there is no "v-card". microformats2 "h-card" is an update to the "hCard" format to use inside HTML

#
vivus KartikPrabhu: and you say that h-card is backwards compatible with hCard?
#
gRegorLove Yeah, most email clients and address books should support vcard.

#
gRegorLove microformats2 is easier for both publishers and developers

#
KartikPrabhu vivus: microformats2 parsers will parse both h-card and hCard

#
vivus awesome. so I could use h-card, generate the cards. then use a h2v converter and it should work
#
gRegorLove So one advantage of marking up already-visible contact information that appears in HTML with h-card is that it's DRY. Computers can parse out the information and do what they want with it, whether that's making a vcard or something else.

#
KartikPrabhu vivus: I think gRegorLove pointed out that the h2v converter uses the older hCard format

#
gRegorLove vivus: Here is an hCard (classic microformats) run through an mf2 parser: http://pin13.net/mf2/?id=20170831005541766

#
gRegorLove Then here is an h-card of the same information (microformats2) run through the mf2 parser. Same result, easier HTML to author: http://pin13.net/mf2/?id=20170831005642800

#
gRegorLove Here's a third variant. For the best compatibility with parsers and consuming services, you can use both mf2 and mf1: http://pin13.net/mf2/?id=20170831010033859 Same parsed result, and services like h2vx.com will still be able to parse the mf1.

#
vivus gRegorLove: what is mf2 and mf1?
#
KartikPrabhu vivus: mf1 = microformats1 and mf2 = microformats2

#
KartikPrabhu mf1 is the older standard with hCard and mf2 has the newer h-card

#
vivus oh that flew over my head, sorry
#
KartikPrabhu no worries

[miklb] joined the channel
#
gRegorLove More info here: http://microformats.org/wiki/microformats2 Sorry for the confusing lingo :)

KartikPrabhu, tantek, nitot, barpthewire, [kevinmarks], dgold, [pfefferle], nitot_, [keithjgrant], vivus, [cleverdevil], [manton], [miklb], sebsel and cheim_ joined the channel