[TxMt] Re: Generate new HTML doc from parsed PHP?

Michael Reiner mr at radarseven.com
Thu Oct 23 20:34:32 UTC 2008


Most excellent, thanks Sven!
Didn't know this functionality existed in a Terminal session!
This is exactly what I needed.

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?


On Oct 23, 2008, at 3:55 PM, Sven Axelsson wrote:

> 2008/10/23 radarseven <mr at radarseven.com>
>
> Hello All,
>
> New to TextMate and love it so far.
>
> I'm wondering if there is an existing bundle or method that will  
> allow me to
> generate a new HTML document from a parsed PHP file? I'd like to be  
> able to
> generate HTML files based on a local PHP file reading from an XML to
> generate pages quickly to post to a server that doesn't support  
> server-side
> technology.
>
> This also would be great for building HTML emails from a XML file in
> conjuction with the Email Tester bundle.
>
> I would love to get any feedback or tips from the community on this.
>
> Can't you just run php in a terminal session like
>
> php infile.php > outfile.html
>
> -- 
> Sven Axelsson
> ++++++++++[>++++++++++>+++++++++++>++++++++++>++++++
> >++++<<<<<-]>++++.+.++++.>+++++.>+.<<-.>>+.>++++.<<.
> +++.>-.<<++.>>----.<++.>>>++++++.<<<<.>>++++.<----.
>
> _______________________________________________
> textmate mailing list
> textmate at lists.macromates.com
> http://lists.macromates.com/listinfo/textmate

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macromates.com/textmate/attachments/20081023/32555578/attachment.html>


More information about the textmate mailing list