The biochemistry departmental web servers.

Directory structure:

Your home page

Secure shell (ssh) access

Here are links to help files ranging from beginner to expert for Unix/Linux, and the vi editor.

Creating a home page
John Doe's home page

Editing a web page

There are lots of ways to edit one of your web pages after you have already posted it.  This assumes that you keep the master copy on the server itself.  If you edit the page from more than one source, you should remember to do a reload from your browser whenever you retrieve it for further edits.  Otherwise, you risk retrieving a copy from your local cache that is missing some previous edits.

Say you were working on a Windows - PC platform and the page was hosted on a unix/Linux machine.

  1. To edit an existing page, you could access the page with Netscape, <reload>, click <file> <edit page> (that automatically runs composer on a version downloaded into your computer) and make your edits. If you wish to view or change the source directly, click <tools> <HTML tools>. The edited page now exists in the memory of your PC, not on the machine hosting the web page.  Use <file> <save as> to save the file as .html and use scp to copy the edited copy back to your web directory.
  2. To edit an existing page, you could access the file with Microsoft Internet Explorer, <refresh> click <file> and <edit with ...>.  Explorer will suggest the name of an editor that is installed on your system.  You can alter which editor it suggests in the Internet Explorer options.  The following instructions are for Microsoft Word.  Word will allow you to edit the file in WYSIWYG mode.  Or by clicking of <view> <html source> you can switch to editing at the source level.  Save as an .html file and scp back to the web directory.
  3. You could access the file by any browser and directly save to your hard disk, and then edit at the source level with any text editor.
  4. There are a variety of specialized programs for editing web pages.  These range from freeware to very pricey commercial products.
  5. You could access the web directory directly by ssh, and use a text editor to directly edit the file at the source level.

Adding a list of hyperlinks.

Even if you are not going to add the hyperlink at source level, it helps to know this bit of html to understand what the various programs are doing.  Here is the source to insert a hyperlink to weather.com for San Antonio weather:

<a href="http://www.weather.com/weather/local/USTX1200">San Antonio weather</a>

The <a href => </a> tag pair is called an anchor.  This displays as San Antonio weather where ever the anchor tag appears in the prose.  The URL of the page is hidden in the tag and does not display on the page.  Instead the text between the <a> and </a> tags (in this case San Antonio weather) is displayed and highlighted to indicate that it is an active link.  When one clicks on San Antonio weather, the page indicated in the tag is requested by your browser.

If the page is likely to be printed and referred to on paper, then the actual address of the link is lost.  In that case a better format at the source level would be:

San Antonio weather at
<a href="http://www.weather.com/weather/local/USTX1200">
http://www.weather.com/weather/local/USTX1200</a>

This displays as:

San Antonio weather at http://www.weather.com/weather/local/USTX1200

Now the URL is repeated in the visible part of the text, so that you could type it into the locator box of a web browser if you were working from a printed version of the document.  I particularly recommend the latter form for links embedded in e-mail.

For teaching materials, the first form is preferred.  Due to the disabilities act, we are asked to make materials that interact in as friendly a way as possible with a voice browser ( - a web browser running a voice synthesizer to read the material for the visually impaired).  In that mode, one would often "scan" a document by using the tab key to jump from link to link listening to the "visible" part of the link pronounced by the voice browser.  Hence the descriptive phrase rather than the URL would be a more informative thing to have pronounced.  A third form that retains both functionalities is:

 San Antonio weather  at ( http://www.weather.com/weather/local/USTX1200 ).  The parentheses around the URL are to avoid confusing the period at the end of the line with part of the URL. The period forces the voice browser to pause.  Therefore, periods should be used at the end of titles, headers, list items, etc., even if they are not really sentences.

You can copy links that you locate with your browser into an html document that you are writing in a very facile way:

Manual entry of a link: Relative links: If the link is to another document in the same web directory, then the full address isn't needed. Just <a href="filename.html"> will do.  Similarly <a href="files/filename.html"> will direct the web server to look in a subdirectory named files relative to the directory where the document with the link is found.  This form of reference has the disadvantage that when you copy the file to another directory or another computer, the links no longer work.

I have noticed that Netscape Composer sometimes alters the relative links from what you typed in.  After publishing the document, check the links.  If they do not work, reload the document with <edit page> and check the links by putting the cursor within the link without highlighting any part of it and clicking <link>.

Putting links in a list:  One of the most common formats used in web documents is an unnumbered list.  This gives a outline-like look to the document and allows material of a finer level of detail to be segreggated from the progression of major points by use of different levels of indention.  You see this format above whereever there are bullets.  The bullets can be removed, but it's better to leave them there because it helps avoid getting elements inadvertantly included in a list which can lead to some perplexing formatting problems.  Both Netscape and Microsoft Word have an icon in the tool bar consisting of 3 lines with bullets for imposing the list format.  The also have icons for changing indention.

At the source level, the formatting tags for a list are:
 

Different levels of indention are used above to distinguish the relationship of certain subpages within NCBI's large bioinformatics site that have been separately bookmarked to allow faster access to these particular functions.  It's a good idea to mark the top page (their home page) in addition to the specific pages that interest you.  That's because the subpages often get moved making your links go dead.  Presumably by starting at their home page, you'll easily find out where they moved them.  I also recommend including the name of the organization in or near the link.  Then if they change their URL, you have something to paste into a search engine to find them again.

The source level organization for the segment above would be

<ul>
<li> Major Bioinformatics Sites</li>
        <ul>
        <li><a href = "...">National Center for Bioinformatics</a></li>
                <ul>
                <li><a href = "...">Entrez</a></li>
                        <ul>
                        <li><a href = "...">Nucleotides</a></li>
                        <li><a href = "...">Proteins</a</li>
                        </ul>
                <li><a href = "...">Blast</a></li>
                        <ul>
                        <li><a href = "...">Blast 2 sequences</a></li>
                        </ul>
                <li><a href = "...">Medline</a></li>
                </ul>
        <li><a href = "...">Human genome browser</a> at
                        <a href = "...">The human genome project at UCSD</a></li>
        <li><a href = "...">EMBL</a></li>
        <li><a href = "...">European Bioinformatics Institute</a></li>
                <ul>
                <li><a href = "...">EBI alignment database</a></li>
                </ul>
        </ul>
... additional categories
</ul>

Notice how indenting the source file helps keep the <ul> and </ul> tags properly paired.  That only happens when the tags were directly entered with a text editor.  The automated html editors don't generally bother to do much formatting at the source level.  One of the most common formatting problems is failing to terminate a list and causing the bottom of the page to be inconsistently formatted.  It's not unusual for complex nested lists to get into a confused state such that one has to go into the source level to find the missing tag.

To make the list friendlier to the voice browser, use ordered lists instead of unordered lists.  These are indicated by the icon with numbered lines. The html tags are <ol>.  Ordered lists are automatically numbered.  The voice browser reads the numbers, but makes no note of bullets or of indention. You can change the numbering to lettering at the source level by adding a type attribute to the <ol> tag.  It would look like this: <ol type=a>.  That would cause letters to be read by the voice browser distinguishing a sublist from its parent list.

Password protection

NOTE: When I first tried this, it didn't work.  That was because Dr. Demeler had to give me permission at the system administrator level to be able to use passwords in this way.  He indicated that he would set that as the default for everyone.  However, if you discover that you can access your password-protected page without giving the password, you should call it to Dr. Demeler's attention.

Last updated 03/31/2003 - Steve Hardies