Return-Path: Delivered-To: apmail-cocoon-users-archive@www.apache.org Received: (qmail 39461 invoked from network); 13 May 2004 17:15:46 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 13 May 2004 17:15:46 -0000 Received: (qmail 78216 invoked by uid 500); 13 May 2004 17:15:42 -0000 Delivered-To: apmail-cocoon-users-archive@cocoon.apache.org Received: (qmail 78001 invoked by uid 500); 13 May 2004 17:15:40 -0000 Mailing-List: contact users-help@cocoon.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: users@cocoon.apache.org Delivered-To: mailing list users@cocoon.apache.org Received: (qmail 77839 invoked by uid 98); 13 May 2004 17:15:39 -0000 Received: from joerg.heinicke@gmx.de by hermes.apache.org by uid 82 with qmail-scanner-1.20 (clamuko: 0.70. Clear:RC:0(213.165.64.20):. Processed in 0.090022 secs); 13 May 2004 17:15:39 -0000 X-Qmail-Scanner-Mail-From: joerg.heinicke@gmx.de via hermes.apache.org X-Qmail-Scanner: 1.20 (Clear:RC:0(213.165.64.20):. Processed in 0.090022 secs) Received: from unknown (HELO mail.gmx.net) (213.165.64.20) by hermes.apache.org with SMTP; 13 May 2004 17:15:38 -0000 Received: (qmail 19423 invoked by uid 65534); 13 May 2004 17:15:14 -0000 Received: from a183069.studnetz.uni-leipzig.de (EHLO gmx.de) (139.18.183.69) by mail.gmx.net (mp023) with SMTP; 13 May 2004 19:15:14 +0200 X-Authenticated: #3483660 Message-ID: <40A3AD38.6030301@gmx.de> Date: Thu, 13 May 2004 19:15:36 +0200 From: Joerg Heinicke User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.6) Gecko/20040113 X-Accept-Language: de-de, de, en-us, en-gb, en MIME-Version: 1.0 To: users@cocoon.apache.org Subject: Re: source writer transformer References: <40A1383E.4030100@kdz13.net> <40A2B8C6.7050105@gmx.de> <40A372A0.3050209@kdz13.net> In-Reply-To: <40A372A0.3050209@kdz13.net> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Rating: hermes.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N On 13.05.2004 15:05, keith d. zimmerman wrote: >>> Ok, as has been suggested, simple questions, single question per e-mail. >>> >>> Can I do this? >>> >>> Http Generator >>> Transformer to basically aquire a particular tag within the doc. >>> something or the other to go "get" the image >>> source writing transformer to store the image on disk >>> tag with src= pointing to the cached copy in the resulting >>> xhtml doc. >> >> It does not sound undoable. You want to rewrite the original document >> and replace the original image references with references to your >> stored images? And using Cocoon as proxy only (for xhtml *and* images) >> and letting the rest be done by caching does not help? The latter >> sounds easier to implement. >> > > Eh, it'd work fine if i knew where cocoon stores the images. I want to > archive them, then.... So you need more than a simple caching of the images or what does "archive" mean? You should not assume to have access to the cache, you would need another approach then. But Cocoon is not for handling images/binary data, so it's for example not possible to use the source writer transformer. Something that *might* work is the usage of PipelineUtil.processToStream() in flowscript, with a pipeline containing a reader reading the remote image, and handling the storage on disc by the flowscript. Joerg --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org For additional commands, e-mail: users-help@cocoon.apache.org