W3C home > Mailing lists > Public > public-rdf-in-xhtml-tf@w3.org > April 2006

New RDFa demo - calendar data

From: Ben Adida <ben@mit.edu>
Date: Thu, 27 Apr 2006 21:33:25 -0400
Message-Id: <A6D18777-F77E-43A3-BE4F-18595EDC2E65@mit.edu>
Cc: elias@torrez.us
To: public-rdf-in-xhtml task force <public-rdf-in-xhtml-tf@w3.org>


Hi all,

DanC and I had a good hacking session today, as we discussed what  
parts of RDFa can be made to work *right now*. Elias Torrez, creator  
of the hCal-to-GoogleCalendar greasemonkey script, even dropped by to  
give us a hand.

The result is pretty cool. We added some new hacks, like the use of  
data: URIs to let Javascript convert RDFa to ical locally, all within  
the browser. Here's the demo:

1) get the bookmarklet:
http://ben.adida.net/rdfa/new/

It's called "GetCal", and it's the 3rd one.

2) go to the demo page:
http://ben.adida.net/rdfa/new/rdfa-calendar

3) invoke the bookmarklet
Notice the two icons that just appeared.
a) the little clock gives you an ical link that automatically brings  
up outlook or iCal.
b) the Google Calendar button sends you to your Google Calendar,  
letting you add the event automatically.

The next step is to build a Creative-Commons-like HTML generator for  
an event. Just use the nifty web UI to describe your event, then  
click "Generate", then get a chunk of HTML you can cut and paste into  
your blog.

-Ben

PS: timezones are not handled well yet.
Received on Friday, 28 April 2006 01:33:37 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 8 January 2008 14:15:01 GMT