Return-Path: Delivered-To: apmail-xml-cocoon-users-archive@xml.apache.org Received: (qmail 31839 invoked by uid 500); 11 Mar 2003 15:54:52 -0000 Mailing-List: contact cocoon-users-help@xml.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: cocoon-users@xml.apache.org Delivered-To: mailing list cocoon-users@xml.apache.org Received: (qmail 31734 invoked from network); 11 Mar 2003 15:54:50 -0000 Received: from neuagency.com (209.162.234.25) by daedalus.apache.org with SMTP; 11 Mar 2003 15:54:50 -0000 Received: from localhost (tcollen@localhost) by neuagency.com (8.11.6/8.11.6) with ESMTP id h2BFs4m22820 for ; Tue, 11 Mar 2003 10:54:08 -0500 (EST) (envelope-from tcollen@neuagency.com) Date: Tue, 11 Mar 2003 10:54:04 -0500 (EST) From: Tony Collen To: Subject: Re: HTML-Generator - XPath In-Reply-To: Message-ID: <20030311105114.D214-100000@neuagency.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N On Tue, 11 Mar 2003, Harald Wehr wrote: > Hi, > > yesterday we upated our webapp with the current changes of cocoon-2.1 > repository. I have a question concerning the HTML-Generator. The > following sitemap-snippet matched in our previous version the body-tag > of the google-site. This is not working anymore. Are there any changes > concerning the xpath-expression? Not directly that I know of, but I have run into problems with some sites where I have to give the xpath index in the file, i.e. /html/body/div[1]/table[1]/tr[1]/td[1] etc which is very tedious. I haven't found a way around it. the HTMLGenerator's xpath *does* seem a lot more picky compared to when I first started using Cocoon. > I've had problems with Google, mainly because they forbid fetching and searching their page using programs (The "Java" useragent is banned from their server). If you're wanting to use Cocoon and Google search, you might want to look into their SOAP API. Regards, Tony --------------------------------------------------------------------- To unsubscribe, e-mail: cocoon-users-unsubscribe@xml.apache.org For additional commands, e-mail: cocoon-users-help@xml.apache.org