[sf-lug] perl: Re: Got meeting (up)dates? (web page updating of upcoming meeting dates)

Michael Paoli Michael.Paoli at cal.berkeley.edu
Sun Feb 17 02:37:07 PST 2013


> From: jim <jim at well.com>
> Subject: Re: Got meeting (up)dates? (web page updating of upcoming  
> meeting dates)
> Date: Wed, 06 Feb 2013 09:13:27 -0800

>     (Just for clarity) I'm assuming that below the
> expand command after step 4. you've written the
> contents of the upcoming_meetings file, which is
> Perl code, yes?

Yes[1].  Essentially I'd, earlier, done several different iterations of the
program.
$ ls -nort upcoming_meetings*
-rwx------ 1 1003 1977 Apr  2  2011 upcoming_meetings.old
-rwx------ 1 1003  794 Apr 20  2011  
upcoming_meetings.Berkeley_Linux_Users_Group
-rwx------ 1 1003  576 Apr 21  2011 upcoming_meetings.BALUG
-rwx------ 1 1003  796 Apr 22  2011 upcoming_meetings.BUUG
-rwx------ 1 1003 1775 Apr 22  2011 upcoming_meetings
The first was quite crude[2] and didn't use Date::Calc, but a version
shortly thereafter did[2], and was thus quite a bit better and more
compact.  Those were for the Berkeley Linux Users Group schedule.  Then
I did versions for BALUG and BUUG schedules, but I got tired of
creating separate versions for each UG, so then I made a more
generalized one that took arguments - that's the one shown and
demonstrated in [1].

Why have, e.g. php, recalculate every time the web pages is hit, when
(in SF-LUG case) that data only need be updated twice a month and could
be driven by cron?  :-)

references/excerpts/footnotes:
1.
http://linuxmafia.com/pipermail/sf-lug/2013q1/009838.html
http://linuxmafia.com/pipermail/sf-lug/2013q1/009841.html
> From: jim <jim at well.com>
> Subject: Re: Got meeting (up)dates? (web page updating of upcoming  
> meeting dates)
> Date: Wed, 06 Feb 2013 09:13:27 -0800

>     (Just for clarity) I'm assuming that below the
> expand command after step 4. you've written the
> contents of the upcoming_meetings file, which is
> Perl code, yes?
2. https://groups.google.com/forum/#!msg/berkeleylug/PPemp9zv_Jk/yHNW0B5zlD8J





More information about the sf-lug mailing list