Hi all, I managed to create a custom front-end for Validator.nu, currently available at http://rintze.zelle.me/csl-validator/. The code lives at https://github.com/rmzelle/csl-validator/. My original post, in which I outlined the design, moved to http://rintze.zelle.me/csl-validator-frontend/.
It works pretty well in my hands, and has several advantages: - the CSL schema version can now be easily selected via a drop-down menu - the necessary options for validator.nu are preselected and hidden, reducing user confusion and visual clutter - irrelevant validation warnings are now hidden - validation now includes the extracted Schematron schema rules from the CSL 1.0/1.0.1 schema, which catches calls to undefined macros I used the Validator.nu REST API (http://wiki.whatwg.org/wiki/Validator.nu_Web_Service_Interface), Bootstrap, JQuery and Prism (for syntax highlighting). If everybody is happy with it, I would eventually like to move the code to the "citation-style-language" GitHub organization, and make it available at validator.citationstyles.org. The only drawback I'm aware off are two layout/CSS issues with the Prism library, documented at https://github.com/LeaVerou/prism/issues/324 . If anyone has any ideas how to solve them, or knows of a better syntax highlighter that supports both line numbering and line highlighting, please let me know. Rintze P.S. The last webpage I hand-coded was after I read a book on HTML 3.2 in the late nineties. Things sure have become more interesting in the past decade or two. On Sun, Feb 23, 2014 at 7:18 PM, Rintze Zelle <rintze.ze...@gmail.com> wrote: > Hi all, > > Currently on my wishlist is a customized front-end for Validator.nu. > I'm aware that Simon built a custom CSL validator a while back ( > http://simonster.github.io/csl-validator.js/ ), but I like the > interface and flexibility of Validator.nu (and the Jing XML validator) > a little better. However, there are a lot of presets and validation > warnings that could be hidden from our users. Since Validator.nu has a > RESTful API, I'm imagining a custom front-end shouldn't be too hard to > develop. > > Since I'm rather worthless when it comes to coding, I wrote up my > thoughts at http://rintze.zelle.me/csl-validator/ (along with a > mockup), and put up a call for help on the citationstyles.org > frontpage. If anybody here is interested in this side project, let me > know. > > Rintze ------------------------------------------------------------------------------ _______________________________________________ xbiblio-devel mailing list xbiblio-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xbiblio-devel