[uf-rest] "typed" microformats proposal
Dr. Ernie Prabhakar
drernie at opendarwin.org
Mon Feb 13 16:10:52 PST 2006
Hi all,
Since nobody seemed to have anything new to add, I've finished up the
proposal for how to add datatypes to XOXO:
http://microformats.org/wiki/rest/datatypes
As you may recall, the proposal is to use XML-RPC datatypes with a
few caveats (e.g., not ".iso8601"). Here's an example:
<dl class="typed xoxo">
<dt>key</dt><dd class="string">value</dd>
<dt>integer</dt><dd class="int">137</dd>
<dt>real</dt><dd class="double">3.14159265</dd>
<dt>date</dt><dd class="dateTime">1994-11-05T13:15:30Z</dd>
<dt>date(abbr)</dt><dd class="dateTime"><abbr
title="1994-11-05">November 5, 1994</abbr></dd>
<dt>true</dt><dd class="boolean">1</dd>
<dt>false</dt><dd class="boolean">0</dd>
<dt>data</dt><dd class="base64"><a
href="data:;base64,sdcfo2JTiXE=" type="image/jpg">my image</a></dd>
</dl>
As always, let me know what you think. Thanks!
-- Ernie P.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://microformats.org/discuss/mail/microformats-rest/attachments/20060213/7ce8d1b5/attachment.htm
More information about the microformats-rest
mailing list