[docs] xmldocs - docelic modified 5 files

docs at icdevgroup.org docs at icdevgroup.org
Sat Oct 16 17:53:36 EDT 2004


User:      docelic
Date:      2004-10-16 21:53:36 GMT
Modified:  bin      refs-autogen
Modified:  docbook  literals.ent
Added:     refs     cart load_cart save_cart
Log:
- New items

Revision  Changes    Path
1.48      +1 -1      xmldocs/bin/refs-autogen


rev 1.48, prev_rev 1.47
Index: refs-autogen
===================================================================
RCS file: /var/cvs/xmldocs/bin/refs-autogen,v
retrieving revision 1.47
retrieving revision 1.48
diff -u -r1.47 -r1.48
--- refs-autogen	14 Oct 2004 15:54:42 -0000	1.47
+++ refs-autogen	16 Oct 2004 21:53:36 -0000	1.48
@@ -644,7 +644,7 @@
 			# Causes problems
 			#$$sref{lc $sect} .= $$sref{lc $sect} ?
 			#	'</para><para>' . $content : $content;
-			$$sref{lc $sect} .= $content;
+			$$sref{lc $sect} .= $content if $content;
 		}
 		if ( $sect =~ /^see also$/i ) {
 			( my $list = $content ) =~ s/,/ /g;



1.6       +2 -0      xmldocs/docbook/literals.ent


rev 1.6, prev_rev 1.5
Index: literals.ent
===================================================================
RCS file: /var/cvs/xmldocs/docbook/literals.ent,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- literals.ent	16 Oct 2004 21:11:00 -0000	1.5
+++ literals.ent	16 Oct 2004 21:53:36 -0000	1.6
@@ -61,6 +61,8 @@
 <!ENTITY ITL "<glossterm linkend='ITL'>ITL</glossterm>">
 <!ENTITY SMTP "<ulink url='http://cr.yp.to/smtp.html'>SMTP</ulink> (<classname>Net::SMTP</classname> Perl module)">
 <!ENTITY interpolation "<glossterm linkend='interpolation'>interpolation</glossterm>">
+<!ENTITY epoch "<glossterm linkend='epoch'>Epoch</glossterm>">
+<!ENTITY userdb "UserDB">
 
 
 <!-- ENTITIES TO EASIER CONSTRUCT TAG PARAMETERS LIST -->



1.1                  xmldocs/refs/cart


rev 1.1, prev_rev 1.0
Index: cart
===================================================================
__NAME__ purpose
set the current shopping cart
__END__


__NAME__ see also
delete_cart
__END__


__NAME__ synopsis
<row>
	<entry>
		<group>
			<arg choice='plain'>nickname</arg>
			<arg choice='plain'>name</arg>
		</group>
	</entry>
	<entry>Yes</entry><entry>Yes</entry>
	<entry></entry>
	<entry>Cart name to switch to.</entry>
</row>
&ROW_INTERPOLATE_0;
__END__


__NAME__ description
This simple tag sets the default cart name for tags that operate on it
(such as
<tag>shipping</tag>,
<tag>price</tag>,
<tag>total</tag>,
<tag>subtotal</tag> or
<tag>nitems</tag>).
__END__

__NAME__ example
<example>
  <title>Set new default cart name</title>
	<para>
	Place the following on an Interchange page:
	</para>
  <programlisting>
[cart NEW]
  </programlisting>
</example>
__END__




1.1                  xmldocs/refs/load_cart


rev 1.1, prev_rev 1.0
Index: load_cart
===================================================================
__NAME__ purpose
load shopping cart from UserDB
__END__


__NAME__ missing
Describe cart/recurring options
__END__


__NAME__ see also
delete_cart, save_cart, cart, userdb
__END__


__NAME__ synopsis
<row>
	<entry>
		<group>
			<arg choice='plain'>nickname</arg>
			<arg choice='plain'>name</arg>
		</group>
	</entry>
	<entry>Yes</entry><entry>Yes</entry>
	<entry></entry>
	<entry>
	Cart specification string. The string is colon-separated, and contains three
	fields: the cart name, time of save, and type. Time of save is measured
	in seconds since the &epoch;. Type can be 
	<literal>c</literal> (cart) or <literal>r</literal> (recurring).
	</entry>
</row>
&ROW_INTERPOLATE_0;
__END__


__NAME__ description
This tag loads a cart from the &userdb;.
<emphasis role='bold'>The loaded cart will be merged with the current
one</emphasis>.
__END__

__NAME__ example
<example>
  <title>Merge a saved cart to the current one</title>
	<para>
	Place the following on an Interchange page:
	</para>
  <programlisting>
[load_cart nickname="mycart:990102732:c"]
  </programlisting>
</example>
__END__




1.1                  xmldocs/refs/save_cart


rev 1.1, prev_rev 1.0
Index: save_cart
===================================================================
__NAME__ purpose
save shopping cart to UserDB
__END__


__NAME__ see also
delete_cart, load_cart, cart, userdb
__END__

__NAME__ missing
Describe recurring/cart distinction
__END__

__NAME__ synopsis
<row>
	<entry>
		<group>
			<arg choice='plain'>nickname</arg>
			<arg choice='plain'>name</arg>
		</group>
	</entry>
	<entry>Yes</entry><entry>Yes</entry>
	<entry></entry>
	<entry>
	Cart specification string. The string is colon-separated, and contains three
	fields: the cart name, time of save, and type. Time of save is measured
	in seconds since the &epoch;. Type can be 
	<literal>c</literal> (cart) or <literal>r</literal> (recurring).
	</entry>
</row>
<row>
	<entry>
		<arg choice='plain'>recurring</arg>
	</entry>
	<entry>Yes</entry><entry></entry>
	<entry></entry>
	<entry>
	</entry>
</row>
__END__


__NAME__ description
This tag saves current cart to &userdb;.
</para><para>
Note that the cart name does not have to be unique. If there are more carts
with the same nickname, an index will be added.
__END__

__NAME__ example
<example>
  <title>Save cart to UserDB</title>
	<para>
	Place the following on an Interchange page:
	</para>
  <programlisting>
[save_cart mycart]
  </programlisting>
</example>
__END__









More information about the docs mailing list