A laptop shows an online shop whose catalog a Droptica product feed can send.

Feeds and syndication of content and data from Drupal

When a product page changes but its feed stays stale, downstream systems can keep using yesterday’s price, availability, or description. A Drupal product feed built from the same entities as your pages reduces duplicate work and gives your team a clearer path from publishing to delivery.

That matters when shopping platforms, partner catalogs, and AI-powered services consume your data. They need consistent facts, not separate copies that someone has to reconcile by hand.

Drupal provides the building blocks: structured entities, Views, validation, queues, and caching. The implementation connects them so changes reach consumers on time and failures get someone’s attention. Publishing a feed alone does not guarantee that AI assistants will discover or use it.

In this article:

How do you keep product identifiers consistent?

Stable identifiers help receiving systems update an existing record instead of creating duplicates. Set this rule at the start of the project.

Start by deciding what one feed record represents. Is it a product family, such as a jacket, or a purchasable variation, such as that jacket in blue, size medium? A consumer that tracks price and stock at variation level usually needs variation-level records. A product-level identifier can still connect those records as a group.

Store the feed identifier on the relevant Drupal entity. A SKU can work when it stays unique and permanent within the consumer’s scope. If your business reuses SKUs or changes them during catalog reorganizations, a separate immutable feed identifier is safer.

Enforce this in the content model, rather than asking editors to spot mistakes:

  • Validate that eligible records have an identifier.
  • Check uniqueness within the agreed scope.
  • Restrict or control changes after an identifier has entered a live feed.
  • Run the same checks during imports and integration updates.

For concurrent imports, application validation alone may leave room for duplicate writes. Where the storage model allows it, a database uniqueness constraint provides another safeguard.

Define translation and regional rules too. A consumer may expect one stable product ID in separate language feeds, or a distinct record key for each product, language, and market combination. Document that choice before generating exports.

Titles and URLs belong in the feed, but they make poor identifiers because they change. Retired products also need a clear removal rule, and their identifiers should remain reserved rather than quietly moving to unrelated items.

How do you generate a feed from a Drupal View?

Using the same entities for pages and feeds saves editors from maintaining a separate source of product data. It also makes discrepancies easier to detect: both outputs trace back to the same source.

Build a View over the entity type that matches your record definition. For Drupal Commerce, that may mean product variations with relationships to parent products. For a catalog without checkout, a structured content type or custom entity may be enough.

Set explicit filters for publication status, language, and feed eligibility. If variations depend on a parent product’s publication state, account for that relationship too.

A starting field map could look like this:

Feed field Drupal source Export rule
id Stored feed identifier Export unchanged as a string
title Entity label or designated variation title Use the selected feed language
description Product description field Convert markup to the consumer’s accepted format
link Canonical product or variation landing URL Generate an absolute URL for the correct public domain
image_link Referenced media image Resolve to a publicly accessible absolute image URL
price Authoritative price source Apply the agreed market and tax context
currency Currency associated with the price Use the consumer’s required currency code
availability Authoritative stock or availability service Map internal states to accepted consumer values

Treat these as mapping examples, not universal Drupal field names.

Price deserves particular care. A stored price field may differ from the price a customer sees because of promotions, quantity rules, customer groups, taxes, or regional pricing. When those rules matter, use a custom export layer that resolves prices in a defined context. Exporting a raw field would give the consumer the wrong answer.

For suitable JSON output, enable core REST and Serialization and add a REST export display to the View. Configure the path, format, fields, and access settings. Contributed export modules or custom code may be needed for CSV, a specific XML schema, or a JSON structure the core display cannot produce directly.

Test the output with realistic records. Multiple images, taxonomy terms, or translations can multiply rows through relationships. Check for exactly one record per intended identifier.

Also test the endpoint as its actual consumer will access it. A public feed should expose only intended public data, with no draft revisions, restricted fields, or account-specific prices. Views permissions and entity access behavior need deliberate configuration and testing.

Which feed format does each consumer need?

Choose the format the receiving system supports. An easy-to-generate file is useful only if the consumer can ingest it correctly.

Consumer Possible format What to verify
Custom application or AI integration JSON Schema, authentication, pagination, and update behavior
Partner catalog importer CSV Headers, delimiters, quoting, encoding, and empty-value rules
Shopping channel XML, CSV, or another specified format Exact channel schema and submission requirements
News or article subscriber RSS or Atom Entry identifiers, timestamps, links, and update handling

RSS and Atom suit content syndication. They do not automatically satisfy a product catalog’s price, variation, and availability requirements.

The format is only part of the contract. Record required fields, data types, currency rules, timestamp conventions, and the meaning of missing values. An empty stock field could mean “unknown,” “unchanged,” or “unavailable,” depending on the importer. Those interpretations lead to very different outcomes.

For AI-powered consumers, a documented schema built from structured fields makes facts easier to interpret. It still needs a delivery route: an integration, a registered feed, or another mechanism the service actually supports. A publicly reachable JSON URL does not establish that connection by itself.

Keep the underlying Drupal data shared while maintaining consumer-specific mappings. If a breaking change becomes necessary, publish a new schema version and coordinate the switch with consumers rather than changing field meanings in place.

What will keep the feed fresh after publishing?

A shared source reduces duplication, but it does not guarantee timely delivery. Queues can stall. Cached files can linger. A consumer may import only once a day.

Define a measurable target: the maximum acceptable delay between a published change and its appearance in the delivered feed. For example, a team might choose a ten-minute target for ordinary catalog edits and a shorter target for withdrawals. Those are planning examples, not Drupal defaults.

Separate two clocks:

  • Publication to feed delivery: the delay your Drupal pipeline controls.
  • Feed delivery to consumer ingestion: the delay determined by the receiving system.

This distinction makes it possible to set realistic expectations about how current the data is.

Use entity lifecycle hooks or relevant integration events to enqueue work when a published record changes, enters publication, leaves publication, or gets deleted. Ensure workers read committed data, and preserve the identifier needed to report a deletion.

With Content Moderation, an editor can save a draft while the published version remains unchanged. The public feed should continue to use the published version until the new revision goes live.

Changes outside the product entity matter too. Replacing a referenced image, renaming an exported taxonomy term, or updating stock in an external system can change the feed without changing the product’s own modification timestamp. Track those dependencies and arrange for affected records to enter the queue.

Queue workers should handle retries safely. Processing the same update twice should produce the same final state, rather than duplicate records. Coalesce repeated updates where practical, and run a scheduled reconciliation job to catch missed events.

Coordinate page and feed cache invalidation, including any CDN. Drupal cache tags can help identify affected cached content, but static feed artifacts and external caches need their own refresh behavior.

Finally, define what will happen when the freshness target is missed. A descriptive text update may tolerate a delay. A withdrawn product may need an urgent removal path. A freshness promise needs both an alert and a response.

How do you validate exports and report errors?

Validation catches errors before they spread into partner catalogs and recommendation systems. Run it against the generated artifact, not just the source entities. Serialization and field mapping can introduce problems even when Drupal’s stored data is valid.

Check each record for:

  • Required fields and expected data types.
  • Valid, unique identifiers.
  • Absolute public URLs.
  • Correct price and currency formatting.
  • Accepted availability values.
  • Consumer-specific length, markup, and schema rules.

Then check the dataset as a whole. A file containing zero records may parse perfectly while representing a failed query. A sudden count drop or repeated variation IDs can reveal broken filters and relationships.

Compare counts with recent valid exports using thresholds your team agrees on. Planned catalog changes may explain a large difference, so the report needs enough context for someone to investigate.

Make errors actionable. An internal report should include the product identifier, affected field, failed rule, detection timestamp, and export run ID. Link to the Drupal edit form for staff who have permission to use it.

For example, “record SKU-123, field image_link: relative URL supplied; absolute URL required” gives an editor or developer somewhere to start. “Export failed” does not.

Keep this report separate from the public feed. Technical traces and internal edit links belong in access-controlled tools.

Agree on the release policy as well. Some consumers allow invalid records to be omitted; others need the entire export to pass. Omissions need visible counts and identifiers. They may also have removal consequences if the consumer treats every missing record as a deletion.

Retaining the last valid artifact can preserve service during a failure, but it also preserves its old facts. Use it only within the agreed freshness and withdrawal policy. Otherwise, a fallback can quietly keep a withdrawn product in circulation.

How do you deliver large feeds reliably?

Large exports work better as background jobs than as expensive operations triggered by every download. Generate the artifact once, validate it, and let consumers download the completed file.

Process records in bounded chunks to control memory and execution time. Use deterministic ordering, commonly by an immutable unique key. Keyset pagination can avoid some problems caused by offset-based queries when records change during generation.

Ordering alone does not create a consistent snapshot, though. If generation spans many updates, the finished file can combine old and new states. Choose a snapshot strategy that fits the catalog and storage model, such as staging export-ready values or pinning selected entity revisions. Referenced prices and stock need the same attention.

Keep internal processing separate from external delivery. A worker might process small batches while ultimately producing one file.

The consumer may accept:

  • One downloadable artifact.
  • Multiple files listed in a versioned manifest.
  • Paginated responses tied to a consistent dataset version.

Publish only after generation and validation finish. On suitable file storage, an atomic rename can switch the completed file into place. With object storage, upload a versioned artifact and switch the published pointer or manifest after it is ready. For multi-file exports, publish the manifest last.

Consumers should receive a complete old version or a complete new one, never a half-written file.

Where supported, use compression to reduce transfer size, checksums to verify integrity, and HTTP validators such as ETag or Last-Modified to avoid unnecessary downloads.

Incremental feeds can reduce work further, but they need explicit update and removal semantics. If a record simply disappears from a delta feed, the consumer may retain its old copy indefinitely. Use incremental delivery only when both sides can handle deletions, retries, and recovery from missed updates.

How will your team know a feed is broken?

A feed needs an owner and a few clear signals. Without them, the first warning may come from a customer looking at the wrong price.

Track the last successful generation and external delivery check, export duration, record count, validation failures, retry count, and age of the oldest queued update. Where the pipeline tracks changes individually, measure publication-to-delivery delay as well.

A recent generation timestamp is not proof of fresh content. A job could repeatedly export old data while a separate update queue remains stuck.

Check the delivery URL from outside Drupal, through the same CDN and access path the consumer uses. Confirm that the response:

  • Parses as the expected format.
  • Contains the expected schema or artifact version.
  • Matches the latest released export.
  • Meets the agreed freshness target.

An HTTP 200 response is not enough. It could contain an old artifact, an empty file, or even an HTML error page.

Alert on missed freshness targets, repeated job failures, unexpected empty exports, and delivery errors. Assign a responding team and give them a short recovery guide: where to inspect the queue, how to find validation errors, and how to regenerate or withdraw an artifact.

If the consumer provides import reports or rejection callbacks, bring those into monitoring too. Successful publication and successful ingestion are separate events.

Before launch, run an acceptance test:

  1. Publish a controlled product change and verify its exact value in the delivered feed within the target window.
  2. Save a draft-only change and confirm that it stays out of the public feed.
  3. Unpublish a test record and verify the consumer’s expected removal behavior.
  4. Deliberately fail a job in a controlled environment and confirm that the alert reaches its owner.
  5. Restore processing and check that retries recover without duplicate records.

These tests demonstrate the behavior your team will depend on during everyday work or when the catalog is under heavier load.

Ready to start?

Start with one existing feed. Trace a product from its Drupal fields through the mapping, publishing trigger, generated artifact, and receiving system. That review will help reveal where stale or missing records can enter the workflow.

If you’d like a second pair of eyes, talk with Droptica about reviewing that path. We’ll examine the field mapping, refresh behavior, and failure alerts with your team, then identify practical changes that will reduce manual checks and make feed problems easier to catch. That is one element of effective catalog data publishing from Drupal.

-