J and T wrote:
> 
> Just hacking away and wondering how to extract different information.
> Example;
> 
> In datasource.cpp when printing the cache there is this line:
> 
> aspseek_printf(r, "<BASE HREF=\"%s\">\n", url.c_str());
> 
> in the "CTcpDataSource::PrintCached(aspseek_request *r, CCgiQuery& query)"
> function. Now what I want to do is fetch something else. What I would like
> to fetch is a couple of other things like this about the cached site:
> 
> last_modified
> charset
> docsize

You are looking at the wrong place. The right place is manual page s.htm(5).

Say, $DD in s.htm gives you last modification date.
$DS - document size in bytes.
$DB - document size in kilobytes. 
$DZ - contents of template section sizeb if document size
is less than 1024, otherwise contents of template section sizek.
$DC - document Content-type (like text/html). May include charset info.

See http://www.aspseek.org/man/s.htm.5.html#lbAF

-- [EMAIL PROTECTED]  ICQ7551596  [EMAIL PROTECTED] --
   Guinness a Day Keeps a Doctor Away (people's wisdom)

Reply via email to