User functions file(s)

For topics about current BETA or future releases, including feature requests.
Post Reply
User avatar
roedygr
Rank V - Professional
Rank V - Professional
Posts: 369
Joined: Fri Feb 17, 2006 5:22 am
Location: Victoria BC Canada
Contact:

User functions file(s)

Post by roedygr » Wed Apr 23, 2014 1:19 pm

The help on user function file suggests you can have only one. In my case I would like to have two, one to invoke caching and one to invoke autoload of failing files. I presume it is possible to combine the two functions into one script. but it would simpler to allow multiple functions separated by ; like the list of exclusions.

Is the intention end users will ever write such scripts? If so are there any docs on what you can do?

User avatar
Albert Wiersch
Site Admin
Site Admin
Posts: 3202
Joined: Sat Dec 11, 2004 9:23 am
Location: Near Dallas, TX
Contact:

Re: User functions file(s)

Post by Albert Wiersch » Wed Apr 23, 2014 1:34 pm

Yes, you can have only one file specified there. I will make a note to make it possible to specify more than one with semicolons in a future version.

Yes, you can manually combine the scripts into one file and specify that file.

I don't think many users take advantage of the user functions but there is documentation on TNPL here:
http://www.htmlvalidator.com/v140/docs/ ... nguage.htm

The TNPL Batch Wizard documentation is here:
http://www.htmlvalidator.com/v140/docs/tnpl_wizard.htm

Have a look and see what you can come up with. :D

If you come up with any great ideas but need some new functionality added, then please let me know and I'll see what I can do.
Image
Albert Wiersch

Post Reply