GitXplorerGitXplorer
n

tosfiend

public
0 stars
0 forks
3 issues

Commits

List of commits on branch master.
Unverified
0b985255da8a44dcb272fa6366a0bffa2faa04a6

Update

nndrut committed 10 years ago
Unverified
445a4a2ec37ed91dd3bdd480302d3e59990a5fda

[hostgator.com] Updated tos-dedicated-mail-policy

nndrut committed 10 years ago
Unverified
8f2bfa7992b6387510b2acedb0b83bbd1dda1433

[hostgator.com] Updated tos-mail-policy

nndrut committed 10 years ago
Unverified
c0ac36c8633afe2c4d5f429644ec93337952ea2c

[hostgator.com] Updated tos-acceptable-use

nndrut committed 10 years ago
Unverified
897de06f286f929365d95d459b7ad8fcbba5a782

[hostgator.com] Updated tos-vps

nndrut committed 10 years ago
Unverified
b5db6ea3118d7bfa8bb1a3cee5b24d3c5c3cdce0

[hostgator.com] Updated tos

nndrut committed 10 years ago

README

The README file for this repository.

#ToS Fiend

A collection of popular websites' terms of service documents which are checked regularly against their current values in order to document change and provide a sanitary way to show differences.

###What is this for?

This is primarily to hold popular online communities accountable for changes they make with or without notification to their userbase and provide an objective view (git diff) of the changes made, which among diff-reading entities provides innate clarity to the changes.

How does it work?

A scraper (TODO: Make codebase ready for human consumption.) loops over the configuration files ($name.json) and visits the urls provided as sources, checking for changes and committing them where applicable. All of these pieces are automated and run in intervals. Below you will find a sample configuration file.

{
  "name": "example.com",
  "sources": {
    "tos": {
      "url": "http://www.example.com/terms_of_service",
      "element": "div#content"
    }
  }
}

As you can see, the formatting is fairly self-explanatory. The keys for the objects in the sources object are used for filenames and the element provided is used for grabbing only a portion of the page for use in cases where a dynamic or unique hash or code is generated on page load (think CSRF token) but not included in the article.

How can I add sites to it?

You can submit a pull request using a branch named after the site with a directory in the root named after the site, containing a json configuration file named after the site with a file extension of .json. It is also necessary to note that you must confirm that the URL or URL and element you provide will result in a non-dynamic output on page load.