# Ruby on rails web calendar

**URL:** <https://www.ruby-forum.com/t/ruby-on-rails-web-calendar/112071>\
**Category:** Rails\
**Created:** [August 14, 2007, 11:11pm UTC](https://www.ruby-forum.com/t/ruby-on-rails-web-calendar/112071 "2007-08-14T23:11:11Z")\
**Posts on this page:** 13\
**Page:** 1

<div class="post-metadata">

**Author:** ![david](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/aeb1de/32.png) [@david](https://www.ruby-forum.com/u/david)\
**Post date:** [August 14, 2007, 11:11pm UTC](https://www.ruby-forum.com/t/ruby-on-rails-web-calendar/112071/1 "2007-08-14T23:11:11Z")

</div>

Does anyone know of a good web calendar that you can use to display  
appointments, dates, anniversaries, birthdays, recurring appointments,  
appointments spanning multiple days?

---

<div class="post-metadata">

**Author:** ![david](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/aeb1de/32.png) [@david](https://www.ruby-forum.com/u/david)\
**Post date:** [August 15, 2007, 1:25am UTC](https://www.ruby-forum.com/t/ruby-on-rails-web-calendar/112071/2 "2007-08-15T01:25:21Z")

</div>

Written in rails, i suppose? Otherwise theres excellent solutions like  
Google C. available…

---

<div class="post-metadata">

**Author:** ![david](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/aeb1de/32.png) [@david](https://www.ruby-forum.com/u/david)\
**Post date:** [August 15, 2007, 1:29am UTC](https://www.ruby-forum.com/t/ruby-on-rails-web-calendar/112071/3 "2007-08-15T01:29:21Z")

</div>

Exactly…we need something that uses Ruby on Rails to access the data  
and create the calendar.

---

<div class="post-metadata">

**Author:** ![david](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/aeb1de/32.png) [@david](https://www.ruby-forum.com/u/david)\
**Post date:** [August 15, 2007, 1:57am UTC](https://www.ruby-forum.com/t/ruby-on-rails-web-calendar/112071/4 "2007-08-15T01:57:22Z")

</div>

You could write a parsing system in ruby/rails that uses mysql as it’s  
backend and then parses out that info to google calendar through their  
api. But you’d need to parse it, you cannnot connect google calendar  
directly to a DB. You can however use google calendar as a data  
storage as well and then write your front end. But if you want to use  
google calendar as your front and store things in a DB then you will  
need to coerce the data into a format that the api can use.  
[Google Calendar &nbsp;|&nbsp; Google for Developers](http://code.google.com/apis/calendar/overview.html) for more info about  
the api.

Hope this helps,  
Cam

---

<div class="post-metadata">

**Author:** ![david](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/aeb1de/32.png) [@david](https://www.ruby-forum.com/u/david)\
**Post date:** [August 15, 2007, 1:30am UTC](https://www.ruby-forum.com/t/ruby-on-rails-web-calendar/112071/5 "2007-08-15T01:30:21Z")

</div>

Is it possible to use the google calendar to access mysql data on a  
local database server and crease a calendar? 🙂 or must the data  
reside on the google calendar system?

---

<div class="post-metadata">

**Author:** ![david](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/aeb1de/32.png) [@david](https://www.ruby-forum.com/u/david)\
**Post date:** [August 15, 2007, 5:18am UTC](https://www.ruby-forum.com/t/ruby-on-rails-web-calendar/112071/6 "2007-08-15T05:18:32Z")

</div>

Thanks! I guess there are no good helpers already written to help  
this along. I hate to create the wheel again and know someone must be  
willing to share a library they wrote already. Hope to find that  
generous person.

---

<div class="post-metadata">

**Author:** ![david](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/aeb1de/32.png) [@david](https://www.ruby-forum.com/u/david)\
**Post date:** [August 15, 2007, 1:48pm UTC](https://www.ruby-forum.com/t/ruby-on-rails-web-calendar/112071/7 "2007-08-15T13:48:20Z")

</div>

Something like this ?

[http://wiki.rubyonrails.org/rails/pages/Calendar+Helper+Plugin](http://wiki.rubyonrails.org/rails/pages/Calendar+Helper+Plugin)

sample visible at [http://rubyonrailsworkshops.com/](http://rubyonrailsworkshops.com/)

HTH

Mike

---

<div class="post-metadata">

**Author:** ![david](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/aeb1de/32.png) [@david](https://www.ruby-forum.com/u/david)\
**Post date:** [August 15, 2007, 3:04pm UTC](https://www.ruby-forum.com/t/ruby-on-rails-web-calendar/112071/8 "2007-08-15T15:04:28Z")

</div>

On Tue, Aug 14, 2007 at 04:29:27PM -0700, David wrote:

> Is it possible to use the google calendar to access mysql data on a  
> local database server and crease a calendar? 🙂 or must the data  
> reside on the google calendar system?

Google calendar will happily consume an ical file (see RFC 2445) from an  
URL and view it as an additional readonly calendar. If you provide your  
users with an URL (with no authentication, since Google has no way to  
provide credentials), they will be able to enter it into the Google  
Calendar interface and view their calendar.

This URL will also make it possible for iCal (i.e. on MacOS X) and  
Sunbird  
users to view their calendars. If, in addition, you implement full  
CalDAV  
support (see RFC 4791) then users of iCal and Sunbird will also be able  
to  
edit their calendars, though Google does not (yet?) support CalDAV in  
any  
way.

–Greg

---

<div class="post-metadata">

**Author:** ![david](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/aeb1de/32.png) [@david](https://www.ruby-forum.com/u/david)\
**Post date:** [August 18, 2007, 3:33am UTC](https://www.ruby-forum.com/t/ruby-on-rails-web-calendar/112071/9 "2007-08-18T03:33:07Z")

</div>

How about something that you can setup a mysql table and use ruby on  
rails to create the calendar…switch between daily, weekly, two week  
and monthly views…create recurring events and so on…like a  
regular calendar. Any ideas?

On Aug 15, 9:01 am, Gregory S. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)

---

<div class="post-metadata">

**Author:** ![david](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/aeb1de/32.png) [@david](https://www.ruby-forum.com/u/david)\
**Post date:** [August 18, 2007, 12:14pm UTC](https://www.ruby-forum.com/t/ruby-on-rails-web-calendar/112071/10 "2007-08-18T12:14:41Z")

</div>

On 18 Aug 2007, at 03:31, David wrote:

> How about something that you can setup a mysql table and use ruby on  
> rails to create the calendar…switch between daily, weekly, two week  
> and monthly views…create recurring events and so on…like a  
> regular calendar. Any ideas?

I think you’re really out of luck here, I even doubt you’ll find such  
an all-in-one solution out in the open in any web programming  
language. The amount of work that goes into such a calendar is enormous.

Best regards

Peter De Berdt

---

<div class="post-metadata">

**Author:** ![david](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/aeb1de/32.png) [@david](https://www.ruby-forum.com/u/david)\
**Post date:** [August 18, 2007, 7:55pm UTC](https://www.ruby-forum.com/t/ruby-on-rails-web-calendar/112071/11 "2007-08-18T19:55:47Z")

</div>

That is cool Mike. I have a question about the customization of the  
plug-in. How can I put the events inside the monthly view of the  
calendar?

Thanks,

Campbell

---

<div class="post-metadata">

**Author:** ![david](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/aeb1de/32.png) [@david](https://www.ruby-forum.com/u/david)\
**Post date:** [August 20, 2007, 11:49am UTC](https://www.ruby-forum.com/t/ruby-on-rails-web-calendar/112071/12 "2007-08-20T11:49:16Z")

</div>

Campbell,

this is probably a better option for that:  
[http://rubyforge.org/projects/railendar/](http://rubyforge.org/projects/railendar/)

Mike

Gunner wrote:

> > Something like this ?
> 
> >

–  
Mike G. email : removed\_email\_address@domain.invalid  
Technical Director fax : +353 68 470 01  
XL CRS mobile: +353 87 677 2055  
Lisselton phone : +353 68 470 10  
Listowel skype : kingdomdude  
Co. Kerry web : [www.xlcrs.com](http://www.xlcrs.com)

---

<div class="post-metadata">

**Author:** ![david](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/aeb1de/32.png) [@david](https://www.ruby-forum.com/u/david)\
**Post date:** [April 25, 2009, 8:09pm UTC](https://www.ruby-forum.com/t/ruby-on-rails-web-calendar/112071/13 "2009-04-25T20:09:40Z")

</div>

This is a very helpful conversation, I want to thank you for all the  
resources provided,

I have been reseraching for a while on this topic and found some  
interesting ones I would like to share:

About Google  
It looks like it is possible, I’m working on make it happen, look:  
“Or you can generate a public calendar for Google C. to display,  
based on your organization’s event database.”  
extract from:  
[http://code.google.com/apis/calendar/docs/2.0/developers\_guide\_protocol.html](http://code.google.com/apis/calendar/docs/2.0/developers_guide_protocol.html)  
To study:

> **[Google Data on Rails  |  Google Data APIs  |  Google for...](https://developers.google.com/gdata/articles/gdata_on_rails?csw=1)**

A good plugin, depending on our needs It could be what we need:  
[http://code.google.com/p/calendardateselect/](http://code.google.com/p/calendardateselect/)

This guys made an amazing job, I would like to know more about their  
implementation:  
[http://demo.placid.be/account/login](http://demo.placid.be/account/login)

It will be amazing to have something like the hula project, it’s a shame  
nobody is working on this, maybe I’ll retake this project, but working  
on Ruby of coure :). Have a look at the demo:  
[http://nat.org/2005/august/hula.html](http://nat.org/2005/august/hula.html)

I’s my understanding Novell was providing resources for this project but  
they abandoned the project.

Greetings  
Mauricio Inguanzo

Mike G. wrote:

> Campbell,
> 
> this is probably a better option for that:  
> [http://rubyforge.org/projects/railendar/](http://rubyforge.org/projects/railendar/)
> 
> Mike
> 
> Gunner wrote:
> 
> > > Something like this ?
> > 
> > >
> 
> –  
> Mike G. email : removed\_email\_address@domain.invalid  
> Technical Director fax : +353 68 470 01  
> XL CRS mobile: +353 87 677 2055  
> Lisselton phone : +353 68 470 10  
> Listowel skype : kingdomdude  
> Co. Kerry web : [www.xlcrs.com](http://www.xlcrs.com)
