GNOME Bugzilla – Bug 325621
Evolution should be able import files listed on the command-line
Last modified: 2008-11-17 14:37:48 UTC
Evolution currently just starts up normally when invoked with a filename parameter. Ideally, it would open a dialogue for either a new address book entry or a new calendar entry filled out from the command-line-specified file. Other information: With the growing popularity of microformats, vcalendar entries and vcards are becoming commonly available on the web in hCalendar and hCard format. Online transformation tools and greasemonkey scripts are available to transform these into .ics and .vcf files for download. Currently these files have to be saved to disk and the evolution import dialogue invoked to add to address book and calendar evolution components. It would be nice if mozilla could simply invoke "evolution fuzzy.vcf" to pick up fuzzy's vcard or "evolution baby.ics" to add the date a baby is due to evolution's calendar. Alternatively, another executable such as "evolution-import" might be invoked.
hi benjamin, this is very complex to code, and not really useful - other applications already *can* access evolution's data by using evolution-data-server (e.g. gnome's clock applet displays your evolution appointments and gaim synchronizes with your evolution addressbook) , so i'd say this is a wontfix. :-/ comments? setting to NEEDINFO, please REOPEN when you answer. thanks in advance.
Thanks, Andre. My intention was not to suggest a new method of getting data out of evolution but to suggest a new method of getting data into evolution. To take a specific scenario: 1. Someone visits my blog and has a greasemonkey script enabled that indicates I have hcard data ready for parsing. 2. They click on greasemonkey's link to http://suda.co.uk/projects/X2V/get-vcard.php?uri=http%3A//soundadvice.id.au/blog/ 3. Mozilla says "Opening X2V.vcf, What should Firefox do with this file? 4. I say "Open with evolution" Currently, evolution will open but not attempt to import X2V.vcf. I believe the only import mechanism available to me is to first "Save to disk...", then open the import dialogue and select the file I have placed in /tmp. A similar use case exists for calendar entries. If I follow a link to <http://suda.co.uk/projects/X2V/get-vcal.php?uri=http%3A//soundadvice.id.au/blog/>, I am given an X2V.ics file containing calendar entries from the page for import. Again evolution opens, but does not process the files on its command line. Benjamin.
Ooops, forgot to reopen.
what you want is basically what the evolution-webcal helper is doing but extended to calendar and contacts. I like the idea.
see bug #517124 and bug #517125 *** This bug has been marked as a duplicate of 517125 ***