Joerg Diederich wrote:

> I just started to play around with google calendar and I really think
> it's useful. Now it would be great to have the usual conference dates
> + deadlines in it, too. Some people already have public calendars of
> events and deadline, but they are incomplete, badly maintained etc.
> 
> Now before I start yet another (incomplete + badly maintained)
> conference calendar, I thought it might be (easily) possible to
> generate the data from the ontoworld knowledge base. What do you
> think?

You want to convert the data shown in 
http://ontoworld.org/wiki/Upcoming_events into iCal or CSV format and 
then import into Google Calendar?

You could write PHP code for a special page that outputs the information 
in the right format.

It might be possible to write an inline query that outputs the 
appropriate format.  However, looking at 
http://tools.ietf.org/html/rfc2445#section-4.3.4 , it calls for dates in 
ISO 8601 basic format, e.g. DTSTART:19980118T230000.  SMW's Type:Date 
accepts this, but it stores and outputs ISO 8601 extended format with 
dashes, thus 1998-01-18T23:00:00.  There isn't (currently) a way to ask 
SMW for other formats, or to request parts of a date.  By the way, parts 
of a date would be very useful to do derived date things like "born on 
this day" that User:Patrick has been trying.

Maybe write an external script that contacts the new Special:Ask page, 
queries for events and their Start date and End date, then parses the 
result and does some munging?

--
=S

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Semediawiki-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/semediawiki-devel

Reply via email to