Applying a custom XSLT stylesheet for the yearly calendar

require 'polyrex-calendar'

Dir.chdir '/home/james/jamesrobertson.eu/calendar/'
cal = PolyrexCalendar.new 'polyrex.xml'

k = cal.year_planner
k.xslt = '/home/james/jamesrobertson.eu/calendar/public_calendar.xsl'
h = k.to_webpage

In this example I removed the side events from the page as show below:

screenshot of the yearly calendar

Resources

Tags:
Source:
1716hrs.txt
Published:
06-07-2014 17:16