Tips & Trix
Wrapper for NeoBook will read-in an existing web page and write-out a NeoBook
ready FileWrite script. This can be used to make a NeoBook application
that takes user information and inserts that info into a web page!
Wrapper saves a great deal of time converting HTML into NeoBook usable
FileWrite script. If you've ever done this by-hand then you know, it's
a painstaking, time consuming task. The HTML Wrapper can do it for you
in mere seconds!!
Just make a web page complete with embedded NeoBook [variable] names that you want to insert into the web page later with your program...
Select the web page file that you want to wrap in NeoBook commands...
a path and filename to direct the script to. Variable names are allowed
for added flexibility in your program.
<title>My Home Page</title>
FileWrite "[PubDir]index.htm" "Append" "<title>[title_var]</title>"
All "Quotation" marks in the web page are automatically replaced with 'apostrophies' so as to not confuse the NeoBook Script Editor and prevents syntax errors.
After the Wrapping has completed, paste the resulting script into your Script Editor and you're ready-to-run!!