Plug-in Scripts
[1/6] from: hijim:pronet at: 12-Sep-2001 18:36
Those plug-in scripts are great! They look just like rebol scripts with
an html file name extension. Is that true? I put a script at:
http://www.geocities.com/~jimclatfelter/ed-64.html
but it comes up as text with all white space gone.
http://www.geocities.com/~jimclatfelter/ed-64.txt
looks better, but the script doesn't run. How do I post a script so it
will run on the plug-in like the ones on
http://www.reboltech.com/plugins.html ? Should it be embedded like a
java script program? It sure doesn't look like the rebol site does it
that way.
Thanks,
Jim
[2/6] from: erik:transmission:nl at: 13-Sep-2001 12:04
Hello Jim
plugin only works in explorer 5.0 or <
otherwise you just see a textversion of the script
[3/6] from: sterling:rebol at: 13-Sep-2001 13:55
The plugin is launched if there is an <EMBED> tag on the page that
points to a REBOL script. Go to one of the examples and view the page
source. You will see that at the bottom, there is something like:
<EMBED SRC="http://www.reboltech.com/library/scripts/clock.r" TYPE="text/x-rebol-plugin"
HEIGHT="0" WIDTH="0">
at the bottom of the page. This is what gets the plugin running. The
pages simply show the script so that yo ucan see what it is that is
running. The actual code is fetched from the link into the script
library. The <EMBED> tag can be anywhere on the page, can point to
any file, but does require that the TYPE be set to text/x-rebol-plugin
for it to work.
Sterling
[4/6] from: hijim:pronet at: 13-Sep-2001 17:43
Thanks Erik, I'll give it another try. Jim
[erik--transmission]
wrote:
[5/6] from: al:bri:xtra at: 13-Sep-2001 21:28
Try:
<EMBED SRC=http://www.geocities.com/~jimclatfelter/ed-64.r
TYPE="text/x-rebol-plugin" HEIGHT="0" WIDTH="0">
in the HTML of the page to be shown while the rebol plug-in works.
Andrew Martin
ICQ: 26227169 http://zen.scripterz.org
[6/6] from: hijim:pronet at: 14-Sep-2001 6:53
Thanks Andrew -- I'll be able to do this as a file, but unfortunately
Geocities won't let me post a .r file or an .exe file. Maybe my isp will let
me do it. I can understand them not wanting to allow potentially dangerous
program files on their server. Rebol always asks if it's ok to print a file
on the printer, but it doesn't ask if it's ok to delete a file; it just
deletes it. You have to trust the script you open, don't you?
Jim
Andrew Martin wrote: