Return-Path: Delivered-To: apmail-forrest-dev-archive@www.apache.org Received: (qmail 23738 invoked from network); 19 Nov 2004 00:41:18 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 19 Nov 2004 00:41:18 -0000 Received: (qmail 88380 invoked by uid 500); 19 Nov 2004 00:41:18 -0000 Delivered-To: apmail-forrest-dev-archive@forrest.apache.org Received: (qmail 88171 invoked by uid 500); 19 Nov 2004 00:41:17 -0000 Mailing-List: contact dev-help@forrest.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: dev@forrest.apache.org Delivered-To: mailing list dev@forrest.apache.org Received: (qmail 88160 invoked by uid 99); 19 Nov 2004 00:41:17 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=WEIRD_PORT X-Spam-Check-By: apache.org Received-SPF: neutral (hermes.apache.org: local policy) Received: from [81.169.145.166] (HELO natnoddy.rzone.de) (81.169.145.166) by apache.org (qpsmtpd/0.28) with ESMTP; Thu, 18 Nov 2004 16:41:16 -0800 Received: from [192.168.2.115] (80-219-8-172.dclient.hispeed.ch [80.219.8.172]) by post.webmailer.de (8.13.1/8.13.1) with ESMTP id iAJ0fAdU001368 for ; Fri, 19 Nov 2004 01:41:10 +0100 (MET) Subject: Re: plugin seed - proplems to get started with the output.xmap From: Thorsten Scherler To: forrest dev In-Reply-To: <419D3F75.2020007@apache.org> References: <1100738096.4818.27.camel@gci> <419BEF5C.5070902@apache.org> <1100740508.4818.42.camel@gci> <419C8C75.9050009@apache.org> <419C9147.1000803@apache.org> <1100782177.3840.40.camel@gci> <1100819983.3921.213.camel@gci> <419D3F75.2020007@apache.org> Content-Type: text/plain; charset=iso-8859-1 Message-Id: <1100824878.3921.220.camel@gci> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.6 Date: Fri, 19 Nov 2004 01:41:18 +0100 Content-Transfer-Encoding: 8bit X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Cheers for writing this docu ;-). BTW I fixed my problem (getting red): I used 0.6 for testing. ;-) Sorry for just figuring out. Thanks for the help. El vie, 19-11-2004 a las 01:33, Ross Gardler escribi�: > Thorsten Scherler wrote: > > El jue, 18-11-2004 a las 13:49, Thorsten Scherler escribi�: > > ... > > > I get for http://localhost:8888/contracts.xml > > Message: Resource Not Found > > Description: The requested resource "/contracts.xml" could not be found > > > > What am I doing wrong? > > > > > Ah, hang on I don't even need to look at the code for this one. You have > defined you plugin as an output plugin. This means it gets mounted in > the pipeline late in the processing stage. After the *.xml files have > been processed. You can't have an output plugin doing source work as well. > > I was thinking this afternoon that your fbits plugin is not really an > output plugin: > > input format --> intermediate format --> output format > . . > /|\ /|\ > | | > input plugin output plugin > (**.xml) (**.html, **.pdf etc.) > > Your plugin is really an internal plugin, like the IMSManifest plugin. > These do processing for Forrest itself and handle any special matches, > like abs-linkmap. Internal plugins get mounted before any other matchers > and therefore can do anything it wants. > > However, be careful with what you use as a match as you can break the > whole sitemap. You must only do a if you are certain > you are going to process the full result. > > To convert from an output to an internal plugin all you need to do is > change the type attribute in plugins.xml and change the name of > output.xmap to internal.xmap. > > Ross -- thorsten "Together we stand, divided we fall!" Hey you (Pink Floyd)