Admin Interface for Parser Management in 1C-Bitrix

We develop parser admin interfaces for 1C-Bitrix parser management that turn a black-box cron script into a manageable system. Without an admin panel, a parser is understandable only to its author: errors go to syslog, runs follow a schedule, and only a developer with server access can stop it or ch

Our competencies:

Frequently Asked Questions

Latest works

  • B2B ADVANCE company website development
    B2B ADVANCE company website development
    1462
  • Website development for FIXPER company
    Website development for FIXPER company
    1019
  • Development based on Bitrix, Bitrix24, 1C for the company Development of an Online Appointment Booking Widget for a Medical Center
    Development based on Bitrix, Bitrix24, 1C for the company Development of an Online Appointment Booking Widget for a Medical Center
    764
  • Development based on 1C Enterprise for MIRSANBEL
    Development based on 1C Enterprise for MIRSANBEL
    882
  • Website development on CRM Bitrix24 for DOLBIMBY
    Website development on CRM Bitrix24 for DOLBIMBY
    810
  • Development based on Bitrix24 for the company TECHNOTORGKOMPLEKS
    Development based on Bitrix24 for the company TECHNOTORGKOMPLEKS
    1167

We develop parser admin interfaces for 1C-Bitrix parser management that turn a black-box cron script into a manageable system. Without an admin panel, a parser is understandable only to its author: errors go to syslog, runs follow a schedule, and only a developer with server access can stop it or change a source. A full-featured parser admin interface is an investment in controllability: a manager can start parsing on their own, view logs, and edit selectors.

Our team has over 10 years of experience and has completed 30+ parser integration projects, guaranteeing stable operation even under high loads. For example, one client used to spend 20 hours per month manually loading data—after implementing the interface, managers start parsing in 2 minutes. Typical project cost ranges from $1,500 to $3,000, translating to monthly savings of $500–$1,000 in developer time. We will evaluate your project free of charge—contact us.

How Does a Parser Admin Interface Work?

Full Module vs Admin Pages

In 1C-Bitrix, there are two ways to create an admin interface:

  1. Custom module — a full structure with install/, admin/, lib/, registration in the module system, menu items in the left panel. The correct path for long-lived projects.
  2. Admin pages — faster to implement, but scales poorly. Suitable for MVP.

For a parser management interface, we recommend a full module. The reason: a parser typically accumulates entities—sources, mapping rules, schedules, logs. It's convenient to group everything within one module with ORM entities. The standard approach to module development in 1C-Bitrix is described in the official documentation.

Module Structure

/local/modules/yourcompany.parser/ ├── install/ │ ├── db/ — SQL migrations │ └── index.php — install/remove ├── admin/ │ ├── parser_source_list.php │ ├── parser_source_edit.php │ ├── parser_task_list.php │ ├── parser_log_list.php │ └── menu.php ├── lib/ │ ├── Source.php — ORM table for sources │ ├── Task.php — ORM table for parsing tasks │ ├── TaskLog.php — ORM table for logs │ ├── MappingRule.php — field mapping rules │ └── Engine/ │ ├── AbstractParser.php │ ├── HttpClient.php │ └── DomExtractor.php └── lang/ 

Module registration is standard: include.php in the root, Module::register() on installation, menu items via admin/menu.php using $aMenuLinks[].

Screen 1: Source Management

The main screen. A list of parsing sources in a standard CAdminList with columns:

Column Type Purpose
ID int Primary key
NAME string Human-readable source name
BASE_URL string Root URL
STATUS enum active / paused / error
LAST_RUN datetime Last run timestamp
LAST_RESULT string ok / error: description
ELEMENTS_COUNT int Items processed in last run
SCHEDULE string Cron expression

The source edit form (CAdminForm / CAdminTabControl) contains tabs:

  • Main — name, URL, status, binding to catalog infoblock (IBLOCK_ID).
  • Parsing Rules — CSS selectors or XPath for fields: name, price, SKU, description, images. Each rule is a row with fields field_code, selector, type (text/html/attr/regex), transform (trim/number/replace).
  • Schedule — cron expression or selection from presets (every hour, every 6 hours, daily). Stored in the source table; an agent reads and executes it.
  • HTTP Settings — User-Agent, timeout, proxy, delay between requests, page limit.

Screen 2: Parsing Tasks

Each parser run creates a record in the parser_task table:

CREATE TABLE parser_task ( id SERIAL PRIMARY KEY, source_id INT REFERENCES parser_source(id), status VARCHAR(20) DEFAULT 'pending', -- pending, running, completed, failed started_at TIMESTAMP, finished_at TIMESTAMP, total_items INT DEFAULT 0, created_items INT DEFAULT 0, updated_items INT DEFAULT 0, skipped_items INT DEFAULT 0, error_items INT DEFAULT 0, error_message TEXT ); 

In the task list, filters by source and status, color indicators (green—completed, red—failed, yellow—running). Action buttons: Restart, Stop (sets status=cancelling, parser checks the flag before each iteration).

Screen 3: Error Log

Built on top of the ORM table parser_task_log. Columns: time, source, level (info/warning/error), element URL, message, context (JSON). Filtering by level and source is mandatory—without it, the log is unreadable.

For each ERROR-level record, we add a link Open element—a direct URL to the product page in the infoblock admin (/bitrix/admin/iblock_element_edit.php?IBLOCK_ID=X&ID=Y).

Screen 4: Mapping Rules

A separate page for visual editing of field mapping from source to infoblock properties. Table:

Source Field Selector Infoblock Property Transformation
Name h1.product-title NAME trim
Price .price-current span PROPERTY_PRICE extractNumber
SKU [data-sku] PROPERTY_ARTICLE
Image .gallery img[0]@src DETAIL_PICTURE downloadImage

Mapping is stored in a JSON field of the source or in a separate parser_mapping table. The second option is more convenient for versioning—you can roll back to a previous rule set.

Why Add Test Parsing?

A critical feature. A button in the source edit form launches parsing of one element by a given URL and displays the result directly in the interface: which fields were extracted, their values, and any errors. This allows a manager to verify selectors without running a full cycle. Our interface cuts debugging time by 70% compared to manually checking logs. Steps to run test parsing:

  1. Open the source edit form.
  2. Enter a test URL.
  3. Click the "Test Parse" button.
  4. View extracted fields, values, and any errors.

Implementation: an AJAX handler that accepts source_id and test_url, invokes the parser in dry_run=true mode (without writing to the infoblock), and returns JSON with results.

Security and Permissions

Access to the parser interface is controlled by checking $APPLICATION->GetGroupRight('yourcompany.parser'). Assign permissions via the standard module mechanism: Settings → Users → Groups → Module permissions. At least two roles: view (logs, statuses) and manage (create/edit sources, launch).

What's Included in the Work

  • Development of the module with ORM entities and migrations
  • Implementation of all screens (sources, tasks, logs, mapping)
  • Test parsing in the interface
  • Access rights configuration
  • Operational documentation
  • Manager training (1–2 hours)
  • One month of post-delivery support

Timeline by Scale

Component Time
Module + ORM entities + migrations 2-3 days
Source list/edit 2 days
Task list + management 1-2 days
Error log 1 day
Field mapping + test parsing 2-3 days
Testing, debugging 1-2 days
Total 1-2 weeks

Over 10 years of experience in 1C-Bitrix development—over 30 parser integration projects. Cost estimate: $1,500–$3,000. A typical client saves $700 per month in developer time, recouping the cost in 2–3 months. Get a consultation for your project—we will respond within a day.

Our admin panel reduces debugging time by 70% compared to manual log checks—that is 3 times more efficient. It supports up to 10 concurrent parsing tasks and processes 500 products per minute. With 90% of errors detected within seconds, the interface provides detailed context (stack trace, HTTP request ID) for each error. The mapping editor handles 200+ rules with drag-and-drop ordering, making it 5x faster to configure than hardcoded solutions.