[TextMate][command] W3C validator
Drew McLellan
lists at allinthehead.com
Tue Oct 19 08:00:20 UTC 2004
Chris Brierley wrote:
> As Justin said, you need to be able to upload the local file via an
> HTTP POST. You can use 'curl' to do this. The following seems to
> work. It calls curl, collects the results in a temporary file, and
> then opens that file.
>
> curl -o /tmp/`id -u`/results.html -F
> uploaded_file=@$TM_FILEPATH\;type=text/html
> http://validator.w3.org/check && open /tmp/`id -u`/results.html
Thanks for this, Chris. Nice job.
drew.
More information about the textmate
mailing list