Simplest way to read out the calendar to another program

User avatar
jayrock
Posts: 223
Joined: Thu Dec 02, 2010 12:55 am

Simplest way to read out the calendar to another program

Postby jayrock » Tue Jan 25, 2011 11:23 am

Hi,

I want to read out the entries in the calendar for further processing in my program running on the HDA. I could think of different ways of doing this:

(i) direct programmatic access to the calendar (Ruby preferred) - how is this done?
(ii) read items from the SQL database (if I got it right the calendar uses SQL, right?) - where is the database?
(iii) let the program trigger export to a text file, then read and parse that text file - how can I trigger export?
(vi) ....?

I'm looking for advise which way is reliable yet easy to program. Either of the a.m methods, I'm glad for some hints to get started.

Thanks,

jayrock

User avatar
bigfoot65
Project Manager
Posts: 11924
Joined: Mon May 25, 2009 4:31 pm

Re: Simplest way to read out the calendar to another program

Postby bigfoot65 » Fri Jan 28, 2011 5:51 am

The calendar must be created and published from a client, like MS Outlook or Sunbird. It is not in a database on the HDA. See http://wiki.amahi.org/index.php/Calendars for more info.

Keep in mind the Calendar function on the HDA is a display only. If you want to have read/write access to a calendar and export it for further processing I recommend you try Web Calendar (http://www.amahi.org/apps/webcalendar).
ßîgƒσστ65
Applications Manager

My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2

User avatar
jayrock
Posts: 223
Joined: Thu Dec 02, 2010 12:55 am

Re: Simplest way to read out the calendar to another program

Postby jayrock » Fri Jan 28, 2011 9:35 am

Thanks bigfoot65,

I found my way through calendar, webcalendar and icalendar.

Cheers

/jayrock

Who is online

Users browsing this forum: No registered users and 23 guests