Tags:
create new tag
, view all tags
To make it easier to format results with multiple hits per topic I would like to propose the following additional parameters: topicheader, topicseparator topicfooter and footer. Search results would then output these parameters in the following order:

<header>
   <topicheader>
      <format>
      <separator>
      <format>
      <separator>
      .
      .
      <format>
   <topicfooter>
   <topicseparator>
   <topicheader>
      <format>
      <separator>
      <format>
   <topicfooter>
   <topicseparator>
   .
   .
   .
   <topicfooter>
<footer>

The naming and use of separator and topicseparator is choosen for backwards compatibility with current usage.

It would be useful to have the extra variables:

  • $count - the number of hits in a topic. It would not be valid in header, topicseperator or footer
  • $totalcount - the total number of hits (valid in all parameters)

-- SamHasler - 05 Nov 2003

Topic revision: r2 - 2008-08-24 - TWikiJanitor
 
Twitter Delicious Facebook Digg Google Bookmarks E-mail LinkedIn Reddit StumbleUpon    
  • Download TWiki
TWiki logo Powered by PerlIdeas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2012 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.