[uf-discuss] Dated currency examples?
Lorenzo De Tomasi
lorenzo.detomasi at gmail.com
Fri Sep 29 00:56:48 PDT 2006
Dear Guillame,
Thanks for your question :-)
I think that using "unit" and "value" we can create a more generalized
and adaptive solution, reducing the dictionary and making it easier.
A proposal can be:
<p class="price">
<abbr class="unit money" title="USD per barrel">$/barrel</abbr> <span
class="value">10,5</span>
</p>
I have not yet studied "Related microformats" (I'll do it), but, if I
have understood the example, another proposal can be:
<span class="hlisting">
<span class="price">
<abbr class="unit money" title="USD">$</abbr>
<span class="value">25</span>
</span>
a <span class="item fn">barrel</span>
</span >
What do you think?
On 9/28/06, Guillaume Lebleu <gl at brixlogic.com> wrote:
> Lorenzo,
>
> With this approach, how would you represent the following price: $25 per
> barrel?
>
> Guillaume
>
> Lorenzo De Tomasi wrote:
>
> > What about the following proposal?
> > <p class="price">
> > <abbr class="unit money" title="euro">€</abbr> <span
> > class="value">10,5</span>
> > </p>
> >
> > that can also be used for othe measures like:
> > <p class="lenght">
> > <abbr class="unit" title="meter">m</abbr> <span class="value">10,5</span>
> > </p>
> >
> > Thanks for your opinion :-)
> >
> > On 9/27/06, Scott Reynen <scott at randomchaos.com> wrote:
> >
> >> On Sep 27, 2006, at 2:21 PM, Guillaume Lebleu wrote:
> >>
> >> > <span class="price"><span class="currencyamount"><abbr
> >> > class="unitcurrency" title="USD">$</abbr>25</span> a <abbr
> >> > class="unit" title="barrel>barrel</abbr></span>.
> >>
> >> As suggested in the currency "Related microformats" section, I think
> >> a simpler money microformat (without "unit") could be combined with
> >> hListing [1] to cover something like this, e.g.:
> >>
> >> <span class="hlisting">
> >> <span class="price money">
> >> <abbr class="currency" title="USD">$</abbr><span
> >> class="value">25</
> >> span>
> >> </span> a <span class="item fn">barrel</span>
> >> </span >
> >>
> >> [1] http://microformats.org/wiki/hlisting
> >>
> >> Peace,
> >> Scott
> >>
> >> _______________________________________________
> >> microformats-discuss mailing list
> >> microformats-discuss at microformats.org
> >> http://microformats.org/mailman/listinfo/microformats-discuss
> >>
> >
> >
> _______________________________________________
> microformats-discuss mailing list
> microformats-discuss at microformats.org
> http://microformats.org/mailman/listinfo/microformats-discuss
>
--
Lorenzo De Tomasi
Designer della comunicazione
http://www.ipernico.it
More information about the microformats-discuss
mailing list