The first step in defining the Tip type is to take a first look at the target site and consider what the robot should do.
In your browser, go to the page http://www.kapowsoftware.com/tutorial/quickstart. This site is constructed with the sole purpose of acting as an example site for this tutorial and is therefore kept extremely simple. The main page is a table of all the tips, containing the numbers and titles of these. The titles link to a full description of the tips. Take a few minutes to familiarize yourself with the structure of the site.
We want the robot to collect and store these tips in a database. In order to do so we need an object which identifies a single tip, we name this type Tip.
The Tip type has the following attributes:
A short string describing what the tip is about.
What number tip it is. All tips are numbered incrementally, starting with number 1.
The location of a page describing the tip. This can be used if we want to present the tip in our own web page and link to the original location of the tip.
The actual description of the tip, often just a short paragraph of text.