[pmwiki-users] Intro and question where is the ICal Export Script?

erik burggraaf burggraaferik at gmail.com
Tue Dec 30 07:21:26 CST 2014

> Thanks very much.
> I've downloaded the script and had a play with it.  The documentation isn't really the best, and so I would appreciate any help you can give me since I'm stuck on some things.
> First, my wikilog calendar is installed, thuroughly tested and working.
> In config.php on the line above the include for my calendar I have the following include:
> include_once("$FarmD/cookbook/icalexport.php");
> I have uploaded the script to my cookbook directory.
> Before uploading the script to the cookbook directory, I edited the following lines of the script as follows.
> SDV($ICalCalendarGroup, 'Calendar');
> SDV($ICalCalendarTitle, 'NFB Nevada');
> SDV($ICalTimeZone, 'Europe/Berlin');
> SDV($ICalFileName, $ICalCalendarGroup);
> For reference, these are lines 89 to 92 of the script.
> The script seems to be installed correctly.  I get no spurious errors, but I'm not seeing a reference to it anywhere and I have the following questions.
> First,  how do I set the time zone?  I need gmt-8.  I see the line with the varyable but I don't know what argument  expected.
> Second, I see from notes in the script that my ics file is ment to be stored in 
> http://yourserver/index.php/uploads/Calendar/Calendar.ics
> Now I have two issues with this.  First, I don't really want a folder on my server called index.php.  I see that I can change the folder path using something called the $edit function, but I don't know enough about php at this point to attempt it.  Second, regardless of the folder used, I'll have to manually create it myself and make it writeable will I not?  The instructions say nothing about setting up the path to the ics file.
> Third, what triggers the script to generate the file?  I'm assuming it hasn't tried yet, since the path isn't available on the server and I haven't gotten an error from the script.  I dnow how to link to the file once it's generated, but how can I make sure the script is constantly updating and maintaining the file?
> Finally, would any one mind if  I clean up the instructions once I know what I'm doing and have the thing working?  The layout is difficult to use and there are gaps as you can see.
> best,
> erik
> On Dec 29, 2014, at 9:50 AM, Petko Yotov <5ko at 5ko.fr> wrote:
>> Hello,
>> The link to the script was added into the page earlier today by Dominique. It is in the top part of the "wikitext" section, the line "Download: icalexport.php". (If you are using a screen reader, it is after the "wikileft" menu, and below the first H1 heading, in a section with id=recipeinfo).
>> Petko
>> On 2014-12-29 04:06, erik burggraaf wrote:
>>> Hello Friends,
>>> My name is Erik.  I'm setting up my first pm wiki site.  I've come a
>>> very long way on my own.  PM wiki is installed, and so is authuser.
>>> I'm working on a calendar now and I got wikilog set up with the help
>>> of John Rankin.  Now I want to set up the ICal Export script listed
>>> here.
>>> http://www.pmwiki.org/wiki/Cookbook/ICalExport
>>> My question is, Where is the script file?  Most of the scripts I've
>>> looked at have a section with links to the required files marked by a
>>> heading.  I don't see it on the page for that script and I wonder if I
>>> might be missing something.
>>> I am totally blind and so if this page is unique in the way it shows
>>> the links to the script files, I may have missed something.  Otherwise
>>> it looks like the script is missing.
>>> Thanks for any help,
>>> _______________________________________________
>>> pmwiki-users mailing list
>>> pmwiki-users at pmichaud.com
>>> http://www.pmichaud.com/mailman/listinfo/pmwiki-users
>> _______________________________________________
>> pmwiki-users mailing list
>> pmwiki-users at pmichaud.com
>> http://www.pmichaud.com/mailman/listinfo/pmwiki-users

More information about the pmwiki-users mailing list