Return-Path: Delivered-To: apmail-cocoon-dev-archive@www.apache.org Received: (qmail 21163 invoked from network); 8 Dec 2003 15:25:21 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 8 Dec 2003 15:25:21 -0000 Received: (qmail 97404 invoked by uid 500); 8 Dec 2003 15:25:12 -0000 Delivered-To: apmail-cocoon-dev-archive@cocoon.apache.org Received: (qmail 97310 invoked by uid 500); 8 Dec 2003 15:25:11 -0000 Mailing-List: contact dev-help@cocoon.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: dev@cocoon.apache.org Delivered-To: mailing list dev@cocoon.apache.org Received: (qmail 97289 invoked from network); 8 Dec 2003 15:25:11 -0000 Received: from unknown (HELO mailout05.sul.t-online.com) (194.25.134.82) by daedalus.apache.org with SMTP; 8 Dec 2003 15:25:11 -0000 Received: from fwd07.aul.t-online.de by mailout05.sul.t-online.com with smtp id 1ATNG1-0008M0-00; Mon, 08 Dec 2003 16:25:09 +0100 Received: from duron.simon.home (XHnyMuZQreeoTivXY7h-j59A5QMN+W3LddqSvhR-25usWj7stzZOrG@[217.231.151.240]) by fwd07.sul.t-online.com with smtp id 1ATNFY-1EFUoa0; Mon, 8 Dec 2003 16:24:40 +0100 Date: Mon, 8 Dec 2003 16:25:44 +0100 From: simon.mieth@t-online.de (Simon Mieth) To: dev@cocoon.apache.org Subject: Re: [CocoonBean] recycle? Message-Id: <20031208162544.4e27707c.simon.mieth@t-online.de> In-Reply-To: <3FD491F2.3050409@upaya.co.uk> References: <20031208153849.4dd9b390.simon.mieth@t-online.de> <3FD491F2.3050409@upaya.co.uk> X-Mailer: Sylpheed version 0.9.7claws (GTK+ 1.2.10; i686-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Seen: false X-ID: XHnyMuZQreeoTivXY7h-j59A5QMN+W3LddqSvhR-25usWj7stzZOrG X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N On Mon, 08 Dec 2003 15:00:02 +0000 Upayavira wrote: > Are you really sure that this.crawler = new Crawler() is > all that is needed? If so, then that's great. > In my case, i'm sure. By processing the Crawler iterates through the targets, remove from stillNotVisited and put they to visitedAlready. If i will now rebuild the pipeline i add the URI as a new target to CocoonBean, but the Crawler ignores this, because the uri is in "visitedAlready". So if i will rebuild the pipeline i need a empty Crawler, which now reports correct the generated pages for this process-session. What i do, is: addTarget(uri1) addTarget(uri2) process() //change the documents recycle() addTarget(uri1) addTarget(uri2) process() and it works now with recycle() without create a new cocoon-instance, as before. In my case it looks, as it works, but not i'm sure, if it works for all ;-) . > Note, this would not be an implementation of an interface, > as the CocoonBean is not an Avalon component. It would > just be a convenience method. > > I'm happy to add it. Any objections anyone? > > Regards, Upayavira > > >BTW: the Checksum and page-reporting stuff works fine, > >thanks. > > > > > Great. Maybe I should document it! > > Regards, Upayavira With the page/link-reporting a have build a progressbar, so everybody can see the page-building, thats really fine, thanks again. Best regards, Simon