[uf-new] hListing photo field

Sarven Capadisli csarven at gmail.com
Sat Apr 19 07:27:31 PDT 2008


On Sat, Apr 19, 2008 at 7:53 AM, gabriele renzi <rff.rff at gmail.com> 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  ?

Sounds right. However,

I propose instead of using class PHOTO in ITEM, we reuse the figure
format [1] in hListing.
e.g.,

<div class="item">
  ...
  <div class="figure">
    <img class="image" alt="foo">
  </div>
  ...
</div>


[1] http://microformats.org/wiki/figure

Sarven Capadisli
http://www.csarven.ca


More information about the microformats-new mailing list