I've decided that I need a snippet to catch search strings when pages are requested from a search engine. I think one or two others have sked about this in the past as a wishlist item for Etomite, so presumably there is some interest.
If people can send me typical search urls, particularly from more obscure search engines, that will help ensure that I get most of them covered. (I don't need the urls from google, yahoo, msn, altavista, or ask jeeves; I can do these myself! Any that I haven't listed might not get caught unless someone tells me the string.)
I'm looking for URLs like "http://www.google.co.uk/search?hl=en&q=wildlife+hospital&spell=1"
any help will be appreciated
Search Strings
Started by mikef, Nov 27 2005 06:52 PM
2 replies to this topic
#1
Posted 27 November 2005 - 06:52 PM
#2
Posted 28 November 2005 - 02:40 PM
I have a working version of the code, but only tested in my environment, if anyone wants to try it out. Don't try these out on a business web site ... there's no guarantee they won't cause problems.
two snippets:
getSearches needs to go on every page that might be the target of a search - it doesn't generate any page output. The table structure is a simple flat table, and may change in later versions. Its not my easiest to read snippet!
showSearches gives a simple tabular output from the table. Styling is minimal.
these are for testing only - any comments welcome (bug-fixes and improvements especially so!)
snippets attached.
[attachment=865:attachment]
[attachment=866:attachment]
Snippets removed - see below
two snippets:
getSearches needs to go on every page that might be the target of a search - it doesn't generate any page output. The table structure is a simple flat table, and may change in later versions. Its not my easiest to read snippet!
showSearches gives a simple tabular output from the table. Styling is minimal.
these are for testing only - any comments welcome (bug-fixes and improvements especially so!)
snippets attached.
[attachment=865:attachment]
[attachment=866:attachment]
Snippets removed - see below
Edited by mikef, 31 December 2005 - 05:41 PM.
#3
Posted 31 December 2005 - 05:40 PM
In the absence of any significant interest, I've decided to not to go any further with this. It works well enough for my needs, but has too many problems to be released as a snippet.
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users











