Forum Moderators: coopster

Message Too Old, No Replies

Getting the Keywords from Referrer URL (Maintained Code)

         

thing3b

2:48 am on Apr 11, 2008 (gmt 0)

10+ Year Member



I would like to take my referring URL and get any keywords that might have been used in a search engine to find my site. There is a lot of PHP scripts that can do this but they are often written once and never updated.

Does anyone know of an open source PHP library that has this ability and is updated often?

I am hoping that a function like this that is maintained by the open source community would be able to detect more keywords from more sources. The code should have less chance of becoming outdated as well.

Thanks for any help.

coopster

12:05 pm on Apr 11, 2008 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



I have never looked for one, usually roll my own code. There is a working example that you can tweak to meet your needs in our PHP Forum Library [webmasterworld.com].
Highlighting Search Terms [webmasterworld.com]