After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 325621 - Evolution should be able import files listed on the command-line
Evolution should be able import files listed on the command-line
Status: RESOLVED DUPLICATE of bug 517125
Product: evolution
Classification: Applications
Component: Importers
2.2.x (obsolete)
Other All
: Normal minor
: ---
Assigned To: Evolution Shell Maintainers Team
Evolution QA team
Depends on:
Blocks:
 
 
Reported: 2006-01-03 13:27 UTC by Benjamin
Modified: 2008-11-17 14:37 UTC
See Also:
GNOME target: ---
GNOME version: 2.9/2.10



Description Benjamin 2006-01-03 13:27:52 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.
Comment 1 André Klapper 2006-01-06 11:10:16 UTC
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.
Comment 2 Benjamin 2006-01-06 20:28:58 UTC
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. 
Comment 3 Benjamin 2006-01-07 11:19:38 UTC
Ooops, forgot to reopen.
Comment 4 Gilles Dartiguelongue 2007-01-14 21:52:16 UTC
what you want is basically what the evolution-webcal helper is doing but extended to calendar and contacts.

I like the idea.
Comment 5 Suman Manjunath 2008-11-17 14:37:48 UTC
see bug #517124 and bug #517125

*** This bug has been marked as a duplicate of 517125 ***