W3C home > Mailing lists > Public > www-rdf-calendar@w3.org > June 2003

Baseball schedules from .doc to .ics via RDF

From: Dan Connolly <connolly@w3.org>
Date: 03 Jun 2003 15:16:40 -0500
To: www-rdf-calendar@w3.org
Message-Id: <1054671399.906.713.camel@dirk.dm93.org>

My latest fund with RDF, XSLT, and iCalendar...

Baseball schedules from .doc to .ics via RDF
posted by DanCon at 2003-06-03 17:42 (+)
http://rdfig.xmlhack.com/2003/06/03/2003-06-03.html#1054662159.863671

        DanCon: starting with blue valley baseball schedules, esp
        BB1.doc, the 1st grade schedule...
        DanCon: we use wv to convert to BB1.htm, and HTML4 version
        DanCon: then we use html tidy to get BB1.html, in XHTML
        DanCon: then thru leagueSched.xsl to get BB1.rdf, the data for
        all the teams in RDF
        DanCon: ... using the cyc time vocabulary plus a few made up
        terms (e.g. l:coach)
        DanCon: then thru cwm with teamCal.n3 rules to (a) select just
        our team's games (keyed off coach's name) and (b) relate to RDF
        calendar vocab to get justinCal.rdf
        DanCon: finally, thru toIcal.py to get justinCal.ics
        DanCon: ... which is grokked by evolution and apple's iCal.
        (though I think it's missing some timezone details)
        DanCon: along the way, I added duration support in toIcal.py

-- 
Dan Connolly, W3C http://www.w3.org/People/Connolly/
Received on Tuesday, 3 June 2003 16:16:11 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:14:11 UTC