You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cocoon.apache.org by Rasik Pandey <rb...@gmail.com> on 2005/07/16 01:55:20 UTC
add getHeaderFields to LinkStatusGenerator?
Hello,
I was wondering if you might find a configuration option like:
<parameter name="get-header-fields" value="true"/>
for org/apache/cocoon/generation/LinkStatusGenerator.java to be useful to
the community.
Basically, if this option is set to true, we could call
http://java.sun.com/j2se/1.4.2/docs/api/java/net/URLConnection.html#getHeaderFields()
from the
http://cocoon.apache.org/2.1/apidocs/org/apache/cocoon/generation/LinkStatusGenerator.html#processURL(java.net.URL,%20java.lang.String)
method and add the name/value pairs as attributes to the xml output for each
link crawled.
Regards,
Rus
http://www.discountdracula.com