You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@nutch.apache.org by David Philip <da...@gmail.com> on 2013/03/20 07:27:30 UTC

what is contentLength - Index more plugin

Hi,

  What does the field contentLength in Index-more plugin mean? Is it the
number of characters extracted while parsing the particular html page?

Thanks - David

Re: what is contentLength - Index more plugin

Posted by David Philip <da...@gmail.com>.
Hi..

 Thank you very much for the link.

David.


On Thu, Mar 21, 2013 at 11:19 AM, feng lu <am...@gmail.com> wrote:

> Hi David
>
> yes, it shows the number of bytes actually transferred. you can refer
> to Hypertext Transfer Protocol -- HTTP/1.1 (RFC 2616)[0].
>
> [0] http://www.ietf.org/rfc/rfc2616.txt
>
>
>
> On Thu, Mar 21, 2013 at 1:36 PM, David Philip
> <da...@gmail.com>wrote:
>
> > Hi Feng Lu,
> >
> >  Thank you. So if the contentLength for html was 9552 - it means the size
> > in kb is 9.3kb?
> >
> > -David
> >
> >
> >
> >
> > On Wed, Mar 20, 2013 at 12:18 PM, feng lu <am...@gmail.com> wrote:
> >
> > > Hi David
> > >
> > > The meaning of contentLength in index-more plugin is determined
> according
> > > to the type of download page , if page type is html, the contentLength
> > mean
> > > the lengh of page content, that read from head of html protocol. if the
> > > page type is file, the contentLength mean the size of that file.
> > >
> > > --
> > > Don't Grow Old, Grow Up... :-)
> > >
> >
>
>
>
> --
> Don't Grow Old, Grow Up... :-)
>

Re: what is contentLength - Index more plugin

Posted by feng lu <am...@gmail.com>.
Hi David

yes, it shows the number of bytes actually transferred. you can refer
to Hypertext Transfer Protocol -- HTTP/1.1 (RFC 2616)[0].

[0] http://www.ietf.org/rfc/rfc2616.txt



On Thu, Mar 21, 2013 at 1:36 PM, David Philip
<da...@gmail.com>wrote:

> Hi Feng Lu,
>
>  Thank you. So if the contentLength for html was 9552 - it means the size
> in kb is 9.3kb?
>
> -David
>
>
>
>
> On Wed, Mar 20, 2013 at 12:18 PM, feng lu <am...@gmail.com> wrote:
>
> > Hi David
> >
> > The meaning of contentLength in index-more plugin is determined according
> > to the type of download page , if page type is html, the contentLength
> mean
> > the lengh of page content, that read from head of html protocol. if the
> > page type is file, the contentLength mean the size of that file.
> >
> > --
> > Don't Grow Old, Grow Up... :-)
> >
>



-- 
Don't Grow Old, Grow Up... :-)

Re: what is contentLength - Index more plugin

Posted by David Philip <da...@gmail.com>.
Hi Feng Lu,

 Thank you. So if the contentLength for html was 9552 - it means the size
in kb is 9.3kb?

-David




On Wed, Mar 20, 2013 at 12:18 PM, feng lu <am...@gmail.com> wrote:

> Hi David
>
> The meaning of contentLength in index-more plugin is determined according
> to the type of download page , if page type is html, the contentLength mean
> the lengh of page content, that read from head of html protocol. if the
> page type is file, the contentLength mean the size of that file.
>
> --
> Don't Grow Old, Grow Up... :-)
>

Re: what is contentLength - Index more plugin

Posted by feng lu <am...@gmail.com>.
Hi David

The meaning of contentLength in index-more plugin is determined according
to the type of download page , if page type is html, the contentLength mean
the lengh of page content, that read from head of html protocol. if the
page type is file, the contentLength mean the size of that file.

-- 
Don't Grow Old, Grow Up... :-)