Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search

[REBOL] REBOL Webserver Re:(3)

From: petr:krenzelok:trz:cz at: 28-Jul-2000 22:36

[doug--vos--eds--com] wrote:
> try using "load/markup" and them use "parse" to > "do" everything between <rebol> and </rebol>
Hmm, why parse? In REBOL/Apache handler simply some <--[rebol code here]--> You can get your REBOL code just by a few lines of code ... page: {<HTML> blablabla page content ... <--[var1: "ahoy" type-var: func [stuff][print stuff] type-var var1]--></HTML>} tmp: find/tail page "<--[" do copy/part find tmp "]-->" ; note - before "doing" your code you should lower the security or just never run with none security :-) btw: IIRC there was some web server with so called reblets implemented some time ago ... Cheers, -pekr-