Forum Moderators: open
I moved your post from "Breaking Search Engine News" to this thread, because I felt it would get more response in this forum.
Since I don't know the answer to your question, I will rally the troops for you..
-G
Littleman didn't mean that your post was "grating" on the nerves...
He meant that the question was a good one.
Just to clarify
-G
As each referrer string is different for each engine you need code to identify each engine first [not too hard - search for unique string. ie. google.com] and then grab whatever follows the "?" in the URL as a "&" delimited list (ie. for google grab text following "q?=" and "&") and wham you have keywords and all search parameters which you can pass to your template as a query.
Of course if you are cloaking and redirecting to a home page you may want to serve up content directly relevant to the search term which in this case may not appear on the home page.
In some ways it is still better to create themed pages for keywords which will have relevant content for search terms rather than scripting like this.
Just my 1.5c.;)