<html lang="en-GB">
  <head>
  <!-- Html generated by:  text2html.cgi -->
  <!-- QUERY STRING is 'doc/about-site' -->
  <!-- sFileName = 'about-site' -->
  <!-- sDirName = 'doc' -->
  <!-- sName = '' -->
  <LINK href="../css/site.css" type=text/css rel=stylesheet>
  <title></title>
  </head>
  <body>
  <h1 class='site-name'>bumble.sf.net 
    <q class="site-motto" cite="motto">language and parsing</q>
  </h1>
  <div id="side-bar">
  <div id="home-menu">
  <ul class='menu'>
      <li><a class="home-link" href='../index.html'>home</a>
      <li><a href="index.txt.html">index</a>
  </ul>
  </div>
<div id='folder-menu'>
<h4 class="dir-menu-title">folders</h4> 
<ul> 
<li><a href="cv">cv</a></li>
</ul> 
</div>
<div id='file-menu'>
<h4 class="file-menu-title">files</h4> 
<ul>
<li><a href="about-site.txt"></a></li>
<li><a href="about-site.txt">about-site.txt</a></li>
<li><a href="index.txt">index.txt</a></li>
<li><a href="putty.txt">putty.txt</a></li>
<li><a href="site-markup.txt">site-markup.txt</a></li>
<li><a href="software.txt">software.txt</a></li>
<li><a href="http://bumble.sourceforge.net/doc/stuff">stuff</a></li>
</ul>
</div>

 <td><a href="http://sourceforge.net">
 <img src="http://sflogo.sourceforge.net/sflogo.php?group_id=120173&amp;type=3" 
      title="site hosted by sourceforge (thankyou!!)" width="125" height="37"
      border="0" alt="SourceForge.net Logo" /></a></td>
</div>
<div id='page-content'>
  <a class="doc-link" href='about-site.txt'>plain text</a>
<p>
<p>
<center><h3 class="page-title"> about the web pages of this site </h3></center>
<p>
<p>
The web pages of this site are being generated by 3 sed scripts and one
cgi bash script
<ul><li> link:///makehtml.txt
<li> dir.sed
<li> file.sed
</ul>
  
The menu on the left hand side of the screen is generated by the two
sed scripts dir.sed and file.sed and consists of a listing of files 
and sub-folders which reside in the same directory on the web server
as the web page.
<p>
The scripts are called from the cgi bash script file:/script/text2html.txt
using the input from link://index.txt using mod-rewrite rules within 
the <a href="http://httpd.apache.org/docs/1.3<a">htaccess file</a> href="/howto/htaccess.html"><em><code>/howto/htaccess.html</code></em></a>
The sed script makehtml.txt implements a "wiki" [->wikipedia] like transformation
in which certain "markup" patterns within a plain text file are 
transformed into html. For example, the text in the source file
  <pre class="codeline"> see "parsing" [->wikipedia]</pre>
will be transformed by the scripts into
see "parsing" [->wikipedia]
<p>
For more information about the markup patterns which can be used 
in the text source files, see the document  <a href="site-markup.txt">site-markup.txt</a>
<p>
In general the apache mod-rewrite rules will redirect any file
with a name like "name.txt.html" to the cgi-script. That script will open
the <a href="name.txt"><em><code>name.txt</code></em></a> and transform it into html using the 
sed scripts.
<p>
<p>
<h4> tools used</h4>
<p>
This site and code were built with
<ul><li> <a href="http://vim.org">vim</a>
<li> <a href="http://www.chiark.greenend.org.uk/~<a">putty</a> href="sgtatham/putty/download.html"><em><code>sgtatham/putty/download.html</code></em></a>
<li> <a href="http://www.blooshed.net">bloodshed c++ compiler</a> which uses the 
<li> <a href="http://www.mingw.org">mingw</a> system and 
<li> <a href="http://gcc.gnu.org">gnu c compiler</a>
<li> <a href="http://sed.sourceforge.net">sed</a>
<li> <a href="http://www.sourceforge.net">sourceforge</a>
<li> <a href="http://httpd.apache.org">apache web server</a>
<li> <a href="http://fabrice.bellard.free.fr/tcc/">tiny c compiler</a> I will probably
try to write something using this compiler because it follows the 
minimalist philosophy
</ul>
  
<p>
<p>
</div>
</body>
</html>