[uf-discuss] hCalendar anchors...

Benjamin Carlyle benjamincarlyle at optusnet.com.au
Mon Jan 16 13:04:37 PST 2006


On Sun, 2006-01-15 at 10:03 -0600, brian suda wrote:
> In your examples, i think you are confusing two things:
> 1) The general rule you proposed is not true, it depends on two things,
> first the TYPE of tag, behavior varies when it is an ABBR, A, IMG,
> OBJECT, etc. The second issues is that depending on the class value
> different areas are looked too for the TEXT.
> 
> so when we have class="url" AND it is an 'A' element it looks to the
> HREF, if it were an 'IMG' element with a class="url" it would look to
> the 'SRC' attribute. (i'm not sure if all of this is documented on the
> wiki or not?) The hCard parsing page[1] has many of the rules for hCard
> which are the same as hCalendar.

http://microformats.org/wiki/hcard-parsing#parsing_hCard_properties_and_values

I believe this is supposed to be a general parsing ruleset across
microformats, however presumably individual microformats could define
special rules for special circumstances.

-- 
Benjamin Carlyle <benjamincarlyle at optusnet.com.au>



More information about the microformats-discuss mailing list