Tags:
create new tag
view all tags

Question

Can I set up effectively synonyms on my TWiki? I have a topic that has a lot of synonyms. I would like people to search on the synonyms and get the main page. How can I set this up?

Ex. I have the page ColorBlue. People might search on ColorAqua, ColorNavy or ColorSkyBlue; I would like all these searches to result in the ColorBlue page.

I did some searching on redirecting, but that has information on redirecting pages that already exist. I don't see information on redirecting search topics. I have a known number of possible synonyms for each topic, so my gut says I should be able to accomplish this with metadata. But I don't know.

Any thoughts or direction for me?

Thanks! --gloria

Environment

TWiki version: TWikiRelease04Sep2004
TWiki plugins: Plugin API version 1.025
Server OS:  
Web server:  
Perl version:  
Client OS:  
Web Browser:  
Categories: Search

-- GloriaUrbanic - 02 Feb 2007

Answer

ALERT! If you answer a question - or someone answered one of your questions - please remember to edit the page and set the status to answered. The status selector is below the edit box.

Perhaps you can put an invisile HTML stament with these synonyms in the topic. In your example this could be something like

<!-- ColorAqua, ColorNavy, ColorSkyBlue -->

This line is not visible in the topic on viewing it but it is found by SEARCH

-- MarkusHesse - 03 Feb 2007

Along these lines, on our corporate intranet we write a line of synonyms in every topic. Like:

Synonyms: RoR, Ruby

These are picked up by search. The problem might be of course when synonyms need to be changed - there is no central place for all synonyms. It would be possible though with a custom search.

-- ArthurClemens - 03 Feb 2007

A custom search will display the synonyms, but they won't be available when searching. See for example Sandbox.ReadSynonymTest that gets the synonyms from Sandbox.SynonymList. If you do a search on unpigmented the results will only show the list topic.

-- ArthurClemens - 04 Feb 2007

Thanks Marcus and Arthur. That worked!

-- GloriaUrbanic - 05 Feb 2007

Change status to:
Edit | Attach | Watch | Print version | History: r5 < r4 < r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r5 - 2007-02-05 - GloriaUrbanic
 
  • 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.