DokuWiki

It's better when it's simple

User Tools

Site Tools


plugin:ical

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
plugin:ical [2011-06-05 16:31] – [To Do] 84.146.156.127plugin:ical [2023-12-25 11:22] (current) Aleksandr
Line 2: Line 2:
  
 ---- plugin ---- ---- plugin ----
-description: Lets you create iCal events on the fly in your wiki. +description: Lets you create iCal events on the fly in your wiki 
-author     : Esther Brunner and friends +author     : Esther Brunner 
-email      : +email      : esther@kaffeehaus.ch
 type       : syntax type       : syntax
 lastupdate : 2011-06-05 lastupdate : 2011-06-05
Line 10: Line 10:
 depends    :  depends    : 
 conflicts  conflicts 
-similar    :  +similar    : icalendar, icalevents 
-tags       : calendar,+tags       : calendar
  
-downloadurl: http://www.semperstudiosus.de/public/dokuwiki/ical.zip+downloadurl: 
 +bugtracker : 
 +sourcerepo :
 ---- ----
- 
  
 ===== Description ===== ===== Description =====
  
-This [[plugins|plugin]] lets you create iCal events on the fly in your wiki, which other users can download and add to their calendars.+This plugin lets you create iCal events on the fly in your wiki, which other users can download and add to their calendars.
  
 The iCal plugin uses the iCal PHP class by [[flaimo@gmx.net|Michael Wimmer]]. The iCal plugin uses the iCal PHP class by [[flaimo@gmx.net|Michael Wimmer]].
Line 25: Line 26:
 The output produced by this plugin looks like this: The output produced by this plugin looks like this:
  
-{{http://qwik.kaffeehaus.ch/_media/dokuwiki/ical.png}}+%%{{http://qwik.kaffeehaus.ch/_media/dokuwiki/ical.png}}%% FIXME
  
 ===== Usage ===== ===== Usage =====
Line 44: Line 45:
  
 ===== Installation ===== ===== Installation =====
 +Search and install the plugin using the [[plugin:extension|Extension Manager]]. Refer to [[:Plugins]] on how to install plugins manually.
  
-  - Download (with downloadmanager) + * [[http://​www.semperstudiosus.de/​public/​dokuwiki/ical.zip]] FIXME
-  - Unzip the archive and put the files into ''/path/to/lib/plugins/ical/''. +
  
 ===== History ===== ===== History =====
 +
   * 2011-06-05 fixes and enhancements   * 2011-06-05 fixes and enhancements
   * 2006-10-10 [[http://idmi.poly.edu/pdlab/ical-with-fixes-2006-10-10.zip|optimized version ]]   * 2006-10-10 [[http://idmi.poly.edu/pdlab/ical-with-fixes-2006-10-10.zip|optimized version ]]
-  *  
  
 ===== Wishes ===== ===== Wishes =====
  
-  * Aggregation of events summarized on a page+  * **download-file-name** 
 +  * **end-date** 
 +  * **utf-8** to use different charsets 
 +  * more **lightweight renderer** 
 +  * **Aggregation** of events summarized on a page 
 +  * **reminder** option
  
 ===== Discussion ===== ===== Discussion =====
  
-> [[jangal74@googlemail.com|Jan]]: I tried to download or visit your page but get a 403 Error. Could you please fix/update the link? Thanks.+==== Compatibility ====
  
->> My main server is currently down. In the mean time, I changed the link to another server. --- //[[esther@kaffeehaus.ch|Esther Brunner]] 2005-08-19 17:06// +=== Icon no-repeat (2006-10-10) ====
- +
- +
-> Changing the resulting ics file from "METHOD:REQUEST" to "METHOD:PUBLISH" seemed to fix the import problem. Change 0 to 1 in line 20 of ical.php +
- +
- +
-[[arne@arnested.dk|Arne:]] If you follow the link to the .ics file the dates in the file is always set to the current date and time and not the time of the event. Changing all function calls to ''is_int()'' in ''class.iCalEvent.inc.php'' to ''is_numeric()'' fixed the problem. +
- +
->> My ics files all have this: +
-"br /> +
-<b>Fatal error</b>:  Non-static method iCal::isEmpty() cannot be called statical +
-ly in <b>/Library/WebServer/Documents/dokuwiki/lib/plugins/ical/class.iCal.inc.p +
-hp</b> on line <b>1043</b><br />" +
-Any ideas how I can fix this?  +
- +
-[[imosqueira@suk.azti.es|Iago]] Can events lasting longer than a single day be created? If I try giving a date after the arrow, it does not work. Thanks. +
- +
-It should be noted that this plugin is not compatible with the DokuWiki plugin manager.  While the plugin manager will claim it was installed, all of the plugin .php files are zero-length.  The resolution is to simply install it the manual way. +
- +
-It would seem that when using this iCal plugin the iCal events date/time ends up being the date/time when the user clicks on the iCal link rather than the date/time configured within the link.  Is there an updated version that resolves this?  --- //[[garyv@rochester.rr.com|GaryV]] 2006-06-26 9:30// +
- +
- +
-Got the same problem that the date/time is the one when the ics-file was created and not the date/time configured within the link. Also the "DTEND" tag is missing. ([[http://www.ietf.org/rfc/rfc2445.txt|iCalendar Specification]]--- // M.M. 2006-08-28 // +
- +
->I've fixed the date problem. It seamed to be a type conversion problem. In ical.php: +
-<code php> +
-  $iCal->addEvent( +
-        array('',$_REQUEST['email']), // Organizer +
- (int) $_REQUEST['sts'], // Start Time (timestamp; for an all day event the start date has to start at YYYY-mm-dd 00:00:00) +
- (int) $_REQUEST['ets'], // End Time (write 'allday' for an all day event instead of a time stamp) +
-</code> --// Andy// +
- +
-I'm revisiting this plugin, and for whatever reason all I get now when I click on an iCal link I created (which was literally a cut/paste of the example), and I get this error "Notice: Undefined index: website in C:\dokuwiki\lib\plugins\ical\ical.php on line 42", followed by a screen full of other various warning notices. Anyone know what might be causing this? I've tried removing the plugin and reinstalling, but I end up with the same result. --- //[[garyv@rochester.rr.com|GaryV]] 2006-07-18 21:50// +
- +
------ +
-\\ +
-Is there a **Calendar Interface** interface that would be visible to clients? And when they are an event, the an iCal will be created on that particular calendar interface, on the particular date cell??? Its so frustrating that jscalendar is not supported on the latest version of DokuWiki, because is what I am currently using right now. For the concerned: feel free to email at [[andotyjazz@gmail.com|Andrew A.]] if this plugin is available or supported +
- +
------- +
-It would be nice to export a certain page as iCal, aggregating all events on this page to one iCal file. For example: ''%%http://www.dokuwiki.org/plugin:ical?do=export_vcal%%''. //[[doekman@gmail.com|Doekman]] 2006-08-31// +
- +
-==== Compatibility ====+
  
-=== Icon no-repeat ==== 
 syntax.php syntax.php
 replace replace
Line 115: Line 78:
             $link['style' = 'background-image: url('.DOKU_BASE.'lib/plugins/ical/ics.png); background-repeat:no-repeat;';             $link['style' = 'background-image: url('.DOKU_BASE.'lib/plugins/ical/ics.png); background-repeat:no-repeat;';
 </code>  </code> 
 +
 +==== ToDo : Reminder Option ====
 +
 +FIXME \\
 +In order to add the reminder option, it seems that in ics file, there is only this option : TRIGGER:-PT360M
 +
 +**TRIGGER:-PTXXXM** where XXX is a number in minute to indicate time to remind before meeting. (Ex : 360 == 6H) \\
 +FIXME
 +
 +
 +FIXME : Download link broken
plugin/ical.1307284304.txt.gz · Last modified: 2011-06-05 16:31 by 84.146.156.127

Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
CC Attribution-Share Alike 4.0 International Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki