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 2018/01/07 23:26:47 UTC
svn commit: r1820509 - in /tcl/rivet/trunk/doc: rivet.css xml/commands.xml
xml/intro.xml
Author: mxmanghi
Date: Sun Jan 7 23:26:47 2018
New Revision: 1820509
URL: http://svn.apache.org/viewvc?rev=1820509&view=rev
Log:
explanation of command ::rivet::makeurl revised, program listings font size shrunk a tiny bit
Modified:
tcl/rivet/trunk/doc/rivet.css
tcl/rivet/trunk/doc/xml/commands.xml
tcl/rivet/trunk/doc/xml/intro.xml
Modified: tcl/rivet/trunk/doc/rivet.css
URL: http://svn.apache.org/viewvc/tcl/rivet/trunk/doc/rivet.css?rev=1820509&r1=1820508&r2=1820509&view=diff
==============================================================================
--- tcl/rivet/trunk/doc/rivet.css (original)
+++ tcl/rivet/trunk/doc/rivet.css Sun Jan 7 23:26:47 2018
@@ -43,6 +43,7 @@ PRE.PROGRAMLISTING
padding-top: 1em;
padding-left: 1em;
padding-bottom: 1em;
+ font-size: 0.9em;
}
H1
Modified: tcl/rivet/trunk/doc/xml/commands.xml
URL: http://svn.apache.org/viewvc/tcl/rivet/trunk/doc/xml/commands.xml?rev=1820509&r1=1820508&r2=1820509&view=diff
==============================================================================
--- tcl/rivet/trunk/doc/xml/commands.xml (original)
+++ tcl/rivet/trunk/doc/xml/commands.xml Sun Jan 7 23:26:47 2018
@@ -1369,24 +1369,23 @@ bab</programlisting>
Create a self referencing URL from a filename. <command>makeurl</command>
can be used in three ways
<itemizedlist>
- <listitem> No argument is passed to the command (returns the current script URL)</listitem>
+ <listitem>With no arguments the current script URL is returned</listitem>
<listitem>
- A relative style path is passed (returns the argument prepended with the
- current script's URL
+ The argument is a relative path: the command returns
+ the argument prefixed with the current script's URL
</listitem>
<listitem>
- An absolute path is passed to the command: (returns the full URL to the
- resource)
+ The argument is an absolute path: the full URL to the resource is returned
</listitem>
-
</itemizedlist>
</para>
<para>
- Example of absolute path: <programlisting>::rivet::makeurl /tclp.gif</programlisting> returns
+ Example with an absolute path:
+ <programlisting>::rivet::makeurl /tclp.gif</programlisting> returns
<computeroutput>http://[hostname]:[port]/tclp.gif</computeroutput>.
where hostname and port are the hostname and port of the
- server in question. The protocol prefix is inferred from the protocol in the URL referencing the
- script.
+ server in question. The protocol prefix is inferred from the protocol
+ in the URL referencing the script.
</para>
</refsect1>
</refentry>
Modified: tcl/rivet/trunk/doc/xml/intro.xml
URL: http://svn.apache.org/viewvc/tcl/rivet/trunk/doc/xml/intro.xml?rev=1820509&r1=1820508&r2=1820509&view=diff
==============================================================================
--- tcl/rivet/trunk/doc/xml/intro.xml (original)
+++ tcl/rivet/trunk/doc/xml/intro.xml Sun Jan 7 23:26:47 2018
@@ -75,9 +75,9 @@
</para>
<para>
- Rivet &version; supports a new <link linkend="request">request processing scheme</link>
- entirely based on Tcl. By default rivet &version; provide compatiblity with the
- version 2.x scheme to handle a request but this can be entirely overridden by
+ Rivet &version; implements a new <link linkend="request">request processing scheme</link>
+ entirely based on Tcl. By default rivet &version; provides compatiblity with the
+ version &version2-generic; scheme to handle a request but this can be entirely overridden by
the developer replacing the central request handling procedure. See the
<link linkend="request">request processing</link> page for further reading
</para>
---------------------------------------------------------------------
To unsubscribe, e-mail: site-cvs-unsubscribe@tcl.apache.org
For additional commands, e-mail: site-cvs-help@tcl.apache.org