Chris van Gorp's W3 html enhancer
               back to home page

See also Usage, W3 keywords, W3 example

The W3 program is made for people who use a standard text editor to make their html pages.

It offers you :

  • Edit 1 text file and let W3 generated the seperate .html files,
  • automatic make up the page header and footer,
  • generate or :
    1. a link list of all generated .html pages at the bottom of each page,
    2. a table of contents provided you supply level information in the source file
  • generate a INDEX page, using the W3 INDEX keyword,
  • generate a HREF test page, so you have can manually test all the HREFs used in your pages,
  • add an e-mail button at top or bottom of each page,
  • print document info at the top or bottom of each page :
    1. Document title, Pagetitle,
    2. Source file for W3,
    3. Creation date-time of the .html page,
    4. Document version.
  • format raw text ("abc" to "<P>abc</P>") (tag P)ABC(end tag P),
  • resolve internal page references based on page titles.
  • generate a FTP script file so you can easily upload the new pages.
  • generate a MSDOS BAT file RENAMER.BAT in the output directory to rename all .htm files to .html extension.
  •  

    W3 Usage   
                                                     back to top
    C:\HTML>w3
    
    C:\HTML>w3
    W3 V1.2 (c) Chris van Gorp
    file C:\USR\BIN\W3.EXE
      link datum is  28 12 1996 19:26:40
    Usage :    W3 source-file output-path output-prefix option(s)
     options are S : Simple layout pagelinks at top of page
     options are s : Simple layout pagelinks at bottom of page
     options are F : Frames layout pagelinks at top of page
     options are f : Frames layout pagelinks at bottom of page
     options are B : Booklike layout pagelinks at top of page
     options are b : Booklike layout pagelinks at bottom of page
     options are E : Email with emailgif
     options are e : Email without emailgif, just text "Email to : "
     options are V : (Verbose) show date-time and file name on html page at top of page
     options are v : (Verbose) show date-time and file name on html page at bottom of page
     example : W3 chris.txt c:\tmp\ cvg_ S
     if you supply a file "ftp.ini" in the current directory,
     an new file ftp.cmd is made wich contains all the ftp commands
     from ftp.ini and for each file created by W3 a put filename
     command.
     The ftp.cmd file is ended with the close command
    
     For further documentation see web page
     http://www.worldaccess.nl/~cvangorp
    
    C:\HTML>
    

     

     

     W3 Keywords  
                                               back to top

     

  • DOCTITLE title of the document,
  • DOCVERSION version of the document,
  • AUTHOR author of the document,
  • PAGETITLE [LEVEL level] title of a page (acts as page break),The level indicates Chapter/Paragraph level
  • PAGEFOOTER additional text placed at end of each page,
  • EMAIL email address to be placed at bottom of each page,
  • EMAILNAME name of the person,
  • EMAILGIF a gif file to display with email address,
  • SET set a variable,
  • VAR substitute a variable (set with SET) with it is contents,
  • REF internal page reference based upon pagetitles,
  • INDEX text to be put on index page,
  • FORMAT start with simple formatting ,
  • ENDFORMAT end simple formatting .
  • All the keywords are entered using an unique html comment sequence :

    <!-- W3:'keyword' 'value' -->

    so they don't show up if you view your source file with an HTLM viewer

     

     

     Example  
                                                     back to top

     

     

    In this document I use the following W3 keywords
    <!-- W3:DOCTITLE Chris van Gorp's Homepages -->
    <!-- W3:AUTHOR Chris van Gorp -->
    <!-- W3:DOCVERSION V1.4 -->
    <!-- W3:PAGETITLE first page -->
    <!-- W3:PAGEFOOTER -->
    <!-- W3:PAGEFILE -->
    <!-- W3:EMAIL cvangorp@worldaccess.nl?subject=Remark on webpages -->
    <!-- W3:EMAILNAME Chris van Gorp -->
    <!-- W3:EMAILGIF bemail.gif -->
    <!-- W3:SET myvar MyValue -->
    <!-- W3:VAR myvar -->
    

    Last edited Friday, December 28, 2001 17:23:36 PM