[squid-users] partial word replacement in HTML data

From: Shunichi Tabata <s-tabata@dont-contact.us>
Date: Wed, 30 Jul 2003 15:42:30 +0900

Hi! I'm Shunichi from Japan.
I wanna make the squid to change HTML data partially according to a certain
pattern when the data come through the squid. For example, I wanna
substitute each and every word "America" on HTML data to "USA". At first, I
added the data changing function to "httpReadReply" in "http.c". But I found
that you might not able to find out the pattern to be substituted when the
web server replied the data in a few times but at once. For example, the
first data may contains the "Ame" at the end of the data and second data may
contains the "rica" at the beginning of the data. So I'm looking for the
point in which I can handle the whole HTML reply data. Do you have any idea
??
Received on Wed Jul 30 2003 - 00:41:42 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:18:20 MST