 |
|
Walk-through 2: Looking for a bargain.
Imagine that you want to buy a digital camera, and after some research you
decided that Canon S50 is exactly what you need. Still, at around $500, it is a
little bit expensive and you know that prices on cameras are dropping pretty
fast. You decide to wait until price drops to $400. Let's look how EyeOnWeb can
help you save time and money. In this walk-through we will set an alert that
will notify you when the price drops.

This is the Web page we want EyeOnWeb to monitor for us. To create a script,
start EyeOnWeb designer. Copy address from the address bar of the browser and
paste it into address bar of Designer.
Click button Go. You will see the following screen:

Let us look again at the Web page. We see a repeating pattern. There are
paragraphs (or, in our terminology, groups), each representing one merchant.
Inside each group we see several fields: name of the product, merchant address,
price. Let's add the first merchant to the map.
First by holding left mouse button down and dragging the mouse select a group.
Then, select Add Group option from the context menu.

In the left window a group node is added to the map. After we rename the node,
the map looks like this

Group is a collection of fields. Now it is the time to add fields to the group.
Usually we start with selecting a field by highlighting a portion of it and
picking Select Field option from the context menu.
Some fields, namely links, would not let us highlight a portion of the field.
In this case, just point to such field with mouse and choose Select Field
form the context menu.

After the field is selected, add it to the map. Adding a regular field

Since we are adding fields from the first paragraph, and the first paragraph
has been already added as a group to a map, the new fields' nodes will be added
under the group node in the map. After renaming fields, the map looks like this

Now that we mapped the first merchant information, we need to expand the map to
all of them. This is simple. In the context menu for a group node S50 set an
attribute Multiple. New node Second instance of Multiple will appear
under the S50 node. Select the second merchant group and then in the context
menu of Second instance of Multiple node select Set.

In the context menu of the S50 node, select Show All Multiple. EyeOnWeb
will calculate location of all merchants' information. By clicking on different
nodes in the map and checking selected data in the browser window, you can make
sure that mapping is correct.

We told EyeOnWeb how to collect data from one web page. But merchants'
information is continued on next page and so on. To tell EyeOnWeb to scan
following pages, go to the map again and in Page node at the top set an
attribute Multiple. You will see new node Next Page added. Select
whole navigation group (in this case, Next link and numbered links at the
bottom of the page) and set this selection to the Next Page node

New nodes will be added to the map, each one corresponding to one link in the
navigation group.
We are done with mapping. Now all that is left to do is to define notification
criteria. Click on the second tab and specify conditions. You can also limit
maximum number of Next pages that will be retrieved.

That is it. Save the script and you are done with Designer.
Open EyeOnWeb Manager. Set notification methods and how often you want the
script to run and let EyeOnWeb work for you.

To test the script, set a price limit at $450. This is how notification sent
via Net Send will look like.

|