
andrew at morphoss
Jun 28, 2012, 4:31 AM
Post #4 of 4
(620 views)
Permalink
|
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 [at] lists > > http://lists.davical.org/listinfo/davical-dev > > _______________________________________________ > DAViCal-dev mailing list > DAViCal-dev [at] lists > http://lists.davical.org/listinfo/davical-dev > -- ------------------------------------------------------------------------ andrew (AT) morphoss (DOT) com +64(272)DEBIAN Building more free and open source software for everyone. ------------------------------------------------------------------------
|