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...

Document.thepage.style.visibility = "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 @ rebol.org).

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.

----- Original Message -----
From: "Rodrigo de Oliveira" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, April 01, 2005 8:22 AM
Subject: [REBOL] Re: Can REBOL change HTML of a web page?


>
> Hi Anton and all you guys,
>
> I took a look at this proposal and I think it won't work. AJAX is
> basically DHTML + XMLHttpRequest and I got the feeling that it demands
> commitment to this approach from the beggining of the design. I mean,
> the original web pages need to be constructed in this way. As Google
> Suggest and Google Maps. That's not my case. Let me try to state it
clearly:
>
> *"I want something on the client-side (between browser and web server)
> that can intercept the HTTP response (web page retrieved by the server)
> and make some adjustments to the page (for example, inserting footnotes,
> summarizing content, etc.) and, only then, delivers the changed page to
> the browser for presentation. Just remembering: it gotta be client-side
> programming, which means  I CAN'T change the original web pages of ANY
> web server."*
>
> Can Rebol do that? Another plug-in? Or a browser extension? Any Java
> solution in client-programming?
> Hope you guys help me on that. Thanks for your attention!
>
> Rodrigo
>
>
> Anton Rolls wrote:
>
> >This looks like it - AJAX ("Asynchronous JavaScript + XML"):
> >
> >http://www.adaptivepath.com/publications/essays/archives/000385.php
> >
> >(link found by Graham Chiu, thanks)
> >
> >Anton.
> >
> >
> >
> >>Hi Rodrigo,
> >>
> >>This is an interesting question and one that
> >>I would like to have as an example myself some time.
> >>A friend of mine I was speaking to recently said
> >>he had seen it done (using javascript I think)
> >>to update sections of a page.
> >>
> >>
> >
> >
> >
> >>Anton.
> >>
> >>
> >>
> >>>Hello guys! I want to build a program that that could run on the
> >>>client-side (IE, Netscape, Opera, etc.), get the web page
> >>>retrived by the server and do some adjustments to it, let's say,
> >>>add some footnotes or summarizing the text. Can I make that using
REBOL?
> >>>
> >>>Thanks to you all!
> >>>
> >>>Rodrigo
> >>>
> >>>
> >
> >
> >
>
>
>
> --
> To unsubscribe from the list, just send an email to
> lists at rebol.com with unsubscribe as the subject.
>


-- 
To unsubscribe from the list, just send an email to 
lists at rebol.com with unsubscribe as the subject.

Reply via email to