Index: [Article Count Order] [Thread]

Date:  Fri, 15 Sep 2006 09:38:33 -0800
From:  Jim Dory <jdory (at mark) nomealaska.org>
Subject:  [coba-e:06970] OT: server side includes? Display file name as link on webpage
To:  coba-e (at mark) bluequartz.org
Message-Id:  <450AE519.7080806 (at mark) nomealaska.org>
X-Mail-Count: 06970

I'm wondering if any gurus here could point me towards a resource that I 
could learn from to try and accomplish a task at hand. I've been 
googling, and yet may find it before I get any replies - but maybe 
someone knows a quick method or a good resource.

What I would like to do is have our webpage display the latest file 
(based on date in file name or date uploaded) by name as a link  on the 
page. In other words, our clerk uploads the latest council agenda pdf to 
a local file share. Rsync in a cron job checks that directory every hour 
or so during the day and keeps a directory in the website updated with 
latest files from that file share. Then something - server side 
includes? - looks at the directory within the website and displays the 
name of the latest file there. Has to show the name because clerks want 
distinction between special meeting agendas and regular meetings. Plus 
I'll have this doing it for meeting minutes as well as same for the 
planning commission. I suppose I could set the webpage to refresh every 
few minutes if necessary to keep looking for latest file.

I can't just have the same file name in there (overwrite older file) 
because I need to keep older files in directory as archives.

Other option I'm looking at is CMS like joomla (mambo), where the users 
could just log in and publish what they want. But that will take a bit 
longer to flesh out because of needing multisites or such.

cheers, Jim

-- 
Jim Dory
Engineering
City of Nome
PO Box 281
102 Division St.
Nome, AK 99762
907.443.6604

http://www.nomealaska.org