[uf-discuss] proposal: a[rel=~include]

Ryan King ryan at technorati.com
Thu Jul 6 11:13:51 PDT 2006


That subject should have been "proposal: a.include".
That's what I get for trying to be clever.
-ryan
PS. thanks for pointing it out, robert [http://rbach.priv.at/ 
Microformats-IRC/2006-07-06#T181100].
On Jul 5, 2006, at 5:50 PM, Ryan King wrote:
> As many of us already know, browser support for the object element 
> is somewhat annoying and problematic when using the include pattern 
> [1]. When we[2] first brainstormed this idea, we knew that using 
> the object element could get us in trouble.
>> As a result of the problems with using the object element, Yahoo 
> local has removed the include pattern from their implementation of 
> hReview and documented their feedback [4].
>> Now, I'd like to make a proposal- we should relax the include 
> pattern to also be used on anchors, like so (from [1]):
>>> <span class="vcard">
>> <span class="fn n" id="j">
>> <span class="given-name">James</span> <span class="family- 
>> name">Levine</span>
>> </span>
>> </span>
>>>> <span class="vcard">
>> <object data="#j" class="include" type="text/html"></object>
>> This would become:
>> <a href="#j" class="include"></a>
>> (sidenote: I don't think the @type should be required after this 
> change)
>>> <span class="org">SimplyHired</span>
>> <span class="title">Microformat Brainstormer</span>
>> </span>
>> I don't think using anchor tags for this is optimal or pretty, but 
> it has the nice advantage of working well in the real world.
>> As a historical sidenote, I believe I suggested a at href first, then 
> Tantek countered with object at data (note that they occur in this 
> order on [3]).
>> Personally, I think we should prefer the object element, if only 
> for semantic aesthetic reasons (and because browser shortcomings 
> are likely to change and/or go away in the future), but allow for 
> anchor tags to be used in their place.
>> Is there anything I'm missing here? Are there any objections?
>> -ryan
>> 1. http://microformats.org/wiki/include-pattern
> 2. Tantek and I [3].
> 3. http://flickr.com/photos/tantek/87059138/
> 4. http://microformats.org/wiki/include-pattern-feedback
>>> _______________________________________________
> microformats-discuss mailing list
> microformats-discuss at microformats.org
> http://microformats.org/mailman/listinfo/microformats-discuss

--
Ryan King
ryan at technorati.com


More information about the microformats-discuss mailing list

AltStyle によって変換されたページ (->オリジナル) /