
Defining a Procedure
You can define up to 32 procedures in Web Pan.
To define a procedure, click the "New
Procedure" button and give the procedure a name of up to 8 characters. Please use only letters and numbers in procedure names,
with the first character being letter . The procedure name must be unique.
URL is the address you use to get to the
webpage. Substitute the part of the URL where the item ID is with
"< >" (exactly one space in between "<" and ">"). Here is an example:
http://www.amazon.com/exec/obidos/ASIN/< >
If the item ID is at the end of the address, you can omit the
"< >". For example, http://www.amazon.com/exec/obidos/ASIN/
There are two options for entering item ID's. If you choose
"Entered Here", you need to enter the item ID in the input box. If you choose
"Read from File", you need to enter the filename of the input file.
The input file is a text file and is usually generated by other programs.
You can also create the file manually using an editor such as
Windows Notepad. The file should contain a list of your item ID's, for example,
1234567890
0987654321
1122334455
...
Both these input boxes can be changed each time
you run the procedure.
You also need to provide the target labels of the information you are interested in.
You enter what you see in your Web browser, not the HTML source file.
Target labels are case insensitive. You can enter a list of target labels, for example:
Highest Price:>>3
Lowest Price:
Average Price: >>2
>>2
The numbers after the ">>" are the numbers of words
after the label that you want to extract, defaulting to 1 if you there is no
">>". In the above example, the program will get 3 words after "Highest Price:", 1 word after
"Lowest Price:", 2 words after "Average Price:" and first 2 words on the page.

Running a Procedure
Select a procedure from the "Procedure Name" drop-down list.
Either enter an item ID or the name of a file containing a list of item ID's.
Check the "Save to file" box if you wish to save the output to a file and
provide a name for the output file. Click the "Run" button to run the
procedure. The "Results" box will display the information extracted.