Содержание

Array Paths

This is an array of elements in the structure of the Item object or root element. Used to specify the path to the site on which the software must pass during the task. Site path is specified as part of the value of the href attribute, it's similar to masks, but only for internal (!) links on the site.

Attributes

  • May contain Priority attribute
  • May contain External attribute
  • While performing of task, one of the elements is selected , according with value of the Priority attribute.
  • The maximum depth of the path of the site does not exceed 15.
  • Time of browsing of the one page of the path depends on the number of paths and the main time of performing of the task: time is divided by the number of paths.
  • If external source contains no elements in the array Path, then within the period of the main time of performing of the task there is a front page will be browsed.

Structure

"Paths":[
 {
  "Path":["<aPath_1>","<aPath_2>",...,"<aPath_N>"],
  "External":"<aExternal_1>",
  "Priority":1
 },
  {
  "Path":["<aPath_1>","<aPath_2>",...,"<aPath_N>"],
  "External":"<aExternal_2>",
  "Priority":1
 },
  ...,
  {
  "Path":["<aPath_1>","<aPath_2>",...,"<aPath_N>"],
  "External":"<aExternal_N>",
  "Priority":1
 }
]

Example

"Domains":[
 {
  "Domain":"waspace.net"
 }
],
"Pages":[
 {
  "Page":"/about.html"
 },
"Paths":[
 {
  "Path":["download","rules","forum"]
 }
]

The following actions will be performed:

  1. Loading of the home page waspace.net/about.html
  2. finding link for the path and transition on it: http://waspace.net/download.html
  3. finding link for the path and transition on it: http://waspace.net/link.html
  4. finding link for the path and transition on it: http://forum.waspace.net