[uf-dev] Defining and Extending Value Excepting

Glenn Jones glenn.jones at madgex.com
Thu May 22 07:05:46 PDT 2008


2008/5/22 Ben Ward <lists at ben-ward.co.uk>:
> <p class="tel">
>    <span class="type">
>        Mobile Phone
>        <span class="value" title="cell"></span>
>    </span>
>    <span class="value">
>         +1-555-FORMATS
>         <span class="value" title="+15553676177"></span>
>    </span>
> </p>
>
> That's... messy. Value of Value is especially unpleasant, parsing the 
> value of tel without parsing the value of type as the value of tel 
> strikes me as complex (although, with value-excerpting itself not 
> fully spec'd, maybe it could be made to work).


This would be really hard for me to add the above to ufXtract. Your
right nested Value of Value is especially unpleasant.

Adding the "Invisible Supplementary Data" idea as below, should not be a
problem
<span class="dtstart">Tomorrow lunchtime <span class="value"
title="2008-05-17T12:00:00+0100"></span></span> 

It looks like Cognition and Optimus are already picking up invisible
supplementary data pattern for the geo class
http://www.ufxtract.com/testsuite/experimental/experimental1.htm (Press
'Alt X' and run test)


Glenn Jones





More information about the microformats-dev mailing list