Parse final PHP with JavaScript elements to static HTML file

Permalink
Just to point out that it is completely unrelated to C5 (Though I'm gonna use it to generate the main part of the HTML which I'll use as my source), but as this is the only Forum I like to hang out at, well, here I am on the Chit-Chat. :D

So, I have two main problems here.

1 - I want to use JavaScript to help me change a couple things on my source PHP code so I can make a decent newsletter and program the edits according to the element's tags. This is quite a piece of work of its own, and it's just somewhat started, but the main problem is the second:

2 - I want to be able to grab the PHP files, with the includes and the JavaScript already executed, and save a new "html" file.


Now note:
I can create the html file and overwrite it with "write", I suppose, but the main thing is, I need to find the better solution so I can "parse" all my dynamic content to html files so it is readable by any E-Mail program.

And before anyone send me to MailChimp or something, thanks a lot, but we pay for a pretty good mailing system (Last month became the best in Brazil), and they don't parse the code for those specifics. I don't wanna give up on my layout, or on my graphic presentation, or on my freedom to nest tables and make the design as free from the "columns" idea as I wish.

I took a look at MailChimp and I doubt their design options would fill my needs.

And by the way, I also hates spammers and abide to permission-based email marketing, so no worries, I'm no spammer. :D


Incase you're wondering what is so complex about the design, here is the last one we sent:
http://www.precificar.com.br/NPs/2011-Outubro/NP_Splashes/index.htm...

It is hard, mostly, because I want the information to work well with images turned off, and at the same time I am creating a structure to, soon, change all text to html.

FernandoCordeiro
 
FernandoCordeiro replied on at Permalink Reply
FernandoCordeiro
So... No big ideas?