How can I trim headers and footers off content to be scraped/rewritten in a channel?

I would like to obtain the raw html code after the rewriting functionality has already taken place to manipulate the HTML code. Basically removing the fluff at the top and bottom. In this way, I can include a subset of the HTML page, rewritten in a channel. Is there an API call to the gateway to request a URL and get the returned rewritten HTML back? If not, there should be.

[391 byte] By [708862] at [2007-11-25 4:34:05]
# 1
Currently there are no api's available for the rewriter or the gateway. Can you explain a little more in detail , what you are trying to do, so I can tell you if there are any possible ways to do that with portal.
Karthik_Krishnamoorthy at 2007-6-29 2:44:47 > top of Java-index,Web & Directory Servers,Portal Servers...