HTML Editor
I have developed a C++ class that allow my C++ programs to generate HTML files that are being updated as the program executes.
In order to do that, this class needs to get a HTML template file which have tokens in it. Each token starts and ends with a delimiter (for example '$').
En example of such HTML template file is :
<html>See the token $name$.
In this way, I can generate very complex HTML files using any HTML graphic editor.
The routines in the class needs to get :
When the class routines are called with this information, they will read the HTML template file, search for the tokens and replace the tokens with the alternate strings while writing a new generated HTML file.
I am willing to share this code. let me know if you want it by email chaipi@tohu0.weizmann.ac.il