Re: [Evolution-hackers] Query Evolution's Calendar Data storage location



Am Montag, den 14.09.2015, 12:16 +0200 schrieb Milan Crha:

(...)Do you need it from within the Evolution or from a 3rd-party
application?

I haven't yet thought about doing it from within coz there seems to be
no attempt !?? I've sometimes used the list format, then set filter to
CATEGORIES and get SUMMARY|DTSTART|DTEND - but then I get the result
window on a "per-event" basis (so no further export possible, eg. to
handle it in spreadsheet applications) ?!! So what I'd need is an export
on a record-similar basis and an export format that other applications
can handle ... 

I assume that using the Evolution 3.x series, I happen to find the
calendar data in ~/.local/share/evolution/calendar/system ?
Is the calendar.ics file all that's containing data ?
Should I be able to find and filter calendar data there ?

Well, all the above depends on the calendar type. In any case, you

The local calendar is the only one :-)

shouldn't access those files directly, rather connect to the calendar
through the evolution-data-server interface. The structure you are
looking for is the ECalClient.

Is here anyone aware of a method to query the calendar data for some
kind of result to 'select all entries where category=studienkreis' or
'select all entries where summary contains / is like "thisname"' ?

Again, from within the Evolution, or from a 3rd-party application? 

Within the Evolution, choose menu Search->Edit saved searches and add
there the search you are interested in. Then just pick it from the
Search menu and you'll get the result. Note there is always applied a
time constraint, but you can search forward and backward with the top-
right arrows beside the Search field above the calendar view.

That's what I did so far, but as the list gets too long (more than 20
entries I guess) I can neither see it in ONE SCREEN nor PRINT it in any
way nor export it somehow :-(( 

In case of a 3rd-party application, you can get some inspiration with
these source tests:
https://git.gnome.org/browse/evolution-data-server/tree/tests/libecal/c
lient/test-cal-client-get-object-list.c

https://git.gnome.org/browse/evolution-data-server/tree/tests/libecal/c
lient/test-cal-client-get-view.c

Sorry, Milan, but what I'm looking for is a "quick & dirty" solution for
my home use, no time to get into C programming :-(
Any inspirations for existing tools (no GUI needed) to handle the ICS
format ?
--
Best regards and a happy new year from
Thomas



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