The XML protocol format consists of XML tags. Masking must be used for all data values in the qip.ua XML file. The file itself must use UTF-8 encoding.
FEED REQUIREMENTS
- The feed must contain only relevant (current) listings.
- HTML tags are not allowed in the data.
- The feed URL must be permanent and accessible via the HTTP protocol.
CHARACTER MASKING
The feed must use UTF-8 encoding. As is standard for all XML files, all data values (including URLs) must use entity masking for characters. For further details, refer to the brief description of the XML import file structure.
IMPORT OF LISTINGS THROUGH XML: SUPPORT FOR INTERNAL AND EXTERNAL IDS
The main element includes the following attributes:
- id — can be equal to zero (0), in which case a new listing will be created, or greater than zero, in which case the system will search for a listing by this ID in the database, and if found, the listing data will be updated.
- external — allows specifying an ID from an external source, which makes it possible to update existing listings using the specified external ID without relying on the project's internal database ID. This attribute accepts values 0 or 1. If set to 1, the id attribute is treated as an external source ID.
- publicated — indicates the desired publication status of the listing: 0 — unpublish, 1 — publish. This attribute has a higher priority than the status set in the import settings.