PlanoTse Handbook for Job Search Automation/Data Holders
Data Holders
[edit | edit source]The smallest unit of data in PlanoTse is called a data item, also known as a data holder. Each holder has a set of standard data item attributes. These include data item number, data item title, data item description, etc.
Data item type is also a standard data item attribute. However, data item type must be one of the item types as provided by the system, see Data Item Types.
Two of the most important types of data holders in PlanoTse are Response and Script.
Script Data Holder
[edit | edit source]Script is a type of data item in PlanoTse. To see an example, from the main menu, select the command [File » Open Lists » Other Lists » Scripts]. You will see at least a script shown in the tree view, which is the first panel on the left in the main application window.
As shown in the above image, the data item is titled as, PlanoTseScript Demo 1. Its data item number is 11102 and its data item type is Script as its root node is called Scripts. Right-click on the script and select the Open command to see the content of this data item. After you open the data item, click on the Steps button to see any source code in PlanoTseScript applicable to this particular data item.
Each data item is stored in a separate file in XML format. Content of a data file looks similar to what is shown in the following image. Name of the outermost tag lets you know the type of data item, also known as holder type. In this example, it is a Script item or a script holder.
Each data holder in PlanoTse has a direction. Data direction lets you know more about the data or what to do with it. Each direction has a title and a body. The body of data direction is expressed as a sequence of steps, as shown in the above image. You can insert several blocks of code in PlanoTseScript through out the direction. PlanoTse will execute the script the same way it does with the code in either a start-up script or a default Go script.
What to do now Go to the next topic, Go Script & Startup Script, and learn how to attach the above script to the menu Go command. |
This page is part of The Shortest Route, which is the shortest sequence of pages that would as quickly as possible bring you to the point where you can start using PlanoTse effectively for either job search automation or any other application in the mining of global data from the World Wide Web. |