home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
linuxmafia.com 2016
/
linuxmafia.com.tar
/
linuxmafia.com
/
waygate
/
NEW
/
Guidelines
next >
Wrap
Text File
|
1997-10-03
|
8KB
|
210 lines
Guidelines for web pages in the Waygate
=======================================
All new pages are to be written according to the HTML 4.0
transitional specification, and should validate using its DTD.
This is indicated by the doctype declaration first in the HTML
document:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
Earlier pages should be made to conform to either the HTML 4.0, HTML
3.2 or HTML 2.0 specification, as is appropriate for the page. This is
indicated by the following doctypes for HTML 3.2 and HTML 2.0.
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
New pages are to be written in normalised form, ie all start- and
end-tags in container elements should be present. Ie: <P>...</P> and
<LI>...</LI> instead of just <P> or <LI>. This to faciliate style
sheet support and automatic processing.
The pages are most easily validated with the html-check command, which
invokes the nsgmls SGML parser. Errors are listed with file, line
number, column and cause of error.
There is a standardised template for the pages available in the file
"Template.html".
MANDATORY LINKS
+++++++++++++++
All pages should have a LINK element in the HEAD section with the
following:
<LINK REV="Made" HREF="mailto:wot@hugin.imat.com">
All pages should also have a LINK element in the HEAD section
pointing to the main page for the Waygate:
<LINK REL="Top" HREF="url-to-the-waygate" TITLE="The Waygate">
If appropriate, they should also have similar LINK elements
pointing to surrounding pages.
The following REL values may be used:
Top - always points to the main Waygate page
Parent - the page directly above the page, if this is not the
main Waygate page. TITLE should be set to "Up".
Begin - The first or "main" page in a sequence of pages
Next - the next page in a sequence
Previous - the previous page in a sequence
New values may be added as the need arises. In particular, once one or
a few site-wide stylesheets have been written the pages should have a
Stylesheet link element.
The values shall be written with lowercase characters, except for the
first uppercase character.
All pages should have a mailto- or form-link for sending e-mail to
<wot@hugin.imat.com> in the body. "<wot@hugin.imat.com>" or simply
"wot@hugin.imat.com" should be used as the link text. Similarly, all
pages should have a link in the body pointing to the main Waygate
page, using "The Waygate" as the link text. Additional links to
surrounding pages are to be used if appropriate.
CODING TECHNIQUES
+++++++++++++++++
Tables should be avoided for layout purposes. If they are used for
layout, the table should be made as small as possible due to the
rendering drawbacks. Any width listed must be in percentage form.
Frames must not to be used.
The elements B, I, TT, U, S and STRIKE must not to be used.
BLOCKQUOTE must not be used for indenting purposes, but only to mark a
longer quotation (one spanning one or more paragraphs). Likewise must
not the list elements (OL, UL and DL) be used for indenting.
NAVIGATION IN PAGE
++++++++++++++++++
Different parts of the page are to be accessible through the <A
NAME="foo">...</a> construct, if appropriate. The A element must be
given a non-empty content, preferably the text of the heading of the
section or similar.
Do not use this construct for providing a link to the top of the page.
The back button and scroll bar are sufficient for that.
LINKS
+++++
Links to pages with more than 40k of text should be marked as such, in
the form <A ...>link text</A> [XYKb].
Link texts are to be short and descriptive, three or four words at the
most. "Click here" or any similar statement must not to be used as the
link text.
All pages within the Waygate are to be referred with relative
links. All links to the directory root pages should be given as "./"
and not "index.html". Links to the WOTFAQ section are to be given as a
relative absolute link (ie it begins with a "/").
All other links should be given in their complete form, including
scheme and host, even if the page is stored on hugin.
IMAGES
++++++
A page is to be limited to a maximum of 15Kb of images, unless it is a
dedicated image page. A dedicated image page should be noted as such
in the link text. An image page should preferably be limited to at
most 100Kb total (ie inclusive images).
All and any image is to be given an ALT text, replacing the image's
functionality. For decorative images, ALT="" or ALT="*" is
appropriate.
Every image that fulfills a role in and of itself should be a link to
itself. For large such images (>15Kb) thumbnails are to be used.
Correct height and width values are to be supplied with every image.
They are not to be used for scaling the image or creating thumbnails.
A shared image and icon library is in waygate/Pics, and the images
there should be used whenever appropriate. The hugin-wide /icons/ image
library may also be used.
HTML CODING DETAILS
+++++++++++++++++++
Any editor may be used, as long as it produces valid HTML as
defined above.
Case in the HTML tags does not matter, but lowercase is preferred.
Colour values or background images for the page may not be set in the
BODY element. (Or use a fixed set?)
The character set of the pages is ISO-Latin-1 (ISO-8859-1). All
characters in this set with values over 127 (decimal) are to be
written as character entities. Diacractical characters (eg acute e,
umlaut o or o-cedilla) should use the &mnemonic; code, other
characters the numeric; code. A full list of of the character
entities HTML uses for ISO-Latin-1 characters can be found at
<http://www.htmlhelp.com/reference/charset/> <-- check!
FILE NAMES
++++++++++
HTML and other files shall have names in lowercase only. Directories
and meta-files (like Todo files or this guideline) shall begin with an
uppercase character, but be written in lowercase onwards. If several
files belong together they should use a uniform naming scheme.
Every directory shall be given a file "index.html" that acts as the
root page for the directory. It also prevents snooping on
half-finished pages.
META INFORMATION
++++++++++++++++
If appropriate, the name of the author and/or editor of the document
should be given. The META element may be used for this and other
metainformation. The following META name values may be used if
appropriate:
Author - author of the text
Editor - if the text has been heavily edited
Description - short description of the page
Keywords - keywords for the text
Note that some search engines nowadays seems to discriminate against
the use of the Keywords name value.
The META refresh construction may not be used, nor should META be used
for specifying content-type or charset.
THE DIRECTORIES
+++++++++++++++
The following directories exist in the Waygate:
Acos-pc - _A Crown of Swords_ plot contest
Bela-pc - The Bela in LoC plot contest
Bookart - Art from the books, ie covers and chapter icons. The
chapter icons are stored for maximal quality for later
processing and should not be used on the pages.
Fiction - Fiction regarding either the books or the newsgroup
Filk - Filk songs and lyrics
Jordanites - Information about individual net.jordanites, with
pictures and home page links
Loc-pc - _Lord of Chaos_ plot contest
Loony - Loony theories
Pics - Shared picture and icon archive for the pages
Survey3 - The third Novak-Ghirardelli survey
Tfoh-pc - _The Fires of Heaven_ plot contest
Tr-pc - The Two Rivers in TFoH plot contest
Pages should normally not be placed directly in the Waygate/
directory. New directories may be added as the need arises, but should
preferably made general enough so that new files can be added later.