httpd-modules-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joshua Marantz <jmara...@google.com>
Subject Re: Inject html into response body
Date Sun, 04 Dec 2011 22:44:11 GMT
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