Projects / PHP interface to ht://Dig

PHP interface to ht://Dig

This is a PHP class which interfaces with the ht://Dig programs, allowing you to index and search Web pages from PHP. It is able to setup a suitable configuration file from a few user-defined parameters, index Web pages to build the search databases, and search the indexed database to capture the matches into a PHP data structure ready to be used to display the results in a PHP-generated page.

Tags Internet Web Indexing/Search
Licenses BSD Original
Operating Systems OS Independent
Implementation PHP

Tweet this project Short link

Rss Recent releases

Changes: The search page example was fixed to make it work even when PHP register_globals option is off. All example scripts were changed to use the same configuration script. A README file was added to explain some details about the steps for generating a suitable Ht:/Dig configuration file, crawling a site, and implementing a site search page.

Changes: This version adds a documented example of how to enable secure search. It is modified to avoid passing arguments explicitly by reference, and to remove use of the PHP short open tag.

Changes: This release has a secure search option to make it work with recent versions of htsearch that do not allow custom configurations to be used from the CGI interface. An option has been added to specify the path of the htsearch program, which may differ from that of the of htdig program. The htdig automatic version detection algorithm before indexing has been improved.

  • Rrelease-mid
  •  30 Jan 2001 06:13
  • Rrelease-after

    Changes: Initial freshmeat announcement.

    Rss Recent comments

    Rcomment-before 12 Feb 2004 07:20 Rcomment-trans mlemos Rcomment-after

    Re: Cannot download without a login

    > You can't download this software without
    > a login. This goes against the spirit
    > of the BSD license, I think.

    Licenses only express how the copyright holder (usually the author) authorizes his software to be used or distributed.

    I am the author. I distribute it the way I want. I want that this site to require that the users be subscribed so it can keep track of who downloaded this package.

    This way, whenever the I update this package with fixes or new features, every user will be notified by e-mail, except for those users that explicitly tell that they do not want to receive notifications in their user options pages.

    This helps reducing the time spent providing support to users. What happens is that many users ask for new features or solutions of problems that were already implemented in the latest version that I upload to the site. If they are not warned somehow, they will not know.

    The updated package notifications that the site sends automatically for me is a good solution for this problem. Therefore, the requirement to login is important to me as an author.

    Rcomment-before 12 Feb 2004 05:48 Rcomment-trans 5af920ca2e29eba2e129a3e97205c2ff_tiny dskoll Rcomment-after

    Cannot download without a login
    You can't download this software without a login. This goes against the spirit of the BSD license, I think.

    5011db4fc97ced9db65f48d3cccf4878_thumb

    Project Spotlight

    Macsome AudioBook Converter

    A tool that converts any audio book to MP3 or AAC.

    939cf78516a3ec57dd0a6188bc5e8c49_thumb

    Project Spotlight

    GeeXboX

    A GNU/Linux standalone media center distribution.