Tags:
create new tag
view all tags

Question

I'd like to include "ref-by" information on every page on one of my TWiki sites.This would appear as a side bar showing topics.

If I add the line (the "\" characters are to escape it so you can see it in the page)

 \% SEARCH{regex="on" search="\%TOPIC\%" scope="text" nototal="on" nosearch="on" }\% 

to the template, it works, but I'd like to use formatted search so it only shows the topic name.

When I add the "format=..." paramter to the search, like this

 \%SEARCH{regex="on" search="\%TOPIC\%" scope="text" nototal="on" nosearch="on" format="$topic "}\% 
the page isn't displayed correctly in either Opera or IE. In Opera, it appears as the html source, and in IE I get the line
 : text/html; charset=ISO-8859-1 Keep-Alive: timeout=15, max=100 Connection: Keep-Alive Transfer-Encoding: chunked Content-Type: text/plain; charset=iso-8859-1 f5f 

at the top of the page.

You can see an example of the unformatted search at
http://www.andypryke.com/pub/CafeSoya?skin=refby
and the formatted (problematic) one at:
http://www.andypryke.com/pub/CafeSoya?skin=refbyformatted

Couldn't find this as a known problem. My guess is that the HTTP header is being munged somehow...

Any ideas?

Environment

TWiki version: TWikiRelease02Sep2004
TWiki plugins: DefaultPlugin, EmptyPlugin, InterwikiPlugin
Server OS: Linux servername.com 2.4.21-27.0.4.EL #1 Sat Apr 16 18:43:06 EDT 2005 i686 athlon i386 GNU/Linux
Web server: Apache/2.0.46 (Red Hat)
Perl version: 5.8.0
Client OS: Win 98
Web Browser: IE or Opera 7
Categories: Search, Browser Issue

-- AndyPryke - 15 May 2005

Answer

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