Porting ip2cc and search_keywords to Drupal 5

Eventually, I continue my tasks as a module maintainer to port my modules, ip2cc and search_keywords to Drupal 5. I would like to announce that these modules are ported to Drupal 5. If you have time, please give it a try to upgrade.

Seriously, I have added install script to those modules so you don't need to do anything. Just enable them and it should work. If you have problems, please don't hesitate to let me know.

Tags: , ,

quick question if I mayWhen I l

When I look at the search keywords that were used, I would like to exclude searches made on my site. (I want to only external searches). Is this possible? Where is it specified which servers are search engines? Thanks jacauc

good question

Actually, search keywords don't care the search engines. It just matches predefined regular expressions against referrer. Since search url of Drupal is very popular, it is also included in the predefined list as follow.

/http:\/\/(.*?)\/search\/(.*)/i

One possible solution is to add a configurable flag to exclude self. Is that acceptable?

Sounds good!

Yes, that would be a nice feature. (i'd submit an issue for it in the issue queue) Alternatively, instead of globally removing these records from the table, you could also just add a checkbox on the /admin/logs/search_keywords page to "exclude self" (not sure if this is what you meant) Thanks! jacauc

Post new comment