SEO Ruby script to compute Salton cosine.
Wordks perflectly for websites with less than one hundred pages.
To make it work, just add a config
directory and create a database.yml
file providing your mysql configuration.
development:
host: localhost
username: your_username
password: your_password
encoding: utf8
port:
Then just run ./salton.rb followed by a URL and a database name.
- Add begin/rescue blocks
- Improve SQL queries