Inject html into response body

2011-12-04 Thread Oğuzhan TOPGÜL
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

Re: Inject html into response body

2011-12-04 Thread rm
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.

Re: Inject html into response body

2011-12-04 Thread Joshua Marantz
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, r...@tuxteam.de wrote: On Sun,

Re: Inject html into response body

2011-12-04 Thread Oğuzhan TOPGÜL
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,

Re: Inject html into response body

2011-12-04 Thread Ray Morris
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. Have a look at mod_footer. However you're right, it's not as easy as one might hope. Well, why don't you just