[TxMt] Re: Re: Using file as HTML output

Benjamin Jackson ben at incomumdesign.com
Wed Nov 23 12:01:59 UTC 2005


> Did you try with tm-file:// ? The following works for me:
>
> echo "<meta http-equiv='Refresh' content='0; URL=tm-file://localhost$
> {HOME}/Sites/index.html'>"
>
> And alternate way to redirect is btw via the html “support library”
> found in the TM_SUPPORT_PATH (first library “includes” (sources) the
> library):
>
> . "${TM_SUPPORT_PATH}/lib/html.sh"
> redirect "tm-file://localhost${HOME}/Sites/index.html"

Neither of these are working for me:

. "${TM_SUPPORT_PATH}/lib/html.sh"
redirect "tm-file://localhost${TM_PROJECT_DIRECTORY}/public/index.html"

echo "<meta http-equiv='Refresh' content='0; 
URL=tm-file://localhost${TM_PROJECT_DIRECTORY}/public/index.html'>"
___________________
Ben Jackson
Diretor de Desenvolvimento

+55 (21) 9997-0593
ben at incomumdesign.com
http://www.incomumdesign.com



More information about the textmate mailing list