Hi,
is it possible to log the searches done with the search plugin? Is there a way to see those logs?
Thank you,
Daniel
search function
-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Re: search function
Hi!
Yeah, one could write a simple event plugin that listens to the frontend_configure header, check if $serendipity['GET']['searchTerm'] is set and then log that variable to a file or database.
But you can also use a logfile analyzer; search requests are performed via GET, so it's contained in the logs and you could evaluate them...
HTH,
Garvin
Yeah, one could write a simple event plugin that listens to the frontend_configure header, check if $serendipity['GET']['searchTerm'] is set and then log that variable to a file or database.
But you can also use a logfile analyzer; search requests are performed via GET, so it's contained in the logs and you could evaluate them...
HTH,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/