Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

If start_url isn't specified, spit out a message #17

Open
andy5995 opened this issue Nov 13, 2017 · 2 comments
Open

If start_url isn't specified, spit out a message #17

andy5995 opened this issue Nov 13, 2017 · 2 comments

Comments

@andy5995
Copy link
Contributor

andy5995 commented Nov 13, 2017

If start_url isn't specified in htdig.conf, spit out a message that the config file needs to be edited and exit.

Presently, if that field is blank, http://www.htdig.org/ is used as the start_url

hldig/htcommon/defaults.cc

Lines 2378 to 2390 in 39177ad

{ "start_url", "http://www.htdig.org/", \
"string list", "htdig", "", "all", "Indexing:Where", "start_url: http://www.somewhere.org/alldata/index.html", " \
This is the list of URLs that will be used to start a \
dig when there was no existing database. Note that \
multiple URLs can be given here. \
<br>Note also that the value of <em>start_url</em> \
will be the default value for \
<a href=\"#limit_urls_to\">limit_urls_to</a>, so if \
you set start_url to the URLs for specific files, \
rather than a site or subdirectory URL, you may need \
to set limit_urls_to to something less restrictive \
so htdig doesn't reject links in the documents. \
" }, \

@arjangupta
Copy link

Hello! May I work on this issue?

@solbu
Copy link
Owner

solbu commented Oct 23, 2018

Sure, go ahead. :-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants