[TxMt] Re: Generate new HTML doc from parsed PHP?
Michael Reiner
mr at radarseven.com
Thu Oct 30 15:50:40 UTC 2008
On Oct 24, 2008, at 9:08 AM, Rob McBroom wrote:
> On 2008-Oct-23, at 4:34 PM, Michael Reiner wrote:
>
>> Now I just need to figure out how to write a simle bundle to
>> automate the process a bit,
>> i.e. create a bundle that will output the current file to an HTML
>> file with the same name and in the same directory.
>> Any insight or resources that could point me in the right direction?
>
>
> When you create a Command in the Bundle Editor, you will have the
> option of specifying "Replace Document" for the output. That seems to
> be what you want.
>
> The command itself probably doesn't need any input. Just make it
> something like
>
> php "$TM_FILEPATH"
Thanks Rob, that's exactly what I needed.
I wanted to generate a new document, so I selected that in the bundle
editor.
P.S. Thanks for the tip about not top-posting replies...it makes
perfect sense!
>
>
> --
> Rob McBroom
> <http://www.skurfer.com/>
>
> Because it screws up the order in which people normally read text.
>
> Original message:
>
>> Why is it bad to top-post your reply?
>
>
>
>
> _______________________________________________
> textmate mailing list
> textmate at lists.macromates.com
> http://lists.macromates.com/listinfo/textmate
More information about the textmate
mailing list