Drucegrove DragonFly User Manual 1.4
Page 49
Source URL
The following attributes may be defined per
Source
:
URL
The URL to download the raw feed data from.
This may contain arguments by including argument IDs within braces.
Read Actions
The following attributes may be defined per
Read
action:
Mode
The mode of the read action.
Can be one of the following values:
XML
Text
Variable
Optional name of the data variable to store the resultant data in.
Note: The variable may not be defined here if further Read actions are to be
performed on the resultant data.
VariableIf
Optional list of semi colon separated variable result values.
The test and result value should be separated by a colon character.
The test is not case sensitive.
If colons or semi colons need to be used as part of the string, they should be
escaped by a back slash character (eg “\:”).
If back slashes need to be used as part of the string, they should be escaped
by another back slash character (eg “\\”).
Default
Optional default result value if the read action is not successful.
Trim
Optional boolean value, true by default.
If True, white spaces (space, tab and carriage return characters) will be
trimmed from the start and end of the resultant text value.
DataType
Optional data type of the resultant value.
Can be one of the following values:
Text
Boolean
Integer
Float
DateTime
The value will be read as text, converted into the data type, and then the
result will be converted back to text.
Round
Optional boolean value, false by default.
If True and the data type is either Integer or Float, the value will be rounded in
the conversion (the decimal part of the number will subsequently be lost if the
data type is Integer).
RoundDecimalPlaces
Optional number of decimal places to round to, zero by default.
ParseDateTimeFormat
Optional format of the date and time to parse the data as. If the source data is
not in this format, conversion to the DateTime data type will fail and the
variable value will fall back to its default value.
ResultDateTimeFormat
Optional format of the date and time to convert the parsed DateTime value to
when it is subsequently stored as a text value.
Format
Optional formatting of the resultant value.
Can be one of the following values:
None
LowerCase
UpperCase
TitleCase
SentenceCase