← Back to blog

XML product feeds: how they work and how to publish them

November 23, 2026
Geometric illustration of nested XML product data

An XML product feed is a file at a stable web address that lists every product you sell, one entry per item, in a format an advertising channel can read. Google Shopping, Meta and price comparison sites fetch it on a schedule and turn each entry into a listing. The file itself is simple. What takes work is keeping it complete, correct for each channel and fresh, and that is the job we built Textfinity for: it reads your catalogue, maps and filters it, and publishes one feed per channel and market to a URL that rebuilds on a schedule.

This guide covers what goes into the file, how Google, Microsoft and Swedish comparison sites differ, how to create the feed from Shopify, WooCommerce or Magento, and what to check when you sell in more than one country.

Textfinity
textfinity.io
Keep product feeds channel-ready
Textfinity maps, filters and publishes a scheduled feed for each channel and market from your store catalogue.
Get set up

TL;DR

  • An XML feed is a structured file with one item per product, carrying title, link, price, image, availability and identifiers, served from a URL the channel re-reads on a schedule.
  • Google uses an RSS 2.0 layout with a g: namespace for its own attributes. Microsoft Shopping prefers a tab-delimited text file and accepts XML only when it is an existing Google-formatted file.
  • Each channel has its own rules, so one export rarely fits all. Publishing a separate feed per channel and market avoids rewriting the same data by hand.
  • Multi-country feeds need the right currency and language for each market, and Microsoft asks for ISO 4217 currency codes.
  • Missing attributes are the most common reason products are held back. Fix them in the source data and the feed rules, not in each channel console.

Table of Contents

What an XML product feed contains

A feed is a list of products with the details a shopper and an ad platform need. Voyado’s help centre describes a feed as an internet-accessible XML file with product name, description, images, SKU, price, brand and availability. Swedish platform documentation describes the same idea in practical terms: a feed holds the part of your assortment you choose, and you can pick the fields and filter which products are included, for use with Google Shopping, Facebook or Prisjakt.

The word “XML” only describes how the file is written: nested tags, each wrapping a value. A product looks like a small block of labelled fields. The same data can also be sent as CSV or TSV, a table with one product per row. Our comparison of Google Shopping XML versus CSV shows when each format is the better fit.

What the file looks like

Google’s documentation for the RSS 2.0 format sets out the structure. There is an rss document, a channel inside it, and one item per product. Title, link and description sit alongside product attributes such as ID, price, condition and image link, and additional relevant attributes can be added.

One detail causes many broken feeds. Google-specific attributes are written with the g: prefix, and the xmlns:g namespace declaration must be present in the file. Google’s specification states that the declaration is required and each such tag must carry the prefix. Leave out the declaration, or write price where g:price belongs, and the attribute is not read as intended.

A minimal item has this shape:

<item>
  <g:id>SKU-1042</g:id>
  <title>Merino wool jumper, men's, navy, size M</title>
  <link>https://example.se/merino-jumper</link>
  <g:price>899.00 SEK</g:price>
  <g:availability>in_stock</g:availability>
  <g:image_link>https://example.se/img/1042.jpg</g:image_link>
  <g:brand>Example</g:brand>
</item>

For longer, category-specific samples, see our Google Shopping feed examples and the feed template with columns for CSV and XML.

How each channel reads your feed

The channels take the same product data but not the same file. This is why a single export from your shop platform rarely works everywhere.

Google Shopping

Google accepts the RSS 2.0 XML described above, and also text files. You give Merchant Center the feed URL and a fetch schedule. Our Google Shopping feed guide covers the specification, setup and common errors in detail. Titles matter more than most merchants expect: for Google we write them at 100 to 150 characters with the key information in the first 70, which is how our AI configs are set up. See product title optimisation for the method.

Bing and Microsoft Shopping

Microsoft’s documentation says Shopping feed files should be tab-delimited plain text, with XML accepted only when it is an existing Google-formatted XML file. In the text version each product is a row under a header row of attribute names, with each attribute in its own column.

In practice that means you can reuse a Google XML feed for Microsoft Merchant Center if it is already correct, or publish a separate tab-delimited version. Keeping a single clean source and generating each format from it is more reliable than editing two files by hand. Our feed format conversions exist for exactly this step.

Bing and Microsoft Shopping

Meta

Meta’s catalogue uses its own column names. A Google feed can be mapped across, and our page on converting a Google Shopping feed to a Facebook catalogue shows the field-by-field mapping. The Facebook catalogue feed template lists the columns Meta expects.

Swedish price comparison sites

PriceRunner’s Swedish merchant page says it accepts text/CSV, XML and JSON, but not Excel or other non-text formats, and recommends compressing large feeds with gzip or zip. The feed must be reachable over HTTPS or FTP, and a store that restricts access by IP address must allow PriceRunner’s addresses. It also recommends supporting the HTTP Last-Modified header so its systems can tell whether the feed has changed.

The practical point: the feed must live at a stable public URL. A file you email or upload manually goes stale within a day, and channels refresh several times a day.

Creating the feed from your shop platform

Most platforms can export a product file, and some build a feed with field selection. A typical route is:

  1. Export or connect the catalogue. Platform documentation, such as Nyehandel’s, notes that a feed can be CSV or XML and can list each product variant as its own row. Variants matter: Google wants each size and colour as a separate item with its own ID.
  2. Map your fields to the channel’s names. Your internal SKU, price and image URL fields must be mapped to the external field names the channel expects. Wrong mapping is the quiet cause of most rejections.
  3. Filter what you advertise. Out-of-stock lines, items with no image or products with low margin often should not go out. Our guide to product feed filtering explains the rules.
  4. Publish to a stable URL and register that URL in each channel’s console.
  5. Schedule rebuilds so price and stock changes reach the channel without manual work.

Textfinity reads catalogues from Shopify, WooCommerce, Magento, PrestaShop and BigCommerce, from a CSV, TSV or Google Shopping XML export, or from a Google Sheet. It then maps, filters and publishes one feed per channel and market. If your source is a spreadsheet, the page on CSV to Google Shopping XML shows the mapping with a sample file. For the whole routine, from workflow to scheduling, see our guide to product feed management.

Fixing missing attributes and rejected products

When products are rejected or held back, the cause is usually a gap in the source data: no brand, no GTIN (the barcode number), a price that differs from the product page, a weak title or an image that breaks the channel’s rules. Both Google Merchant Center and Microsoft Merchant Center report these in their diagnostics or issues views, so the work is to read the list, group the items by cause and fix the cause once.

A workable order:

  • Group by reason, not by product. A hundred rejected items often share one missing attribute.
  • Fix it at the source. Add the attribute to your catalogue, or fill it with a rule in the feed. Editing in the channel console is overwritten at the next fetch.
  • Check price and availability match the landing page. Mismatches are a common reason for items to be refused.
  • Rebuild and refetch, then confirm the count in the channel has recovered.

Catalogue data quality is a wider problem than feeds alone. Work on product tagging and catalogue data helps shop search and listings alike, because both depend on complete attributes.

Where we take work off your hands: Textfinity’s AI configs can rewrite titles and descriptions to each channel’s rules, and every proposal goes through a review step before any text reaches a feed. Our Google Shopping feed optimisation checklist sets out the priorities in order.

Selling in more than one country

A Swedish store that also sells in Norway, Denmark, Finland or Germany needs a feed per market, not one file with the language swapped. Check these points:

  • Currency. Microsoft’s guide says a feed for additional countries must include those countries’ currencies using ISO 4217 symbols, such as SEK, NOK, DKK and EUR. Country and currency have to agree, or the item is wrong for that market.
  • Language. Titles and descriptions should be in the shopper’s language. Textfinity translates them into 25 European languages, with a review step before publishing. See our guide to product feed translation by market.
  • Unique IDs per market. If the same SKU appears in two country feeds, keep the setup consistent so the channel does not treat them as conflicting.
  • Freshness. PriceRunner says it updates store feeds several times a day and asks stores to keep prices and product data current. A scheduled rebuild handles this.
  • Local rules. If you also sell to the UK, see our page on the UK Google Shopping feed for GBP, VAT and local requirements.

For an EU store, where the data sits matters too. Textfinity processes on German infrastructure and pins its AI models to EU-hosted endpoints, so product data stays in the EU.

Doing this across many stores

Agencies and in-house teams running several stores face the same job repeated: one source, many channels, many markets. The value is in a per-client set-up where each client’s rules are kept apart. Our page on feed management for agencies describes it. If you are comparing tools, what to look for in feed management software sets out the criteria.

Getting your feed live

Plans start at $4.99 a month for Basic ($49.90 a year), with Standard at $9.99 a month ($99.90 a year) and Premium at $14.99 a month ($149.90 a year). There is also a Free plan. Details are on the pricing section. If you would rather not build it yourself, have us set it up: you send the store and the channels, and we connect the catalogue, build the feeds and register them with you in each channel’s console.

FAQ

What is an XML product feed used for?

It supplies product data to advertising channels and comparison sites. Each channel fetches the file from a URL and turns the entries into shopping ads or listings, so prices and stock stay in step with your shop.

Does Bing Shopping accept an XML feed?

Microsoft says its preferred feed is a tab-delimited text file, and that XML is accepted when it is an existing Google-formatted XML file. A correct Google feed can therefore be reused, or you can publish a text version from the same source data.

What currency should a multi-country feed use?

Use the currency of each target market, written as an ISO 4217 code such as SEK, NOK or EUR. Microsoft’s guide requires the relevant currency for every country you add, so build one feed per market.

Why do XML feeds fail even when the file looks right?

The usual causes are a missing g: namespace declaration, fields mapped to the wrong names, and missing attributes such as brand or identifiers. Fix them at the source and rebuild, rather than editing items inside the channel.

Sources