libby.miller@bristol.ac.uk useage: The easiest thing to do is type: java -jar lib/mimedir-parser.jar test/ics/mtg.ics to get an RDF version of the file test/ics/mtg.ics The test files from http://www.w3.org/2002/12/cal/test/ are replicated in the test/ircs and test/perlrdf directories. se/ contains the source files from the mime directory parser. lib/ contains Jena jars for comparing the graphs and a jar of the mimedir-parser and tests. See the Makefile for more information. 2003-06-24 prodid. new 2003-06-24 see http://rdfig.xmlhack.com/2003/02/26/2003-02-26.html#1046279854.884486 http://ilrt.org/discovery/chatlogs/rdfig/2003-02-26.html#T17-21-04 take: prodns - http://www.w3.org/2002/12/cal/prod/ then remove first three chars of e.g. -//Apple Computer\, Inc//iCal 1.0//EN then replace all spaces with _ then replace all // with _ then add first 10 chars then add _ then add first 5 chars of the sha1. This creates the x namespace. To incorporate the fact that this happens after the start of the parse, also changed to use stringbuffers to hold the text and then write it out at the end. 2003-03-18 Fixed missing lastModified, treated as dtstamp. Fixed a timezone problem with Daniel Resare's code and mine (really a java issue - simpledateformat uses whatever timezone is used on the machine it is running on). Also made valarm not a component but a parseType=resource; also the same for standard and daylight (working from http://www.w3.org/2002/12/cal/test/cal01.rdf and http://www.w3.org/2002/12/cal/tzd/Europe/London.rdf as examples.) also added http://ilrt.org/discovery/chatlogs/rdfig/2003-02-12.html#T18-17-33 18:17:33 PROPOSED(2q1): to represent RRULE as ical2rdf.pl,v 1.6 2003/01/22 21:17:12 does, using rrule, freq, byday, and also with interval always specified. If ics interval is omitted, translation must add interval="1" 2003-02-14 updated wrt to decisions on 2003-02-12: http://ilrt.org/discovery/chatlogs/rdfig/2003-02-12.html#T17-33-35 (added component prooperties for vevent. I've added component property for all components, though I don't think this is sanctioned by the decision.) http://ilrt.org/discovery/chatlogs/rdfig/2003-02-12.html#T17-45-41 (removed Vcalendar rdf:about="") also fixed a bug in Parser which was not processing multiple rrule param values (comma-separated). This also necessitated some processing of these params back into comma separated in ical2rdf.java. Parser now differs from Daniel Resare's parser (slightly). Added GK's example to the test repository (but not the RDF yet). make compare doesn't work right now because waiting for updated perlrdf updates wrt the decisions. not updated wrt to GK's rrule proposal yet: http://ilrt.org/discovery/chatlogs/rdfig/2003-02-12.html#T18-17-33 2003-02-07 I'm trying to replicate the behaviour of Dan Connolly's ical2rdf.pl in http://www.w3.org/2002/12/cal/ I'm using Daniel Resare's GPLed mime-directory parser as the basis, and then writing a file that creates RDF from that (ical2rdf.java) The easiest thing to do is type: java -jar lib/mimedir-parser.jar test/ics/mtg.ics to get an RDF version of the file test/ics/mtg.ics The test files from http://www.w3.org/2002/12/cal/test/ are replcated in the test/ircs and test/perlrdf directories. The RDF in perlrdf differs in that it does not have becauses that makes comparing the resultant RDF graphs difficult. The ics files are the same. se/ contains the source files from the mime directory parser. lib/ contains Jena jars for comparing the graphs and a jar of the mimedir-parser and tests. See the Makefile for more information.