Re: [Evolution-hackers] export a calendar to ical file format

On Sat, 2005-01-22 at 01:54 +0000, Stéphane Konstantaropoulos wrote:
> Le vendredi 21 janvier 2005 à 13:10 +0100, Rodrigo Moya a écrit :
> > > - Is there an easy way to export one or more calendars to one ical file
> > > with the evolution-data-server API? (I mean without having to go through
> > > all the records an regenerating such a file "manually".
> > >
> > no, but you can call e_cal_get_object_list and get all objects in one
> > shot, then you just need to create a top level calendar
> > (e_cal_util_new_top_level) and add the timezones and events
> > (icalcomponent_add_component) to it.
> > 
> I had a look at this function, it takes in a "query" string, is the
> format of that query documented anywhere? I can't find anything on it.
not sure if the API reference contains something, but in this case you
just want the query to be "#t" which means "TRUE", and which will get
all objects.
Rodrigo Moya <rodrigo novell com>

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]