Geoff Hutchison wrote:
>
> On Tue, 10 Aug 1999, Vadim Chekan wrote:
>
> > 2. which parameter we need in "server"
>
> I'd include username/password for sure.
Done. But I included this option in "url" to make passible set different
name:password for differnt urls
==========================================
<url: http://gate.gc.lviv.ua/test>
credentials: vadim:xxx
</url>
<url: http://gate.gc.lviv.ua/test/34>
credentials: test:yyy
</url>
==========================================
BTW is "credentials" apprpriate name for this? English isn't my native
language, so that any language corrections are welcome :)
>
> 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'd include
bad_extensions, bad_querystr, limit_urls_to, exclude_urls
limit_normalized remove_default_doc, timeout.
in "url". This takes users possibility to more flexible configuration.
>
> I guess allow_virtual_hosts, and the local_* attributes would be useful as
> well. (Long list, huh?)
>
> 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 left Configuration class unchanged and created Configuration2 (not
very good name, I know) which I use to store htdig configuaration.
Vadim Chekan.
------------------------------------
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.