[uf-new] hListing photo field

Ben Ward lists at ben-ward.co.uk
Sat Apr 19 08:06:11 PDT 2008


On 19 Apr 2008, at 12:53, gabriele renzi wrote:
> looking at the kelkoo output, I see
>
> <li class="result hlisting cat-123 prod-1234 offer
> offer-manufacturer_products first" id="..">
>    <div class="information-container">
>     <ul class="information">
>      <li class="photo">
>        <a href="..">
>        <img alt="" src="..."/>
>        </a>
>      </li>
> ...
>
> Am I right in assuming that "photo" is an optional field of the
> Listing, which was formerly described as being a sub-filed of listing
>> item ?
> Furhermore, am I right in assuming that the parsing rule would be
>  get @src from  a IMG tag under .photo  ?

Alas, that is an error I made on Kelkoo. Under the current draft  
schema, ‘photo’ should be a property of ‘item’ and we got that wrong.  
I think we've got an open bug at Yahoo! to fix that, and I'll check  
the status of it on Monday.

I do wonder about allowing ‘photo’ under ‘hListing’, just to loosen it  
up and maybe allow for photos the accompany the listing but which are  
not necessarily of the item itself, but I'm unsure, and would probably  
call that an optimisation. As such, shouldn't be considered until  
later in the process.

B


More information about the microformats-new mailing list