By choster on
Has anyone developed or given though to developing mechanisms to export user profile data to vCard format, or for exporting events as vCalendar files? Is this something I am better off generating with a Perl script rather than going through Drupal?
Information about the formats can be found at
http://www.imc.org/pdi/
http://www.imc.org/pdi/pdiproddev.html
Comments
I think this would make a fan
I think this would make a fantastic contrib module. There is a FOAF module in CVS, but I think vCard and vCalendar (iCal?) support would be excellent as well.
It all depends on what you want to code in (PHP vs. Perl) but I think this is very doable within the Drupal framework.
First stab at vCalendar support in event.module
I cooked something up tonight that is working for me. It adds a 'vCal' link to event listings that works (amusingly) with FireFox + Outlook but not IE 6 (sp) and Outlook.
You can see it in action at http://danyell.com/event and download the patch at http://danyell.com/patches/event/vcal
Be warned however this is a very preliminary hack! I'm not very familiar with Drupal and I'm not sure I've done this the right way. Also I need to double-check the generated vCalendar file for full compliance with the vCalendar spec.
First though, I think I'll sleep for a bit. ;-)
--
Origami Partners, http://www.origamipartners.com/
Hi, I'm interested in this
Hi, I'm interested in this too! But, couldn't find the patch in that URL. Would you plz help me with that?
Thanks,
Kourosh