Dan Kriwitsky wrote:
I would install something like www.calendarscript.com and that lets youallow different levels of access for adding events.
This calendarscript I think would make me a short time hero. Our manager wants something like this, and I think the clerks would like it. I haven't read the docs yet on it but looks like it uses perl.. hopefully the version I have :5.005_03 will work.
This is how we basically do it now.. I upload it as a pdf. So right now, I could implement that with minimum fuss. I like the fact that all they have to do is save it to their home directory and cron can grab it. I'm not a scripter though: I think I could maybe figure out using bash how to get cron to cp (not sure mv would be best- maybe it would) a file from one place to another. I don't know how to make it check timestamps and see if the file is new and needs uploading or is the old one. And maybe I should make it pull the file off a samba share on another server - I think I have ssh with RSA key authentication working for that. There's 4 staff in that office and it would be nice if any of them could save that file somewhere, say on one of the group share directories. And if I wanted cron to upload it pretty quickly after they saved it to their home directory, would it be prudent to have it check every half hour or hour?As for uploading their own calendars, have them create .pdf files and upload to their own user web space. You could have a cron move their file, as long as they always keep the name the same, on a regular basis to the main directory, or you can just link to www.nomealaska.org/users/username/file.pdf
This could come later.. not sure they're ready to be uploading html pages, or that there is yet a need. But it could come, so nice to know it is out there.I also have a PHP script, if the file they upload is .html or any text extension, that will pull the file they upload and include that content in another URL. It will also look for specific beginning and end tags so you can give them a template with <!--begin--> and <!--end--> and have them create the content to be included between those tags. Or, if they upload a .txt HTML file with no head or ending body and html tags, you can just use .shtml to include the file in another page so they don't need root web access.
thanks, -- Jim D.