DISE Parser

From DISE KnowledgeBase

Jump to: navigation, search

ParserIcon.png

The DISE Parser application is designed to take data from one source, process this data in several steps and then output the data somehow.

It works using something called Modifiers, that is actually each a bit of processing that will take an input of data, and the process it to output some other data. This is then be built into a tree where you add different Modifiers to achieve what you want to do.

For example like this:

  • HTTP Modifier (Load)
Get XML data from a URL, could be news and information about images, video.
  • XSL Modifier
Parse the XML to text and add other XML commands for further processing.
  • File Transfer Modifier
Download some files based on tags added in the XSL Modifier.
  • Compression Modifier
Extract one of the downloaded files.
  • Command Modifier
Copy and delete files based on tags added in the XSL Modifier.
  • File Modifier (Write)
Write the remaining text out to a text file.
  • File Modifier (Save)
Save the downloaded XML data to a file for reference, debugging, logging, etc.

The processing will then start from the root Modifier and then use the output data from that Modifier as input in the next one.

Service

DISE Parser supports running as a stand-alone for testing, and a service for live application. The service is installed and started from the main Parser UI. Using the DISE Parser test function and the command line application all modifers will be run in order, each root modifier after another. But in the service all root modifiers will run simultaneously, allowing for several tasks running at once.

Command line (Console)

There is a command line version of the DISE Parser, this can be used when processing should be triggered by another scheduler or another application that support executing files on certain events.

Info.png Main article: Command line parameters

Customizable

If the processing of an XSL parsing script is not enough, then it is possible to write the processing directly in JavaScript or VBScript.

The application can replace the RSS Reader and Database Access in function, but on the other hand someone will have to write a customized script when using the DISE Parser. The upside is that these scripts can be easily modified by the reseller or end user, and that we can easily reuse customizations made for other customers.

The modular structure (using Modifiers) means that most types of data connection solutions can be put together. The most common scenario is that we will help you get started, and depending on your level of knowledge of scripting languages you will be able to do the final touches.

See also