Title: BalticXML
Author: Edgars V
Published: <strong>2026 年 5 月 10 日</strong>
Last modified: 2026 年 5 月 10 日

---

搜尋外掛

![](https://ps.w.org/balticxml/assets/banner-772x250.png?rev=3527987)

![](https://ps.w.org/balticxml/assets/icon-256x256.png?rev=3527987)

# BalticXML

 由 [Edgars V](https://profiles.wordpress.org/veidenbaums/) 開發

[下載](https://downloads.wordpress.org/plugin/balticxml.1.0.0.zip)

 * [詳細資料](https://tw.wordpress.org/plugins/balticxml/#description)
 * [使用者評論](https://tw.wordpress.org/plugins/balticxml/#reviews)
 *  [安裝方式](https://tw.wordpress.org/plugins/balticxml/#installation)
 * [開發資訊](https://tw.wordpress.org/plugins/balticxml/#developers)

 [技術支援](https://wordpress.org/support/plugin/balticxml/)

## 外掛說明

BalticXML is a lightweight WooCommerce extension that exports your product catalogue
as XML feeds compatible with three Latvian price comparison engines:

 * **salidzini.lv** – [official spec](https://www.salidzini.lv/shops_info.php?#xml)
 * **kurpirkt.lv** – [official spec](https://www.kurpirkt.lv/veikaliem.php)
 * **ceno.lv** – [official spec](https://ceno.lv/pages/xml-file)

All three feeds are generated and served from the same plugin at separate URLs, 
for example:

 * `https://yoursite.com/salidzini-feed.xml`
 * `https://yoursite.com/kurpirkt-feed.xml`
 * `https://yoursite.com/ceno-feed.xml`

Each feed is cached on disk for fast delivery and regenerated automatically via 
WP-Cron.

#### Features

 * Three independent XML feeds (salidzini.lv, kurpirkt.lv, ceno.lv) at their own
   URLs
 * Per-format cache files and a single shared WP-Cron schedule
 * Manual “Regenerate Feed Now” button rebuilds all feeds at once
 * Includes simple, variable (per-variation) and external products
 * Full category breadcrumb path (`Parent > Child > Subchild`)
 * Automatic brand / manufacturer detection from common taxonomies and attributes
 * Automatic EAN/GTIN detection from common meta keys
 * Out-of-stock filter
 * Customizable feed slug per portal
 * HPOS (High-Performance Order Storage) compatible
 * Translation ready

#### Feed Structures

**salidzini.lv:**

    ```
    <?xml version="1.0" encoding="UTF-8"?>
    <products>
      <product>
        <name><![CDATA[Brand Model 12345]]></name>
        <link>https://yoursite.com/product/...</link>
        <price>99.99</price>
        <category_full><![CDATA[Parent > Child]]></category_full>
        <category_link>https://yoursite.com/category/...</category_link>
        <image>https://yoursite.com/wp-content/uploads/...</image>
        <in_stock>5</in_stock>
        <brand><![CDATA[Brand]]></brand>
        <model><![CDATA[Model X]]></model>
        <color><![CDATA[Black]]></color>
        <mpn>ABC-123</mpn>
        <ean>1234567890123</ean>
      </product>
    </products>
    ```

**kurpirkt.lv:**

    ```
    <?xml version="1.0" encoding="UTF-8"?>
    <root>
      <item>
        <name>Apple iPhone 13 PRO 512GB black</name>
        <link>https://yoursite.com/product/...</link>
        <price>1200.59</price>
        <image>https://yoursite.com/wp-content/uploads/...</image>
        <manufacturer>Apple</manufacturer>
        <category>Mobilie telefoni</category>
        <category_full>Sakaru līdzekļi > Mobilie telefoni</category_full>
        <category_link>https://yoursite.com/category/...</category_link>
        <in_stock>5</in_stock>
        <delivery_cost_riga>2.25</delivery_cost_riga>
        <used>0</used>
      </item>
    </root>
    ```

**ceno.lv:**

    ```
    <?xml version="1.0" encoding="UTF-8"?>
    <root>
      <item>
        <name>Huawei P40 Pro Melns</name>
        <link>https://yoursite.com/product/...</link>
        <price>849.99</price>
        <price_sale>799.99</price_sale>
        <image>https://yoursite.com/wp-content/uploads/...</image>
        <manufacturer>Huawei</manufacturer>
        <model>P40 pro</model>
        <category>Mobilie telefoni</category>
        <category_full>Telefoni-plansetdatori > Mobilie telefoni</category_full>
        <category_link>https://yoursite.com/category/...</category_link>
        <in_stock>12</in_stock>
        <ean>6901443378944</ean>
        <used>0</used>
        <delivery_cost_riga>2.99</delivery_cost_riga>
        <delivery_latvija>5.99</delivery_latvija>
        <delivery_latvijas_pasts>1</delivery_latvijas_pasts>
        <delivery_omniva>1.50</delivery_omniva>
        <delivery_days_riga>4</delivery_days_riga>
        <delivery_days_latvija>6</delivery_days_latvija>
      </item>
    </root>
    ```

## 螢幕擷圖

 * [[
 * BalticXML settings page with all three feed URLs

## 安裝方式

#### Automatic Installation

 1. Log in to your WordPress admin panel
 2. Navigate to Plugins > Add New
 3. Search for “BalticXML”
 4. Click “Install Now” and then “Activate”

#### Manual Installation

 1. Download the plugin ZIP file
 2. Go to Plugins > Add New > Upload Plugin
 3. Upload the ZIP file and click “Install Now”
 4. Activate the plugin

#### After Installation

 1. Make sure WooCommerce is installed and active
 2. Go to **BalticXML** in the admin menu
 3. Confirm the feed slugs and copy each feed URL
 4. Click “Regenerate Feed Now” to build the cache for the first time
 5. Submit each URL to the corresponding price comparison site

## 常見問題集

### What URLs do I submit?

Each portal has its own URL, all shown on the BalticXML settings page:

 * salidzini.lv -> `https://yoursite.com/salidzini-feed.xml` (default)
 * kurpirkt.lv -> `https://yoursite.com/kurpirkt-feed.xml` (default)
 * ceno.lv -> `https://yoursite.com/ceno-feed.xml` (default; email it to info@ceno.
   lv after configuring)

All slugs are configurable.

### How often are the feeds updated?

All feeds are regenerated together on the same WP-Cron schedule. Default is daily;
you can change it (hourly, every 6 hours, twice daily, daily, or disabled) in BalticXML
settings.

### Are out-of-stock products included?

By default they are excluded from all feeds. You can change this in BalticXML settings.

### Are product variations included?

Yes – by default each variation is exported as a separate item in every feed, with
the variation attributes appended to the name. You can disable this in settings.

### How is the brand / manufacturer detected?

The plugin checks the `product_brand`, `pwb-brand` and `pa_brand` taxonomies, and
the `brand` product attribute, in that order. The same source feeds `<brand>` (salidzini.
lv) and `<manufacturer>` (kurpirkt.lv, ceno.lv).

### How is the EAN/GTIN detected?

The plugin checks the meta keys `_ean`, `_gtin`, `_global_unique_id`, `_wc_gla_gtin`
and the `ean` product attribute. (Used by salidzini.lv and ceno.lv. kurpirkt.lv 
does not require this field.)

### How do I set the salidzini.lv-specific fields (`model`, `color`, `mpn`, `adult`, `over_the_counter_medicine`)?

Use the matching product attributes (`model`, `color`/`colour`, `mpn`, `adult`, `
over_the_counter_medicine`) or the corresponding meta keys (`_model`, `_color`, `
_mpn`, `_adult`, `_over_the_counter_medicine` / `_otc`). They are all optional –
emitted only when set.

### How do I set the kurpirkt.lv-specific fields (`delivery_cost_riga`, `used`)?

 * `delivery_cost_riga` – set the meta key `_delivery_cost_riga` or add a `delivery_cost_riga`
   product attribute (numeric).
 * `used` – set the meta key `_used` to `1` or add a `used` product attribute set
   to `1` / `yes` / `true`.

### How do I set the ceno.lv delivery and used fields?

For each delivery field, set either a meta key prefixed with `_` or a product attribute(
without the prefix):

 * `delivery_cost_riga`, `delivery_latvija` – max delivery cost in Riga / Latvia(
   decimal)
 * `delivery_latvijas_pasts`, `delivery_dpd_paku_bode`, `delivery_pasta_stacija`,`
   delivery_omniva`, `delivery_circlek`, `delivery_venipak` – per-carrier delivery
   cost (decimal)
 * `delivery_days_riga`, `delivery_days_latvija` – max delivery days in Riga / Latvia(
   integer)
 * `used` – set to `1` for used / refurbished products

All ceno.lv fields are optional – they are emitted only when a numeric/non-empty
value is configured.

### Is it translation ready?

Yes. Text domain is `balticxml`.

## 使用者評論

這個外掛目前沒有任何使用者評論。

## 參與者及開發者

以下人員參與了開源軟體〈BalticXML〉的開發相關工作。

參與者

 *   [ Edgars V ](https://profiles.wordpress.org/veidenbaums/)

〈BalticXML〉外掛目前已有 1 個本地化語言版本。 感謝[全部譯者](https://translate.wordpress.org/projects/wp-plugins/balticxml/contributors)
為這個外掛做出的貢獻。

[將〈BalticXML〉外掛本地化為台灣繁體中文版](https://translate.wordpress.org/projects/wp-plugins/balticxml)

### 對開發相關資訊感興趣？

任何人均可[瀏覽程式碼](https://plugins.trac.wordpress.org/browser/balticxml/)、查看
[SVN 存放庫](https://plugins.svn.wordpress.org/balticxml/)，或透過 [RSS](https://plugins.trac.wordpress.org/log/balticxml/?limit=100&mode=stop_on_copy&format=rss)
訂閱[開發記錄](https://plugins.trac.wordpress.org/log/balticxml/)。

## 變更記錄

#### 1.0.0

 * Initial release
 * salidzini.lv compatible XML feed (`<products>/<product>` schema)
 * kurpirkt.lv compatible XML feed (`<root>/<item>` schema)
 * ceno.lv compatible XML feed (`<root>/<item>` schema with extended delivery fields)
 * Per-format cache files with shared WP-Cron regeneration
 * Simple, variable and external product support
 * Brand / manufacturer and EAN auto-detection
 * Customizable feed slugs per portal
 * HPOS compatible
 * Translation ready

## 中繼資料

 *  版本 **1.0.0**
 *  最後更新 **4 週前**
 *  啟用安裝數 **少於 10 次**
 *  WordPress 版本需求 ** 5.0 或更新版本 **
 *  已測試相容的 WordPress 版本 **6.9.4**
 *  PHP 版本需求 ** 7.4 或更新版本 **
 *  語言
 * [English (US)](https://wordpress.org/plugins/balticxml/) 及 [Latvian](https://lv.wordpress.org/plugins/balticxml/).
 *  [將這個外掛本地化為你的母語版本](https://translate.wordpress.org/projects/wp-plugins/balticxml)
 * 標籤:
 * [woocommerce](https://tw.wordpress.org/plugins/tags/woocommerce/)[xml feed](https://tw.wordpress.org/plugins/tags/xml-feed/)
 *  [進階檢視](https://tw.wordpress.org/plugins/balticxml/advanced/)

## 評分

這個項目尚無任何評論記錄。

[Your review](https://wordpress.org/support/plugin/balticxml/reviews/#new-post)

[查看全部使用者評論](https://wordpress.org/support/plugin/balticxml/reviews/)

## 參與者

 *   [ Edgars V ](https://profiles.wordpress.org/veidenbaums/)

## 技術支援

使用者可在技術支援論壇提出意見反應或使用問題。

 [檢視技術支援論壇](https://wordpress.org/support/plugin/balticxml/)