cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Davanum Srinivas <d...@yahoo.com>
Subject Re: LinkStatusGenerator
Date Mon, 25 Feb 2002 12:40:52 GMT
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