[uf-new] Issue HP4 - Multiple formats for PRICE in hProduct

Manu Sporny msporny at digitalbazaar.com
Tue Feb 17 21:55:57 PST 2009


The hProduct specification lists the following formats as allowable for

> price. optional. floating point number. can be further refined by type
>        (msrp, regular, sale, clearance), can use currency format.

So, we can do the following in PRICE:

Floating point number:
<span class="price">3.40</span>

Currency format:
<span class="price">
   <abbr class="currency" title="GBP">£</abbr>
   <span class="amount">4.99</span>

Further refined by type:
$<span class="price">3.40 <span class="type">MSRP</span></span>

Are all of these good ideas as an extension to PRICE? We don't allow the
type to be refined in other uFs do we? Is the price specified as a
regular floating point number useful without a currency?

-- manu

Manu Sporny
President/CEO - Digital Bazaar, Inc.
blog: Scaling Past 100,000 Concurrent Web Service Requests

More information about the microformats-new mailing list