Forum Moderators: open

Message Too Old, No Replies

Extracting keywords from SE queries (ASP code)

extract the search terms from the referring URL

         

residential

9:55 am on Oct 31, 2004 (gmt 0)



Need to retrieve the keywords from a referrer and serve keyword specific versions of a page requested by a user based on their search engine query. Found several solutions in PHP, cant find any in ASP! HELP!

Easy_Coder

3:25 pm on Oct 31, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



have you tried stuffing the QueryString collection into a string and then splitting it on say the equal character for parsing?

tempBuff = Request.QueryString()

tempArr = Split(tempBuff, "=")

tempArr should hold all of your values when you unwind it, then you can test those values for keywords that your looking for.