Displaying 1 result from an estimated 1 matches for "vcf_bday_path".
2006 Feb 20
0
vpimd, a personal information server
...ext/calendar''
server.config[:MimeTypes][''vcf''] = ''text/directory''
#--------------------------------------------------------------------------------
# Mount services
##### Vcard Birthdays as iCalendar
$vcf_bday_file = ''vpim-bday.vcf''
$vcf_bday_path = ''/vcf/bday.ics''
class VcfBdayIcsServlet < WEBrick::HTTPServlet::AbstractServlet
def do_GET(req, resp)
cal = Vpim::Icalendar.create
open($vcf_bday_file) do |vcf|
Vpim::Vcard.decode(vcf).each do |card|
begin
bday = card.birthday
if...