On Mon, 17 Mar 2003 12:41:19 -0500, [EMAIL PROTECTED] (Matthew Stapleton) wrote:
>I am new to this list and perl. I am wanting to find or perhaps write a >script which will index religious works such as the apocrypha or the >dhammapada. These texts usually take the form of: > >Book Chapter:Verse >Passage > >Does anyone know of such a script? And, if there is not already such a >script, is perl an appropriate language to write such a script in? There is the "perlfect" search engine. It's easy for a beginner to setup, and will output pages of html, with clickable links to the results. Do a google search for "Perlfect". It has a couple of drawbacks. One, you need a web server of somesort to run it, but I've successfully set it up using the monkey httpd daemon (find it on http://freshmeat.net). The second drawback is that it only indexes files with extensions, like .txt,.pl, or .txt. You can modify the script to do plain filenames, but you need to know what you are doing. If you need help setting it up, I would be happy to help you thru email, if you are using linux. (I don't touch windows anymore). If you don't want to use a server-style search engine, there is a nice search package called "swish++" (find it on http://freshmeat.net). It is a little harder for a beginner to setup, but it will search by itself, and output plain txt or XML documents. Swish is c++, and is very fast; but I like the ease of searching with Perlfect and a web-browser. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]