- From: Karl Dubost <karl@w3.org>
- Date: Fri, 14 Jul 2006 11:11:37 +0900
- To: QA Dev <public-qa-dev@w3.org>
Hi,
TextMate has a feature to validate the code we are writing. It sends
the content of the window with this command.
curl 2>/dev/null -F uploaded_file=@-\;type=text/html http://
validator.w3.org/check \
| perl -pe 's|(Line (\d+) column (\d+))|<a href="txmt://open?line=
$2&column=@{[$3 + 1]}">$1</a>|'\
| perl -pe 's|</title>|$&<base href="http://validator.w3.org/"/>|'
Any comments? Or suggestions?
PS: Textmate is an editor on the macintosh.
--
Karl Dubost - http://www.w3.org/People/karl/
W3C Conformance Manager, QA Activity Lead
QA Weblog - http://www.w3.org/QA/
*** Be Strict To Be Cool ***
Received on Friday, 14 July 2006 02:11:47 UTC