CS 100 - Computer Literacy, Spring 2005
Lab 3
This lab assignment will have you create your own
web page on the
CS 100 Swiki with some basic information about yourself.
Swiki has its own simple editing rules. To link to a page, surround the page's title by *s (i.e. *My Page*); if the page does not already exist, a create button appears next to the new title; click on it to create the new page. The extensive list below documents all the editing features; these features are meant to enhance your use, but you do not need them to get started.
- Carriage returns are preserved.
- A line starting with !s becomes a header line. The more !s, the more important the header is. For example, !!subject will show up as <h2>subject</h2> in HTML. Up to three !s can be used.
- A line starting with _ (underscore) becomes a horizontal line. This is often used to separate topics.
- Using lines starting with #s and -s, creates a list.
- A block of lines, where each line starts with - is transformed into a bulleted list, where each line is an entry.
- A block of lines, where each line starts with # is transformed into an ordered list, where each line is an entry.
- Lists can be nested. Thus, a line starting with #- is an element of a bulleted list that is part of an ordered list.
- To create a table, start off the lines with | and separate the elements with |s. Each new line represents a new row of the table.
- To create a preformatted section, begin each line with =. A preformatted section uses equally spaced text so that spacing is preserved.
- To add an append (add to the page) area, begin a line with +. This will turn into a text area in the view mode, so users can add to the page without editing. This can be used to stop people from deleting a page's content; simply add the + line and lock the page; now, users are able to add, but not delete. Here are several options you can use with append areas (just add the character of each feature you want after the initial +):
^ | Append area stays at the top and appends go down. |
_ | (underscore) Appends are separated by horizontal lines. This can be useful for being able to tell the difference between different appends. |
+ | Append areas are self replicating, so that an append also creates another append area. In this way, it is easy to respond to a specific append. |
@ | Appends are marked with a timestamp. This can make it easier to identify the dynamics of certain discussions. |
- | (dash) Append areas do not show up on the page. Rather, there is just a button (add to the page here) that takes you to a separate page to add the comment. This is particularly useful in combination with self replicating appends (+ above), so that the amount of append areas does not dominate the page's content. |
- To create a link, put it between *s.
- If the page exists in the Swiki (e.g. *Existing Page's Name*), a link to that page shows up on save.
- In case the page does not already exist, the link shows up with a create button next to it; click on it to create the new page.
- If the link is external (e.g. *http://minnow.cc.gatech.edu/swiki*), a link to that external page shows up.
- If the link is an image (URL ends in '.gif', '.jpeg', '.jpg', or '.png'), the image is inlined.
- If the link is an email address (e.g. *self@mail.me.com*), a link to mail that person shows up.
- You can add anchors to places in the text by adding a line starting with @, such as @My Section. You can then create a link to that section using * and a @. So, *My Valid Page@My Section* will link to 'My Section' on the 'My Valid Page' page. If the section is inside the page you are linking from, you can omit the page name (e.g. *@My Section*).
- You can also alias all these links using >. So, you can create a link like this: *My Alias>A Valid Page Name*. The link will show up as My Alias, but link to 'A Valid Page Name' page. For images, the alias text will become the alternate text for the image.
- Use any HTML you want. Here are some useful HTML tags:
- To make text bold, surround it by <b> and </b>.
- To make text italicized, surround it by <i> and </i>.
- To make text underlined, surround it by <u> and </u>.
- You may want to import HTML from another program. To do this, simply put the HTML between <html> and </html> and the swiki formatting rules will not apply.
- You may want to share source code (HTML, C, Java, Smalltalk, etc.) on a Swiki. To do this, simply put the source code between <code> and </code> and the swiki formatting rules will not apply.
- To reference an uploaded file (uploaded using Uploads to this Page above), put it between *+ and +*. For example, *+myUpload.html+* will create a link to the uploaded file 'myUpload.html'. If the file is an image (ends in '.gif', '.jpeg', '.jpg', or '.png'), the image is inlined.
- There are three characters (&, <, >) that have special meaning in HTML. Also, Swiki adds two characters (*, @) to that list. In order to have these characters show up in plain text, you will have to alias them. This is the mapping for these characters:
& | maps to | & |
< | maps to | < |
> | maps to | > |
* | maps to | ☆ |
@ | maps to | &at; |
These mapping can be used in page names too.
Lab Assignment 3
Due: Monday 2/7/2005 by 12:00 noon
You are to create your own web page on the
CS 100 Swiki.
You page is to have the following information:
- Your name (which is to be the title of the page)
- Your netid
- Your major
- Your year
- Your hometown
- Your hobbies or interests
You can put this information is a list, a table or just write out
some sentences containing the information.
Your page is to have a link from the
Student Information Page from the CS 100 Swiki.
To create your page and this link, do the following:
- In the box at the bottom of the
Student Information Page, type *Your Name* just like
this "*Maurine Neiberg*"
- Click the "add to the page" button under the box.
- When your name shows up with a "Create" button next to it,
click on the Create button.
- Edit your page!
Do not use the edit button on the Student Information Page!
Instead use the box at the bottom to add your name.