cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Homeijer <M.Homei...@devote.nl>
Subject RE: LinkStatusGenerator
Date Mon, 25 Feb 2002 12:51:41 GMT
The following sitemap/xsl tests http://localhost:8080/cocoon/welcome and
outputs all links found and their status.
(Im not familiar with bugzilla, but will try to enter the generator in the
near future).

Michael

> -----Original Message-----
> From: Davanum Srinivas [mailto:dims@yahoo.com]
> Sent: maandag 25 februari 2002 13:41
> To: 'cocoon-dev@xml.apache.org'
> Subject: Re: LinkStatusGenerator
> 
> 
> Michael,
> 
> Thanks for the contribution. You please give us a sample that 
> illustrates the usage? one that we
> could also use to test the Generator? Please add the code and 
> sample directly to Bugzilla so that
> it does not get "lost". http://nagoya.apache.org seems to be up today.
> 
> Thanks,
> dims
> 
> --- Michael Homeijer <M.Homeijer@devote.nl> wrote:
> > Hi,
> > 
> > I've built a first version of a LinkStatusGenerator. It 
> looks like the
> > crawler that's allready in Cocoon (I re-used some code and 
> the configuration
> > options).
> > It crawles a cocoon website using the LinkSerializer, tries 
> to reach the
> > pages that are found and output the HTTP result code and message.
> > 
> > Things that are probably not finished are:
> > - Make use of source/sourceresolver instead of 
> URLConnection. I needed the
> > getResultCode and getResultMessage however that are not in 
> the source
> > interface.
> > - Configuration options. Check which configuration options 
> should be kept
> > and which should be removed.
> > - Use the HTMLGenerator to check sites that are not built 
> using Cocoon. (the
> > LinkStatusGenerator uses the cocoon-view=links construction 
> to get all links
> > from a page).
> > - Create a sample that is able to check any site.
> > 
> > I'd be happy to donate the code to Cocoon.
> > 
> > Michael Homeijer
> > 
> >  <<LinkStatusGenerator.java>> 
> > 
> 
> > ATTACHMENT part 2 application/octet-stream 
> name=LinkStatusGenerator.java
> > 
> ---------------------------------------------------------------------
> > To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
> > For additional commands, email: cocoon-dev-help@xml.apache.org
> 
> 
> =====
> Davanum Srinivas - http://jguru.com/dims/
> 
> __________________________________________________
> Do You Yahoo!?
> Yahoo! Sports - Coverage of the 2002 Olympic Games
> http://sports.yahoo.com
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
> For additional commands, email: cocoon-dev-help@xml.apache.org
> 


Mime
View raw message