Kronolith: Pārskats
Kas ir Kronolith?
Kronolith ir tīmekļa bāzēta kalendāra aplikācija. Bez ierastajām notikumu
ierakstīšanas, labošanas un dzēšanas funkcijām, tā uztur notikumu atkārtošanos
(ar izņēmumiem un dažādām dzēšanas iespējām), brīdinājumus, importa un eksporta
funkcijas, Uzdevumu moduļa Nag notikumu saraksta attēlošanu kopējā sarakstā
(ja modulis ir uzstādīts), kā arī iespēju parādīt notikumus Horde kopsavilkuma skatā.
CalDAV Clients
CalDAV clients can directly access the internal calendars (and task lists)
of Kronolith. External calendars like events provided by other applications
or remote calendars are not provided to CalDAV clients.
How to configure access to the calendars and which CalDAV URLs to use
depends on the client. Below are a few examples on how to access CalDAV
resources from common calendar clients:
Thunderbird/Lightning
Lightning, the calendar add-on to Thunderbird, requires to subscribe to
each CalDAV calendar individually. In the "File" menu choose
"New", then "Calendar". In the following dialogs choose
"On the Network", then "CalDAV". Copy the "CalDAV
Subscription URL" from the "Subscription" tab of Kronolith's
calendar dialog into the "Location" field.
Apple iCal
CalDAV servers can be added in the "Preferences" dialog, at the
"Accounts" tab. Click on the "+" button and choose
"CalDAV" as the "Account Type" in the upcoming
dialog. Enter your user name and password into the correct fields. Copy the
"CalDAV Account URL" from the "Subscription" tab of
Kronolith's calendar dialog into iCal's "Server Address" field.
Evolution
Evolution requires to subscribe to each CalDAV calendar individually. In
the "File" menu choose "New", then
"Calendar". Choose "CalDAV" as the "Type" in
the upcoming dialog. Copy the server name of the "CalDAV Subscription
URL" from the "Subscription" tab of Kronolith's calendar
dialog into the "Server" field. Copy the path of the URL to the
"Path" field. E.g. if your Subscription URL is
"http://www.example.com/rpc/calendars/user/calendar:xyz/", then
copy "www.example.com" to the "Server" field and
"/rpc/calendars/user/calendar:xyz/" to the path field.
Brīdinājumi
Kronolith var ģenerēt brīdinājumus atbilstoši uzstādījumiem kalendārā.
Pēc noklusēšanas, pirmais brīdinājums tiek izdarīts 15 minūtes pirms notikuma
sākuma, taču katram ierakstam atsevišķi ir iespējams noteikt brīdināšanas laiku
gandrīz jebkuros intervālos pirms notikuma sākuma.
Atkārtojošies notikumi
Notikumu atkārtošanos var organizēt dažādos veidos. Daudzi notikumi atkārtojas
jau iepriekš zināmā veidā. Piemēram, Ikmēneša notikums atkārtojas katru
mēnesi, Iknedēļas -katru nedēļu. Pamatojoties uz šiem ierastajiem
principiem, iespējams organizēt arī sarežģītāku atkārtošanās algoritmu,
piemēram notikums, kas atkārtojas katra mēneša pēdējā piektdienā vai arī
notikums, kurš atkārtojas katru nedēļu pirmdien, trešdien un piektdien.
Ir iespējams ierobežot atkārtošanās ilgumu, norādot atkārtošanās Beigu datumu.
Parasti, modificējot atkārtojošos notikuma ierakstu, tiek izmainīti arī
visi tā atkārtojumi. Atsevišķu atkārtojumu var izmainīt, labojot šo atkārtojumu,
atceļot tā atkārtošanās informāciju un saglabājot to kā jaunu notikumu,
izvēloties Saglabāt kā jaunu no Atkārtošanās izvēlnes.
Izvēlēto notikumu turpmāk varēs labot neatkarīgi no citiem atkārtojumiem.
Iegulšana
Ir iespējams iegult Jūsu kalendāra atsevišķus skatus ārējās tīmekļa vietnēs.
Iegult ir iespējams tādus pašus skatus, kā Horde portāla lapā. Zemāk redzami
koda piemēri, ar kuriem tas paveicams. Protams, Jums ir jānorāda pareiza servera
adrese un kalendāra nosaukums. Parametrs 'container' nav obligāts, taču tam
jāatbilst gan div elementa DOM id, gan jābūt unikālam visā lapā, kurā vēlaties iegult kalendāra skatu.
Lai iegultu šā mēneša mazo Mēneša skatu:
<div id="kronocalendar"></div><script
src="http://hostname.example.com/horde/kronolith/imple.php?imple=Embed
/container=kronocalendar/view=month/calendar=calendar_name"
type="text/javascript"></script>
Lai iegultu tuvojošos notikumu sarakstu (pievērsiet uzmanību 'mēnešu' un 'max.skaits'
parametriem):
<div id="kronolist"></div><script
src="http://hostname.example.com/horde/kronolith/imple.php?imple=Embed
/view=monthlist/calendar=calendar_name/container=kronolist/months=2/
maxevents=10" type="text/javascript"></script>
Lai iegultu kopskatu:
<div id="kronosummary">
</div><script type="text/javascript"
src="http://hostname.example.com/horde/kronolith/imple.php?imple=Embed
/container=kronosummary/view=summary/calendar=calendar_name
"></script>