home Cactus Home Page

cronicles The Cactus Chronicles

hellenic stuff Hellenic Pages

vrypan@hol.gr Send me mail


If you develop web pages, don't forget to visit my niceSgml2Html pages


Here is a random number



Those pages were formated using niceSgml2Html-0.5 and are best viewed by Netscape Communicator 4.04

The Cactus Chronicles Previous Table of Contents

5. niceSgml2Html Tips

5.1 Using header.html efficiently

One of the useful features of niceSgml2Html is the header.html. When you format a linuxdoc-sgml document using the option --nice, sgml-tools will look for a file named header.html in the same directory where your sgml file is. The contents of this file will be included in the final html files in the <HEAD> ... </HEAD> section.

My header.html contains a couple of <META> tags that define the character set of the document, give a description of the document and some keywords. Here is the header.html that is used for the greek documents in the Cactus Site:

<META HTTP-EQUIV="content-type" 
        CONTENT="text/html; charset=iso-8859-7">
<META NAME="keywords" 
        CONTENT="catus greek hellenic linux kde fonts">

The first one helps the browser to know which character set it should use to display the document. This way the visitor does not have to manually switch between charcter sets.

The secont line helps the search engines to classify my documents. Most of the search engines rely on this field.

5.2 Using navigation.html

Much like the header.html, navigation.html is included in the final html document. Its contents are used for the description of the left margin of each page. This is an easy way to provide visitors with navigational information as well as advertisments!!!

Suppose you have a couple of files that the user should be able to visit in a random order. You can put the sgml source of those files in a separate directory. You put there a navigation.html file that has links for those files. Then at the left margin of each page you get a much-wanted navigation area. Here is my navigation.html used for niceSgml2Html Pages:

<IMG SRC="blank.gif" WIDTH="145" HEIGHT="1">
<FONT SIZE="-1">
<A HREF="index.html">
<IMG SRC="img/home.gif" ALIGN="middle" ALT="home" 
HEIGHT=28 WIDTH=20 BORDER=0>
</A>
Cactus Home Page
<BR><BR> 
<A HREF="mailto:vrypan@hol.gr">
<IMG SRC="img/envelope.gif" ALIGN="middle" ALT="vrypan@hol.gr" 
HEIGHT=28 WIDTH=28 BORDER=0>
</A>
Send me mail
<BR><BR> 
The niceSgml2Html resources :
<UL>
<LI><A HREF="niceSgml2Html.html">Main Page</A>
<LI><A HREF="niceUG.html">User's Guide</A>
<LI><A HREF="src/niceSgml2Html-0.3.tar.gz">Download</A>
<LI><A HREF="Gallery.html">Gallery</A>
<LI><A HREF="Comparing.html">Comparing</A>
</UL>
<BR><BR>
<CENTER>Here is a random number
<IMG SRC=
"http://users.hol.gr/cgi-bin/count.cgi?ft=2|md=5|dd=C|df=vrypan$fntop" 
absmiddle> 
</CENTER>
</FONT>

The Cactus Chronicles Previous Table of Contents