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 <[EMAIL PROTECTED]> 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: [EMAIL PROTECTED] > For additional commands, email: [EMAIL PROTECTED] ===== 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: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]