In message <[email protected]>,
Libby Miller <[email protected]> writes

>> Does any other body have a standardised structure for expense
>> reporting — Scottish Parliament, Congress etc?
>>
>> Could we put together a relatively quick howto on how to release
>> them in such a format?
>

>there's a MF for it:

>http://microformats.org/wiki/currency-formats

Though there are clear use-cases for a currency microformat, little work
has been done to complete my proposal:

        <http://microformats.org/wiki/currency-proposal>

due to lack of community input.

It should though, be possible to safely use this model:

        <span class="money">
                <abbr class="currency" title="USD">$</abbr>
                <span class="amount">39.99</span>
        </span>

        (where the value of "currency" is an ISO abbreviation)

An alternative to the (ab)use of ABBR has been proposed, which would
mean:

        <span class="money">
                <span class="currency">
                        <span class='value-title' title='USD'> </span>
                        $
                </span>
                <span class="amount">39.99</span>
        </span>

though this isn't yet widely taken up by microformat parsers.

There is then the issue of how to associate an amount of money with an
item of expense; and perhaps with a date and a person.

It should be easy to derive a microformat-type schema for such uses;
which could then be published on <http://poshformats.org/>.

-- 
Andy Mabbett
            Says  "NO! to compulsory UK ID Cards":  <http://www.no2id.net/>
            and:  "Free Our Data":  <http://www.freeourdata.org.uk>
                   (both also on Facebook)

_______________________________________________
Mailing list [email protected]
Archive, settings, or unsubscribe:
https://secure.mysociety.org/admin/lists/mailman/listinfo/developers-public

Reply via email to