XOXO (A Semantic Weblog)


Posted on

There is some work going on at the microformats site to provide a datatypeing mechanism for microformats. XOXO being the most flexible format, it stands to gain much from such a system. While the work is as yet not done, it has come a fair way since I first saw it. Here is a basic overview of the system as it applies to XOXO :

Add the class ‘typed’ to the root XOXO element to specify that this XOXO makes use of datatypeing. Then, to each ‘a’ or ‘dd’ tag add one of the following classes:

  • ‘string’ for strings (this is the default if you do not specify a datatype class)
  • ‘boolean’ for boolean values (should be in page as ‘1’ or ‘0’)
  • ‘int’ or ‘long’ for integer values
  • ‘double’ for decimal values
  • ‘datetime’ for dates and times (should be encoded using the datetime-design-pattern)
  • ‘binary’ for binary data (should be encoded using a data URI)
  • ‘nil’ for NULL values

Note that other field types (such as HREF and TITLE) will simply always be treated as strings and this can only be applied to the direct contents of ‘a’ or ‘dd’ field-tags.

4 Responses

Sam Sethi

Thanks for the site. Good work chap but are you colour blind? This has to be the worst colour scheme for online reading I have ever seen! All you need is some blinking text and naff graphics and I would have thought I was back in 1990 reading one of the first web pages.

replica louis vuitton handbags

Hello!Very nice, beautiful and interesting site!Respect you! This is my site: [url=]replica louis vuitton handbags[/url] [url=]discount louis vuitton handbags[/url] [url=]louis vuitton knockoff handbags[/url] [url=]authentic louis vuitton handbags[/url]

buy phentermine

Hello!Very nice, beautiful and interesting site!Respect you!My site: [url=]buy phentermine without a prescription[/url] [url=]buy phentermine in the uk[/url] [url=]buy phentermine online with paypal[/url]

replica chanel handbags

Excellent site, added to favorites!! This is my site: [url=]replica chanel handbags[/url] [url=]cheap chanel handbags[/url] [url=]authentic chanel handbags[/url] [url=]discounted gucci handbags[/url] [url=]gucci handbag[/url]

Leave a Response