Using Google Calendar for tango events

4 views
Skip to first unread message

PeterF

unread,
Jul 5, 2007, 7:26:04 AM7/5/07
to Tango 2.0
I've been using Google Calendar for my www.milonga.be website:
- several people edit a shared Google Calendar website
* I like that I don't have to take care of user accounts and
passwords

- I use phpiCalendar with a modified template to display the events
http://phpicalendar.net/
* I use a cron job to download the iCal file from Google Calendar
each hour
* display as event list: http://www.milonga.be/dancing/
* display as a calendar: http://www.milonga.be/dancing/agenda/

- I use a modified iCalEvents Wordpress plugin to display filtered
event lists
http://ugweb.cs.ualberta.ca/~awolfe/icalevents
e.g. only the events in Brussels http://www.milonga.be/dancing/agenda/brussels/

dekaysion

unread,
Jul 5, 2007, 3:31:15 PM7/5/07
to Tango 2.0
Peter, great to have this group for discussion.

I am also starting a milonga/event calendar page for my new home area
(I just moved to Ludwigshafen from Munich), and you have done some
things right with milonga.be.

The idea with the google calendar is great, especially since every
milonga organzer can edit their own events. Cool. (& not so cool as
well).

How do I get the calendar to my site (which is wordpress as well, just
because I have most experience with wp... and I don't want to fuzz with
current CMSs.)?

I have installed phpicalendar and it can get the google calendar
directly from the web so no cron jobs are necessary. I haven't figured
out how exactly I can get it displayed from within wp, but I guess
some php-fu might do the trick...

But, it all looks to be just another hack in some way. After all we
are talking about web 2.0, right? So the calendar should be available
as hcal (e.g. http://www.estadieu.com/blog/ical4wp/), microformats are
cool. There should be subscription links for others to get the
calendar (possible either via gcal or phpical). And it would be just
too cool if one could take the ical and directly subscribe it into
Wordpress's calendaring system. Am I making sense? Argl, the entry
ease and comfort of gcal with the metadata markup etc. of ical4wp or
others would be great... or maybe I am too complicated today ;)

oh well, this project will take some time.

tango...@gmail.com

unread,
Jul 5, 2007, 4:50:20 PM7/5/07
to Tango 2.0
is it possible to see the group members?

...oh I like this group. My first involvement in ggroups. so much
neater than ygroups....
Tobias

PeterF

unread,
Jul 6, 2007, 3:12:22 AM7/6/07
to Tango 2.0
I installed phpiCalendar on a separate subdomain http://agenda.milonga.be
and I use a simple IFRAME to embed the calendar/event list view.

I also allow other people to embed the same IFRAME - see HTML code on
bottom of http://www.milonga.be/dancing/
<iframe src="http://agenda.milonga.be/show/list-week.php"
style="border-width:0" width="500" frameborder="0" height="500"></
iframe>

the 'list-week.php' is a PHP file of mine that redirects to the right
page (which might have some stuff in the query string e.g.)

On Jul 5, 9:31 pm, dekaysion <daniel.kaesm...@gmail.com> wrote:
> Peter, great to have this group for discussion.
>
> I am also starting a milonga/event calendar page for my new home area
> (I just moved to Ludwigshafen from Munich), and you have done some
> things right with milonga.be.
>
> The idea with the google calendar is great, especially since every
> milonga organzer can edit their own events. Cool. (& not so cool as
> well).
>
> How do I get the calendar to my site (which is wordpress as well, just
> because I have most experience with wp... and I don't want to fuzz with
> current CMSs.)?
>
> I have installed phpicalendar and it can get the google calendar
> directly from the web so no cron jobs are necessary. I haven't figured
> out how exactly I can get it displayed from within wp, but I guess
> some php-fu might do the trick...
>
> But, it all looks to be just another hack in some way. After all we
> are talking about web 2.0, right? So the calendar should be available

> as hcal (e.g.http://www.estadieu.com/blog/ical4wp/), microformats are

Daniel Käsmayr

unread,
Jul 6, 2007, 4:21:23 AM7/6/07
to tang...@googlegroups.com
Peter, just a little hint:

You can set the time frame to display in the weekly calendar via phpicalendar's ini.php file from say 1700 to 2800 (4 in the morning of the next day) which is more suited to long lasting milongas!

Dan

dekaysion

unread,
Jul 6, 2007, 4:25:01 AM7/6/07
to Tango 2.0
On Jul 6, 9:12 am, PeterF <peter.for...@gmail.com> wrote:
> the 'list-week.php' is a PHP file of mine that redirects to the right
> page (which might have some stuff in the query string e.g.)

That's a good one. I was already getting mentally prepared to scan
through the php code from phpical to get to the direct functions and
"merge" it into my wp template.

Dan

PeterF

unread,
Aug 22, 2007, 4:45:39 PM8/22/07
to Tango 2.0
And an update on my work can be found here:
http://blog.forret.com/2007/08/what-google-agenda-currently-misses/

I created a modified version of 'print.php' (PHPiCalendar) ;
'filter.php' can also filter on keywords

Peter Eyckerman

unread,
Aug 23, 2007, 5:06:23 AM8/23/07
to tang...@googlegroups.com
I commented this on your post, I thought it would be usefull to repost it here:

For filtering on date ranges you could use the calendar api (
http://code.google.com/apis/calendar/reference.html ) which lets you
get feeds filtered on date ranges with the query parameters start-min
and start-max, recurrence-expansion-start and
recurrence-expansion-end. You then get all the calendar data added to
the rss feed.
e.g.
http://www.google.com/calendar/feeds/28g96a9ll24jl...@group.calendar.google.com/public/full?start-min=2007-08-23&start-max=2007-09-07&recurrence-expansion-start=2007-08-23&recurrence-expansion-end=2007-09-07

It's what I'm using for the mashup of my tango map with your
milonga.be calendar to get all events of the next 2 weeks (
http://83.149.65.30/~eyckerma/tango/places/tango-belgium-map.html )

dekaysion

unread,
Sep 24, 2007, 5:01:24 PM9/24/07
to Tango 2.0
I have also played with the calendar API a bit these days and it looks
like the holy grail or the like. You can do almost anything on
google's servers, sorting, searching, time limits, etc. And with
SimpieRSS there is some neat parsing of the data as well... cool stuff!

Reply all
Reply to author
Forward
0 new messages