|
If you are making web pages for
APPM courses, However, the number of files which accumulate over the years causes extra work for the computer system and for those who maintain web pages. By following the following guidelines, we can keep the web structure intelligible and workable. Applied Mathematics has been using course web pages since 1992. |
Updated March 2005 | |
| ||
Semester filesAll files go in a semester-specific directory, e.g.,/www/courses/4650/2004Spr/ /www/courses/4650/2004Spr/index.html (home page!)The home page for a course is the file index.html in the semester directory.
Sections or Recitations groupsIf there are different pages for the sections of the course, they must go into section-specific subdirectories of the semester, e.g.,/www/courses/4650/2004Spr/R013/ /www/courses/4650/2004Spr/R014/ /www/courses/4650/2004Spr/R015/Knowing the proper directory structure will probably help save you time during the semester, but it will *definitely* help save time for next semester's instructors (and for the webmaster) Naming peculiarities?The directories for semesters are named so that they will be listed in chronological order. Thus they are named yearsemester, where semesters Spr and Sum are capitalized so that they will be listed before fall. Logged onto amath, the ls command gives this for course 2350:
amath> cd /www/courses/2350
amath> ls -F
OLDER/ 2002fall/ 2003fall 2004fall/
2002Spr/ 2003Spr/ 2003fall 2005Spr/
2002Sum/ 2003Sum/ 2004Spr All/ index.php@
(linked to current semester)
New SemesterTo prepare web pages for a new semester, ask the webmaster to prepare a new subdirectory for the semester, and to make you its owner. The webmaster changes the link for the home page to point to the file index.html in your new subdirectory. |
|
Some kinds of course files & web pages we want to keep
indefinitely, for possible future use; the main page,
the syllabus, schedules, reading lists, homework assignments,
and exams.
However, some files are meant to be deleted at the end of the semester. In particular, scanned homework solutions not only tend to be large PNG files which use lots of disk space and backup-tape space, but are only supposed to be viewed for a few weeks at most. It is inappropriate to leave such files in place after the semester is over -- think of what you are doing to next semester's instructor!! Therefore, all scanned homework solutions for the semester should go into a well-named subdirectory like "HWsolns" so that they can easily be identified and made unreadable after the course, e.g., /www/courses/4650/2004Spr/HWsolns/When the semester is over, the HWsolns directory and its contents should be made unreadable, if not removed entirely. (This also refers to directories named ``hw'' and ``HW'' -- traditional naming choices!) Exams and review sheets (especially if they are nice PDF files) can be copied into the course's "Old Exams" archive, but think twice about saving solutions. Will they sabotage future instructors' homework assignments? Are they scrappy scanned handwritten pages rather than neat clear LaTeX/PDF files?
|
|
APPM course web pages are physically stored on the disk of
a computer named ``amath'', which is not part of
the babbage/newton cluster; you can ssh to amath but your home
directory on amath is not the one shared by the Newton Lab
workstations. Your home directory on amath is almost empty;
you are expected to cd to the web directory and do your
web work there. You can scp (not ftp!) files to your home directory
on amath, or directly to the appropriate web directory. See the
web pages directory description
for details about the addresses of amath web pages vs. the
amath file system.
You may only edit files for which you have write permission, and you may only add or delete files from directories for which you have write permission. If you have trouble with creating/editing/deleting web pages or subdirectories, do check the "write permissions" before emailing "webmaster" with your problem. How do you know if you have write permission? Use the command "ls -al" to see the owner, group, and permissions of any file or directory. For this you must actually log on to one of the three hosts listed above using ssh (or, less preferably, rlogin or telnet), and cd to the right directory A file must be world-readable -- not just owner-readable -- in order for Netscape (or other web browser) to be able to display it. So, if your browser refuses to display a web page or image that you know exists, first check to see whether it is world-readable. When in doubt, use the command ``chmod'' to change the permission modes for your web stuff. for a file: chmod 664 filename for a directory: chmod 771 directorynameThe chmod command will only work on your own files/directories. Read about chmod (change mode) and chgrp (change group) if you're not already an expert.
NOTE: normally you will not be permitted to edit files in a course's main directory, only in the current semester's subdirectory. For example, the spring 2004 instructor of 1350 can create & edit files in /www/courses/1350/2004Spr/, but not one level higher in /www/courses/1350/. |
|
Consider that many users may be operating in contexts
very different from your own:
as well as C.U.'s local guidelines about creating accessible web pages. |
|
If you have suggestions for how we make or organize or
administer web pages in the Applied Math department,
email   webmaster@amath.colorado.edu.
The design of the top-level web pages is a matter of balancing efficiency with acceptable looks. Folks who access the main APPM pages do so from a variety of locations throughout the world, often through a modem or an otherwise slow connection. Thus it is crucial to keep those top-level web pages as quick-loading and easy to navigate as possible. Numerous/large images or applets, in particular, are not a good idea. On the other hand, specific course web pages have more freedom to use the cool, fancy stuff. Generally we expect course pages to be accessed more often from on/near campus, with higher access speeds. So background images, animations, Java applets, javascript, etc., are fine. |