![]() | |||||||||||||||
Templates of import and parsing allow you to automate the process of retrieving information from different sources and importing it to the database. For example, with their help you can solve the following tasks:
As you can see, the importing tasks can be divided into groups according to the type of source. You can use the following items as a source:
The template itself describes the way the imported text should be parsed and what should be done with it after that.
For example, if we import data on currency rates, the source text may look as follows:
Correspondingly, the created template should:
All this the parser will perform automatically. The only things we should define are the source of data, folder and type of records to which we want import text, as well as rules by which the text should be split over fields. You can skip any of the 5 items or replace it with the script. For example, if we want to update data on currency rates and do not want to create new records, we can use the script instead of items 4 and 5:
All this can be specified in the Import/Parse Template Designer. The created template can be selected from the "File->Import/Parse" menu or from any script, using the "Import/Parse Text" actions.
| |||||||||||||||
|
Copyright (C) 2001-2010 Binary Brilliant Inc. All Rights Reserved. |