You are viewing a plain text version of this content. The canonical link for it is here.
Posted to site-cvs@tcl.apache.org by mx...@apache.org on 2013/02/22 10:47:01 UTC
svn commit: r1448968 [5/6] - in /tcl/site/rivet: ./ manual2.1/ static/
Modified: tcl/site/rivet/static/calendar.html
URL: http://svn.apache.org/viewvc/tcl/site/rivet/static/calendar.html?rev=1448968&r1=1448967&r2=1448968&view=diff
==============================================================================
--- tcl/site/rivet/static/calendar.html (original)
+++ tcl/site/rivet/static/calendar.html Fri Feb 22 09:46:59 2013
@@ -1,9 +1,10 @@
+<pre>\$Id: calendar.xml 2373 2013\-01\-31 23:13:11Z massimo.manghi \$</pre>
<!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=utf-8" />
<title>Calendar </title>
- <link rel="stylesheet" href="../css/wondrous/styles.css" type="text/css" />
+ <link rel="stylesheet" href="../templates/wondrous/styles.css" type="text/css" />
</head>
<body>
@@ -15,17 +16,18 @@
</div>
<div id="body">
<div id="content">
- <h2><headline>Calendar </headline>
-</h2>
+ <h2>Calendar </h2>
<div class="example">
- <!-- p class="title"><b>Example 7. The Calendar package</b></p -->
- <p>
+ <!-- p class="title"><b>Example 7. The Calendar package</b></p -->
+ <p>
Rivet comes with a <b>Calendar</b>
+
package that provides 3 classes for printing
calendar tables in various forms.
- </p>
- <p>
+ </p>
+ <p>
The <b>Calendar</b>
+
class prints ascii calendar tables
<pre class="programlisting">package require Calendar
@@ -40,15 +42,17 @@ puts $c_txt
18 19 20 21 22 23 24
25 26 27 28 29 30 31
</pre>
- </p>
- <p>
+ </p>
+ <p>
When it comes to writing web pages <b>HtmlCalendar</b>
+
is much fancier than
Calendar. <b>HtmlCalendar</b>
+
allows output customization of the cal table
by controlling the markup and its attributes.
- </p>
- <pre class="programlisting">package require Calendar
+ </p>
+ <pre class="programlisting">package require Calendar
proc ::cal_cell_attributes { day month year weekday } {
if {$weekday == 3} {
@@ -61,89 +65,85 @@ set html_txt [$htmlc emit -container {ta
-cell_function cal_cell_attributes ]
puts $html_txt
</pre>
- <p>
+ <p>
with some CSS styling would print
</p>
- <p>
- <img src="../picts/calendar.png"/>
- </p>
- <p>
+ <p>
+ <img src="../picts/calendar.png"/>
+ </p>
+ <p>
Almost the whole HTML of <b>HtmlCalendar</b>
+
can be customized.
- See the <a href="../manual/calendar_package.html">manual page</a>
+ See the <a href="/docs/../manual/calendar_package.html">manual page</a>
+
for package Calendar for further reading
- </p>
+ </p>
</div>
<div class="contentbottom">
- <div id="last_modified">Last Modified: 06-11-2011 11:47:35 UTC</div>
+
</div>
</div>
<div class="sidebar">
<ul>
- <li id="rivetexamples">
- <h4 class="">Examples</h4>
+
+ </ul>
+ <ul>
+ <li id="home">
+ <h4>Rivet</h4>
<ul class="blocklist">
<li class="navitem">
- <a href="hello_world.html" class="">Hello world!</a>
- </li>
- <li class="navitem">
- <a href="shaded_table.html" class="">A shaded table</a>
- </li>
- <li class="navitem">
- <a href="var_access.html" class="">Variable Access</a>
+ <a title="A home for Rivet" href="../index.html">Rivet Homepage</a>
</li>
<li class="navitem">
- <a href="file_upload.html" class="">File Upload</a>
+ <a title="Home of Apache Tcl related stuff" target="asf" href="http://tcl.apache.org/">Apache Tcl Home</a>
</li>
<li class="navitem">
- <a href="file_download.html" class="">File Download</a>
+ <a title="Getting Rivet" href="download.html">Getting Rivet</a>
</li>
<li class="navitem">
- <a href="ajax.html" class="">XML and Ajax</a>
+ <a title="Hello World!" href="hello_world.html">Examples</a>
</li>
<li class="navitem">
- <a href="calendar.html" class="">Calendar</a>
+ <a title="The Rivet development team" href="about.html">About Us - Contact</a>
</li>
</ul>
</li>
-<li id="main">
- <h4 class="">Rivet</h4>
+<li id="rivetexamples">
+ <h4>Examples</h4>
<ul class="blocklist">
<li class="navitem">
- <a href="../index.html" class="">Rivet Homepage</a>
+ <a href="hello_world.html">Hello world!</a>
</li>
<li class="navitem">
- <a href="http://tcl.apache.org/" target="asf">Apache Tcl Home</a>
+ <a href="shaded_table.html">A shaded table</a>
</li>
<li class="navitem">
- <a href="download.html" class="">Getting Rivet</a>
+ <a href="var_access.html">Variable Access</a>
</li>
<li class="navitem">
- <a href="hello_world.html" class="">Examples</a>
+ <a href="file_upload.html">File Upload</a>
</li>
<li class="navitem">
- <a href="about.html" class="">About Us - Contact</a>
+ <a href="file_download.html">File Download</a>
</li>
- </ul>
-</li>
-<li id="manual">
- <h4 class="">Manuals</h4>
- <ul class="blocklist">
<li class="navitem">
- <a href="http://tcl.apache.org/rivet/manual2.0/" target="rivetman2.0">Rivet 2.0 Manual</a>
+ <a href="ajax.html">XML and Ajax</a>
</li>
<li class="navitem">
- <a href="http://tcl.apache.org/rivet/manual2.1/" target="rivetman2.1">Rivet 2.1 Manual</a>
+ <a href="calendar.html">Calendar</a>
</li>
</ul>
</li>
-
</ul>
+ <ul>
+
+ </ul>
</div>
<div class="clear"></div>
</div>
Modified: tcl/site/rivet/static/download.html
URL: http://svn.apache.org/viewvc/tcl/site/rivet/static/download.html?rev=1448968&r1=1448967&r2=1448968&view=diff
==============================================================================
--- tcl/site/rivet/static/download.html (original)
+++ tcl/site/rivet/static/download.html Fri Feb 22 09:46:59 2013
@@ -1,9 +1,10 @@
+<pre>\$Id: download.xml 2373 2013\-01\-31 23:13:11Z massimo.manghi \$</pre>
<!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=utf-8" />
<title>Download Apache Rivet</title>
- <link rel="stylesheet" href="../css/wondrous/styles.css" type="text/css" />
+ <link rel="stylesheet" href="../templates/wondrous/styles.css" type="text/css" />
</head>
<body>
@@ -15,174 +16,155 @@
</div>
<div id="body">
<div id="content">
- <h2><headline>Download Apache Rivet</headline>
-</h2>
+ <h2>Download Apache Rivet</h2>
<div>
- <div class="sez">
- <h4>Source Code</h4>
- <p>
+ <div class="sez">
+ <h4>Source Code</h4>
+ <p>
The latest stable <b>Rivet</b>
+
release may be downloaded from one the links pointing to ASF mirror sites
<p>
- <code>
- <a href="http://www.apache.org/dyn/closer.cgi/tcl/rivet">http://www.apache.org/dyn/closer.cgi/tcl/rivet</a>
- </code>
- </p>
- </p>
- </div>
- <div class="sez">
- <h4>SuSE</h4>
- <p>
+ <code>
+ <a href="http://www.apache.org/dyn/closer.cgi/tcl/rivet">http://www.apache.org/dyn/closer.cgi/tcl/rivet</a>
+ </code>
+ </p>
+ </p>
+ </div>
+ <div class="sez">
+ <h4>SuSE</h4>
+ <p>
Rivet is available for various flavours of <a href="http://software.opensuse.org/search?q=rivet">SuSE</a>
+
thanks to Harald Oehlmann
- </p>
- </div>
- <div class="sez">
- <h4>Redhat and CentOS5</h4>
- <p>
+ </p>
+ </div>
+ <div class="sez">
+ <h4>Redhat and CentOS5</h4>
+ <p>
OpenSuse is distrubuting also
Rivet packages for
<a href="http://software.opensuse.org/search?q=rivet&baseproject=RedHat%3ARHEL-5">Redhat</a>
+
and
<a href="http://software.opensuse.org/search?q=rivet&baseproject=CentOS%3ACentOS-5">CentOS5</a>
- </p>
- </div>
- <div class="sez">
- <h4>RPM</h4>
- <p>
+ </p>
+ </div>
+ <div class="sez">
+ <h4>RPM</h4>
+ <p>
Jeff Lawson prepared a
<a href="https://github.com/repoforge/rpms/tree/master/specs/mod_rivet/">.spec file</a>
+
for RPMforge that can be used to build an .rpm out of the source code.
<a href="http://repoforge.org/use/">Installation instructions</a>
+
are available at Repoforge.
- </p>
- </div>
- <div class="sez">
- <h4>Debian and Ubuntu</h4>
- <p>
+ </p>
+ </div>
+ <div class="sez">
+ <h4>Debian and Ubuntu</h4>
+ <p>
Rivet was kindly sponsored by Sven Hoexter, Debian Developer. You
can download it from from Debian as
<a href="http://packages.debian.org/wheezy/libapache2-mod-rivet">libapache2-mod-rivet</a>
+
(binary module and configuration) and
<a href="http://packages.debian.org/wheezy/libapache2-mod-rivet-doc">libapache2-mod-rivet-doc</a>
+
(HTML manual).
- </p>
- <p>
+ </p>
+ <p>
Rivet was also automatically made available on
<a href="https://launchpad.net/ubuntu/+source/libapache2-mod-rivet">launchpad.net</a>
+
for the
<a href="https://launchpad.net/ubuntu/natty">Natty</a>
+
series of Ubuntu.
- </p>
- </div>
- <div class="sez">
- <h4>FreeBSD</h4>
- <p>
+ </p>
+ </div>
+ <div class="sez">
+ <h4>FreeBSD</h4>
+ <p>
Peter Lai is maintaining a <a href="http://www.freebsd.org/">FreeBSD</a>
+
port available as <b>www/mod_rivet</b>
- </p>
- </div>
- <div class="sez">
- <h4>Development code on SVN</h4>
- <p>
- <b>Apache Rivet</b>
+ </p>
+ </div>
+ <div class="sez">
+ <h4>Development code on SVN</h4>
+ <p>
+ <b>Apache Rivet</b>
+
is actively developed - you can always get the last code commited by the developers team.
- </p>
- <p>
- <code>svn co http://svn.apache.org/repos/asf/tcl/rivet/trunk rivet</code>
- </p>
- <!-- p>
+ </p>
+ <p>
+ <code>svn co http://svn.apache.org/repos/asf/tcl/rivet/trunk rivet</code>
+ </p>
+ <!-- p>
In addition, for your convenience, snapshots of the SVN tree are available here:
<a href="http://cvs.apache.org/snapshots/tcl-rivet/">http://cvs.apache.org/snapshots/tcl-rivet/</a>
</p -->
- </div>
+ </div>
</div>
<div class="contentbottom">
- <div id="last_modified">Last Modified: 20-11-2012 16:40:10 UTC</div>
+
</div>
</div>
<div class="sidebar">
<ul>
<li id="news">
- <h4 class="">News</h4>
- <ul class="blocklist">
- <li class="navitem">
- <a href="rn-2-1.html" class="">1 Dec 2012: Rivet 2.1.0 released</a>
- </li>
- <li class="navitem">
- <a href="rn-2-0.html" class="">1 Dec 2012: Rivet 2.0.6 released</a>
- </li>
- </ul>
-</li>
-<li id="main">
- <h4 class="">Rivet</h4>
+ <h4>News</h4>
<ul class="blocklist">
<li class="navitem">
- <a href="../index.html" class="">Rivet Homepage</a>
- </li>
- <li class="navitem">
- <a href="http://tcl.apache.org/" target="asf">Apache Tcl Home</a>
- </li>
- <li class="navitem">
- <a href="download.html" class="">Getting Rivet</a>
+ <a href="rn-2-1.html">21 Feb 2013: Rivet 2.1.1 released</a>
</li>
<li class="navitem">
- <a href="hello_world.html" class="">Examples</a>
- </li>
- <li class="navitem">
- <a href="about.html" class="">About Us - Contact</a>
+ <a href="rn-2-0.html">1 Dec 2012: Rivet 2.0.6 released</a>
</li>
</ul>
</li>
-<li id="tcl">
- <h4 class="">Tcl/Tk</h4>
+
+ </ul>
+ <ul>
+ <li id="home">
+ <h4>Rivet</h4>
<ul class="blocklist">
<li class="navitem">
- <a href="http://www.tcl.tk/" target="tclxchange">The Tcl Language
- </a>
+ <a title="A home for Rivet" href="../index.html">Rivet Homepage</a>
</li>
<li class="navitem">
- <a href="http://wiki.tcl.tk/" target="tclxchange">Tcl'ers Wiki</a>
+ <a title="Home of Apache Tcl related stuff" target="asf" href="http://tcl.apache.org/">Apache Tcl Home</a>
</li>
- </ul>
-</li>
-<li id="manual">
- <h4 class="">Manuals</h4>
- <ul class="blocklist">
<li class="navitem">
- <a href="http://tcl.apache.org/rivet/manual2.0/" target="rivetman2.0">Rivet 2.0 Manual</a>
+ <a title="Getting Rivet" href="download.html">Getting Rivet</a>
</li>
<li class="navitem">
- <a href="http://tcl.apache.org/rivet/manual2.1/" target="rivetman2.1">Rivet 2.1 Manual</a>
+ <a title="Hello World!" href="hello_world.html">Examples</a>
</li>
- </ul>
-</li>
-<li id="release">
- <h4 class="">Downloads</h4>
- <ul class="blocklist">
<li class="navitem">
- <a href="rn-2-0.html" class="">Rivet 2.0</a>
- </li>
- <li class="navitem">
- <a href="rn-2-1.html" class="">Rivet 2.1</a>
+ <a title="The Rivet development team" href="about.html">About Us - Contact</a>
</li>
</ul>
</li>
-<li id="acknowledgments">
- <h4 class="">Acknowledgments</h4>
+
+ </ul>
+ <ul>
+ <li id="acknowledgments">
+ <h4>Acknowledgments</h4>
<ul class="blocklist">
<li class="navitem">
<a href="http://www.apache.org/foundation/thanks.html">ASF Sponsorship</a>
</li>
</ul>
</li>
-
</ul>
</div>
Modified: tcl/site/rivet/static/file_download.html
URL: http://svn.apache.org/viewvc/tcl/site/rivet/static/file_download.html?rev=1448968&r1=1448967&r2=1448968&view=diff
==============================================================================
--- tcl/site/rivet/static/file_download.html (original)
+++ tcl/site/rivet/static/file_download.html Fri Feb 22 09:46:59 2013
@@ -1,9 +1,10 @@
+<pre>\$Id: file_download.xml 2373 2013\-01\-31 23:13:11Z massimo.manghi \$</pre>
<!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=utf-8" />
<title>File Download</title>
- <link rel="stylesheet" href="../css/wondrous/styles.css" type="text/css" />
+ <link rel="stylesheet" href="../templates/wondrous/styles.css" type="text/css" />
</head>
<body>
@@ -15,26 +16,26 @@
</div>
<div id="body">
<div id="content">
- <h2><headline>File Download</headline>
-</h2>
+ <h2>File Download</h2>
<div class="example">
- <!-- p class="title"><b>Example 5. File Download</b></p-->
- <div class="example-contents">
- <p>
+ <!-- p class="title"><b>Example 5. File Download</b></p-->
+ <div class="example-contents">
+ <p>
In general setting up a data file for being sent over http is as easy as determining the file's
URI and letting Apache's do all that is needed. If this approach fits your design all you have to do
is to keep the downloadable files somewhere within Apache's DocumentRoot (or in any of the directories
Apache has right to access).
</p>
- <p>
+ <p>
When a client sends a request for a file, Apache takes care of determining the filetype, sends appropriate
headers to the client and then the file content. The client is responsible for deciding how to handle the
data accordingly to the <quote>content-type</quote>
+
headers and its internal design.
For example when browsers give up
trying to display a certain "content-type" they display a download dialog box asking for directions from the user.
- </p>
- <p>
+ </p>
+ <p>
Rivet can help if you have more sofisticated needs. For instance you may be developing an application that uses
webpages to collect input data. This information might be passed on to scripts or programs for processing.
In this case a real file representing the data doesn't exist and the content is generated on demand by the server.
@@ -42,21 +43,22 @@
your scripts may expunge from the pages every link to these files (your pages are dynamic, aren't they?)
and move them out of way, but it looks like a cumbersome solution.
</p>
- <p>
+ <p>
Putting Tcl and Rivet in charge of the whole download mechanism helps in building
cleaner and safer approaches
to the download problem.
</p>
- <p>
+ <p>
In this example a procedure checks for the existence of a parameter passed in by the browser. The parameter is
the name (without extension) of a pdf file. Pdf files are stored in a directory whose path is in the
<b>pdf_repository</b>
+
variable.
- </p>
- <p>
+ </p>
+ <p>
This code is reported as an example of how to control the protocol using the headers command.
</p>
- <pre class="programlisting"># Code example for the transmission of a pdf file.
+ <pre class="programlisting"># Code example for the transmission of a pdf file.
if {[var exists pdfname]} {
set pdfname [var get pdfname]
@@ -102,85 +104,79 @@ if {[var exists pdfname]} {
parse parameter_not_defined_error.rvt
}
</pre>
- <p>
+ <p>
Before the pdf is sent the procedure sets the Content-Type, Content-Disposition, Content-Description and
Content-Length headers to inform the client about the file type, name and size. Notice that in order to
set the Content-Type header Rivet uses a specialiezed form of the headers command. Headers must be sent before
data gets sent down the output channel. Messing with this prescription causes an error to be raised (in fact
the protocol itself is being violated)
</p>
- </div>
+ </div>
</div>
<div class="contentbottom">
- <div id="last_modified">Last Modified: 06-11-2011 11:47:35 UTC</div>
+
</div>
</div>
<div class="sidebar">
<ul>
- <li id="rivetexamples">
- <h4 class="">Examples</h4>
+
+ </ul>
+ <ul>
+ <li id="home">
+ <h4>Rivet</h4>
<ul class="blocklist">
<li class="navitem">
- <a href="hello_world.html" class="">Hello world!</a>
- </li>
- <li class="navitem">
- <a href="shaded_table.html" class="">A shaded table</a>
+ <a title="A home for Rivet" href="../index.html">Rivet Homepage</a>
</li>
<li class="navitem">
- <a href="var_access.html" class="">Variable Access</a>
+ <a title="Home of Apache Tcl related stuff" target="asf" href="http://tcl.apache.org/">Apache Tcl Home</a>
</li>
<li class="navitem">
- <a href="file_upload.html" class="">File Upload</a>
+ <a title="Getting Rivet" href="download.html">Getting Rivet</a>
</li>
<li class="navitem">
- <a href="file_download.html" class="">File Download</a>
+ <a title="Hello World!" href="hello_world.html">Examples</a>
</li>
<li class="navitem">
- <a href="ajax.html" class="">XML and Ajax</a>
- </li>
- <li class="navitem">
- <a href="calendar.html" class="">Calendar</a>
+ <a title="The Rivet development team" href="about.html">About Us - Contact</a>
</li>
</ul>
</li>
-<li id="main">
- <h4 class="">Rivet</h4>
+<li id="rivetexamples">
+ <h4>Examples</h4>
<ul class="blocklist">
<li class="navitem">
- <a href="../index.html" class="">Rivet Homepage</a>
+ <a href="hello_world.html">Hello world!</a>
</li>
<li class="navitem">
- <a href="http://tcl.apache.org/" target="asf">Apache Tcl Home</a>
+ <a href="shaded_table.html">A shaded table</a>
</li>
<li class="navitem">
- <a href="download.html" class="">Getting Rivet</a>
+ <a href="var_access.html">Variable Access</a>
</li>
<li class="navitem">
- <a href="hello_world.html" class="">Examples</a>
+ <a href="file_upload.html">File Upload</a>
</li>
<li class="navitem">
- <a href="about.html" class="">About Us - Contact</a>
+ <a href="file_download.html">File Download</a>
</li>
- </ul>
-</li>
-<li id="manual">
- <h4 class="">Manuals</h4>
- <ul class="blocklist">
<li class="navitem">
- <a href="http://tcl.apache.org/rivet/manual2.0/" target="rivetman2.0">Rivet 2.0 Manual</a>
+ <a href="ajax.html">XML and Ajax</a>
</li>
<li class="navitem">
- <a href="http://tcl.apache.org/rivet/manual2.1/" target="rivetman2.1">Rivet 2.1 Manual</a>
+ <a href="calendar.html">Calendar</a>
</li>
</ul>
</li>
-
</ul>
+ <ul>
+
+ </ul>
</div>
<div class="clear"></div>
</div>
Modified: tcl/site/rivet/static/file_upload.html
URL: http://svn.apache.org/viewvc/tcl/site/rivet/static/file_upload.html?rev=1448968&r1=1448967&r2=1448968&view=diff
==============================================================================
--- tcl/site/rivet/static/file_upload.html (original)
+++ tcl/site/rivet/static/file_upload.html Fri Feb 22 09:46:59 2013
@@ -1,9 +1,10 @@
+<pre>\$Id: file_upload.xml 2373 2013\-01\-31 23:13:11Z massimo.manghi \$</pre>
<!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=utf-8" />
<title>File Upload</title>
- <link rel="stylesheet" href="../css/wondrous/styles.css" type="text/css" />
+ <link rel="stylesheet" href="../templates/wondrous/styles.css" type="text/css" />
</head>
<body>
@@ -15,129 +16,128 @@
</div>
<div id="body">
<div id="content">
- <h2><headline>File Upload</headline>
-</h2>
+ <h2>File Upload</h2>
<div class="example">
- <p class="title">
- <b>Example 4. File Upload</b>
- </p>
- <div class="example-contents">
- <p>
+ <p class="title">
+ <b>Example 4. File Upload</b>
+ </p>
+ <div class="example-contents">
+ <p>
The <b>upload</b>
+
command endows Rivet with an interface to access files transferred over http as
parts of a multipart form. The following HTML in one file, say, upload.html creates a form with a
text input entry. By clicking the file chooser button the file browser shows up and the user
selects the file to be uploaded (the file path will appear in the text input). In order to make
sure you're uploading the whole file you must combine the action of the enctype and method attributes
of the <b>form</b>
+
tag in the way shown in the example. Failure to do so would result in the client
sending only the file's path, rather than the actual contents.
- </p>
- <pre class="programlisting"><form action="foo.rvt" enctype="multipart/form-data" method="post">
+ </p>
+ <pre class="programlisting"><form action="foo.rvt" enctype="multipart/form-data" method="post">
<input type="file" name="MyUpload"></input>
<input type="submit" value="Send File"></input>
</form>
</pre>
- <p>
+ <p>
In the script invoked by the form (upload.rvt) <b>upload ?argument ...?</b>
+
commands can be used to
manipulate the various files uploaded.
- </p>
- <pre class="programlisting"><?
+ </p>
+ <pre class="programlisting"><?
upload save MyUpload /tmp/uploadfiles/file1
puts "Saved file [upload filename MyUpload] \
([upload size MyUpload] bytes) to server"
?>
</pre>
- <p>
+ <p>
Don't forget that the apache server must have write access to the directory where files are being created.
The Rivet Apache directives have a substantial impact on the upload process, you have to carefully read the
docs in order to set the appropriate directives values that would match your requirements.
</p>
- <p>
+ <p>
It is also important to understand that some upload commands are effective only when used in a mutually
exclusive way. Apache stores the data in temporary files which are read by the
<b>upload save ?upload name? ?filename?</b>
+
or by the <b>upload data ?upload name?</b>
+
command. Subsequent calls to these 2 commands using the
same <b>?upload name?</b>
+
argument will return no data on the second call. Likewise upload channel
?upload name? will return a Tcl file channel that you can use in regular Tcl scripts only if you
haven't already read the data, for example with a call to the upload data ?upload name? command.
- </p>
- </div>
+ </p>
+ </div>
</div>
<div class="contentbottom">
- <div id="last_modified">Last Modified: 20-07-2010 13:11:09 UTC</div>
+
</div>
</div>
<div class="sidebar">
<ul>
- <li id="rivetexamples">
- <h4 class="">Examples</h4>
+
+ </ul>
+ <ul>
+ <li id="home">
+ <h4>Rivet</h4>
<ul class="blocklist">
<li class="navitem">
- <a href="hello_world.html" class="">Hello world!</a>
+ <a title="A home for Rivet" href="../index.html">Rivet Homepage</a>
</li>
<li class="navitem">
- <a href="shaded_table.html" class="">A shaded table</a>
+ <a title="Home of Apache Tcl related stuff" target="asf" href="http://tcl.apache.org/">Apache Tcl Home</a>
</li>
<li class="navitem">
- <a href="var_access.html" class="">Variable Access</a>
+ <a title="Getting Rivet" href="download.html">Getting Rivet</a>
</li>
<li class="navitem">
- <a href="file_upload.html" class="">File Upload</a>
+ <a title="Hello World!" href="hello_world.html">Examples</a>
</li>
<li class="navitem">
- <a href="file_download.html" class="">File Download</a>
- </li>
- <li class="navitem">
- <a href="ajax.html" class="">XML and Ajax</a>
- </li>
- <li class="navitem">
- <a href="calendar.html" class="">Calendar</a>
+ <a title="The Rivet development team" href="about.html">About Us - Contact</a>
</li>
</ul>
</li>
-<li id="main">
- <h4 class="">Rivet</h4>
+<li id="rivetexamples">
+ <h4>Examples</h4>
<ul class="blocklist">
<li class="navitem">
- <a href="../index.html" class="">Rivet Homepage</a>
+ <a href="hello_world.html">Hello world!</a>
</li>
<li class="navitem">
- <a href="http://tcl.apache.org/" target="asf">Apache Tcl Home</a>
+ <a href="shaded_table.html">A shaded table</a>
</li>
<li class="navitem">
- <a href="download.html" class="">Getting Rivet</a>
+ <a href="var_access.html">Variable Access</a>
</li>
<li class="navitem">
- <a href="hello_world.html" class="">Examples</a>
+ <a href="file_upload.html">File Upload</a>
</li>
<li class="navitem">
- <a href="about.html" class="">About Us - Contact</a>
+ <a href="file_download.html">File Download</a>
</li>
- </ul>
-</li>
-<li id="manual">
- <h4 class="">Manuals</h4>
- <ul class="blocklist">
<li class="navitem">
- <a href="http://tcl.apache.org/rivet/manual2.0/" target="rivetman2.0">Rivet 2.0 Manual</a>
+ <a href="ajax.html">XML and Ajax</a>
</li>
<li class="navitem">
- <a href="http://tcl.apache.org/rivet/manual2.1/" target="rivetman2.1">Rivet 2.1 Manual</a>
+ <a href="calendar.html">Calendar</a>
</li>
</ul>
</li>
-
</ul>
+ <ul>
+
+ </ul>
</div>
<div class="clear"></div>
</div>
Modified: tcl/site/rivet/static/hello_world.html
URL: http://svn.apache.org/viewvc/tcl/site/rivet/static/hello_world.html?rev=1448968&r1=1448967&r2=1448968&view=diff
==============================================================================
--- tcl/site/rivet/static/hello_world.html (original)
+++ tcl/site/rivet/static/hello_world.html Fri Feb 22 09:46:59 2013
@@ -1,9 +1,10 @@
+<pre>\$Id: hello_world.xml 2243 2012\-11\-26 01:22:36Z massimo.manghi \$</pre>
<!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=utf-8" />
<title>Hello World</title>
- <link rel="stylesheet" href="../css/wondrous/styles.css" type="text/css" />
+ <link rel="stylesheet" href="../templates/wondrous/styles.css" type="text/css" />
</head>
<body>
@@ -15,22 +16,22 @@
</div>
<div id="body">
<div id="content">
- <h2><headline>Hello World</headline>
-</h2>
+ <h2>Hello World</h2>
<div class="example">
- <!-- p class="title"><b>Example 1. Hello World</b></p-->
- <div class="example-contents">
- <p>
+ <!-- p class="title"><b>Example 1. Hello World</b></p-->
+ <div class="example-contents">
+ <p>
As with any tool, it's always nice to see something work, so
let's create a small "Hello World" page.
</p>
- <p>
+ <p>
Assuming you have Apache configured correctly, create a file
called <code class="filename">hello.rvt</code>
+
where Apache can find
it, with the following content:
- </p>
- <pre class="programlisting"><html>
+ </p>
+ <pre class="programlisting"><html>
<head>
<title>Hello World</title>
</head>
@@ -41,10 +42,11 @@
</body>
</html>
</pre>
- <p>
+ <p>
The example can be elaborated, for example using the <tt>
- <a href="http://tcl.apache.org/rivet/manual/html.html">html</a>
- </tt>
+ <a href="http://tcl.apache.org/rivet/manual/html.html">html</a>
+ </tt>
+
command
<pre class="programlisting">
<? set hello_message "Hello world" ?>
@@ -57,13 +59,13 @@
?></body>
</html>
</pre>
- </p>
- <p>
+ </p>
+ <p>
Starting with version 2.0.5 Rivet also supports a shorthand notation
to output simple strings.
</p>
- <p>
- <pre class="programlisting">
+ <p>
+ <pre class="programlisting">
<? set hello_message "Hello world" ?>
<html>
<head>
@@ -72,79 +74,73 @@
<body><?= [::rivet::html $hello_message pre b] ?></body>
</html>
</pre>
- </p>
- </div>
+ </p>
+ </div>
</div>
<div class="contentbottom">
- <div id="last_modified">Last Modified: 26-11-2012 01:22:36 UTC</div>
+
</div>
</div>
<div class="sidebar">
<ul>
- <li id="rivetexamples">
- <h4 class="">Examples</h4>
+
+ </ul>
+ <ul>
+ <li id="home">
+ <h4>Rivet</h4>
<ul class="blocklist">
<li class="navitem">
- <a href="hello_world.html" class="">Hello world!</a>
- </li>
- <li class="navitem">
- <a href="shaded_table.html" class="">A shaded table</a>
+ <a title="A home for Rivet" href="../index.html">Rivet Homepage</a>
</li>
<li class="navitem">
- <a href="var_access.html" class="">Variable Access</a>
+ <a title="Home of Apache Tcl related stuff" target="asf" href="http://tcl.apache.org/">Apache Tcl Home</a>
</li>
<li class="navitem">
- <a href="file_upload.html" class="">File Upload</a>
+ <a title="Getting Rivet" href="download.html">Getting Rivet</a>
</li>
<li class="navitem">
- <a href="file_download.html" class="">File Download</a>
+ <a title="Hello World!" href="hello_world.html">Examples</a>
</li>
<li class="navitem">
- <a href="ajax.html" class="">XML and Ajax</a>
- </li>
- <li class="navitem">
- <a href="calendar.html" class="">Calendar</a>
+ <a title="The Rivet development team" href="about.html">About Us - Contact</a>
</li>
</ul>
</li>
-<li id="main">
- <h4 class="">Rivet</h4>
+<li id="rivetexamples">
+ <h4>Examples</h4>
<ul class="blocklist">
<li class="navitem">
- <a href="../index.html" class="">Rivet Homepage</a>
+ <a href="hello_world.html">Hello world!</a>
</li>
<li class="navitem">
- <a href="http://tcl.apache.org/" target="asf">Apache Tcl Home</a>
+ <a href="shaded_table.html">A shaded table</a>
</li>
<li class="navitem">
- <a href="download.html" class="">Getting Rivet</a>
+ <a href="var_access.html">Variable Access</a>
</li>
<li class="navitem">
- <a href="hello_world.html" class="">Examples</a>
+ <a href="file_upload.html">File Upload</a>
</li>
<li class="navitem">
- <a href="about.html" class="">About Us - Contact</a>
+ <a href="file_download.html">File Download</a>
</li>
- </ul>
-</li>
-<li id="manual">
- <h4 class="">Manuals</h4>
- <ul class="blocklist">
<li class="navitem">
- <a href="http://tcl.apache.org/rivet/manual2.0/" target="rivetman2.0">Rivet 2.0 Manual</a>
+ <a href="ajax.html">XML and Ajax</a>
</li>
<li class="navitem">
- <a href="http://tcl.apache.org/rivet/manual2.1/" target="rivetman2.1">Rivet 2.1 Manual</a>
+ <a href="calendar.html">Calendar</a>
</li>
</ul>
</li>
-
</ul>
+ <ul>
+
+ </ul>
</div>
<div class="clear"></div>
</div>
Modified: tcl/site/rivet/static/rn-2-0.html
URL: http://svn.apache.org/viewvc/tcl/site/rivet/static/rn-2-0.html?rev=1448968&r1=1448967&r2=1448968&view=diff
==============================================================================
--- tcl/site/rivet/static/rn-2-0.html (original)
+++ tcl/site/rivet/static/rn-2-0.html Fri Feb 22 09:46:59 2013
@@ -1,9 +1,10 @@
+<pre>\$Id: rn\-2\-0.xml 2373 2013\-01\-31 23:13:11Z massimo.manghi \$</pre>
<!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=utf-8" />
<title>Rivet 2.0: Release Notes and Known Problems</title>
- <link rel="stylesheet" href="../css/wondrous/styles.css" type="text/css" />
+ <link rel="stylesheet" href="../templates/wondrous/styles.css" type="text/css" />
</head>
<body>
@@ -15,406 +16,398 @@
</div>
<div id="body">
<div id="content">
- <h2><headline>Rivet 2.0: Release Notes and Known Problems</headline>
-</h2>
+ <h2>Rivet 2.0: Release Notes and Known Problems</h2>
<div>
- <div class="sez">
- <h4>Download</h4>
- <p>
+ <div class="sez">
+ <h4>Download</h4>
+ <p>
Rivet 2.0 is available for download from ASF mirror sites. Check the
<a href="download.html">download page</a>
+
for information about
downloading the source code, rpm files or packages for SuSE,
Redhat, Debian and Ubuntu (packages for SuSE and Redhat are available thanks to
Harald Oehlmann).
- </p>
- <p>
+ </p>
+ <p>
Code integrity for this release can be checked using the
public keys in the <a href="http://www.apache.org/dist/tcl/KEYS">KEYS</a>
+
file.
- </p>
- <p>
+ </p>
+ <p>
Rivet 2.0 has been tested on Apache 1.3 , 2.2 and 2.4 servers.
<strong>Apache 2.2/2.4 servers must be running
<tt>prefork</tt>
- as multiprocess module </strong>
+
+ as multiprocess module </strong>
+
though. Rivet is incompatible with the
'worker' and 'event' MPMs.
- </p>
- </div>
- <div class="sez">
- <h4>Release Notes for Rivet 2.0.6 <span class="timestamp">(30-Nov-2012)</span>
- </h4>
- <h5>Fixed Bugs</h5>
- <p>
+ </p>
+ </div>
+ <div class="sez">
+ <h4>Release Notes for Rivet 2.0.6 <span class="timestamp">(30-Nov-2012)</span>
+ </h4>
+ <h5>Fixed Bugs</h5>
+ <p>
Test Suite
<ul>
- <li>User and Group directives removed from the configuration file
+ <li>User and Group directives removed from the configuration file
template to make test suite independent from the command 'id' output from which
the values for this parameters were inferred (Bug #53396)</li>
- </ul>
- </p>
- <p>
+ </ul>
+ </p>
+ <p>
mod_rivet.c
<ul>
- <li>Add UploadDirectory to the list of handled options for RivetUserConf</li>
- <li>The module returns now a HTTP_INTERNAL_SERVER_ERROR when a <b>::request</b>
+ <li>Add UploadDirectory to the list of handled options for RivetUserConf</li>
+ <li>The module returns now a HTTP_INTERNAL_SERVER_ERROR when a <b>::request</b>
- namespace cannot be created </li>
- </ul>
- </p>
- <p>
+
+ namespace cannot be created </li>
+ </ul>
+ </p>
+ <p>
DIO Package bug fixes
<ul>
- <li>
+ <li>
Improved DIO support for Sqlite fixes several bugs.
</li>
- <li>
+ <li>
Fixed secs computation made by dio_Mysql when handling timestamp fields.
</li>
- <li>
+ <li>
Fixed wrong declaration of 'insert' subcommand in page manual (Bug #53670)
</li>
- <li>
+ <li>
Fixed method makeDBFieldValue in class Oracle (Bug #53703)
</li>
- <li>
+ <li>
Method 'count' failed when no keyfield was set.
</li>
- <li>
+ <li>
Index riv_sess_cache_ix had a incomplete unique key definition that missed the
'package_' column (fixes bug #54063)
</li>
- </ul>
- </p>
- </div>
- <div class="sez">
- <h4>Release Notes for Rivet 2.0.5 <span class="timestamp">(26-Jun-2012)</span>
- </h4>
- <h5>Fixed Bugs</h5>
- <ul>
- <li>
+ </ul>
+ </p>
+ </div>
+ <div class="sez">
+ <h4>Release Notes for Rivet 2.0.5 <span class="timestamp">(26-Jun-2012)</span>
+ </h4>
+ <h5>Fixed Bugs</h5>
+ <ul>
+ <li>
DIO: Mysql connection is now checked when connection reference is reused
because it could have dropped (contributed by Cyril Shtumf, fixes #53221)
</li>
- <li>
+ <li>
Fixed SQL syntax generated in delete method when multiple fields are
used in the selection clause (contributed by Cyril Shtumf, fixes bug #53222)
</li>
- </ul>
- <h5>New Features</h5>
- <ul>
- <li>
+ </ul>
+ <h5>New Features</h5>
+ <ul>
+ <li>
New shorthand expression <pre class="programlisting"><?= ... ?></pre>
+
is
transformed into <pre class="programlisting"><? puts -nonewline "..." ?></pre>
+
(contributed by Jeff Lawson, addresses #53217)
- </li>
- <li>
+ </li>
+ <li>
http_accept.tcl: new command parsing of Accept HTTP header lines (contributed by
Harald Oehlmann)
</li>
- <li>
+ <li>
rivet/packages/entities/entities.tcl: package RivetEntities
(contributed by Harald Oehlmann)
</li>
- <li>
+ <li>
tclconfig/ltmain.sh: updated from recent autotools installation
</li>
- <li>
+ <li>
Support for HttpOnly flag improves security and reduces the risk of
cross-site scripting attacks (contributed by Cyril Shtumf, fixes #53224)
</li>
- <li>
- <b>form</b>
+ <li>
+ <b>form</b>
+
class objects create now automatic field ids if left undefined
by the programmer
- </li>
- </ul>
- <h5>Manual Pages Expanded</h5>
- <ul>
- <li>New pages for package <b>entities</b>
+ </li>
+ </ul>
+ <h5>Manual Pages Expanded</h5>
+ <ul>
+ <li>New pages for package <b>entities</b>
+
and for command <b>http_accept</b>
- </li>
- <li>Improved manual entry for 'var list' (Fixes bug #52911)</li>
- </ul>
- </div>
- <div class="sez">
- <h4>Release Notes for Rivet 2.0.4 <span class="timestamp">(23-Sep-2011)</span>
- </h4>
- <h5>Bugs fixed</h5>
- <p>
+ </li>
+ <li>Improved manual entry for 'var list' (Fixes bug #52911)</li>
+ </ul>
+ </div>
+ <div class="sez">
+ <h4>Release Notes for Rivet 2.0.4 <span class="timestamp">(23-Sep-2011)</span>
+ </h4>
+ <h5>Bugs fixed</h5>
+ <p>
An Tcl error in an AbortScript would trigger a message that
erroneously printed that an ErrorScript was running.
</p>
- <h5>Manual Pages Expanded</h5>
- <p>
+ <h5>Manual Pages Expanded</h5>
+ <p>
Manual pages have been expanded to include documentation for more
commands implemented but not yet documented. Section documenting
single commands has been reorganized to list commands in alphabetical
order.
</p>
- <h5>New Features</h5>
- <p>
+ <h5>New Features</h5>
+ <p>
Commands <strong>load_env</strong>
+
and <strong>load_headers</strong>
+
accept an array name as argument. If not fully qualified the array
was created in either the <tt>::request</tt>
+
namespace (.rvt templates)
or the global namespace (.tcl scripts). Starting with 2.0.4
these commands, when invoked from within a procedure, create
the array in the proc's local scope, unless the argument is a
fully qualifed name scoping the array in a user defined namespace.
- </p>
- <p>
+ </p>
+ <p>
Command <strong>makeurl</strong>
+
has been extended to be used in three forms
<ul>
- <li>without argument
+ <li>without argument
<pre class="programlisting">makeurl
==> Current script's url</pre>
- </li>
- <li>with an absolute path
+ </li>
+ <li>with an absolute path
<pre class="programlisting">makeurl /a/b/c
==> http://<host>:<port>/a/b/c </pre>
- </li>
- <li>with a relative path
+ </li>
+ <li>with a relative path
<pre class="programlisting">makeurl a/b/c
==> http://<host>:<port>/<current script>/a/b/c</pre>
- </li>
- </ul>
- </p>
- </div>
- <div class="sez">
- <h4>Release Notes for Rivet 2.0.3 <span class="timestamp">(19-Mar-2011)</span>
- </h4>
- <h5>New Features</h5>
- <p>
+ </li>
+ </ul>
+ </p>
+ </div>
+ <div class="sez">
+ <h4>Release Notes for Rivet 2.0.3 <span class="timestamp">(19-Mar-2011)</span>
+ </h4>
+ <h5>New Features</h5>
+ <p>
Rivet 2.0.3 introduces 2 new configuration directives
<ul>
- <li>
+ <li>
New configuration directive <strong>AbortScript</strong>
+
:
Tcl script to be run if an <b>abort_page</b>
+
is called
in a request processing
- </li>
- <li>
+ </li>
+ <li>
New configuration directive
<strong>AfterEveryScript</strong>
+
: An <b>abort_page</b>
+
command stops the
page generation and skips also a configured <strong>AfterScript</strong>
+
to
run an <strong>AbortScript</strong>
+
. This new configuration script is to
be run anyway, as last script of a single request processing,
whether an abort condition took place during the page
generation or the procedure completed successfully.
- </li>
- <li>
+ </li>
+ <li>
Enhanced form for <strong>abort_page</strong>
+
: page generation can
be interrupted by calling <strong>abort_page</strong>
+
. The new command
accepts now an argument whose value can be checked to determine which
condition forced to call the page generation off.
- </li>
- <li>
+ </li>
+ <li>
New command <strong>abort_code</strong>
+
returns the value of the
argument passed to <strong>abort_page</strong>
+
. Useful in <b>AbortScript</b>
+
or <b>AfterEveryScript</b>
+
code.
- </li>
- </ul>
- </p>
- <h5>Problems fixed</h5>
- <p>
+ </li>
+ </ul>
+ </p>
+ <h5>Problems fixed</h5>
+ <p>
Code for command <strong>apache_table</strong>
+
was ported to Rivet for Apache 1.3
- </p>
- </div>
- <div class="sez">
- <h4>Release Notes for Rivet 2.0.2 <span class="timestamp">(25-Oct-2010)</span>
- </h4>
- <p>
+ </p>
+ </div>
+ <div class="sez">
+ <h4>Release Notes for Rivet 2.0.2 <span class="timestamp">(25-Oct-2010)</span>
+ </h4>
+ <p>
Rivet 2.0.2 is a maintainance release with the main purpose to adjust the
build process in a way that makes straightforward the generation of a Debian package.
</p>
- <p>
+ <p>
Rivet (named
<a href="http://packages.qa.debian.org/liba/libapache2-mod-rivet.html">libapache2-mod-rivet</a>
+
to follow the Debian Apache policy) is now in Debian.
The package is sponsored by Sven Hoexter (Debian Developer).
- </p>
- </div>
- <div class="sez">
- <h4>Relase Notes for Rivet 2.0.1 <span class="timestamp">(12-Jul-2010)</span>
- </h4>
- <h5>Fixed Bugs in Rivet 2.0.1</h5>
- <ul>
- <li>
+ </p>
+ </div>
+ <div class="sez">
+ <h4>Relase Notes for Rivet 2.0.1 <span class="timestamp">(12-Jul-2010)</span>
+ </h4>
+ <h5>Fixed Bugs in Rivet 2.0.1</h5>
+ <ul>
+ <li>
Several error messages printed during the installation phase have been
fixed. The problems were harmless, but nonetheless annoying.
</li>
- <li>
+ <li>
Fixed bug in installation of the rivetparser library.
</li>
- <li>
+ <li>
Fixed tables creation for Postgres backend. The SQL script that
creates the rivet_session_cache table misnamed 2 columns.
<b>Current DIO Postgres backend breaks Session package if the database
was created with an old Rivet version</b>
+
. To fix the problem one has to
rename the 'key' and 'package' columns as 'key_' and 'package_'
<pre class="programlisting">
ALTER TABLE rivet_session_cache RENAME COLUMN key to key_
ALTER TABLE rivet_session_cache RENAME COLUMN package to package_</pre>
- </li>
- <li>
+ </li>
+ <li>
Fixed dio_Postgres.tcl method. A mistyped variable caused at least method
'store' to fail.
</li>
- </ul>
- <h5>New Features</h5>
- <ul>
- <li>
- <p>
+ </ul>
+ <h5>New Features</h5>
+ <ul>
+ <li>
+ <p>
A new package <b>Calendar</b>
+
has been added. Calendar provides 3 Itcl classes that
print Calendar tables in ASCII, XML and XHTML forms (see examples and related
manual page).
- </p>
- <p>
- <em>
- <b>Calendar</b>
- requires Tcl8.5 or Tcl8.4 with package 'dict' </em>
- </p>
- </li>
- <li>
+ </p>
+ <p>
+ <em>
+ <b>Calendar</b>
+
+ requires Tcl8.5 or Tcl8.4 with package 'dict' </em>
+ </p>
+ </li>
+ <li>
New page for package 'form' added to the manual
</li>
- </ul>
- </div>
- <div class="sez">
- <h4>Installation Issues</h4>
- <p>
+ </ul>
+ </div>
+ <div class="sez">
+ <h4>Installation Issues</h4>
+ <p>
Rivet is widely configurable to select custom directories where the module and
its associated libraries have to reside.
</p>
- <ul>
- <li>
+ <ul>
+ <li>
Even though you can install Rivet to run pure Tcl scripts, some associated packages
(namely 'Session' and 'DIO') are written in Itcl, an OO extension of the base
language.In order to safely run those package, you have to check yourself if
the Itcl extension installed on your system is compatible with the Tcl version
for which you're building Rivet.
</li>
- </ul>
- </div>
- <div class="sez">
- <h4>Known Problems</h4>
- <ul>
- <li>
+ </ul>
+ </div>
+ <div class="sez">
+ <h4>Known Problems</h4>
+ <ul>
+ <li>
Rivet is reported to conflict with cgi scripts on some Linux machines.
Symptom of the problem is when cgi scripts hang forever and don't send
any content to the client
</li>
- </ul>
- </div>
+ </ul>
+ </div>
</div>
<div class="contentbottom">
- <div id="last_modified">Last Modified: 03-12-2012 02:29:43 UTC</div>
+
</div>
</div>
<div class="sidebar">
<ul>
<li id="news">
- <h4 class="">News</h4>
- <ul class="blocklist">
- <li class="navitem">
- <a href="rn-2-1.html" class="">1 Dec 2012: Rivet 2.1.0 released</a>
- </li>
- <li class="navitem">
- <a href="rn-2-0.html" class="">1 Dec 2012: Rivet 2.0.6 released</a>
- </li>
- </ul>
-</li>
-<li id="main">
- <h4 class="">Rivet</h4>
+ <h4>News</h4>
<ul class="blocklist">
<li class="navitem">
- <a href="../index.html" class="">Rivet Homepage</a>
- </li>
- <li class="navitem">
- <a href="http://tcl.apache.org/" target="asf">Apache Tcl Home</a>
- </li>
- <li class="navitem">
- <a href="download.html" class="">Getting Rivet</a>
+ <a href="rn-2-1.html">21 Feb 2013: Rivet 2.1.1 released</a>
</li>
<li class="navitem">
- <a href="hello_world.html" class="">Examples</a>
- </li>
- <li class="navitem">
- <a href="about.html" class="">About Us - Contact</a>
+ <a href="rn-2-0.html">1 Dec 2012: Rivet 2.0.6 released</a>
</li>
</ul>
</li>
-<li id="tcl">
- <h4 class="">Tcl/Tk</h4>
- <ul class="blocklist">
- <li class="navitem">
- <a href="http://www.tcl.tk/" target="tclxchange">The Tcl Language
- </a>
- </li>
- <li class="navitem">
- <a href="http://wiki.tcl.tk/" target="tclxchange">Tcl'ers Wiki</a>
- </li>
- </ul>
-</li>
-<li id="manual">
- <h4 class="">Manuals</h4>
+
+ </ul>
+ <ul>
+ <li id="home">
+ <h4>Rivet</h4>
<ul class="blocklist">
<li class="navitem">
- <a href="http://tcl.apache.org/rivet/manual2.0/" target="rivetman2.0">Rivet 2.0 Manual</a>
+ <a title="A home for Rivet" href="../index.html">Rivet Homepage</a>
</li>
<li class="navitem">
- <a href="http://tcl.apache.org/rivet/manual2.1/" target="rivetman2.1">Rivet 2.1 Manual</a>
+ <a title="Home of Apache Tcl related stuff" target="asf" href="http://tcl.apache.org/">Apache Tcl Home</a>
</li>
- </ul>
-</li>
-<li id="release">
- <h4 class="">Downloads</h4>
- <ul class="blocklist">
<li class="navitem">
- <a href="rn-2-0.html" class="">Rivet 2.0</a>
+ <a title="Getting Rivet" href="download.html">Getting Rivet</a>
</li>
<li class="navitem">
- <a href="rn-2-1.html" class="">Rivet 2.1</a>
+ <a title="Hello World!" href="hello_world.html">Examples</a>
</li>
- </ul>
-</li>
-<li id="acknowledgments">
- <h4 class="">Acknowledgments</h4>
- <ul class="blocklist">
<li class="navitem">
- <a href="http://www.apache.org/foundation/thanks.html">ASF Sponsorship</a>
+ <a title="The Rivet development team" href="about.html">About Us - Contact</a>
</li>
</ul>
</li>
-
</ul>
+ <ul>
+
+ </ul>
</div>
<div class="clear"></div>
</div>
Modified: tcl/site/rivet/static/rn-2-1.html
URL: http://svn.apache.org/viewvc/tcl/site/rivet/static/rn-2-1.html?rev=1448968&r1=1448967&r2=1448968&view=diff
==============================================================================
--- tcl/site/rivet/static/rn-2-1.html (original)
+++ tcl/site/rivet/static/rn-2-1.html Fri Feb 22 09:46:59 2013
@@ -1,9 +1,10 @@
+<pre>\$Id: rn\-2\-1.xml 2373 2013\-01\-31 23:13:11Z massimo.manghi \$</pre>
<!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=utf-8" />
<title>Rivet 2.1: Release Notes and Known Problems</title>
- <link rel="stylesheet" href="../css/wondrous/styles.css" type="text/css" />
+ <link rel="stylesheet" href="../templates/wondrous/styles.css" type="text/css" />
</head>
<body>
@@ -15,238 +16,236 @@
</div>
<div id="body">
<div id="content">
- <h2><headline>Rivet 2.1: Release Notes and Known Problems</headline>
-</h2>
+ <h2>Rivet 2.1: Release Notes and Known Problems</h2>
<div>
- <div class="sez">
- <h4>Download</h4>
- <p>
- Rivet 2.1 is available for download from ASF mirror sites. Check the
- <a href="download.html">download page</a>
+ <div class="sez">
+ <h4>Download</h4>
+ <p>
+ Rivet 2.1 is available for download from ASF mirror sites. Check the
+ <a href="download.html">download page</a>
+
for information about
- downloading the source code, rpm files or packages for SuSE,
- Redhat, Debian and Ubuntu (packages for SuSE and Redhat are available thanks to
- Harald Oehlmann).
- </p>
- <p>
- Code integrity for this release can be checked using the
- public keys in the <a href="http://www.apache.org/dist/tcl/KEYS">KEYS</a>
+ downloading the source code, rpm files or packages for SuSE,
+ Redhat, Debian and Ubuntu (packages for SuSE and Redhat are available thanks to
+ Harald Oehlmann).
+ </p>
+ <p>
+ Code integrity for this release can be checked using the
+ public keys in the <a href="http://www.apache.org/dist/tcl/KEYS">KEYS</a>
+
file.
- </p>
- <p>
- Rivet 2.1 works with the Apache Webserver version 2.x (running the
- <strong>prefork</strong>
+ </p>
+ <p>
+ Rivet 2.1 works with the Apache Webserver version 2.x (running the
+ <strong>prefork</strong>
+
MPM) and requires Tcl >= 8.5.11
- </p>
- </div>
- <div class="sez">
- <h4>Release Notes for Rivet 2.1</h4>
- <h5>New commands and Directives</h5>
- <p>
- Starting with rivet version 2.1 the whole set of commands was moved into the
- <strong>::rivet</strong>
+ </p>
+ </div>
+ <div class="sez">
+ <h4>Rivet 2.1.1 Release Notes</h4>
+ <h5>Bug Fixes</h5>
+ <ul>
+ <li>
+ Fixed bug #54162: mod_rivet is now coexisting with mod_websh
+ </li>
+ <li>
+ Checks on 'Content-Type' relaxed (Bug #53661). Rivet is now only
+ checking if such fields is the headers table.
+ </li>
+ <li>
+ Rivet is now also handling PUT and DELETE requests (Bug #53661)
+ </li>
+ <li>
+ New command ::rivet::xml for XML fragments composition
+ </li>
+ </ul>
+ </div>
+ <div class="sez">
+ <h4>Release Notes for Rivet 2.1.0</h4>
+ <h5>New commands and Directives</h5>
+ <p>
+ Starting with rivet version 2.1 the whole set of commands was moved into the
+ <strong>::rivet</strong>
+
namespace. For compatibility with existing software
- commands are by default in the <strong>::rivet</strong>
+ commands are by default in the <strong>::rivet</strong>
+
namespace export list
- and automatically imported into the global namespace.
- You can change this behaviour in two ways:
- </p>
- <ul>
- <li>
- By disabling the automatic import from the <strong>::rivet</strong>
+ and automatically imported into the global namespace.
+ You can change this behaviour in two ways:
+ </p>
+ <ul>
+ <li>
+ By disabling the automatic import from the <strong>::rivet</strong>
+
+
+ namespace configuring the build system with the
+ <em>--disable-import-rivet-commands</em>
- namespace configuring the build system with the
- <em>--disable-import-rivet-commands</em>
switch
- </li>
- <li>
- By disabling the export of the commands, thus forcing scripts to
- use the fully qualified name of a command using configure's
- <strong>--disable-rivet-commands-export</strong>
+ </li>
+ <li>
+ By disabling the export of the commands, thus forcing scripts to
+ use the fully qualified name of a command using configure's
+ <strong>--disable-rivet-commands-export</strong>
+
argument
- </li>
- </ul>
- <p>
- A new <strong>RivetServerInit</strong>
+ </li>
+ </ul>
+ <p>
+ A new <strong>RivetServerInit</strong>
+
directives was introduced.
- <strong>RivetServerInit</strong>
+ <strong>RivetServerInit</strong>
+
accepts as argument a Tcl script to be run
- during the initialization stage of the webserver. This phase takes places
- before the child processes are forked. More details are available in the manual.
- </p>
- <p>
- A new <strong>AfterEveryScript</strong>
+ during the initialization stage of the webserver. This phase takes places
+ before the child processes are forked. More details are available in the manual.
+ </p>
+ <p>
+ A new <strong>AfterEveryScript</strong>
+
directive specifies a new class of
- configuration scripts. An <strong>AfterEveryScript</strong>
+ configuration scripts. An <strong>AfterEveryScript</strong>
+
directive tells
- Rivet what code has to be executed at every request completion, either when
- a request processing was successful or an abort condition was handled
- by an <strong>AbortScript</strong>
+ Rivet what code has to be executed at every request completion, either when
+ a request processing was successful or an abort condition was handled
+ by an <strong>AbortScript</strong>
+
directive.
- </p>
- <p>
- The new command <strong>::rivet::inspect</strong>
+ </p>
+ <p>
+ The new command <strong>::rivet::inspect</strong>
+
provides deeper introspection
- in the configuration of a module.
- </p>
- <h5>New switches for the <quote>configure</quote>
- script </h5>
- <p>
- Some Rivet configuration defaults can be changed running the
- <i>configure</i>
+ in the configuration of a module.
+ </p>
+ <h5>New switches for the <quote>configure</quote>
+
+ script </h5>
+ <p>
+ Some Rivet configuration defaults can be changed running the
+ <i>configure</i>
+
script passing the following arguments.
- </p>
- <ul>
- <li>--enable-virtual-interps-separation</li>
- <li>--with-upload-dir=DIR</li>
- <li>--with-post-max=BYTES</li>
- <li>--disable-upload-var</li>
- </ul>
- <h5>
+ </p>
+ <ul>
+ <li>--enable-virtual-interps-separation</li>
+ <li>--with-upload-dir=DIR</li>
+ <li>--with-post-max=BYTES</li>
+ <li>--disable-upload-var</li>
+ </ul>
+ <h5>
Recent Bug Fixes
</h5>
- <p>
+ <p>
Test Suite
<ul>
- <li>User and Group directives removed from the configuration file
+ <li>User and Group directives removed from the configuration file
template to make test suite independent from the command 'id' output from which
the values for this parameters were inferred (Bug #53396)</li>
- </ul>
- </p>
- <p>
+ </ul>
+ </p>
+ <p>
mod_rivet.c.
<ul>
- <li>Add UploadDirectory to the list of handled options for RivetUserConf</li>
- <li>The module returns now a HTTP_INTERNAL_SERVER_ERROR when a <b>::request</b>
+ <li>Add UploadDirectory to the list of handled options for RivetUserConf</li>
+ <li>The module returns now a HTTP_INTERNAL_SERVER_ERROR when a <b>::request</b>
+
- namespace cannot be created </li>
- </ul>
- </p>
- <p>
+ namespace cannot be created </li>
+ </ul>
+ </p>
+ <p>
DIO Package bug fixes
<ul>
- <li>
+ <li>
Improved DIO support for Sqlite fixes several bugs.
</li>
- <li>
+ <li>
Fixed secs computation made by dio_Mysql when handling timestamp fields.
</li>
- <li>
+ <li>
Fixed wrong declaration of 'insert' subcommand in page manual (Bug #53670)
</li>
- <li>
+ <li>
Fixed method makeDBFieldValue in class Oracle (Bug #53703)
</li>
- <li>
+ <li>
Method 'count' failed when no keyfield was set.
</li>
- <li>
+ <li>
Index riv_sess_cache_ix had a incomplete unique key definition that missed the
'package_' column (fixes bug #54063)
</li>
- </ul>
- </p>
- <p>
+ </ul>
+ </p>
+ <p>
New package form 2.0 added with new methods and several fixes including:
<ul>
- <li>
+ <li>
Workaround to avoid wrong parsing of form data when parameter
values have spaces in them
</li>
- <li>
+ <li>
Fixed problem with variable clash in constructor. Also removed unneeded [expr ...] in conditions
that prevented efficient code handling by the byte compiler (Closes bug #52650)
</li>
- </ul>
- </p>
- </div>
+ </ul>
+ </p>
+ </div>
</div>
<div class="contentbottom">
- <div id="last_modified">Last Modified: 03-12-2012 02:24:10 UTC</div>
+
</div>
</div>
<div class="sidebar">
<ul>
<li id="news">
- <h4 class="">News</h4>
- <ul class="blocklist">
- <li class="navitem">
- <a href="rn-2-1.html" class="">1 Dec 2012: Rivet 2.1.0 released</a>
- </li>
- <li class="navitem">
- <a href="rn-2-0.html" class="">1 Dec 2012: Rivet 2.0.6 released</a>
- </li>
- </ul>
-</li>
-<li id="main">
- <h4 class="">Rivet</h4>
- <ul class="blocklist">
- <li class="navitem">
- <a href="../index.html" class="">Rivet Homepage</a>
- </li>
- <li class="navitem">
- <a href="http://tcl.apache.org/" target="asf">Apache Tcl Home</a>
- </li>
- <li class="navitem">
- <a href="download.html" class="">Getting Rivet</a>
- </li>
- <li class="navitem">
- <a href="hello_world.html" class="">Examples</a>
- </li>
- <li class="navitem">
- <a href="about.html" class="">About Us - Contact</a>
- </li>
- </ul>
-</li>
-<li id="tcl">
- <h4 class="">Tcl/Tk</h4>
+ <h4>News</h4>
<ul class="blocklist">
<li class="navitem">
- <a href="http://www.tcl.tk/" target="tclxchange">The Tcl Language
- </a>
+ <a href="rn-2-1.html">21 Feb 2013: Rivet 2.1.1 released</a>
</li>
<li class="navitem">
- <a href="http://wiki.tcl.tk/" target="tclxchange">Tcl'ers Wiki</a>
+ <a href="rn-2-0.html">1 Dec 2012: Rivet 2.0.6 released</a>
</li>
</ul>
</li>
-<li id="manual">
- <h4 class="">Manuals</h4>
+
+ </ul>
+ <ul>
+ <li id="home">
+ <h4>Rivet</h4>
<ul class="blocklist">
<li class="navitem">
- <a href="http://tcl.apache.org/rivet/manual2.0/" target="rivetman2.0">Rivet 2.0 Manual</a>
+ <a title="A home for Rivet" href="../index.html">Rivet Homepage</a>
</li>
<li class="navitem">
- <a href="http://tcl.apache.org/rivet/manual2.1/" target="rivetman2.1">Rivet 2.1 Manual</a>
+ <a title="Home of Apache Tcl related stuff" target="asf" href="http://tcl.apache.org/">Apache Tcl Home</a>
</li>
- </ul>
-</li>
-<li id="release">
- <h4 class="">Downloads</h4>
- <ul class="blocklist">
<li class="navitem">
- <a href="rn-2-0.html" class="">Rivet 2.0</a>
+ <a title="Getting Rivet" href="download.html">Getting Rivet</a>
</li>
<li class="navitem">
- <a href="rn-2-1.html" class="">Rivet 2.1</a>
+ <a title="Hello World!" href="hello_world.html">Examples</a>
</li>
- </ul>
-</li>
-<li id="acknowledgments">
- <h4 class="">Acknowledgments</h4>
- <ul class="blocklist">
<li class="navitem">
- <a href="http://www.apache.org/foundation/thanks.html">ASF Sponsorship</a>
+ <a title="The Rivet development team" href="about.html">About Us - Contact</a>
</li>
</ul>
</li>
-
</ul>
+ <ul>
+
+ </ul>
</div>
<div class="clear"></div>
</div>
Modified: tcl/site/rivet/static/scripts.html
URL: http://svn.apache.org/viewvc/tcl/site/rivet/static/scripts.html?rev=1448968&r1=1448967&r2=1448968&view=diff
==============================================================================
--- tcl/site/rivet/static/scripts.html (original)
+++ tcl/site/rivet/static/scripts.html Fri Feb 22 09:46:59 2013
@@ -1,9 +1,10 @@
+<pre>\$Id: scripts.xml 931 2010\-07\-20 13:11:09Z massimo.manghi \$</pre>
<!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=utf-8" />
<title>Tcl Scripts</title>
- <link rel="stylesheet" href="../css/wondrous/styles.css" type="text/css" />
+ <link rel="stylesheet" href="../templates/wondrous/styles.css" type="text/css" />
</head>
<body>
@@ -15,17 +16,16 @@
</div>
<div id="body">
<div id="content">
- <h2><headline>Tcl Scripts</headline>
-</h2>
+ <h2>Tcl Scripts</h2>
<div>
- <p>
+ <p>
Pure Tcl scripts let you do the heavy lifting to control your application. A sensible
design pattern is to put most of your complex logic in these files, and then parse template
files to display the results. This means that those who are creating the HTML files don't
have to know much Tcl, and only need to call a few simple commands.
</p>
- <p>
- <pre class="programlisting">proc chat::model::getlines {user} {
+ <p>
+ <pre class="programlisting">proc chat::model::getlines {user} {
set sk [chat::model::getsock]
puts $sk [list user $user cmd get msg ""]
if { ! [eof $sk] } {
@@ -37,84 +37,34 @@
}
</pre>
- </p>
- <p>
+ </p>
+ <p>
For instance scripts are useful when you want to have control of the http protocol and you are not transmitting
text/html data. See the example regarding the <a href="file_download.html">file download</a>
+
or the xml messaging in <a href="ajax.html">Ajax</a>
+
development.
- </p>
+ </p>
</div>
<div class="contentbottom">
- <div id="last_modified">Last Modified: 20-07-2010 13:11:09 UTC</div>
+
</div>
</div>
<div class="sidebar">
<ul>
- <li id="rivetexamples">
- <h4 class="">Examples</h4>
- <ul class="blocklist">
- <li class="navitem">
- <a href="hello_world.html" class="">Hello world!</a>
- </li>
- <li class="navitem">
- <a href="shaded_table.html" class="">A shaded table</a>
- </li>
- <li class="navitem">
- <a href="var_access.html" class="">Variable Access</a>
- </li>
- <li class="navitem">
- <a href="file_upload.html" class="">File Upload</a>
- </li>
- <li class="navitem">
- <a href="file_download.html" class="">File Download</a>
- </li>
- <li class="navitem">
- <a href="ajax.html" class="">XML and Ajax</a>
- </li>
- <li class="navitem">
- <a href="calendar.html" class="">Calendar</a>
- </li>
- </ul>
-</li>
-<li id="main">
- <h4 class="">Rivet</h4>
- <ul class="blocklist">
- <li class="navitem">
- <a href="../index.html" class="">Rivet Homepage</a>
- </li>
- <li class="navitem">
- <a href="http://tcl.apache.org/" target="asf">Apache Tcl Home</a>
- </li>
- <li class="navitem">
- <a href="download.html" class="">Getting Rivet</a>
- </li>
- <li class="navitem">
- <a href="hello_world.html" class="">Examples</a>
- </li>
- <li class="navitem">
- <a href="about.html" class="">About Us - Contact</a>
- </li>
- </ul>
-</li>
-<li id="manual">
- <h4 class="">Manuals</h4>
- <ul class="blocklist">
- <li class="navitem">
- <a href="http://tcl.apache.org/rivet/manual2.0/" target="rivetman2.0">Rivet 2.0 Manual</a>
- </li>
- <li class="navitem">
- <a href="http://tcl.apache.org/rivet/manual2.1/" target="rivetman2.1">Rivet 2.1 Manual</a>
- </li>
- </ul>
-</li>
-
-
+
+ </ul>
+ <ul>
+
+ </ul>
+ <ul>
+
</ul>
</div>
<div class="clear"></div>
Modified: tcl/site/rivet/static/shaded_table.html
URL: http://svn.apache.org/viewvc/tcl/site/rivet/static/shaded_table.html?rev=1448968&r1=1448967&r2=1448968&view=diff
==============================================================================
--- tcl/site/rivet/static/shaded_table.html (original)
+++ tcl/site/rivet/static/shaded_table.html Fri Feb 22 09:46:59 2013
@@ -1,9 +1,10 @@
+<pre>\$Id: shaded_table.xml 2373 2013\-01\-31 23:13:11Z massimo.manghi \$</pre>
<!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=utf-8" />
<title>A Shaded Table</title>
- <link rel="stylesheet" href="../css/wondrous/styles.css" type="text/css" />
+ <link rel="stylesheet" href="../templates/wondrous/styles.css" type="text/css" />
</head>
<body>
@@ -15,13 +16,12 @@
</div>
<div id="body">
<div id="content">
- <h2><headline>A Shaded Table</headline>
-</h2>
+ <h2>A Shaded Table</h2>
<div class="example">
- <!-- p class="title"><b>Example 2. A Shaded Table</b></p-->
- <div class="example-contents">
- <p style="width: 90%">In another simple example, we dynamically generate a table:</p>
- <pre class="programlisting"><?
+ <!-- p class="title"><b>Example 2. A Shaded Table</b></p-->
+ <div class="example-contents">
+ <p style="width: 90%">In another simple example, we dynamically generate a table:</p>
+ <pre class="programlisting"><?
puts "<table>\n"
for {set i 1} { $i <= 8 } {incr i} {
puts "<tr>\n"
@@ -35,87 +35,81 @@
puts "</table>\n"
?>
</pre>
- <p style="width:90%">
+ <p style="width:90%">
If you read the code, you can see that this is pure Tcl. We
could take the same code, run it outside of Rivet, and it
would generate the same HTML!
</p>
- <p style="width:90%">The result should look something like this:</p>
- <p>
- <img src="../picts/table.png"/>
- </p>
- </div>
+ <p style="width:90%">The result should look something like this:</p>
+ <p>
+ <img src="../picts/table.png"/>
+ </p>
+ </div>
</div>
<div class="contentbottom">
- <div id="last_modified">Last Modified: 06-11-2011 11:47:35 UTC</div>
+
</div>
</div>
<div class="sidebar">
<ul>
- <li id="rivetexamples">
- <h4 class="">Examples</h4>
+
+ </ul>
+ <ul>
+ <li id="home">
+ <h4>Rivet</h4>
<ul class="blocklist">
<li class="navitem">
- <a href="hello_world.html" class="">Hello world!</a>
- </li>
- <li class="navitem">
- <a href="shaded_table.html" class="">A shaded table</a>
- </li>
- <li class="navitem">
- <a href="var_access.html" class="">Variable Access</a>
+ <a title="A home for Rivet" href="../index.html">Rivet Homepage</a>
</li>
<li class="navitem">
- <a href="file_upload.html" class="">File Upload</a>
+ <a title="Home of Apache Tcl related stuff" target="asf" href="http://tcl.apache.org/">Apache Tcl Home</a>
</li>
<li class="navitem">
- <a href="file_download.html" class="">File Download</a>
+ <a title="Getting Rivet" href="download.html">Getting Rivet</a>
</li>
<li class="navitem">
- <a href="ajax.html" class="">XML and Ajax</a>
+ <a title="Hello World!" href="hello_world.html">Examples</a>
</li>
<li class="navitem">
- <a href="calendar.html" class="">Calendar</a>
+ <a title="The Rivet development team" href="about.html">About Us - Contact</a>
</li>
</ul>
</li>
-<li id="main">
- <h4 class="">Rivet</h4>
+<li id="rivetexamples">
+ <h4>Examples</h4>
<ul class="blocklist">
<li class="navitem">
- <a href="../index.html" class="">Rivet Homepage</a>
+ <a href="hello_world.html">Hello world!</a>
</li>
<li class="navitem">
- <a href="http://tcl.apache.org/" target="asf">Apache Tcl Home</a>
+ <a href="shaded_table.html">A shaded table</a>
</li>
<li class="navitem">
- <a href="download.html" class="">Getting Rivet</a>
+ <a href="var_access.html">Variable Access</a>
</li>
<li class="navitem">
- <a href="hello_world.html" class="">Examples</a>
+ <a href="file_upload.html">File Upload</a>
</li>
<li class="navitem">
- <a href="about.html" class="">About Us - Contact</a>
+ <a href="file_download.html">File Download</a>
</li>
- </ul>
-</li>
-<li id="manual">
- <h4 class="">Manuals</h4>
- <ul class="blocklist">
<li class="navitem">
- <a href="http://tcl.apache.org/rivet/manual2.0/" target="rivetman2.0">Rivet 2.0 Manual</a>
+ <a href="ajax.html">XML and Ajax</a>
</li>
<li class="navitem">
- <a href="http://tcl.apache.org/rivet/manual2.1/" target="rivetman2.1">Rivet 2.1 Manual</a>
+ <a href="calendar.html">Calendar</a>
</li>
</ul>
</li>
-
</ul>
+ <ul>
+
+ </ul>
</div>
<div class="clear"></div>
</div>
Modified: tcl/site/rivet/static/templates.html
URL: http://svn.apache.org/viewvc/tcl/site/rivet/static/templates.html?rev=1448968&r1=1448967&r2=1448968&view=diff
==============================================================================
--- tcl/site/rivet/static/templates.html (original)
+++ tcl/site/rivet/static/templates.html Fri Feb 22 09:46:59 2013
@@ -1,9 +1,10 @@
+<pre>\$Id: templates.xml 931 2010\-07\-20 13:11:09Z massimo.manghi \$</pre>
<!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=utf-8" />
<title>Rivet Templates</title>
- <link rel="stylesheet" href="../css/wondrous/styles.css" type="text/css" />
+ <link rel="stylesheet" href="../templates/wondrous/styles.css" type="text/css" />
</head>
<body>
@@ -15,10 +16,9 @@
</div>
<div id="body">
<div id="content">
- <h2><headline>Rivet Templates</headline>
-</h2>
+ <h2>Rivet Templates</h2>
<div>
- <div>
+ <div>
Templates let you add a bit of code to your HTML,
to add dynamic content to it, or speed up creation
of repetitive elements. Templates are appropriate
@@ -27,8 +27,8 @@
appropriate for the 'display' component of your
complex application.
</div>
- <div>
- <pre class="programlisting"><html>
+ <div>
+ <pre class="programlisting"><html>
<head><title>Tcl code in a Rivet Template</title></head>
<body>
<table>
@@ -48,77 +48,25 @@ foreach line [chat::model::getlines $us
</body>
</html>
</pre>
- </div>
+ </div>
</div>
<div class="contentbottom">
- <div id="last_modified">Last Modified: 20-07-2010 13:11:09 UTC</div>
+
</div>
</div>
<div class="sidebar">
<ul>
- <li id="rivetexamples">
- <h4 class="">Examples</h4>
- <ul class="blocklist">
- <li class="navitem">
- <a href="hello_world.html" class="">Hello world!</a>
- </li>
- <li class="navitem">
- <a href="shaded_table.html" class="">A shaded table</a>
- </li>
- <li class="navitem">
- <a href="var_access.html" class="">Variable Access</a>
- </li>
- <li class="navitem">
- <a href="file_upload.html" class="">File Upload</a>
- </li>
- <li class="navitem">
- <a href="file_download.html" class="">File Download</a>
- </li>
- <li class="navitem">
- <a href="ajax.html" class="">XML and Ajax</a>
- </li>
- <li class="navitem">
- <a href="calendar.html" class="">Calendar</a>
- </li>
- </ul>
-</li>
-<li id="main">
- <h4 class="">Rivet</h4>
- <ul class="blocklist">
- <li class="navitem">
- <a href="../index.html" class="">Rivet Homepage</a>
- </li>
- <li class="navitem">
- <a href="http://tcl.apache.org/" target="asf">Apache Tcl Home</a>
- </li>
- <li class="navitem">
- <a href="download.html" class="">Getting Rivet</a>
- </li>
- <li class="navitem">
- <a href="hello_world.html" class="">Examples</a>
- </li>
- <li class="navitem">
- <a href="about.html" class="">About Us - Contact</a>
- </li>
- </ul>
-</li>
-<li id="manual">
- <h4 class="">Manuals</h4>
- <ul class="blocklist">
- <li class="navitem">
- <a href="http://tcl.apache.org/rivet/manual2.0/" target="rivetman2.0">Rivet 2.0 Manual</a>
- </li>
- <li class="navitem">
- <a href="http://tcl.apache.org/rivet/manual2.1/" target="rivetman2.1">Rivet 2.1 Manual</a>
- </li>
- </ul>
-</li>
-
-
+
+ </ul>
+ <ul>
+
+ </ul>
+ <ul>
+
</ul>
</div>
<div class="clear"></div>
---------------------------------------------------------------------
To unsubscribe, e-mail: site-cvs-unsubscribe@tcl.apache.org
For additional commands, e-mail: site-cvs-help@tcl.apache.org