<commit_before># rsfResponseValidatorPlugin

>**Note**
>**This plugin is still very much alpha release software, the API might change in the future!**

## Requirements:

* Symfony 1.2
* [`sfWebBrowserPlugin`](http://www.symfony-project.org/plugins/sfWebBrowserPlugin "Visit the sfWebBrowserPlugin page")

## Installation:

You can install the plugin with the symfony installer, by downloading the source
or adding an `svn:externals` property to your SVN working copy.

* **Symfony:**

        $ symfony plugin:install rsfResponseValidatorPlugin

* **Download:**

        $ svn checkout http://svn.symfony-project.com/rsfResponseValidatorPlugin/trunk

* **SVN:**

        $ svn propset externals sfPaymentPlugin http://svn.symfony-project.com/rsfResponseValidatorPlugin/trunk

After downloading the source code you should clear your symfony cache:

    $ php symfony cache:clear --type="config"

### Configuration:

Before you can use the plugin you need to configure it properly in `app.yml`.

    [yml]
    all:
      response_validator:
        xhtml_validation_uri: 'http://validator.w3.org/check'
        css_validation_uri:   'http://jigsaw.w3.org/css-validator/validator'
        web_browser_class:    'sfWebBrowser'<commit_msg>Updated the `README` files installation instructions.<commit_after># rsfResponseValidatorPlugin

>**Note**
>**This plugin is still very much alpha release software, the API might change in the future!**

## Requirements:

* Symfony 1.2
* [`sfWebBrowserPlugin`](http://www.symfony-project.org/plugins/sfWebBrowserPlugin "Visit the sfWebBrowserPlugin page")

## Installation:

You can install the plugin with the symfony installer, by downloading the source
or adding an `svn:externals` property to your SVN working copy.

* **Symfony:**

        $ symfony plugin:install rsfResponseValidatorPlugin

* **Download:**

        $ svn checkout http://svn.symfony-project.com/rsfResponseValidatorPlugin/trunk

* **SVN:**

        $ svn propedit svn:externals plugins rsfResponseValidatorPlugin http://svn.symfony-project.com/rsfResponseValidatorPlugin/trunk

After downloading the source code you should clear your symfony cache:

    $ php symfony cache:clear --type="config"

### Configuration:

Before you can use the plugin you need to configure it properly in `app.yml`.

    [yml]
    all:
      response_validator:
        xhtml_validation_uri: 'http://validator.w3.org/check'
        css_validation_uri:   'http://jigsaw.w3.org/css-validator/validator'
        web_browser_class:    'sfWebBrowser'
{'fraction_non_alphanumeric': 0.1018957345971564, 'fraction_numerical': 0.00315955766192733, 'mean_word_length': 4.169387755102041, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 6, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7437178', 'n_tokens_mistral': 759, 'n_tokens_neox': 730, 'n_words': 213}