W3C home > Mailing lists > Public > public-qa-dev@w3.org > July 2006

Validator and TextMate

From: Karl Dubost <karl@w3.org>
Date: Fri, 14 Jul 2006 11:11:37 +0900
Message-Id: <8DB98D21-9EBC-4759-92F8-912094139B2E@w3.org>
To: QA Dev <public-qa-dev@w3.org>


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

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 16:54:51 UTC