Creating the first script

Post Reply
jeuteneier
Posts: 32
Joined: Wed May 16, 2001 2:54 pm

Creating the first script

Post by jeuteneier »

Hello,

I just received my Commercial version of Webinator. Right now our only objective is to be able to index and search PDF and HTML files.

1. Do I need to create my own script from scratch to do this or is there an existing script that is a standard?

2. If there is a standard, can I tweak it for customization?

3. I don't understand the relationship between "Webinator" and the Vortex Texis Web Script Language. Do I need to download the free Webinator and then use the PDF plug-in that came with the purchase? or is it possible to use the script that runs the free Webinator?

Thanx,
Justin Euteneier
Fred Meyer, Inc.
User avatar
John
Site Admin
Posts: 2622
Joined: Mon Apr 24, 2000 3:18 pm
Location: Cleveland, OH
Contact:

Creating the first script

Post by John »

The webinator comprises two portions. The crawler and the search. The crawl is done with the gw program, and the search is done with the Vortex Web Script language. The program comes with a standard search script, called search, that is installed in the webinator directory. There are also further example scripts on our website. You can customize those as much as you want.

If you have purchased the commercial version you shouldn't need to download anything from the free webinator, as the package contains everything you need.
John Turnbull
Thunderstone Software
jeuteneier
Posts: 32
Joined: Wed May 16, 2001 2:54 pm

Creating the first script

Post by jeuteneier »

Ok thanx.

1. Can you please give me an example of a script written to utilize web administration. I know that Webinator doesn't come with it, but I do not have access to the root and simply need a web admin that lets me index or rewalk. It would be nice to be able to exclude certain folders and files from the web based admin as well.

2. Where does gw need to be run from? Where does the resulting index file get stored?

Justin
User avatar
mark
Site Admin
Posts: 5519
Joined: Tue Apr 25, 2000 6:56 pm

Creating the first script

Post by mark »

1. see the "Webinator 2 Walker" on the webinator example scripts page http://www.thunderstone.com/texis/site/ ... ample.html

2. gw is run from the command line, not browser location bar. It's installed in DOCUMENT_ROOT/webinator/bin. Either go to that directory to run it or give the full path to it or put it somewhere in your path. The database is a directory consisting of many files. It's under DOCUMENT_ROOT/webinator. The default directory name is "db". You'll see this if you run gw without a -d option.
jeuteneier
Posts: 32
Joined: Wed May 16, 2001 2:54 pm

Creating the first script

Post by jeuteneier »

How do I take the Webinator 2 Walker and point it to my gw? Do I just copy the source? Where do I put the file? What parts of the script need to be changed for our specific purposes?

Justin
User avatar
mark
Site Admin
Posts: 5519
Joined: Tue Apr 25, 2000 6:56 pm

Creating the first script

Post by mark »

The walker script should be in the same directory as your search script. The comments at the top of the script indicate what you need to do.
jeuteneier
Posts: 32
Joined: Wed May 16, 2001 2:54 pm

Creating the first script

Post by jeuteneier »

Comments at the top of the walker script? When I look at the walker scipt and view source I don't see any comments. If i put the walker script in the same place as my search script are there any changes that need to be made to it? For instance in the walker script I see <FORM METHOD=post ACTION=/texis/site/webinator/example/gw/+fwwFqrcw5BG1DxFqMinxoDwBdGeRD3w/>

I assume that needs to be changed?

Justin
User avatar
mark
Site Admin
Posts: 5519
Joined: Tue Apr 25, 2000 6:56 pm

Creating the first script

Post by mark »

That's what you see when you run it. You should look at the raw script.

From the examples page you can hit download then use your browser's "save as" option to save it to a file for use on your webserver. Then use an ascii editor such as vi on unix or notepad on NT to edit it.
Post Reply