Gift photo calendar using Google ical files

Looking for some personalised seasonal, christmas or new year gifts?

Photo year calendar example

Photo year calendar example

Use your ical calendars (google or other (others by importing into google)) and your own photo’s to generate a A4 year calendar. Print to PDF and send to your local print shop for bindin. Viola! instant personal presents.

Test it out on the demo site.
See how the examples work, then add your own ics url to the query.

The month view styling

The month view styling

Restyle embedded google calendars

I have developed a script for personal use, however added additional coding in the hope that others may use it as well. The idea for this year calendar was prompted by a post by lindenlan back in 2006.  His method is now available at restyle google calendar.

The css could also be used to simply restyle your google calendar.

Note that this has only been tested on firefox on vista and mac. Styling may depend on your default font sizes etc and may require tweaking. I made minimum changes to the main style sheet get what i wanted.

Inputs:

I may develop an html form later, but for now it is url query string driven, so maybe start a text file with your parameters:

src=some google calendar name

Under the calendar settings when you click on the html tag, you get a url – we need the piece that says something like :src=0bajvp6gevochc6mtodvqcg9o0%40group.calendar.google.com.

These could be private calendars – such as your families birthday’s and special anniversaries, or public ones such as,

google calendar colours

google calendar colours

If you have multiple calendars,use src[0]=xxxxx, src[1]=xxxx etc

Coloured calendars

For multi-calendars, colours are a good idea. We are limited to those that google allows – else we just get the default blue. Use the embed helper to see the colour options (need to login to google).

  • red and one color only for first calendar: color=#CC3333
  • pink: color[0] = #DD4477
  • purple: color[1] = #994499
  • etc

Months & start date

  • Specify the number of months to return &months=n
  • Specify the start month &start=YYYMMDD

Images

Images can be switched on or off:

2009zebra.jpg

http://farm2.static.flickr.com/1004/580865496_d15b16308d_o.jpg

file:///C:/temp/test.jpg
etc

Styles or Stylesheets

My default is aimed at a monthly print view, developed for firefox for my font-size etc. The times are switched off – they appear just as a note on that day.
I struggled to find some halfway decent other interesting examples of calendar restyling – you could look at using their ideas to create your own stylesheet.

Demos or Examples

Multi calendars overlayed

Multi calendars overlayed

kahaku style

kahaku style

Test it Out:

Resources:

You can also get more information by trolling through linden lan’s posts and comments. Note that google changes it’s method now and then, so be wary about using any old advice:

If you enjoy messing around with ical files, you could also have a look at ical-events-list, which is about styling a better agenda or list based table of upcoming events.

Comments are closed.