incubator-droids-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mingfai <>
Subject HTML outllink extraction
Date Thu, 02 Apr 2009 10:53:33 GMT

The default LinkExtractor seems to be quite simple. (too simple) It mainly
uses URI.resolve and only cater the # and javascript scenarios. (from getURI) Simple usage link resolving a <a
href="test.html"> for new URI("") will be wrong as it
will return a". And there are many case that
the URI.resolve doesn't cater. It seems to me we need to do some works at
this area to make Droids more usable. Does anyone have any experience in out
link extraction?

I'm trying to see how other frameworks handle out link extraction and looked
(Heritrix's JavaDoc shows they have given some good thought in handling
different tags and attributes)

What do you think if I add a wiki page that list out some scenarios of
outlink handling (i.e. the requirement)? Or does anyone know if any of the
many Java crawler projects have documentation at this area?


  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message