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

[REBOL] Re: Can REBOL change HTML of a web page?

From: inetw3::mindspring::com at: 1-Apr-2005 20:48

Hi Rodrigo, Yes, what you want is possible without having to change the page on the web server. I don't know if you've seen the email i posted 3/31/05 @ 9:09 pm, but to reinerate, javascript and scripting the DOM is all you need. No matter how you intercept the html data, something must be written in the html to start this process; cgi, asp, php, perl, javascript, etc. With any plug-in, you have to have an <Object> tag in the webpage. This is where the Rebol/plug-in comes in. If this is some ones elses page your browsing (and i think it is) then your going to still need the plug-in <object> coded into the page. If i understand you correctly, I don't believe any web-app or plug-in software can intercept a page and add info to it before the page is seen unless it's a proxy/socket app/server thats on, or the details is written in the page first or it's coming from the same server. All web-app or plug-in software present there info in there own windows embeded into the page or off the server. And this is what the Rebol/plug-in and DOM scripting must do. ---------------------------------------------------------------------------- -------- Using the javascript and css style, you hide the page. ie... <body id="thepage" style="visibility:hide;"> . If it a browsed page from the web, it still needs the rebol <object> plug-in in the page. When the page load , have the rebol/plug-in parse the page and/or add your needed info to the heading and footing of the page. Finally from the plug-in script, change the <body> style to visible ie... = "visible" Look at my other email for other ideas. If i'm giving you incorrect info it's because i don't understand you correctly, sorry. But i'd still like to know what you want because i have begun to write this type of software myself (mdlparser.r @ This is where rebol will have to shine if its going to do anything within the "internet or web" arena. Get rid of the heavy-wear and let the client-side do all(some) of the tricks. You know it's funny, thats what Rebol/Core was all about.