Re: [SOGo] Birthday reminder

2012-03-19 Thread Tao te Puh

On 16.03.2012 14:39, Piet Hein wrote:




From: Christian Mackchristian.m...@uni-konstanz.de
...

Or is there a tool which generates repeating events from the birthday
information?



None that I know of.
If you find one, please post it here.



You might look into making something something suitable for you yourself using 
the relevant toolkits for perl/python/php/ruby. A quick websearch turned up

http://vpim.rubyforge.org/vcf-to-ics.txt

for example. I would not be surprised if something exactly right already is 
available.


I found a python script which converts vCard into iCal events. 
Unfortunately, neither SOGo nor Thunderbird supports vCard (export).


So I reworked the script to ldif2ics4bdays. Now it converts LDIF data 
to iCal. It also provides some new options (see description in the script).


The script :
- parse an LDIF file, e.g. from Thunderbird address book
- finds contacts with birthday information
- creates events for these contacts in iCalendar format

The resulting ics file can be imported into calendar applications, e.g. 
Thunderbird/Lightning or SOGo ...


The script can be downloaded at:
http://dl.dropbox.com/u/2517085/dl/ldif2ics4bdays.py

A few notes:

The LDIF export from SOGo is buggy. It does not export any birthday 
information. Use the Thunderbird address book export functionality instead.


Important: Use a new calendar for testing the import !

I am not a programmer!
Ergo, I have not tested a lot e.g. localization ...


--

with warm regards, Tao
--
users@sogo.nu
https://inverse.ca/sogo/lists


Re: [SOGo] CardDAV-HTTP(S)-address

2012-03-15 Thread Tao te Puh

On 15.03.2012 16:59, Piet Hein wrote:

- Original Message -

From: Christian Mackchristian.m...@uni-konstanz.de
...
Nope, when you call Properties on an address book you only get a frame
to change the name of the address book. There is no URL to copy.

You have to use either an existing address card or a new one in the
desired address book to copy the address book UID.


You are absolutely right. My sloppyness is excessive... I meant sharing (or 
whatever you can do to get the UUID into the address bar) ...


Hi Piet + Christian,

Thank you for your tips!

My current approach is this:

1.) right-click on address book - Sharing... - copy URL
2.) delete /acls at the end of the URL
3.) replace /so/ with /dav/

I just wondered if there is an elegant way (like for CalDAV) ...

--

with warm regards, Tao
--
users@sogo.nu
https://inverse.ca/sogo/lists


[SOGo] Birthday reminder

2012-03-15 Thread Tao te Puh

Hello,

Is there a way to display the birthdays from a address book 
automatically in a calendar?


Or is there a tool which generates repeating events from the birthday 
information?


--

with warm regards, Tao
--
users@sogo.nu
https://inverse.ca/sogo/lists


[SOGo] CardDAV-HTTP(S)-address

2012-03-14 Thread Tao te Puh

Hello,

is there an easy way to find out the CardDAV-HTTP(S)-address of an 
address book?


I mean as simple as it is for CalDAV-HTTP(S)-addresses (right-click on 
calendar and then Settings).


--

with warm regards, Tao
--
users@sogo.nu
https://inverse.ca/sogo/lists