Tags:
create new tag
view all tags

Question

Hi. We would like to be able to specify what shows up in the index page under each heading. Is this possible?

  • TWiki version: TWiki20010901.zip
  • Web server: Apache
  • Server OS:
  • Web browser:
  • Client OS:

-- DavidHay - 04 Nov 2002

Answer

To the best of my knowledge there is not yet a ready made solution for this. There is some discussion of how it could be implemented at AllowDesignationOfSummary.

I personally just add a short paragraph (~160 characters) at the top of each page which summarizes the topic contents.

-- MattWilkie - 04 Nov 2002

You can also use a regular expression pattern to extract arbitrary content out of a topic. This example extracts the first 60 characters out of the answer of the last five AnsweredQuestions:

Topic: Answer:
ImproperUseOfTheSaveScript The error message you describe is the result of the "save" script...
SecurityWithSubdomainVsDomain
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.
...
SecuringPubFolder
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.
...
RunningPluginInstallerBehindFirewall
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.
...
ProblemAfterUpdateLinksDontWork
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.
...

The pattern in format is $pattern(.*?\-+\++\s*Answer[\s\n\r]*([^\n\r]{1,60}[^\n\r\s]*).*), see details in FormattedSearch.

-- PeterThoeny - 06 Nov 2002

Edit | Attach | Watch | Print version | History: r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r3 - 2002-11-06 - 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.