SimonHildebrandt.com

Navigation

Feeds

News‎ > ‎

A Wikipedia/Google Calendar mashup

posted Dec 21, 2008 1:53 AM by Simon Hildebrandt   [ updated Dec 21, 2008 2:51 AM ]
I couldn't find a decent solar calendar on Google calendar (one that tracks the yearly solar cycle of equinoxes and solstices) so I decided to create one.

The data is in a table on the Solstice Wikipedia page - the lxml.html module for Python should be able to extract it.

Google's Calendar API gives us the means to pour the extracted data into a Google calendar.

And here's the result (and the final script.) A few hours productive work on a quiet Saturday morning. :)

(Thanks to Ian Bicking for this blog post on replacing (the excellent) Beautiful Soup with lxml.html - it worked extremely well.)