[interchange-docs] xmldocs - racke modified guides/search.xml

docs at icdevgroup.org docs at icdevgroup.org
Wed Jun 28 14:51:05 EDT 2006


User:      racke
Date:      2006-06-28 18:51:05 GMT
Modified:  guides   search.xml
Log:
removed spurious equal sign
documented new date_format option for Swish2

Revision  Changes    Path
1.12      +10 -1     xmldocs/guides/search.xml


rev 1.12, prev_rev 1.11
Index: search.xml
===================================================================
RCS file: /var/cvs/xmldocs/guides/search.xml,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -r1.11 -r1.12
--- search.xml	23 Jun 2006 09:48:24 -0000	1.11
+++ search.xml	28 Jun 2006 18:51:05 -0000	1.12
@@ -91,7 +91,7 @@
 
 <programlisting>
 mv_return_fields=code score title url mod_date filesize
-mv_field_names==code score title url mod_date filesize
+mv_field_names=code score title url mod_date filesize
 </programlisting>
 
 	These correspond to:
@@ -104,6 +104,15 @@
   mod_date  swishlastmodified
 </programlisting>
 	</para>
+<para>The date in the <literal>mod_date</literal> field is returned in the
+format <literal>%Y-%m-%d %H:%M:%S</literal>.
+<para>You can change that with the <literal>date_format</literal> option:
+</para>
+<programlisting>
+Swish date_format "%d %b %Y"
+</programlisting>
+See &glos-time; for possible format strings.
+</para>
 <section>
 <title>Commandline Examples</title>
 <para>








More information about the docs mailing list