webMyCal

February 28, 2006

Some progress

While I was doing listevents() I tought that i will not need to calculate the reocurrance of the events for the monthly view. I was wrong. It turns out that I do need the reocurrance in all cases. So the next thing in the todo list is to parce the RRULE line in each event (if any) and use the informatin to build the events. I thing this is the last big milestone. Once reocurrance is implemented it will alow for generation of the different views of the calendar.
Stay tooned

Filed under: webMyCal, Backend — Georgi Todorov @ 12:44 am

Bug Fixed

OK, the problem was the following:
in the whie loop, at the end of each event, when a hash is pushed into the array, it is done by reference. At the end of the loop we have n references in the array, where n is the number of the events. The problem is that all n references point to the same place in memory because the hash is not reallocate on every iteration.
To solve the problem a deepcopy function was implemented. Now, insted of pushing a reference of the hash into the array, we send that reference to the function, it is deep copied (by values) into a new hash, and the new address is pushed into the array. At the end we have n different addresses in the array, which was the whole point of the game.

Filed under: webMyCal, Backend — Georgi Todorov @ 12:41 am

February 1, 2006

webMyCal

webMyCal is an iCalendar to HTML converter that will allow for converting iCalendar files to static html web pages.

It will:

  • Export existing iCalendar to HTML
    • as daily page

    • as weekly page
    • as monthly page
  • allow easy way to modify the look of the HTML Calendar
    • font name/color/size

    • color coding of events
    • on-the-fly update

The iCalendar format is defined in RFC2445
in HTML rowspan will be used when arranging event cells.

Perl will be used to parse the .ics file and generate .html files
Web interface will be used to modify tag properties (visual properties) of the calendar

Filed under: webMyCal, Backend, Frontend — Georgi Todorov @ 10:29 am

Powered by WordPress