'*********************************************************************** ' DISPLAYED WITH PERMISSION OF ROY SCOTT ENTERPRISES ' AS AN ARCHIVING FUNCTION ' http://www.scottserver.net/forum/index.php ' ALL RIGHTS RESERVED '************************************************************************ ' MINOR EDITING PERFORMED BY UPLA STAFF '************************************************************************ 'Guest ' Posted: Sun Jan 04, 2004 6:36 am Post subject: '-------------------------------------------------------------------------------- 'Well done! 'to improve your programme, you might find the "stuff"-command useful. 'For example, you could source out the search form, or even the skeleton 'of your HTML file. This has the advantage, that changes in the design have 'to be done only once (in these templates). 'But if you don't want to do without a static HTML file, there's another nice trick: 'You can use the HTML page itself as the template. The only thing you have to 'watch out is to use absolute paths for the embedding of images or stylesheets.
this is the bottom of the page.
'changecontent.apt // Code: #!aptilis sub main print("Content-type: text/html\n\n") src = loadfile("../HtDocs/test.html") $ switch = "" $ new_content = "Hi, I'm the alternative content." $ title_addition = "-->: now with the alternative content