Mailing List Archive

Birthday 'calendar'
Hi list,

a good while ago, I think it was some archives so it could be older,
about implementing a special 'birthday' calendar. I just recently got to
play with an iPhone and caldav (a previous message of mine may have
hinted at that) and I noticed that the iPhone has a special calendar,
called birthday's. After some experimenting, I found that it actually
checks all carddav records and builds an internal calendar for this.

This however is thus unique to the iPhone. I was wondering, however, if
this has ever been implemented in davical, or if it is still a 'todo' item?

I can see good use for having a special collection, /<USER>/birthdays
that gets created automatically when creating an address book
collection, if not created just like 'is an address book' collection.


What would be the status of this feature?

Oliver
_______________________________________________
DAViCal-dev mailing list
DAViCal-dev@lists.davical.org
http://lists.davical.org/listinfo/davical-dev
Re: Birthday 'calendar' [ In reply to ]
Hey Oliver,

it could be a nice feature, but as Davical is build around the RFCs I dunno if it should be implemented... but feel free to provide a patch. :D

I had a similar idea and just have implemented it client side.

Cheers
Matthias
_______________________________________________
DAViCal-dev mailing list
DAViCal-dev@lists.davical.org
http://lists.davical.org/listinfo/davical-dev
Re: Birthday 'calendar' [ In reply to ]
Hey,

I had a this idea in mind to. But did not have time to start on it. But I had some thoughts on it. When should the birthday calendar be created? On possible method would be to generate the calendar at that moment it is requested from a client. (Maybe with caching) But I don't know if this is a bit to much processing time. A address book can get very big. The second method could be to do that periodically. (Maybe with a cron-job) But this will increase the configuration effort. At moment I have a lot of work to do, so I use a already available Software on client side that is periodically doing that job (Dates to iCal2). But feel free to contact me if you begin to work on that. Maybe I can help you.

Cheers

Sebastian

On 21.06.2012, at 10:24, Matthias Althaus wrote:

> Hey Oliver,
>
> it could be a nice feature, but as Davical is build around the RFCs I dunno if it should be implemented... but feel free to provide a patch. :D
>
> I had a similar idea and just have implemented it client side.
>
> Cheers
> Matthias
> _______________________________________________
> DAViCal-dev mailing list
> DAViCal-dev@lists.davical.org
> http://lists.davical.org/listinfo/davical-dev

_______________________________________________
DAViCal-dev mailing list
DAViCal-dev@lists.davical.org
http://lists.davical.org/listinfo/davical-dev
Re: Birthday 'calendar' [ In reply to ]
On Thu, 2012-06-21 at 10:41 +0200, Sebastian Quilitz wrote:
> Hey,
>
> I had a this idea in mind to. But did not have time to start on it.
> But I had some thoughts on it. When should the birthday calendar be
> created? On possible method would be to generate the calendar at that
> moment it is requested from a client. (Maybe with caching) But I don't
> know if this is a bit to much processing time. A address book can get
> very big. The second method could be to do that periodically. (Maybe
> with a cron-job) But this will increase the configuration effort. At
> moment I have a lot of work to do, so I use a already available
> Software on client side that is periodically doing that job (Dates to
> iCal2). But feel free to contact me if you begin to work on that.
> Maybe I can help you.

If someone were interested in implementing this, one possible approach
would be to modify davical/inc/vcard.php to additionally (over)write a
created VEVENT into a birthdays calendar, dependent on a particular
setting.

A minimal birthday VEVENT should be pretty simple:

BEGIN:VCALENDAR
BEGIN:VEVENT
UID:vcard-uid-plus-BIRTHDAY
DTSTAMP:sometimelikenow
DTSTART;VALUE=DATE:19570726
SUMMARY:$PERSON's Birthday
RRULE:FREQ=YEARLY
END:VEVENT
END:VCALENDAR

I can think of all sorts of other more complicated ways, but I can't see
any reason why this kind of approach would not be reliable.

Cheers,
Andrew.

> Cheers
>
> Sebastian
>
> On 21.06.2012, at 10:24, Matthias Althaus wrote:
>
> > Hey Oliver,
> >
> > it could be a nice feature, but as Davical is build around the RFCs
> I dunno if it should be implemented... but feel free to provide a
> patch. :D
> >
> > I had a similar idea and just have implemented it client side.
> >
> > Cheers
> > Matthias
> > _______________________________________________
> > DAViCal-dev mailing list
> > DAViCal-dev@lists.davical.org
> > http://lists.davical.org/listinfo/davical-dev
>
> _______________________________________________
> DAViCal-dev mailing list
> DAViCal-dev@lists.davical.org
> http://lists.davical.org/listinfo/davical-dev
>

--
------------------------------------------------------------------------
andrew (AT) morphoss (DOT) com +64(272)DEBIAN
Building more free and open source software for everyone.
------------------------------------------------------------------------