httpd-modules-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Oğuzhan TOPGÜL <oguzhantop...@gmail.com>
Subject Re: Inject html into response body
Date Mon, 05 Dec 2011 07:23:40 GMT
No, there is no particular web site whoose HTML is tailored for this
purpose. At first i think this is not that much hard to add just a url or
just a text at the end of the page as a footer. But now, i think this is
not that much easy to apply.
regards
Oguzhan
On Mon, Dec 5, 2011 at 12:44 AM, Joshua Marantz <jmarantz@google.com> wrote:

> What's your thinking on how you are going to parse the HTML to inject the
> code?  Do you need to parse arbitrary HTML from any website or is this
> filter targeted at a particular site whose HTML is tailored for this
> purpose?
>
> -Josh
>
> On Sun, Dec 4, 2011 at 5:15 PM, <rm@tuxteam.de> wrote:
>
> > On Sun, Dec 04, 2011 at 11:47:37PM +0200, O??uzhan TOPG?L wrote:
> > > Hi,
> > > I' ve search for all the archieve but i couln't find the answer, may
> be i
> > > missed up, don't know.
> > > I'm trying to write an apache module and i want to inject some html
> code
> > > into resonses.
> > > It might be in body, header or footer. The only thing that i want to
> > > implemet is inserting an url or a text into all response bodies without
> > > damaging the original page that is serving.
> > > Is there any basic way of doing that?
> >
> > Well, why don't you just write an output filter that does this? I think
> > Nick's book will provide all the information you need.
> > Or have a look at mod_include in apache's source code.
> >
> >  Cheers, Ralf Mattes
> > > thanks
> > >
> > > Oguzhan
> >
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message