[uf-rest] "typed" microformats proposal

Dr. Ernie Prabhakar drernie at opendarwin.org
Mon Feb 13 16:49:07 PST 2006


Excellent comments -- I agree with most of them.  For those who don't  
know, the easiest way to see them is via history:

http://microformats.org/wiki?title=rest%2Fdatatypes&diff=0&oldid=4945

I'll wait to see if anyone else has a different perspective before  
integrating Kevin's comments.

The one area I'm most unsure about is "int" -- is there any harm in  
just calling this "any integer" rather than restricting it to  
"int32"?  How would the failure/parsing modes differ?

-- Ernie P.


On Feb 13, 2006, at 4:40 PM, Kevin Marks wrote:

> Comments added to the page
> On Feb 13, 2006, at 4:12 PM, Dr. Ernie Prabhakar wrote:
>
>> Doh -- my apologies for the lack of plaintext.  Here it is again  
>> -- Ernie P.
>>
>> On Feb 13, 2006, at 4:10 PM, Dr. Ernie Prabhakar wrote:
>>
>> 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.
>>
>>
>> _______________________________________________
>> microformats-rest mailing list
>> microformats-rest at microformats.org
>> http://microformats.org/mailman/listinfo/microformats-rest
>>
>> _______________________________________________
>> microformats-rest mailing list
>> microformats-rest at microformats.org
>> http://microformats.org/mailman/listinfo/microformats-rest
>
> _______________________________________________
> microformats-rest mailing list
> microformats-rest at microformats.org
> http://microformats.org/mailman/listinfo/microformats-rest



More information about the microformats-rest mailing list