none
[openafs-wiki.git] / TWiki / FormattedSearch.mdwn
index ac6d4c9..8420720 100644 (file)
         </li>
       </ul>
     </li>
+    <li><a href="#TWiki Installation Error">TWiki Installation Error</a><ul>
+        <li>
+          <ul>
+            <li><a href="#Most recently changed pages"> Most recently changed pages</a></li>
+          </ul>
+        </li>
+      </ul>
+    </li>
     <li><a href="#TWiki Installation Error">TWiki Installation Error</a></li>
   </ul>
 </div>
@@ -56,7 +64,7 @@ Variables that can be used in the format string:
   </tr>
   <tr>
     <td><code>$web</code></td>
-    <td> Name of the web </td>
+    <td> Name of the web(s), separated by commas, or 'all' </td>
   </tr>
   <tr>
     <td><code>$topic</code></td>
@@ -84,11 +92,11 @@ Variables that can be used in the format string:
   </tr>
   <tr>
     <td><code>$date</code></td>
-    <td> Time stamp of last topic update, like <code>29 Jun 2010 - 15:42</code></td>
+    <td> Time stamp of last topic update, like <code>29 Jun 2010 - 15:43</code></td>
   </tr>
   <tr>
     <td><code>$isodate</code></td>
-    <td> Time stamp of last topic update, like <code>2010-06-29T15:42Z</code></td>
+    <td> Time stamp of last topic update, like <code>2010-06-29T15:43Z</code></td>
   </tr>
   <tr>
     <td><code>$rev</code></td>
@@ -234,4 +242,16 @@ Here is an example. Let's search for all topics that contain the word "culture"
 
 Incorrect format of searchformat template (missing sections? There should be 4 %SPLIT% tags)
 
--- [[PeterThoeny]] - 16 May 2002
+### <a name="Most recently changed pages"></a> Most recently changed pages
+
+**Write this:**
+
+`%SEARCH{ "\.*" scope="topic" regex="on" nosearch="on" nototal="on" order="modified" reverse="on"  format="| [[$topic]] | $wikiusername  | $date |" limit="7" }%`
+
+**To get this:**
+
+# <a name="TWiki Installation Error"></a> TWiki Installation Error
+
+Incorrect format of searchformat template (missing sections? There should be 4 %SPLIT% tags)
+
+-- TWiki:Main.PeterThoeny - 15 Dec 2003