[REBOL] Re: Rebol.org plugin question
From: SunandaDH:aol at: 1-Sep-2004 13:09
Hi Jason:
> What would it take to add a "run this script in browser" link/button on
> Rebol.org ?
Good question....It would take three things:
1. As you suggest, scripts in question would need to be flagged in their
Library header as
type: [... plugin ...]
so we'd know that they *could* be executed in a browser. That's explained
here:
http://www.rebol.org/cgi-bin/cgiwrap/rebol/boiler.r?display=terms.html
and here:
http://www.rebol.org/cgi-bin/cgiwrap/rebol/one-click-submission-help.r?help=ty
pe
2.The view-script and search CGIs at REBOL.org would need to spot the type of
plugin and offer a "run as plugin" link in addition to the view and download
options they offer now.
That's technically fairly simple, but has not been done -- just a matter of
getting the object tag right as explained in:
http://www.rebol.net/plugin/tests/plugin-guide.html#section-4.1
3. The Library team would need to be persuaded that (2) is a safe and
worthwhile thing to do:
-- safety -- I've not looked into the issues. I'm appreciate some responses
here from anyone who has.
-- worthwhile -- seems little point in doing (2) while no one has yet
contributed a script that is flagged as a plugin (or updated their earlier scripts to
say that they are pluginable).....Of course, I appreciate that that is
partially a chicken and roundabouts situation: why should anyone do (1) when we
haven't done (2)?
I guess the way to break that impasse is for people to contribute plugin
scripts, and then the Library team has to play catch-up.
Sunanda.