dylangrech92 / seotoolbox

This plugin was created to facilitate SEO work by automating most of the manual labor
BSD 3-Clause "New" or "Revised" License
6 stars 2 forks source link

Improvement / Feature: Adding custom filters to crawler #3

Closed dylangrech92 closed 8 years ago

dylangrech92 commented 8 years ago

Re-write seotest.js to be a simple framework where each test is simply registered to the framework and is then automatically ran. This will then enable devs using this plugin to add their own custom filters by simply registering them to the framework example:

    window.seotest.register(
        'check_broken_links', 
        'Broken Links', 
        function(resultCont, url, html, headers, fields){
            // Test performed here
            resultCont.append(url + ' has broken links');
        }
    );
dylangrech92 commented 8 years ago

Docs about this will be available in the Wiki