Tags:
create new tag
view all tags

Question

I am trying to print out all the children topics under a web (and inside that topic all its children topics). I have no problem setting up Metasearch to do so, but unfortunately the only output I can get is very basic. So far as I have tried/seen there is no way to specify a format/ordering/style etc.

Anyone have any help? I currently am just appending letters and doing a %SEARCH{}% for the letters, but it seems like such a hack to me that I can't stand it big grin

Environment

TWiki version: TWikiRelease02Sep2004
TWiki plugins: DefaultPlugin, EmptyPlugin, InterwikiPlugin
Server OS: RedHat
Web server: Apache 3.0.99
Perl version: latest
Client OS: Windows XP
Web Browser: FireFox
Categories: Missing functionality

-- JeffVance - 25 May 2005

Answer

Jeff - we must have been on the same wavelink yesterday because about the time you posted this note, I was trying to figure out the exact same thing on the TWikiIRC (see discussion here). I figured out that you can search metadata using a regular SEARCH. I just looked at the exact syntax of the metadata statement I wanted to search for (you can append url with "?raw=debug" to see metadata) and then that string in my search. Example: %SEARCH{"TOPICPARENT{name=\"FormattingMetaSearch\"}% - would find parents of current topic.

Unfortunately, I was told this morning by CrawfordCurrie that this method will probably NOT work at some unspecified future time. Hopefully, by then we'll be able to format output from METASEARCH (á la FORMATTEDSEARCH).

Hope this helps!

-- LynnwoodBrown - 26 May 2005

Hehe, seems like just as much of a hack big grin Atleast it looks pretty though! Thanks a million!

-- JeffVance - 26 May 2005

How create a dynamic leftbar? I try search and topiclist, but I did not obtain. I tried to user the filter META:TOPICPARENT as key.

-- AndreMatos - 18 Apr 2007

How use the filter META:TOPICPARENT as filter in SEARCH?

-- AndreMatos - 18 Apr 2007

Edit | Attach | Watch | Print version | History: r4 < r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r4 - 2007-04-18 - AndreMatos
 
  • 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-2026 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.