Torrington, eh? It is
a same world -- I'm from Canton, or at least I went to high school there once upon a time!You spent a lot of time formatting your code to present well
Thank you! Maintainability of shared code is a big priority of mine. I'm glad it's proving so useful. Have you looked through this
writeup I did of the comment sorting? I'm crossing my fingers that the new styles, at least, incorporate some of that....
As for the DOCTYPE, I did add one in eventually; it might have been just after you grabbed the code for your own style. I had to sort out a couple of invalid things I was doing (mostly mixing inline and block elements poorly) before it validated, and then I apparently got my development wires crossed and broke the validation I thought I had on the friends page (by tossing per-entry CSS styling into the body of the page instead of reading it during the creation of the <header> -- that was silly linear thinking on my part, not to mention that the mistakes in the CSS itself were not my finest moment).
Sadly -- and not to malign good old vi
in any way, of course -- there's very little in the way of S2 development tools available. There is supposed to be a web interface on the compiler, so a client tool could be built that could get compile-time syntax checking that way, but I didn't understand the authentication needed in order to write my own (perhaps the new authentication protocols in the works right now could change that?); I wrote a little client tool that's basically a glorified text editor in VB.NET, since that's what I have at work, and I like to think that I'm savoring the irony of doing open-source work on a closed-source platform because otherwise Micro$oft makes me sad
but it doesn't really have the sorts of features that make it worth sharing, I don't think -- its only syntax checking is on the function level, so vim
's is probably better!Why any of us would bother to learn S2 is the greater mystery, since even when a style is complete, it cannot filter out other people's ill-formed HTML in the friends view.
Well, aside from its being fun (no, really!), you could do a little
text parsing on $e.text
if you wanted to.