Return-Path: Delivered-To: apmail-cocoon-users-archive@www.apache.org Received: (qmail 95043 invoked from network); 13 Mar 2006 17:49:01 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 13 Mar 2006 17:49:01 -0000 Received: (qmail 97890 invoked by uid 500); 13 Mar 2006 17:48:56 -0000 Delivered-To: apmail-cocoon-users-archive@cocoon.apache.org Received: (qmail 97842 invoked by uid 500); 13 Mar 2006 17:48:55 -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 List-Id: Delivered-To: mailing list users@cocoon.apache.org Received: (qmail 97831 invoked by uid 99); 13 Mar 2006 17:48:55 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 13 Mar 2006 09:48:55 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of NilsKaiser@gmx.de designates 213.165.64.20 as permitted sender) Received: from [213.165.64.20] (HELO mail.gmx.net) (213.165.64.20) by apache.org (qpsmtpd/0.29) with SMTP; Mon, 13 Mar 2006 09:48:55 -0800 Received: (qmail 16641 invoked by uid 0); 13 Mar 2006 17:48:33 -0000 Received: from 213.61.134.226 by www031.gmx.net with HTTP; Mon, 13 Mar 2006 18:48:33 +0100 (MET) Date: Mon, 13 Mar 2006 18:48:33 +0100 (MET) From: "Nils Kaiser" To: users@cocoon.apache.org MIME-Version: 1.0 Subject: Is Cocoon the right choice? X-Priority: 3 (Normal) X-Authenticated: #3035728 Message-ID: <13360.1142272113@www031.gmx.net> X-Mailer: WWW-Mail 1.6 (Global Message Exchange) X-Flags: 0001 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Hello! Well, I am an happy cocoon user but I am working on a new project and not sure if cocoon is the right choice for it. The goal of the thing is to be able to extract information from existing web sites and to transform it and publish it to different channels. I already have built a project with cocoon and from the basic idea it covers pretty much with what coocoon is. The bad thing is that we have some complex requirements for this project and I am not sure how these can be solved using existing cocoon technology. Here what we need to be able to do: 1) Logical decisions in the pipeline depending on pipeline content... Yes I know this is not in the idea of the current cocoon pipeline. But seems to be pretty important in this project. On a higher view it might be the necessity to run transformers only if a certain condition refering to the pipeline applies. 2) As we are working with a lot of information coming from different pages and 'following' links to get this information, we need a more dynamical approach to get content. Example: User requests our URL - GET content of page 1 - Page 1 has a link to page 2 (which is not known before) - GET content of page 2 - Transform content of page 1 and page 2 We cant be sure how many links we have to follow and we have to do some transformations after the request so this can't be a single component... The problem I see is not accessing and transforming the content. It is the fact of "restarting" the pipeline dynamically (depending on the content of page 1). I am not sure how this is possible with cocoon, especially because I have only little knowledge of flow. Is it the answer?? I also know that it is possible to adress those issues with some tricks: for example using a special transformer followed by a CIncludeTransformer to call the same pipeline using cocoon:// for implementing pipeline "restart", or having a set of DOM transformers which make decisions and write things to the session to simulate conditional behavior of the pipeline. I am very open to innovative solutions like having an own pipeline implementation or a DOM based framework which can adress content based decisions better. I am just afraid we might end with a kind of monster doing some ugly things to force cocoon to do thing it is not supposed to ;) Thx for your comments, Nils --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org For additional commands, e-mail: users-help@cocoon.apache.org