Plugins
300 140

The plugin allows you to parse various API files from exchange rate sources for further use in the exchange calculator and various settings.

When activated, the plugin creates a "Parsers" section in the admin panel.

Parser Settings

For the parser to work, you need to configure the following settings:

Parsing Logging
Records source responses during parsing. Responses can be viewed in the Logs section. Logs are primarily needed for testing sources.

Timeout (sec)
The maximum time the parser will wait for a response from the source.

Last updаte
Date and time of the last course updаte.

dеlete Old Data
Sometimes, parsers fail or the required course disappears from the source. In this case, the source course shortcode will be reset to 0. However, if there is old data and deletion of old data is disabled, the course will be taken from it.

Source Courses
Courses from sources that the parser will access.

The parser accesses courses via a cron job. If you urgently need to parse data, you can follow the parser link located at the top of the settings page.

Competitors' Websites

You can also parse rates from competitors' websites. To do this, go to the "Parsers" section - "Add Site"

When editing or adding competitors' sites, you must enter the following information:

Site Name
Site name for the admin panel.

File URL
Address where the course file is located.

File Type
XML or TXT

Status
The source's operating status. In other words, whether we're accessing it or not.

Usage

Once the parser is configured and running, you can take courses and use them in any calculator field with shortcodes on the site.

The list of courses is available in the "Parsers" - "Source Courses" section.

Parsers with courses can also be viewed in the shortcodes tab when accessed from the calculator shortcode field.

Category: Plugins
Back to Wiki

We use cookies to improve the functioning of the site and its interaction with users. By continuing to use the site, you consent to the use of cookies (find out more).

You can always disable cookies in your browser settings.