README.md in trafficlogger-1.0.2 vs README.md in trafficlogger-1.1.0
- old
+ new
@@ -18,10 +18,14 @@
- QUERY_STRING
- REQUEST_METHOD
- HTTP_CONNECTION
And More!
+Also it has inbuilt parser to extract Operating System,Platform,Device from HTTP_USER_AGENT. When the logger runs the Parser auto-extracts these information wherever applicable. Neverthless you can re-use the component yourself in your App anytime by running
+`Trafficlogger::UAParse.extract(your_string)`
+Example => `Trafficlogger::UAParse.extract('Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_3) AppleWebKit/535.19 (KHTML, like Gecko) Chrome/18.0.1025.151 Safari/535.19')`
+
## Demonstration
Sample App - https://github.com/raycoding/rTracker
Once integrated with your App you can see the log entries in DB Table and also there is Search Analytics Dashboard which will be located at URL `/tracklogger` inside your Application
@@ -49,10 +53,9 @@
## Dependencies
- Ruby 1.9.3+
- Rails 3.2.13
- - MySQL
- will_paginate
### ToDo
Porting this for Rails 2.x is not difficult as only few scope conditions at model level needs to changed ; which are for Rails 3 but does not work for Rails 2, feel free to fork it and contribute for Rails 2.x platforms, also it should work on Ruby 1.8.7+
\ No newline at end of file