Tags:
create new tag
, view all tags

Question (Sorry for the topic misspelling; I don't have permission to rename)

I want to be able to search a web with a RegularExpression and then report multiple matches from each topic. The use case is marking issues in task lists and specifications and then reporting all issues in another document.

For example, I have two topics Foo1 and Foo2.

Topic Foo1: some text

  • ISSUE: Bar is a problem
some more text

Topic Foo2: some text

  • ISSUE: Mary thinks that Baz is going to be late
some more text
  • ISSUE: Quux
even more text

I want to be able to have a top-level page that gathers all issues and reports it like so:

  • Foo1 Issues:
    • Bar is a problem
  • Foo2 Issues:
    • Mary thinks that Baz is going to be late
    • Quux

I've gotten close to this with FormattedSearch, but can't ever find the 2nd match (or greater) in a Topic. I've poked around a bit and all search discussion seems to point to getting lists of topics and/or extracting one match.

Or am I making a RookieTWikiMistake?

(I didn't want to crack the perl until I was sure that this feature, which seems obvious, wasn't already available.)

  • TWiki version: 01Dec2001
  • Web server: apache
  • Server OS: RedHatLinux 7.1
  • Web browser: IE5.x/IE6
  • Client OS: Win2K

-- DavisWFrank - 06 Jun 2002

Answer

You cannot use FormattedSearch because it only extracts the first occurance of a topic. Have a look at the ActionTrackerPlugin that does queries with multiple hits per topic.

-- PeterThoeny - 13 Jun 2002

Topic revision: r3 - 2002-06-13 - PeterThoeny
 
Twitter Delicious Facebook Digg Google Bookmarks E-mail LinkedIn Reddit StumbleUpon    
  • Download TWiki
TWiki logo Powered by Perl Hosted by OICcam.com Ideas, 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.