[uf-discuss] LinkedIn and Microformats
Tantek Ç elik
tantek at cs.stanford.edu
Tue Jun 13 15:14:26 PDT 2006
We *do* have an hCard profile with URI, thanks to DanC:
http://www.w3.org/2006/03/hcard
But even without that, it is not unreasonable to assume that class="vcard"
is an hCard.
Just as it is not unreasonable (as in they all do it) for a browser to
assume that <html> is an HTML document even if there is no DOCTYPE that
points to a DTD URL which defines the element <html> as such.
We'll get to the point in a few years where more folks are using profiles,
but for now, microformats are like the early days of HTML where no one
bothered to use DTDs. Be patient, we'll get there.
Thanks,
Tantek
On 6/13/06 2:53 PM, "brian suda" <brian.suda at gmail.com> wrote:
> The only exception, would be if we have an hCard profile. Then if they
> explicitly used that profile, then you should assume that any
> class="vcard" is not just a CSS property, but instead a microformat.
> Without that profile, you can't do that.
>
> -brian
>
> Chris Casciano wrote:
>>
>> On Jun 13, 2006, at 5:18 PM, David Janes -- BlogMatrix wrote:
>>
>>> I was going to report the happy news that LinkedIn [1] is using
>>> hCards, as my little Greasemonkey script was showing an icon on the
>>> page. Alas, it's not to be -- here's what they're doing:
>>>
>>> <p
>>> class="vcard"><a
>>> href="/addressBookExport?exportMemberVCard=&memberID=6172221"
>>> name="_exportVCard">Download vCard</a></p>
>>>
>>> D'oh -- they're using "vcard" to mark that there's, umm, a vcard at
>>> the other end of the link. If anyone knows anyone at LinkedIn, you
>>> may want to give them a nudge.
>>>
>>> Regards, etc...
>>> David
>>>
>>> [1] http://www.linkedin.com/
>>
>> And?
>>
>> I guess it doesn't hurt to give them a nudge and let them know that
>> the class they're using triggers the script in your browser making you
>> think something is there that is not, but do microformats own the
>> strings used in various classes and other attributes?
>>
>> If was a web developer that new nothing of microformats something like
>> the above would certainly make plenty of sense.
>>
>> Sounds like just a typical gotcha when you're doing this kind of thing
>> (writing MF consumers that is).
>>
>
> _______________________________________________
> microformats-discuss mailing list
> microformats-discuss at microformats.org
> http://microformats.org/mailman/listinfo/microformats-discuss
More information about the microformats-discuss
mailing list