gcal title

22 views
Skip to first unread message

landge

unread,
Sep 16, 2010, 7:15:04 AM9/16/10
to RiCal

Rick DeNatale

unread,
Sep 16, 2010, 8:35:21 AM9/16/10
to rica...@googlegroups.com

It looks right, certainly my reply (the first reference) is how to add
the needed x properties. As long as google holds up their end (the
second) reference, it should work.

Let us know if it does.


--
Rick DeNatale

Blog: http://talklikeaduck.denhaven2.com/
Github: http://github.com/rubyredrick
Twitter: @RickDeNatale
WWR: http://www.workingwithrails.com/person/9021-rick-denatale
LinkedIn: http://www.linkedin.com/in/rickdenatale

landge

unread,
Sep 16, 2010, 4:01:01 PM9/16/10
to RiCal
Hi,

I've tried it like this. But it doesn't seem to work.
Don't know. Do you see an obvious mistake?


92 ve = RiCal.Event
93 ve.dtstart = DateTime.parse("#{v.dato}" + "T08:00:00")
94 ve.dtend = DateTime.parse("#{v.dato}" + "T09:15:00")
95 ve.add_x_property 'X-GOOGLE-CALENDAR-CONTENT-TITLE',
'NevroDem'
96 ve.add_x_property 'X-GOOGLE-CALENDAR-CONTENT-ICON',
'http://www.google.com/calendar/images/google-holiday.gif'

the ics looks like this:

VERSION:2.0
BEGIN:VEVENT
DTEND;VALUE=DATE-TIME:20100811T083000Z
DTSTART;VALUE=DATE-TIME:20100811T080000Z
DESCRIPTION:NK-Dem!
X-GOOGLE-CALENDAR-CONTENT-TITLE:NK-Dem
X-GOOGLE-CALENDAR-CONTENT-ICON:http://www.google.com/calendar/images/
google-holiday.gif
END:VEVENT

I think I have to try a lot more...

/landge



On Sep 16, 2:35 pm, Rick DeNatale <rick.denat...@gmail.com> wrote:
> On Thu, Sep 16, 2010 at 7:15 AM, landge <tschellh...@gmail.com> wrote:
> > Hi!
>
> > Think I've found the answer here :
>
> >http://groups.google.no/group/rical_gem/browse_thread/thread/331ccefe...
Reply all
Reply to author
Forward
0 new messages