[uf-discuss] Plazes & Microformats

Ryan King ryan at technorati.com
Wed Apr 19 14:32:01 PDT 2006


On Apr 19, 2006, at 2:13 PM, Scott Reynen wrote:
> On Apr 19, 2006, at 3:45 PM, Ryan King wrote:
>> On Apr 19, 2006, at 12:58 PM, Scott Reynen wrote:
>>> On Apr 19, 2006, at 2:23 PM, Ryan King wrote:
>>>
>>>> That's right. The reason you can't collapse a 'vcard' class name  
>>>> and its 'fn' class name is that it makes putting a 'vcard' class  
>>>> name inside another one becomes ambiguous.
>>>
>>> I've seen this explanation a few times, and I've never personally  
>>> found the separation of vcard and fn to be a problem, but I don't  
>>> understand the explanation.
>>
>> An illustration, from earlier in this thread:
>
> I don't think you understood my question.  You've repeated the  
> answer I said I don't understand.  I still don't understand it.
>
>> <div class="vcard">
>>     <span class="fn">Tantek Çelik</span>
>>     <span class="agent vcard">
>>        <!-- the order is actually irrelevant here class="vcard  
>> agent" is synonymous -->
>>        <span class="fn">Ryan King</span>
>>     </span>
>> </div>
>>
>> Which hcard does the 'agent' belong to?
>
> If we were determining belonging with a nearest-parent algorithm  
> that started with self,

We're *not* using nearest-parent here. We're parsing top down.

-ryan



More information about the microformats-discuss mailing list