[volunteers] SVLUG Presentation Update

Rick Moen rick at linuxmafia.com
Wed Jan 31 12:08:36 PST 2007


Quoting Mark Weisler (mark at weisler-saratoga-ca.us):

> Hi Rick,
> 
> The page http://www.svlug.org/meetings.shtml
> ...indicates. "Details of this presentation have yet to arrive from the 
> speaker, but we expect..."
> 
> We could use the following information to provide more detail about the talk:
> 
> TOPIC SUMMARY:
> "This presentation will cover the design of VoIP for a small-business 
> scenario. It will cover configuration and use of AstLinux using a 
> bootable CD and a USB Flash key. Time-permitting, there will also be a 
> demo of TrixBox, which supports many additional features such as 
> logging, billing, CRM etc."  - in the words of the presenter, Sameer Verma.
> 
> 
> I believe that you, Rick, have done this Web page updating in the past.
> If you would like for me to do it please let me know. I remember that you sent 
> me (and I think Paul also) procedures on updating the server, perhaps for Web 
> site material. I will find that mail from you in any case.

Hi, I'm doing the updating as I write this.  Please quickly browse the
Web Team page, http://www.svlug.org/teams/web-team.shtml, which aims to
document all required technical basics of how to do this job.  (If
anything significant's missing, please speak up.)  

First thing you do is of course ssh into the server.  Your shell account
must be in the "webslaves" group in /etc/group .  

You cd to the top of the system HTML tree, /home/httpd/html/ .  (I have
a symlink "html" in my homedir that goes directly there.)  Our first aim
will be to move the January meeting details from meetings.shtml to
prevmeet.shtml.  Check out both files:

$ co -l meetings.shtml
$ co -l prevmeet.shtml

Now, you use your favourite text editing process to copy the entire Ed
Cherlin entry from meetings.shtml to prevmeet.shtml, noticing that
meetings.shtml has early events at the top moving to later ones as you 
go down the page, whereas prevmeet.html is in the opposite order.  Be careful
in copying, because Amy Abascal's site design relies on HTML tables, and
is a bit fragile, i.e., tables vulnerable to editing goofs.

Each month's entry starts with a "tr" (table record) entry with headers:

<tr valign="top">
  <th><font face="arial,helvetica">Date</font></th>
  <th><font face="arial,helvetica">Location</font></th>
  <th><font face="arial,helvetica">Speaker</font></th>
</tr>

Followed by another "tr" block with date/time/place/speaker/topic:

<tr valign="top">
  <td><font face="arial,helvetica">January 3, 2007</font></td>
  <td><font face="arial,helvetica"><a href="/directions/veritas.shtml">Symantec
  (formerly Veritas)</a>, Mountain View</td>
  <td><font face="arial,helvetica"><strong>Edward Cherlin</strong><br>

  <br><strong>Topic:</strong> The One Laptop Per Child Initiative
  </font>
  </td>
</tr>

And last, two large "tr" blocks with the talk description and then the
"MORE ABOUT THE SPEAKER" paragraph.  All four of these "tr" blocks must
exist, or else the tables get screwed up.

Save but don't exist "prevmeet.shtml".  Reload it in your Web browser,
to make sure you haven't screwed it up.  _Now_ exit, check into RCS... 

$ ci -u prevmeet.shtml

...and move on to meetings.shtml.  Open it in your text editor.  Scroll
down past the top-of-page info (about which more below) and the
"template for speaker blurbs" to the four "tr" blocks about January
2007.  Remove those lines (now that they're safely copied over to
prevmeet.shtml).

Right below that is, of course, the four "tr" blocks for Feburary 2007.


For the talk description paragraph, I've come up with this:

<tr>
  <td colspan="3"><font face="arial,helvetica">
  <p>This presentation will cover the design of VoIP for a small-business
  scenario. It will cover configuration and use of 
  <a href="http://www.astlinux.org/">AstLinux</a>, a custom Linux distribution 
  centered around <a href="http://www.asterisk.org/">Asterisk</a>, the
  open source PBX (private branch exchange).  It will cover configuration and 
  use of AstLinux using a bootable CD and a USB Flash key.  Time permitting,
  there will also be a demos of the CentOS-based
  <a href="http://www.trixbox.org/">Trixbox</a> Linux distribution,
  which supports many additional features such as logging, billing, CRM,
  etc.</p>
  </td> 
</tr>

The ""MORE ABOUT THE SPEAKER" paragraph still looks OK, I think.

Now, you move up to near the top of the page, again, to what I called
the "top-of-page info":  You need to update this header block:

<font size="+1" face="Arial,Helvetica,sans-serif">
<dl>
<dt><strong>Next Meeting:</strong>
<dd>Wednesday, January 3<sup><font size="-1">rd</font></sup>, 2007, 7PM-9PM
<dt>Speaker: Edward Cherlin<br>

<dd>
<dt>Location:
<dd><a href="/directions/veritas.shtml">Symantec (formerly Veritas)</a>,
Mountain View
<dt>Topic: The One Laptop Per Child Initiative
<dd>
</dl>
</font>


This of course replicates information from the next upcoming talk's four
"tr" blocks, below, but needs to be replaced every time the "next"
meeting changes.

A fine point:  Notice the "rd" in this line?
<dd>Wednesday, January 3<sup><font size="-1">rd</font></sup>, 2007, 7PM-9PM

The "rd" is small-block latter two thirds of "3rd".  A common error is
to forget to fix this when you change the date.  E.g., "February 7rd".
Don't do that, please.  ;->

Save.  Exit.  Check back into RCS:

$ ci -u meetings.shtml

You're not done, yet.  There's also the front page's "events" listings.

This is done via include file events.html.  So, check it out:

$ co -l events.html

It inevitably has a few obsolete entries (for an installfest and/or
meeting that's already past.  Suggestion:  Don't remove those lines: 
Move each obsolete block to lower in the file, and use it as the basis
for the next such event.  E.g., the first event is:

<p>
<dt>Saturday, Dec. 16<font size=-1><sup>th</sup></font>, 2006
<br>
<dd>SVLUG <a href="installfest/">installfest</a>*
</p>

Ugh.  I've been slacking.  Checking "cal feb 2007", we find the next
installfest date:


   February 2007    
Su Mo Tu We Th Fr Sa
             1  2  3
 4  5  6  7  8  9 10
11 12 13 14 15 16 17
18 19 20 21 22 23 24
25 26 27 28         
                    
It will be Feb. 17, so we move the installfest block down-page to about
mid-February, and edit to suit.

Now, do the same for the obsolete Jan. info:

<p>
<dt>Wednesday, Jan. 3<font size=-1><sup>rd</sup></font>, 2007 <a
href="meetings.shtml">General Meeting</a>
<br>
<dd><strong>Edward Cherlin</strong>

 <br><strong>Topic: </strong>
 The One Laptop per Child Initiative
 </p>

There's already a "Feb. 7" general-meeting entry, so the next general
meeting date will be (checking "cal mar 2007"):


     March 2007     
Su Mo Tu We Th Fr Sa
             1  2  3
 4  5  6  7  8  9 10
11 12 13 14 15 16 17
18 19 20 21 22 23 24
25 26 27 28 29 30 31
                    

...Wednesday, March 7th.  Since I don't yet have meeting speaker/topic
for March, I put TBA.

Save.  Exit.  Check into RCS:

$ ci -u events.html

You're still not quite done.  

$ cd installfest
$ co -l index.html

http://www.svlug.org/installfest/ aims to have the next four upcoming
installfest dates.  It's handy to just do "cal 2007" for this:


                             2007                              

      January               February               March        
Su Mo Tu We Th Fr Sa  Su Mo Tu We Th Fr Sa  Su Mo Tu We Th Fr Sa
    1  2  3  4  5  6               1  2  3               1  2  3
 7  8  9 10 11 12 13   4  5  6  7  8  9 10   4  5  6  7  8  9 10
14 15 16 17 18 19 20  11 12 13 14 15 16 17  11 12 13 14 15 16 17
21 22 23 24 25 26 27  18 19 20 21 22 23 24  18 19 20 21 22 23 24
28 29 30 31           25 26 27 28           25 26 27 28 29 30 31
                                                                
       April                  May                   June        
Su Mo Tu We Th Fr Sa  Su Mo Tu We Th Fr Sa  Su Mo Tu We Th Fr Sa
 1  2  3  4  5  6  7         1  2  3  4  5                  1  2
 8  9 10 11 12 13 14   6  7  8  9 10 11 12   3  4  5  6  7  8  9
15 16 17 18 19 20 21  13 14 15 16 17 18 19  10 11 12 13 14 15 16
22 23 24 25 26 27 28  20 21 22 23 24 25 26  17 18 19 20 21 22 23
29 30                 27 28 29 30 31        24 25 26 27 28 29 30
                                                                
        July                 August              September      
Su Mo Tu We Th Fr Sa  Su Mo Tu We Th Fr Sa  Su Mo Tu We Th Fr Sa
 1  2  3  4  5  6  7            1  2  3  4                     1
 8  9 10 11 12 13 14   5  6  7  8  9 10 11   2  3  4  5  6  7  8
15 16 17 18 19 20 21  12 13 14 15 16 17 18   9 10 11 12 13 14 15
22 23 24 25 26 27 28  19 20 21 22 23 24 25  16 17 18 19 20 21 22
29 30 31              26 27 28 29 30 31     23 24 25 26 27 28 29
                                            30                  
      October               November              December      
Su Mo Tu We Th Fr Sa  Su Mo Tu We Th Fr Sa  Su Mo Tu We Th Fr Sa
    1  2  3  4  5  6               1  2  3                     1
 7  8  9 10 11 12 13   4  5  6  7  8  9 10   2  3  4  5  6  7  8
14 15 16 17 18 19 20  11 12 13 14 15 16 17   9 10 11 12 13 14 15
21 22 23 24 25 26 27  18 19 20 21 22 23 24  16 17 18 19 20 21 22
28 29 30 31           25 26 27 28 29 30     23 24 25 26 27 28 29
                                            30 31               

So, this:

<li>Nov. 18, 2006</li>
<li>Dec. 16, 2006</li>
<li>Jan. 20, 2007</li>
<li>Feb. 17, 2007</li>

Becomes this:

<li>Feb. 17, 2007</li>
<li>Mar. 17, 2007</li>
<li>Apr. 21, 2007</li>
<li>May. 19, 2007</li>

_Now_ you're done -- immediately after you reload all affected pages in
your Web browser, to make sure you haven't screwed up:

http://www.svlug.org/installfest/
http://www.svlug.org/meetings.shtml
http://www.svlug.org/prevmeet.shtml
http://www.svlug.org/

(and in fact, I had committed a typo)


I strongly recommend checking some resource occasionally for conflicting
legal (or other significant) holidays.  Here's my own file:

http://linuxmafia.com/bale/holidays

Sometimes, It may be desirable to cancel or reschedule one of our
events, on account of conflicts.  It's easy to miss, e.g., Easter
weekend creeping up on you, if you use only "cal".  My file has a list
of all such holidays coming up for the next few years.






More information about the volunteers mailing list