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

Edit | Attach | Watch | Print version | History: r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r2 - 2008-08-24 - TWikiJanitor
 
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2017 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.