mdevette wrote:Hi Albert,
I just installed the latest version (12).
Ii the feature available in that version? Do we have do follow all of the same steps that you have described in this topic (that applied to the beta version) or is there an easier way?
Hello,
Yes, this is available in v12, but only in the pro and enterprise editions. The steps should be the same, except use the release version instead of the old BETA.
Here are the updated steps:
1. If you haven't already, download and install
CSE HTML Validator v12, pro or enterprise edition. The lite and standard editions don't support this ability, and neither do versions prior to v12.
2. Download this 'user functions' file:
http://www.htmlvalidator.com/user-funct ... entmap.cfg3. Change the hardcoded filename in the user functions file to what you want (where you want the CSV data stored). Currently it is set to "T:\content_map.csv". To do this, simply edit the user functions config file with a text editor and make the change where this code is:
- Code: Select all
$cmap.filename='T:\content_map.csv';
Make sure
CSE HTML Validator has write access (permission) to the file & folder that you've set.
4. In the
Validator Engine Options, Validator Engine->Config File page, set the 'user functions' file to the user functions config file and check the '
Enable potentially destructive functions' option because this feature will need writeFile() to write the data. If it is not checked, then no data will be written to the CSV file.
5. Finally, be sure to reload the configuration or restart
CSE HTML Validator for the new 'user functions' file to take effect.
The 'user functions' file adds this additional functionality. It creates a simple CSV (comma separated value) file with the document location, document title, document keywords, h1 text, and h2 text for every document that is validated. You can configure it differently if you want, but will have to edit the programming in the user functions file.
If everything is working well, then every time you validate an HTML/XHTML document (using the editor or the
Batch Wizard), it should append a line to the CSV file. It will just keep appending data, so you'll need to delete or move or rename the file when you want to start a new file.
This is an example of the improved customization ability in
CSE HTML Validator v12. It will let you add your own fields and other information you want. However, not everything may be available, like link checking status. If there is anything that you'd really like to see added, then please let me know.