Hi again. It's really better to keep such questions on the mailing list, even for followups. Otherwise, your mail may sit in my inbox for weeks before I can get around to replying. See http://www.htdig.org/FAQ.html#q1.17
According to Kwan Chee Kin: > Thank you again for your advice. Would like to ask do you have any > testing scripts (something like a html page to call htdig to do its job)? I > did try to run htsearch from a html page, but it failed. I can run from the > machine itself but the interface will return the text of a html page in > which is unreadable. OK, this is really about 3 or 4 separate issues, most of which need further elaboration (on the list, please) before someone could adequately answer. The 3.2 code does include a set of test programs, which test out the various parts of the package to make sure they're functional on a given hardware platform. That's different than testing out the final configuration, though, which I suspect is more along the lines of what you'd want. The 3.1.x series doesn't include the test programs. As for calling htdig from an HTML page, to do its job, are you sure you mean htdig and not htsearch? There is a package called ConfigDig which is for web-based configuration and running of the indexing phase. I don't actually don't know much about it, though, as I've never used it. Most users run htdig and htmerge from the command line or from a shell script (possibly called from a cron job). If you mean running htsearch from an HTML page, that of course is the search.html form that gets installed when you do a "make install" of the package. You say htsearch failed when you ran it from an HTML page, but you don't mention the cause or symptoms of the failure. See questions 5.7, 5.10, 5.11, 5.13, 5.14, 5.17, 5.19, 5.23 and 5.32 of the FAQ for explanations of many possible failures of htsearch. If these don't help, some details and/or error messages would be useful. Finally, in your last sentence above, I can't really understand what you're saying. By "from the machine itself" do you mean from the shell command line or from the web server, via a web browser? (Both are run on the machine.) I also don't know what you mean by the unreadable html page - is it really HTML or is it a bunch of semingly random characters? If it's the latter, and you're running htsearch from the web server through a browser, this would seem to be like what quesion 5.19 of the FAQ describes. If that's not it, maybe a clearer description, and/or a snippet of output that you're getting, would help. > If I change the htdig.conf settings, do I need to reindex it again > by running rundig again? That depends on which attributes you change. See http://www.htdig.org/attrs.html for descriptions of all configuration attributes. These descriptions also mention which programs in the package use these attributes. If you change an attribute that htdig or htmerge uses, then you'd likely need to reindex for the change to take effect. For attributes used only by htsearch, changes will take effect immediately when you change and save the config file. > ----- Original Message ----- > From: "Gilles Detillieux" <[EMAIL PROTECTED]> ... > > According to Kwan Chee Kin: > > > I did what you advised. It did show something like it is getting > > > information from www.htdig.org. Should it be doing something like this? > > > > It will index http://www.htdig.org/ by default if you > > don't change the start_url attribute in your htdig.conf > > file. See http://www.htdig.org/config.html and > > http://www.htdig.org/attrs.html#start_url ... -- Gilles R. Detillieux E-mail: <[EMAIL PROTECTED]> Spinal Cord Research Centre WWW: http://www.scrc.umanitoba.ca/ Dept. Physiology, U. of Manitoba Winnipeg, MB R3E 3J7 (Canada) _______________________________________________________________ Have big pipes? SourceForge.net is looking for download mirrors. We supply the hardware. You get the recognition. Email Us: [EMAIL PROTECTED] _______________________________________________ htdig-general mailing list <[EMAIL PROTECTED]> To unsubscribe, send a message to <[EMAIL PROTECTED]> with a subject of unsubscribe FAQ: http://htdig.sourceforge.net/FAQ.html

