You are viewing a plain text version of this content. The canonical link for it is here.
Posted to rivet-dev@tcl.apache.org by mx...@apache.org on 2011/09/07 17:53:41 UTC

svn commit: r1166239 - in /tcl/rivet/branches/rivet-namespace/doc: ./ xml/commands.xml

Author: mxmanghi
Date: Wed Sep  7 15:53:40 2011
New Revision: 1166239

URL: http://svn.apache.org/viewvc?rev=1166239&view=rev
Log:
new form for command 'makeurl' merged into rivet-namespace branch

Modified:
    tcl/rivet/branches/rivet-namespace/doc/   (props changed)
    tcl/rivet/branches/rivet-namespace/doc/xml/commands.xml

Propchange: tcl/rivet/branches/rivet-namespace/doc/
------------------------------------------------------------------------------
--- svn:mergeinfo (original)
+++ svn:mergeinfo Wed Sep  7 15:53:40 2011
@@ -1,3 +1,3 @@
 /tcl/rivet/branches/2_0/doc:939332-1027850
 /tcl/rivet/branches/master-interp/doc:1062190-1065801
-/tcl/rivet/trunk/doc:1065843-1125265
+/tcl/rivet/trunk/doc:1065843-1166221

Modified: tcl/rivet/branches/rivet-namespace/doc/xml/commands.xml
URL: http://svn.apache.org/viewvc/tcl/rivet/branches/rivet-namespace/doc/xml/commands.xml?rev=1166239&r1=1166238&r2=1166239&view=diff
==============================================================================
--- tcl/rivet/branches/rivet-namespace/doc/xml/commands.xml (original)
+++ tcl/rivet/branches/rivet-namespace/doc/xml/commands.xml Wed Sep  7 15:53:40 2011
@@ -972,8 +972,23 @@ bxxb ccxxxxcc
 	    <refsect1>
 		<title>Description</title>
 		<para>
-		    Create a self referencing URL from a filename.  For example:
-		    <programlisting>makeurl /tclp.gif</programlisting> returns
+		  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> 
+			A relative style path is passed (returns the argument prepended with the
+			current script's URL
+		    </listitem>
+		    <listitem> 
+			An absolute path is passed to the command: (returns the full URL to the
+			resource)
+		    </listitem>
+
+		  </itemizedlist>
+		</para>
+		<para>
+		    Example of absolute path: <programlisting>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.



---------------------------------------------------------------------
To unsubscribe, e-mail: rivet-cvs-unsubscribe@tcl.apache.org
For additional commands, e-mail: rivet-cvs-help@tcl.apache.org