Page 1 of 1

Using search module to generate meta keywords

Posted: Fri Jan 23, 2009 6:35 am
by studip101
Hi everyone,

I want to use the search module to generate meta keywords for each page. I have this working for the most part already using the code {search action=keywords count=10} in my template. However, the problem is that I have word stemming turned on in the search module preferences, so the keywords that are output are word-stemmed. I could turn off word stemming all together and I assume that that would resolve the problem, but I really want to leave word stemming on for normal searches. Is there any way to leave word stemming on for normal searches but have the search module output full keywords.


Thanks

Re: Using search module to generate meta keywords

Posted: Fri Jan 23, 2009 5:57 pm
by zigge
I'm interested how you used this to automagically generate metadata for the pages. Search Engine optimization is for me untouched area, and I would like to find an automated way of doing that meta-stuff that I never seem to get time to dig in to.


Mats

Re: Using search module to generate meta keywords

Posted: Fri Jan 23, 2009 11:19 pm
by studip101
to have the search module generate meta keywords automatically (although, to be honest, the meta keywords tag doesn't make that big a difference in seo, i was using the feature for another reason) just insert the code ' in your template (without the single quotes of course, and assuming your using xhtml).

The problem i was having is that, if you enable word stemming to make your search results better, the keywords output by the search module are also word stemmed, and therefore don't work very well for meta keywords.