Homepages (Math)

 Accounts are made with a basic index page.

  • You can edit the HTML source code with GEdit on Linux, NotePad++ on Windows, or TextMate on a Mac.
  • Put the file in your math account's ~/www folder as a file named index.shtml or index.html (if you don't use server side includes).
  • On Linux computers in the department you can edit the HTML files directly, but you can keep the master copy on your own computer and do the file transfer with SFTP.

A basic index page

A basic index page

The docs directory with one file added

The docs directory with one file added

File and Web addresses

Below are the directories (www, docs), the symbolic link (html) and the file (index.shtml) created by the homepage script. Listed URLs are relative to the web server http://www.math.umn.edu/. The tilde (~) character is shorthand for an account's home directory.

File Location

Web Address

Note

~/www

 N/A

Reserved for non http web services

~/www/

/~johndoe

~/www/index.shtml

/~johndoe/index.shtml, but can also use the shorter /~johndoe URL too.

Can be edited with a programming editor (emacs, pico, vi, etc.) though proficiency will take a while.

~/www/docs

/~johndoe/docs

For documents you want to share with the internet

Adding Files to Your Web Site

The quickest way to add content to your website is to put PDF versions of papers into the ~/www/docs directory. The docs directory has no index page so the web server lists any file in the docs directory. The stock page has a link from index.shtml to /docs/; without the link search-engines wouldn't know to index the files inside (but someone could guess).

Use a mouse to drag and drop files (on dept. Linux or Macs). From any other machine, use software that supports ssh and scp to copy files to one of the lab Unix machines in the School of Mathematics. Graphical file transfer programs like CyberDuck, gftp, and WinSCP will make a connection, and you'll need to change into the ~/www/html directory, then drag and drop files from your local machine to the remote server.

From a terminal (on Linux or Mac OS X) and copy the files locally with cp or between computers using scp:

cp preprint.pdf ~/www/html/docs/preprint.pdf
scp preprint.pdf johndoe@example.math.umn.edu:www/html/docs/preprint.pdf

Converting Documents to HTML

Some document formats can be converted to HTML using software like latex2html, texi2html, makeinfo, docbook, openoffice, MS-Office, and gThumb. Pandoc can convert between dozens of formats.

If HTML conversion is not possible, try converting to pdf. Try using pdflatex from the teTeX software package.   

Disclaimer Policy

University of Minnesota policy requires that the following disclaimer appear on all personal pages and on all student organization pages. It will be automatically appended to pages that you create.

"The views and opinions expressed in this page are strictly those of the page author. The contents of this page have not been reviewed or approved by the University of Minnesota."

To find and list any files without the disclaimer, use the following command:

cd ~johndoe/www/html
find . -name \*htm\* -exec grep -L "The views and opinions expressed in this " \{} \;

If the disclaimer is in a server-side included footer, then the find command below should search for the footer string instead:

cd ~johndoe/www/html
find . -name \*htm\* -exec grep -L '<!--#include virtual="/~johndoe/_footer.shtml" -->' \{} \;

To match files with the disclaimer, use the grep -l command instead.