World: r3wp
[Plugin-2] Browser Plugins
older newer | first last |
JoshM 6-Jun-2006 [997x2] | Reichart, I think I understand where our confusion lies. |
There are two distinct issues that we need to seperate: 1. "Automatic" installation of the plugin. 2. Detecting and running a .r file. And by ".r" file, I mean a link to a REBOL source file -- NOT a wrapper page or anything else (that is really HTML and not a .r file). | |
[unknown: 9] 6-Jun-2006 [999] | Yup....now, when will we have flash like complete plug-in support? |
JoshM 6-Jun-2006 [1000] | To simplify the issue, let me pose a scneario. Joe has a fresh copy of XP, no REBOL nothing. He clicks on a .r file. You want the plugin to install itself and open the .r file inside the browser window. Am I understanding your goal? |
[unknown: 9] 6-Jun-2006 [1001] | To simplify the issue, let me pose a scneario. Joe has a fresh copy of XP, no REBOL nothing. He clicks on a .r file. You want the plugin to install itself and open the .r file inside the browser window. Am I understanding your goal? No, I want it wrapped. The ".r" is simply a reference point, since we don't have a word for a Rebol executable script. Want to call it ".rrs" (Rebol run script) or something? Flash calls theirs SWF, FLV, etc. |
JoshM 6-Jun-2006 [1002x2] | Ahh OK I understand. Well....we can look at developing something like that. |
However, I don't understand why the current approach doesn't work for you. Why not just make a HTML page that has the plugin OBJECT tag, it will download, install automatically, and then run the .r script. | |
[unknown: 9] 6-Jun-2006 [1004] | Do you have a link to a page where I can test this now? |
JoshM 6-Jun-2006 [1005] | Every plugin page works that way. When you include the OBJECT tag mentioned above, it downloads, installs automatically (with user permission), and runs the .r file in LaunchURL. |
Davide 6-Jun-2006 [1006x2] | Using Object or Embed tag is the only way to tell the browser to download plugins. This is the default behaviour and IMHO Rebol plugin should follow it. No more, no less. |
If newer versions of the plugin aren't compatible with previous, should have different classid. So I can (as webmaster) decide which version use. | |
JoshM 6-Jun-2006 [1008] | Davide: Agreed. That is our approach. I'm open, however, to alternative ideas, if there is a realistic justifiable scenario. |
Davide 6-Jun-2006 [1009] | Josh is it possible to call rebol function from javascript ? i.e. expose a function "eval" so when I click an html button I can call a rebol function. |
JoshM 6-Jun-2006 [1010] | Davide: Interesting idea. Didn't think of that direction. We'll add it to the proposed feature list....if others want this feature please chime in. |
Davide 6-Jun-2006 [1011] | If this is possible, I could build html interface and use rebol instead of javascript and ajax. |
JoshM 6-Jun-2006 [1012] | Can you give me a little more detail on a proposed scenario so we can see how compelling this is? |
[unknown: 9] 6-Jun-2006 [1013] | Do you have a link to a page where I can test this now? |
JoshM 6-Jun-2006 [1014] | Reichart: http://www.rebol.net/plugin/tests/test.html |
Terry 6-Jun-2006 [1015] | how about Firefox? Safari? |
Davide 6-Jun-2006 [1016] | Using Internet Explorer Init with: var rebPlug = new ActiveXObject("Rebol.Application"); rebPlug.LaunchURL="http://site/script.r"; After use it in html something like: <input type="button" value ="Execute" onliclick="rebPlug.eval('myrebcode [a b c]') /> |
JoshM 6-Jun-2006 [1017] | An improved Mozilla installation experience is coming, no promises on when. The effort we put into this is directly determined by how many "novice" Mozilla users there are. Most Mozilla users tend to be computer-savvy, so it might not be worth the effort for a super-seamless install. Thoughts? |
Terry 6-Jun-2006 [1018x2] | Simple installation is foremost .. that's the main reason of having a plugin |
otherwise they could just download and run the actual application | |
JoshM 6-Jun-2006 [1020x2] | True. OK, we'll look more into this. |
Davide: that Javascript is interesting, did you get that to work now?? (I'm just curious :)) | |
Davide 6-Jun-2006 [1022] | .. actually I didn't tried, I used object tag and polling from rebol to detect keypress in html :-) |
JoshM 6-Jun-2006 [1023] | Okay, we'll toss that Javascript -> REBOL idea in the cooker. Thanks for bringing it up. |
Davide 6-Jun-2006 [1024x2] | I hope that it will works because MS is changing the way object tag works in IE, isn't it ? |
thanks to you Josh | |
[unknown: 9] 6-Jun-2006 [1026x3] | An improved Mozilla installation experience is coming, Ok.................so this answers my entire set of questions................... my entire team uses FF. |
For some reason I was under the impression that this whole thread was about making Rebol finally work on IE FF SA and OP. | |
Like Flash. | |
JoshM 6-Jun-2006 [1029x2] | Aaahhh gotcha. Sorry for the confusion. |
Yes, we're working on Mozilla support. | |
[unknown: 9] 6-Jun-2006 [1031] | Being out of sync with each other can account for a lot misunderstanding.. I have but one interest, for Rebol to be a self standing usable glue for cool little apps on the web the same way Flash is for little animated vignettes. For this to happen we HAVE to support the top 4 (IE FF SA and OP). And Opera is about to GROW, and Rebol and Opera may turn out to be a match made in heaven. Opera is the dominate browser of imbedded systems. It will start making news in the next 4-6 months. |
JoshM 6-Jun-2006 [1032x4] | Hmm interesting you say that. I was thinking about that myself, as I have also fallen in love with Opera, but it currently has pathetic plugin support (it doesn't even support the Mozilla standard, only the ancient Netscape 4 API). |
So, we're going to have to make a decision of whether to support Opera or not..... | |
And that's good feedback to have. | |
The main issue that's stopping us from full Opera support is scripting (Javascript -> REBOL -> Javascript). It uses this arcane infrastructure that was retired out of Netscape and Mozilla years ago. So, my question is, would you see REBOL succeeding on Opera *without* scripting support? | |
[unknown: 9] 6-Jun-2006 [1036] | We should actually make contact with Opera's team directly. They might be just as interested in Rebol as Rebol is in them. I do not know anyone there ( I do know some of the FF team). But I was planning to contact Opera soonish because I'm interested in working on a relationship where people buy a thintop (I'm coining this word for now) which is a super simple laptop with maybe a 1 gig sim card for memory, a keyboard, LCD display for lets say $100 bucks. Has nothing BUT a browser (no OS….no M$ in other words). I imagine this shipping with Opera built in, and I want it pointing to Qtask out of the gate. So to answer your question, I think we need to get someone at Opera to take interest in Rebol, and help us solve problems. |
JoshM 6-Jun-2006 [1037] | Reichart, switching to private msg. |
Volker 6-Jun-2006 [1038] | Now when it getsinteresting.. :) |
[unknown: 9] 6-Jun-2006 [1039] | : ) no worries, I will update people of what we are doing on Qtask later as well.... |
Graham 7-Jun-2006 [1040] | You can buy those $100 laptops now from Negroponte's team. |
Pekr 7-Jun-2006 [1041] | Josh - Opera needs to be supported, definitely. The strange things is what you say, because the extended API announcement I pointed you to last time, was signed even by Opera company. Maybe you should check with Opera team ... |
yeksoon 7-Jun-2006 [1042] | talk to the desktop team...(if that helps) |
Pekr 7-Jun-2006 [1043] | Josh - have you somehow resorted proxy detection? Without that, and without some ability to configure plug-in, many ppl will be unable to use plug-in .... |
JoshM 7-Jun-2006 [1044x2] | Pekr, regarding Opera: According to their plugin API page (http://www.opera.com/docs/pluginapi/), they only support NS4 w/LiveConnect. That's ancient. |
Pekr, regarding proxy settings: If I remember correctly, we ended that conversation by realizing that get-net-info is the problem. So, whoever owns that REBOL code needs to fix it. This is all within the realm REBOL's network detection and not within the realm of the plugin itself. | |
[unknown: 9] 7-Jun-2006 [1046] | You can buy those $100 laptops now from Negroponte's team. Yeah, they are literally down the street from me. |
older newer | first last |