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@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@lists.macromates.com http://lists.macromates.com/listinfo/textmate