Bulk validation of the source code
Webdesign | Filip Podstavec
Code validation, in general, can help robots of search engines process the web content more effectively and can also prevent errors in content display in different browsers. The W3C validator from World Wide Web Consortium can be used for a one-time validity check. But what to do in case you finished the web and you want to check it all at once to find out if any pages/looks display a bigger number of errors than others?
The Validator miner from URL miners section is here for exactly that. It needs an URL dataset, that a user wants to check, at the input and then subsequently inquires about W3C and returns an amount of errors and a warning for given URL at the output.Step 1
Input URL selection
First, a user inserts an URL dataset at input. It is easiest to input the entire sitemap which Marketing Miner then processes and parses out all the URL from it:
A user then clicks on Select miners.Step 2
In the second step, a user checks the Validity checker miner which processes queries about the W3C. A user then clicks on Get data.Step 3
Miner then takes all URL and gets data from W3C API. A report like this is then returned to a user at output:
|Validation warnings||Number of found warnings in the validation test from W3C.|
|Validation errors||Number of found errors in the validation test from W3C.|
Working with outputs
It is beneficial to go over the output data and manually insert the URL that return a bigger number of errors or warnings than other URL into the tool for validation from W3C, and find out what causes those errors, and where and whether it is necessary to correct them.