<html>
<!--AD_DND-->
<head>
<title>Static File Support</title>
</head>

<body bgcolor=#ffffff text=#000000>
<h2>Static File Support</h2>

part of the <a href="index.html">ArsDigita Community System</a>
by <a href="http://photo.net/philg/">Philip Greenspun</a>

<hr>

<ul>

<li>User-accessible directory:  <a href="/comments/">/comments/</a>, 
<a href="/links/">/links/</a>

<li>Site administrator directory:  <a href="/admin/static/">/admin/static/</a>

<li>data model :  within <a href="/doc/sql/display-sql.tcl?url=/doc/sql/community-core.sql">/doc/sql/community-core.sql</a>
<li>Tcl procs:  /tcl/ad-html.tcl; /tcl/ad-user-content-map.tcl; 

</ul>

<h3>The Big Idea</h3>

Is explained fairly thoroughly in Chapter 3 of 
<cite>Philip and Alex's Guide to Web Publishing</cite>.


<h3>The Medium-size Idea</h3>

Copy all the .html files on the server into an Oracle table.  Give each
one a unique ID.  Collect comments and related links on each .html
page.  Display these in-line via the procedures in /tcl/ad-html.tcl

<p>

The filter in /tcl/ad-user-content-map.tcl records which users have
examined which .html files.

<hr>
<a href="http://photo.net/philg/"><address>philg@mit.edu</address></a>
</body>
</html>