[uf-discuss] "type" subproperty in the hCard logo property?

Costello, Roger L. costello at mitre.org
Fri Nov 3 08:17:34 PST 2006


Thanks Brian.  No, I don't have an example of where the type
subproperty is needed.  In fact, like you, I saw no need for it with
hCard (although I can see the need in vcard, where the logo can be
expressed directly in the vcard as base64).  Perhaps there should be a
mention on the hCard page that logo does not have a type subproperty?

/Roger 

-----Original Message-----
From: microformats-discuss-bounces at microformats.org
[mailto:microformats-discuss-bounces at microformats.org] On Behalf Of
Brian Suda
Sent: Friday, November 03, 2006 11:07 AM
To: Microformats Discuss
Subject: Re: [uf-discuss] "type" subproperty in the hCard logo
property?

from RFC 2426 3.5.3 LOGO Type Definition:

Type special notes: The type can include the type parameter "TYPE" to
   specify the graphic image format type. The TYPE parameter values
MUST
   be one of the IANA registered image formats or a non-standard image
   format.

because the <img> element doesn't really allow you to nest child
elements, and since the type attribute is really on available on the
'a' element. There is no way to really encode the value. I'm not sure
exact what purpose it serves in a vCard application anyway.

(i think) X2V will automatically extract the TYPE property from the
@src string if possible.

Do you have an example of a place you think you NEED a type defined on
an image?

-brian

On 11/3/06, Costello, Roger L. <costello at mitre.org> wrote:
> Hi Folks,
>
> The vcard specification says that the logo property may have a type
> subproperty to indicate the format of the logo image (e.g., gif,
jpeg).
> However, as I look at the hCard specification it does not show the
logo
> property as having a type subproperty.  Is that a typo?
>
> /Roger
>
> _______________________________________________
> microformats-discuss mailing list
> microformats-discuss at microformats.org
> http://microformats.org/mailman/listinfo/microformats-discuss
>


-- 
brian suda
http://suda.co.uk
_______________________________________________
microformats-discuss mailing list
microformats-discuss at microformats.org
http://microformats.org/mailman/listinfo/microformats-discuss



More information about the microformats-discuss mailing list