Personal Web Pages in the
|
![]() |
![]() |
It is recommended that you maintain a personal home page, and a course web page for every course you teach. In this section I will explain where you can put your web pages, and what tools are available tools for creating and maintaining them.
After you have created a personal home page or course home page, let Sue Ellen Tuttle know about it, so it can be linked into the departmental web site.
Web pages are kept on a server. A server is a computer which stores web pages and sends them out to people who request them (the clients).
The servers available at ISU are
To create a web site, you have to get access to one of these servers. That will be covered in the next subsection.
Web pages are written in a language called HTML. It is human readable, and you can edit it directly, but it is much easier to use one of the many web editors available nowadays. This will also be covered in the following subsections.
It is customary to build or edit the web site on your local computer until you are satisfied with it, and then to publish (upload) the completed pages to the server. It depends on the server how you do the publishing. For most web sites it is done by FTP, but for all the ISU servers it can be done by mounting the server directory as a network drive on your PC and simply copying the files over.
This is only for faculty members. Tell Jon Roden that you want space on orion.math.iastate.edu. He can set it up so that you can mount your web space as a network drive on your office computer. Let's assume that Jon has set it up so that your web site is mapped to drive W on your Windows machine.
If your user name is keinert and you build a web page called math165.html, the full path name of that page on orion is /var/www/html/keinert/math165.html. Drive W will be mapped to /var/www/html/keinert/, so on your machine the file will be W:\math165.html. On the web, the address of this page is http://orion.math.iastate.edu/keinert/math165.html or http://www.math.iastate.edu/keinert/math165.html.
The default name for a home page is index.html. If you call your page index.html, you can refer to it as simply http://orion.math.iastate.edu/keinert/. The name homepage.html will also work.
This is not for beginners. You request a WebCT course through online forms accessible from the WebCT front page. Mostly you will be dealing with tools internal to WebCT for setting up and managing your class, but there is a place for your own web pages in WebCT. The easiest way to publish files to WebCT is to use WebDAV. You set up your WebCT file space as a network drive on your local computer, and copy files across. Ask someone for help in setting this up.
A web site in WebCT is really only useful for use in teaching a class. Only the students in your class will be able to see it.
Every ISU netid comes with a quota of personal disk space; I think it is 1 GB currently. You can use some of that for your web space. Your web directory has to be called WWW (in upper case), located in your home directory. If your user name is keinert and you want to create a web page called math165.html, the full pathname of this page on a Unix system is /home/keinert/WWW/math165.html, or equivalently ~/WWW/math165.html. On a Windows machine, your personal file system will be mounted as a network drive accessible through My Computer. Let's assume that you have mounted your personal file system as drive P. In that case, the web page would be at P:\WWW\math165.html. The address of this file on the web is http://www.public.iastate.edu/~keinert/math165.html. Note the tilde before your user name.
The default name for a web page is index.html. If you call your page index.html, you can refer to it as simply http://www.public.iastate.edu/~keinert/. The name homepage.html will also work.
Before the files in your WWW directory are available on the web, you have to tell the system about it. Information on how to do that can be found at http://www.iastate.edu/guide/build/overview.shtml. That document has a lot of information you don't need, about building departmental pages and so on. Here is the relevant information from this document: To register a web site:
This will create the directory WWW if it does not exist already. You can delete your registration by following the same steps and clicking "unregister web page." After you unregister your web page, the files will still be there, but they will be your private files, not visible to anybody else.
Neither registering nor unregistering will hurt the files in WWW. It simply tells the system whether you want the files in WWW to be publicly visible or not.
Web pages are written in plain text, with markup. Markup consists of formatting commands added to the text. The two markup languages you should be familiar with as a mathematician are TeX and HTML (HyperText Markup Language). You need to know a lot about TeX, and just enough about HTML to be able to diagnose mistakes that your HTML editor cannot fix.
Markup in TeX usually looks like either \begin{format} ... \end{format} or \format{...}, and of course $ ... $ for math.
Markup in HTML looks mostly like <tag> ... </tag>, except for a few single tags of the form <tag />. An example for the begin-end markup in HTML is <b>bold text</b>. An example for the single markup tag is <br /> (line break) or <img src="my_face.jpg" /> (insert an image).
There are really two different kinds of markup: physical markup and logical markup. Physical markup is something like "center this text and make it boldface". Logical markup is something like "this is a level 2 heading", and then a separate style file contains the definition of a level 2 heading ("centered and in boldface"). With logical markup you can change the look and feel of a document dramatically with just a few changes, and the presentation is consistent: all level 2 headings look the same. Logical markup also lays out the logical structure of your document to a computer program; marking the section headings allows TeX to produce a table of contents, for example.
You are probably familiar with the concept of a style file from LaTeX. Plain TeX uses physical markup. LaTeX uses logical markup and style files.
HTML is a mixture of physical markup and logical markup. It took the developers a few years to realize that, and to start encouraging everyone to use logical markup only. The physical markup tags of HTML are now officially declared as deprecated (what does that mean?). Of course there are billions of pages with physical markup out there, so it will never go away. If you are going to do a lot of web site editing, you should learn about HTML style files. They are called Cascading Style Sheets and are stored in files with a .css extension. If you just want to build a simple page for a class, you don't need that.
For a dramatic demonstration on what is possible with style sheets, look at http://www.csszengarden.com/.
It is possible to write web pages with a plain text editor, but an HTML editor is highly recommended. Here are some of your choices:
nVu is now an "orphan" software project. A user-community
maintained
program called "KompoZer" has branched off from the nVu project.
Details about KompoZer can be found online here:
http://en.wikipedia.org/wiki/KompoZer
http://kompozer.net/
I use a copy of KompoZer for some HTML editing projects.
Let's build two simple web pages using Nvu, a home page and a course page. The text that goes into the pages is shown below. If you are following along with the talk, you can cut and paste the text into Nvu.
The course page is supposed to contain this information:
|
Analysis I Instructor Fritz Keinert Textbook Manfred Stoll Organization of the Class We will cover the appendix and chapters 1-7 in the book. There will be a homework assignment for each chapter (8 of them altogether), a midterm exam, and a final exam. The homeworks together will make up 50% of your score, the exams 25% each. |
The home page is supposed to contain the following information, plus a picture:
|
Fritz Keinert Math 150 (Discrete Mathematics) (web-based) |
We will add the formatting and a few hot links to these pages.
As I mentioned before, you are really supposed to build the pages in a separate place and publish them later. For simplicity, I will build them directly in my WWW directory. This solves another problem, namely the fact that Nvu is severely braindamaged when it comes to the publishing process.
Here are the basic steps:
Here are some pages I consider seriously bad: