[uf-new] Currency Proposal (and Measurements and Geo Extension)

Andy Mabbett andy at pigsonthewing.org.uk
Fri Apr 27 11:47:34 PDT 2007


In message <bd2326430704270038re37a32bua6e670248fb261c7 at mail.gmail.com>,
Emil Thies <emil.thies at googlemail.com> writes

>>For example, the relation between an inch and a centimetre is
>>(historical shifts not withstanding) fixed; the relationship between a
>>Canadian Dollar and a Pound Sterling changes minute by minute.

>>We need to determine whether these differences are significant, when
>>creating the respective microformat(s).

The above difference is crucial for parsers; in the case of converting
measurements (say inches to centimetres) a parser would look up the
value in a hard-coded table include din its own code; for currency
conversions it would have to collect an up-to-date exchange rate from a
third-party source (at least daily, if not for every action).

>... I think this difference is valid (therefore the currency format
>needs an optional datetime property),

I certainly agree with that.

>but I also think there are
>similarities like both have a number wich expresses value/amount. Both
>have a kind of unit (inch, meter .... or Dollar, Euro ....) which
>specify what is counted by the number. Both may have a kind of scale,
>to make the representation of the number shorter.
>
>My intention was, to link those similarities by using the same names
>for those similar properties (to keep the used vocabulary limited).

I see no problem with that.

>My question is, does we have a kind of inheritance between
>microformats (as intended by my suggestion here). There is a similar
>problem with the geo, luna and mars - where you suggested the geo
>extension straw-man proposal. To avoid a problem with the "old" geo
>format, you could introduce, a iGeo [interstelar geo] / eGeo (extended
>Geo), which is oo-derived from geo and ad a new property, like planet
>or better iObject (interstelar Object - not everything out there is a
>planet).
>
>What do you think of such an inheritance at microformats (Geo<-iGeo;
>Measurement<-Currency)?

I don't see what you're getting at.

-- 
Andy Mabbett
            *  Say "NO!" to compulsory ID Cards:  <http://www.no2id.net/>
            *  Free Our Data:  <http://www.freeourdata.org.uk>
            *  Are you using Microformats, yet: <http://microformats.org/> ?


More information about the microformats-new mailing list