I remember reading on this list that someone was working on an events
calendar extension. Is that ready for use, and if so, where can I
find information about it.
There are two that I know of. Loren has one he showed us at RailsConf
that uses iCal subscriptions for the data storage. I wrote one for
KCKCC that is very basic but stores the info locally (and is probably
out of date, considering where extensions are now).
It’s pretty much ready to go as-is, I’ve recently made several clean-
ups to it to make it simpler to install and more cleanly designed in
terms of objects.
We are using this on 4 sites currently and in each case our customer
is happy to be entering stuff using Google C.s (which supplies
us an iCal feed address). The big advantage of this approach is that
you can have several authors feeding individual calendars up to the
website without having to support them as Radiant users.
However, it would be relatively simple to adapt it to handle both the
current iCal subscriptions way of populating events alongside manual
direct event entry and I won’t be surprised if I’ll need to add this
ability at some later point.
The calendar operates either as an on-page event list queried via
<r:calendar /> tag attributes (all the tags are setup as global) or
as a dedicated virtual page which uses the path parameters below it’s
own root to determine the period and set of events you wish to display.
A few of disclaimers :
Read the README. You’ll need to run “rake db:migrate:extensions”
and create a directory under public to store the ical files that get
pulled in.
I always setup a script/runner cron job to keep the calendars
refreshed from the subscriptions every hour. There are no
instructions for this in the README but it’s simply done if you have
linux admin chops.
The documentation under the “Help!” link may not be up to date,
also the tag documentation is there but the formatting isn’t very
nice. I’ll be fixing this shortly.
Thanks a lot,
John
On Jun 8, 2007, at 7:02 PM, Loren J. wrote:
On Jun 8, 2007, at 2:51 PM, John F. wrote:
RAILS_ROOT: script/…/config/…
It’s pretty much ready to go as-is, I’ve recently made several
However, it would be relatively simple to adapt it to handle both
display.
linux admin chops.
Site: http://lists.radiantcms.org/mailman/listinfo/radiant
I don’t know what’s causing that but this could be related, and is a
very important note (which I’ve added to my README just now). You
need to install a gem called VPIM in order for the calendar to work.
gem install vpim
Let me know if this fixes it for you,
Loren
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.