[Typo3] indexed_search always indexes keywords and description from page head

Michael Stucki michael at typo3.org
Thu Dec 22 09:32:10 CET 2005


Hi Gerhard,

> I have a problem with Ext. indexed search. The problem is that keywords
> and description from the head of the html page are included.
> 
> I add keywords and descr. via TS:
> p.meta.description=Description
> p.meta.keywords=kw1,kw2
> 
> After some google search i found sth. about the markers
> <!--TYPO3SEARCH_begin--> and <!--TYPO3SEARCH_end--> but this seems to
> totally ignored.
> 
> I also deleted the indexed stuff and visited the pages again to recreate
> the search index.
> 
> My template starts as following:
> 
> <!--###BODY### start-->
> <!--TYPO3SEARCH_begin-->

The problem is that the Body marker will be replaced with your Typoscript
content. So in fact the TYPO3SEARCH markers will simply be overwritten.

What you need to do is simply change their positions to make sure the
TYPO3SEARCH markers will still appear in the frontend output.

- michael
-- 
Use a newsreader! Check out
http://typo3.org/community/mailing-lists/use-a-news-reader/



More information about the TYPO3-english mailing list