Geoff Hutchison wrote:
> 
> On Tue, 10 Aug 1999, Vadim Chekan wrote:
> 
> > I want to ask:
> > 1. about delimiter in configuration: is it necessery?
> 
> Which delimiter is that? The ':' delimiter?

Yes, I mean ":" in configuration file.

> 
> > 2. which parameter we need in "server"
> 
> I'd include username/password for sure.
> 
> I'd probably include bad_extensions, bad_querystr, limit_urls_to,
> exclude_urls, http_proxy, http_proxy_exclude, limit_normalized,
> remove_default_doc, and timeout.
> 
> I guess allow_virtual_hosts, and the local_* attributes would be useful as
> well. (Long list, huh?)
> 

Yes, it's long. But I hope that the most hard part of work is done :)

> It looks good, though I haven't tried it yet. One snag that I realized is:
> 
> +extern FILE* yyin;
> +extern yyparse(void*);
> +if ((yyin=fopen(filename,"r"))==NULL)
> +       return NOTOK;
> +
> +yyparse(this);
> +fclose(yyin);
> +return OK;
> 
> Right now the HTML parser has been rewritten to use the Configuration
> parser and '=' as a delimiter between attributes and values. Doesn't this
> change restrict the Configuration code to reading in a file from disk?

I think it's Ok. HTML parser uses Configuration::Add(char*), not
Read(*char) wich I changed.

Vadim

------------------------------------
To unsubscribe from the htdig3-dev mailing list, send a message to
[EMAIL PROTECTED] containing the single word "unsubscribe" in
the SUBJECT of the message.

Reply via email to