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: |
| PasswordsNotWorking |
If you answer a question - or have a question you asked answered by someone - please remember to edit the page and set the status to answered. The status is in a drop-down list below the edit box. ... |
| OopsTemplatesNotShowingAnymore |
If you answer a question - or have a question you asked answered by someone - please remember to edit the page and set the status to answered. The status is in a drop-down list below the edit box. ... |
| DeletingUsers |
To remove a user:... |
| RevisionSectionsBlankInHistory |
If you answer a question - or have a question you asked answered by someone - please remember to edit the page and set the status to answered. The status is in a drop-down list below the edit box. ... |
| UserActivationError |
If you answer a question - or have a question you asked answered by someone - please remember to edit the page and set the status to answered. The status is in a drop-down list 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