Question
Why does Searching embedded in a page not work?
WebIndex page works on my new web.
Search page using word with Topic Text under simple works.
When I try to recreate what has been done on Codev by embedding search within a page: i.e. FeatureBrainstorming - all the topics related to FeatureBrainstorming appear. It does not work.
1) I created my own WebForm to default use on this web.
2) Instead of TopicClassification I use ActionType;
3) My value is EnvRequest
The search from the page:
SEARCH{ "[A]ctionType.*(
<\/td>|value\=).*[E]nvRequest" casesensitive="on" regex="on" nosearch="on" order="modified" reverse="on"}
Here is a snippet of the Metadata from the page/topic I want to see pop up:
FIELD{name="ActionType" title="ActionType" value="EnvRequest"}
What am I missing? Appreciate any help.
Sincerely,
Dave
.
- TWiki version: This site is running TWiki version 01 Dec 2001
- Web server: Apache
- Server OS: Win 2000
- Web browser: Explorer 6
- Client OS: Win 98
--
DavidBabin - 17 May 2002
Answer
I changed the search line to this:
SEARCH{"[ActionType.*(
<\/td>|value\=).*[E]nvRequest" casesensitive="on" regex="on" nosearch="on" order="modified" reverse="on"} --removed the right bracket on the [A] for ActionType and now I am getting more than I want back.
What does that mean? Very peculiar syntax???
Appreciate any help
David
I changed the searchspec and all is well. Might actually learn a bit of Perl before this is done.
Thanks
David
.