Login | Register
My pages Projects Community openCollabNet

Discussions > cvs > CVS update: joist/templates/org/joist/search SearchPage.wm

Project highlights: Architectural Overview

joist
Discussion topic

Back to topic list

CVS update: joist/templates/org/joist/search SearchPage.wm

Author stack
Full name Michael Stack
Date 2000-10-31 18:11:26 PST
Message User: stack
  Date: 00/10/31 18:11:26

  Modified: templates/org/joist/search SearchPage.wm
  Log:
  Added details to search page -- index mod. time, index stats, etc.
  
  Revision Changes Path
  1.7 +21 -2 joist/templates/org/​joist/search/SearchP​age.wm
  
  Index: SearchPage.wm
  ====================​====================​====================​=======
  RCS file: /cvs/joist/templates​/org/joist/search/Se​archPage.wm,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- SearchPage.wm 2000/11/01 00:34:34 1.6
  +++ SearchPage.wm 2000/11/01 02:11:26 1.7
  @@ -58,8 +58,27 @@
       <UL>
           #foreach $item in $searchresult.getSe​archResultItems( )
           {
  - <LI>$item.getFile() <i>Ranking $item.getRanking( )</i>
  - }
  + <LI>#if( $item.getTitle( ) && ( $item.getTitle( ) > 0 ) )
  + {
  + <a href="$item.getFile​RelativeToHtDoc( )" >$item.getTitle()</a> <br><i>Size $item.getSize( ), Ranking $item.getRanking( )</i>
  + }
  + #else
  + {
  + <a href="$item.getFile​RelativeToHtDoc( )" >$item.getFileRe​lativeToHtDoc()</​a> <br><i>Size $item.getSize( ), Ranking $item.getRanking( )</i>
  + }
  + }
       </UL>
       }
  +
  +<FONT FACE="Arial,Helvetic​a,Geneva,Verdana,san​s-serif" SIZE="-1">
  +Search Details:</FONT>
  +#set $query = $searchresult.getQuery( )
  +<table>
  +<tr><td>Query entered by user:</td><​td>$query.getQue​ryString( )</td></tr>
  +<tr><td>Query as interpreted by Search Engine:</td>​<td>$searchresu​lt.getSearchengineSe​archWords( )</td></tr>
  +<tr><td>Maximum number of results to return:</td>​<td>$query.getR​esultsPerQuery( )</td></tr>
  +<tr><td>Index Modification Date:</td><​td>$searchresult​.getIndexModDate( )</td></tr>
  +<tr><td>Index Stats:</td>​<td>$searchresul​t.getIndexStats( )</td></tr>
  +
  +</table>
   }

« Previous message in topic | 1 of 1 | Next message in topic »

Messages

Show all messages in topic

CVS update: joist/templates/org/joist/search SearchPage.wm stack Michael Stack 2000-10-31 18:11:26 PST
Messages per page: