<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
    <title>OpenSpice</title>
    <link rel="stylesheet" href="/css/base.css" type="text/css" />
    <meta name="verify-v1" content="/tLUnaL9Ij7F3o2DER80ZWDumQaxdvIXlMzkEmsQb/8=" />
  </head>
  <body>
<!--begin header-->
    <div id="top">
      <div id="strapline">
        <h1>
          <a href="/">Bel EPA - 10 years advanced research and development on the WWW</a>
        </h1>
      </div>
      <div id="header">
        <div id="logo">
          <a href="/">
            <img src="/graphics/logo.jpg" height="35" width="360" alt="Logo image" />
          </a>
        </div>
        <div id="topnav">
          <ul>
            <li>
              <a href="/development/">Development</a>
            </li>
            <li>
              <a href="/websites/">Websites</a>
            </li>
            <li>
              <a href="/newmedia/">New Media</a>
            </li>
            <li>
              <a href="/contact/">Contact us</a>
            </li>
          </ul>
        </div>
      </div>
    </div>
<!--end header-->
    <div id="content">
      <h4>OpenSpice</h4>
      <p> <img src="01.jpg" height="285" width="450" style="float:left;" class="imgleft" alt="Untitled image" />
Construction of this website was made extremely interesting by the design and engineering criteria. 
    </p>
      <p>
OpenSpice is the open specification activity for the Spice programming language and the OpenSpice Group
is the team of people involved in developing the open specification.  The team required write-access to
a centrally-maintained document set.
</p>
      <p>
One of the most popular ways of achieving this is to install a wiki
on the server and allow the wiki to handle the documents using the built-in wiki document set
organising principles.
</p>
      <p>
However, wikis are generally designed to afford write-access to all registered users, it is
a standard wiki principle. We needed to restrict authorship of the main
documents to the OpenSpice team, we judged that the built-in wiki comment facility would be
adequate to allow open commentary on the main documents without jeopardising their integrity.
</p>
      <p>
</p>
      <p>
</p>
      <p> <img src="02.jpg" height="285" width="460" style="float:right;" class="imgright" alt="Untitled image" />

Fortunately MoinMoin, a Python-implemented wiki, departed from the wiki tenets sufficiently 
to provide an access control system suitable for our modest requirements.
</p>
      <p>
With a small amount of
tweaking of the server configuration and the addition of an HTML renderer to the available wiki actions,
the website pages themselves could be authored within the wiki and served from the wiki via the
Apache include module and SSI
    </p>
      <p>
    The end result is illustrated in the two screenshots. The upper-left screenshot shows the server-parsed
    HTML output as rendered in a browser and the other screenshot shows the document as stored in the wiki,
    conveniently editable using the built-in wiki editing facilites and wiki markup.
    </p>
      <p>
    MoinMoin is even used to store and edit the SSI header and footer, both retrieved from the wiki by the 
    server as HTML and spliced seamlessly into the rendering.
    </p>
      <p>
    By using this technique, web pages become usefully concise, this is the unparsed HTML content of the "About Us" page:
    </p>
      <p>
    <pre class="code">&lt;html&gt;
&lt;head&gt;
&lt;title&gt;About the Open Spice Group&lt;/title&gt;
&lt;/head&gt;
&lt;link rel="stylesheet" type="text/css" href="/css/website.css"/&gt;
&lt;body&gt;
&lt;!--#include virtual="/docs/moin.cgi/Website_2fNavBar?action=raw"--&gt;
&lt;!--#include virtual="/docs/moin.cgi/Website_2fAboutUsText?action=format&amp;mimetype=text/html"--&gt;
&lt;!--#include virtual="/docs/moin.cgi/Website_2fFooter?action=raw"--&gt;
&lt;/body&gt;
&lt;/html&gt;</pre>
  </p>
    </div>
<!--begin footer-->
    <div class="clear"></div>
    <div id="footer"><a href="/">home</a> | 
			<a href="/etc/about.xml">about us</a> | 
			<a href="/etc/terms.xml">terms &amp; conditions</a><p class="cpyrt">Copyright 2006 G.J. Higgins and N.C. Macfarlane, except for original contributors. All rights reserved.</p></div>
<!--end footer-->
  </body>
</html>
