Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
#1 2006-03-16 01:59:42
- Champak
- Member
- Registered: 2006-01-31
- Posts: 56
search results
Is there a way to limit the amount of hits within one article? Say I search for the word “dog”, each article returns and shows all 100 times the word dog was in each article. I want the return to show a set amount of times the word “dog” was in the article…say three sentances, instead of all 100. Possible or not?
Offline
#2 2006-03-16 02:20:35
- Mary
- Sock Enthusiast
- Registered: 2004-06-27
- Posts: 6,236
Re: search results
Not built-in, no. You could, though, conceivably find/get a plugin which could do this for you. i.e (imaginary plugin):
<txp:ext_search_excerpt><txp:body /></txp:ext_search_excerpt>
Offline
Pages: 1