Well I wanted to get some other professional input on a very small, but useful script I'm writing. It began as a script for a friend of mine that is a teacher that wanted something similar to the W3C TryIt Editor for her classes. I've done all that I can think to do and I'd really like some input from the community for ideas and suggestions to improve it. One thing I'm trying to find is a good XHTML validator that runs in PHP. I tried using the W3C Validator that returns as XML, but it's in beta and not really that great for validating snippets as it looks for doc types and tags that generally aren't in snippets. The one I use now is fine, but it doesn't have a line number. I had another validator that did have the line number, but it was always wrong.
The snippets come from a snippets directory. Within that directory are folders. Each folder is printed as an optgroup tag for the files that are within the folder to easily make a dropdown of the available snippets and have them sorted however the admin would like.
Link: http://mvied.com/scripts/codeit/
Thanks in advance,
MVied