Tags:
create new tag
, view all tags
I've added a new variable to the TWikiAlphaRelease that can be used to find moved topics. Example:

%METASEARCH{type="topicmoved" web="Codev" topic="FindRenamedTopic" title="This topic used to exist and was moved to: "}%

This can be put in the new template topics defined in SelectableNewTopicTemplates.

Notes:

  • I decided not to extend %SEARCH% as it was already pretty complicated
  • Idea is to expand this for other search later e.g. attachment names, category searches

-- JohnTalintyre - 13 Jun 2001

I have not yet studied the code.

  • The new Meta data format can be searched already with the SEARCH variable, as it was possible with the old format. What are the reasons you decided to introduce the new METADATA variable?

  • I do not exactly understand why you would want to put it in a new template topic. Wouldn't it show up as the default text?

-- PeterThoeny - 16 Jun 2001

Sorry for not making this clear. This arose out of people moving topics, leading other to wondering there they had gone. First I used %SEARCH% to show matches when the topic does not exist page. But I didn't find the output very satisfactory. %METASEARCH% uses Search.pm with almost no changes, but it:

  • Simplifies the seach string you need to provide
  • Only gives output (which is user selectable) if there is a match

-- JohnTalintyre - 21 Jun 2001

Now I've also added %METASEARCH{type="parent" web="%WEB%" topic="%TOPIC%" title="Children: "}%, good for find children. So name of this topic is now misleading ...

Example of use in view.tmpl

-- JohnTalintyre - 04 Jul 2001

Edit | Attach | Watch | Print version | History: r5 < r4 < r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r5 - 2004-02-07 - PeterThoeny
 
  • 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.