[uf-discuss] Dated currency examples?
Guillaume Lebleu
gl at brixlogic.com
Wed Sep 27 12:21:22 PDT 2006
A correction to one of my code samples:
<span class="price"><span class="currencyamount"><abbr
class="unitcurrency" title="USD">$</abbr>25</span> a <abbr class="unit"
title="barrel>barrel</abbr></span>.
Guillaume
Guillaume Lebleu wrote:
> Sorry if I'm only getting up-to-speed on this debate.
>
> I agree that attaching explicitly date/time information directly to a
> currency value is relatively rare, and when necessary that it is
> usually inferred from the context.
>
> For instance, we talk of the date of the price of a barrel of oil, in
> which case the date/time is attached to the "price" component of a
> "product", the "currency value" being only one expression of the
> "price". See Andy's example:
> http://news.bbc.co.uk/2/hi/business/1096916.stm
>
> On the other hand, I think attaching date/time information to
> *currency rates* is very common (See Andy's example:
> http://en.wikipedia.org/wiki/1922_in_Germany#Inflation_and_Repercussions).
>
>
> Moreover, even though a currency rate is the "price" of a "product",
> it is particular enough that it deserves its own class.
>
> Taking one of Andy's examples that deals with currency rates, and
> reusing both the abbr/date pattern used in hCalendar and some he
> IFX/OFX semantics, I think we could get away with:
>
> <span class="currencyrate">On <abbr class="datetime"
> title="1998-03-12T08:30:00-05:00">August 1</abbr>, the <abbr
> class="currency" title="USD">US Dollar</abbr> still stood at <span
> class="currencyamount">643 <abbr class="unitcurrency"
> title="DEM">Marks</abbr></span> to the Dollar.</span>
>
> i.e.:
>
> * currencyrate
> o currency
> o currencyamount
> + unitcurrency
>
>
> Another attempt with the oil barrel example:
>
> <span class="price"><span class="currencyamount"><abbr
> class="unitcurrency" title="USD">$</abbr>25</span> a <abbr
> class="unit" title="barrel>barrel</barrel></span>.
>
> i.e.:
>
> * price
> o currencyamount
> + unitcurrency
> o unit
>
>
> Of course, this is just brainstorming, as I am just getting started
> with microformats.
>
>
> Guillaume
>
>
>
>
>
>
>
>
> Scott Reynen wrote:
>> In the currency-brainstorming [1] page, I see a few straw man
>> proposals with dated currency. But I don't see anything in
>> currency-examples [2] with dated currency. I think I understand the
>> general idea, that currencies change value over time, but in what
>> currently published HTML would such date markup be used? I'm sure
>> there are examples of dated currency published on the web, but I
>> suspect they are far under 20% of the currency values published. I'm
>> interested in seeing this microformat completed and adopted and I'd
>> hate to see unnecessary complexity prevent that from happening.
>>
>> [1] http://microformats.org/wiki/currency-brainstorming
>> [2] http://microformats.org/wiki/currency-examples
>>
>> Peace,
>> Scott
>> _______________________________________________
>> microformats-discuss mailing list
>> microformats-discuss at microformats.org
>> http://microformats.org/mailman/listinfo/microformats-discuss
>>
>>
>> --No virus found in this incoming message.
>> Checked by AVG Free Edition.
>> Version: 7.1.407 / Virus Database: 268.12.9/457 - Release Date:
>> 9/26/2006
>>
>>
> _______________________________________________
> microformats-discuss mailing list
> microformats-discuss at microformats.org
> http://microformats.org/mailman/listinfo/microformats-discuss
>
>
More information about the microformats-discuss
mailing list