[REBOL] Re: embed a script in a webpage?
From: al::bri::xtra::co::nz at: 31-Dec-2000 6:51
tom wrote:
> I've known for some time that you can embed a rebol script in a web page,
but I can't figure out why I would want to.
> Why would I want to?
>
> a simple "view source" in a browser would give away its presence, and then
anyone could run my script.
Here's some examples:
* Documentation. A HTML compatible version with a Rebol embedded script.
So one HTML file contains the documentation and the script itself.
* Statically generated web pages. One could write a document processor
that reads the page, executes the Rebol script and replaces the Rebol script
with it's result, so being able to customise HTML pages, for example only
writing common HTML once and once only.
Andrew Martin
ICQ: 26227169 http://members.nbci.com/AndrewMartin/