I changed a couple of rule in rivet.xsl: they basically make example boxes a bit more flexible for html browsing and made their background color a bit more "neutral". I also made the character in them slighly smaller in order to have more space for code lines.
I'm working on apache_multipart_buffer, but I think the next week is going to be busy. -- Massimo Index: doc/rivet.xsl =================================================================== --- doc/rivet.xsl (revision 689778) +++ doc/rivet.xsl (working copy) @@ -120,7 +120,7 @@ <xsl:template match="cmdsynopsis"> <div class="{name(.)}" style="width:80%"> - <div style="background:#bbbbff ; margin:1ex ; padding:.4ex ; + <div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex; word-spacing:1ex "> <xsl:call-template name="anchor"/> <xsl:apply-templates/> @@ -302,9 +302,9 @@ </pre> </xsl:when> <xsl:otherwise> - <pre style="background:#bbffbb ; width:90ex ; margin: 2ex ; - padding: 1ex; border: solid black 1px ; white-space: pre; - font-family:monospace ; " class="{name(.)}"> + <pre style="background:#ccc; margin: 2ex; margin-right: 10%; + padding: 1ex; border: dashed black 1px ; white-space: pre; + font-family: monospace; font-size: 90%;" class="{name(.)}"> <xsl:apply-templates/> </pre> </xsl:otherwise> @@ -327,4 +327,4 @@ </xsl:choose> </xsl:template> -</xsl:stylesheet> \ No newline at end of file +</xsl:stylesheet> Index: doc/rivet.xml =================================================================== --- doc/rivet.xml (revision 689778) +++ doc/rivet.xml (working copy) @@ -40,6 +40,7 @@ <year>2005</year> <year>2006</year> <year>2007</year> + <year>2008</year> <holder>Apache Software Foundation</holder> </copyright> <author> @@ -75,6 +76,7 @@ meet these goals, we have chosen the Tcl programming language to combine with the Apache Web Server. </para> + <para> In this manual, we aim to help get you started, and then writing productive code as quickly as possible, as well as @@ -252,6 +254,16 @@ <filename>.rvt</filename> and <filename>.tcl</filename> extensions as Rivet files. </para> + <para> + The characters encoding can be changed using the <command>header type</command> command, + but if you want to change the default charset for the whole site or directory hierarchy + a new charset can be embedded in a AddType line in a way similar to the html pages encoding. + </para> + <programlisting>AddType 'application/x-httpd-rivet;charset=utf-8' rvt</programlisting> + <para> + Pages which this configuration applies to send back to the client + a <command>Content-Type:'text/html;charset=utf-8'</command> header. + </para> <para>You may also wish to use Rivet files as index files for directories. In that case, you would do the following:</para> <programlisting>DirectoryIndex index.html index.htm index.shtml index.cgi index.tcl index.rvt</programlisting> @@ -1790,9 +1802,9 @@ (Firefox,Safari,Opera...) uses the XMLHttpRequest class to create it, whereas IE uses the ActiveXObject class. <note> - With the release of IE7 Microsoft introduced + With the release of IE7 Microsoft introduced native support for <ulink url="http://blogs.msdn.com/ie/archive/2006/01/23/516393.aspx"> - native support</ulink> for XMLHttpRequest class objects + XMLHttpRequest</ulink> class objects </note> By creating an instance of this class a POST or GET request can be sent to the server, whose response is stored in a --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]