This project is not covered by Drupal’s security advisory policy.

When importing content, Feed Taxonomy Inject adds taxonomy terms from individual Feed entities.

Features

You may want to specify a Taxonomy Term per Feed entity, but still group these entities under the same Feed Type. This module allows you to:

  • define the Taxonomy at the Type level,
  • define the Taxonomy Term at the Feed level,
  • have your Feed content tagged automatically with this Term.

Post-Installation

Service configuration

Open Administration > Configuration > Services > Feed Taxonomy Inject, or visit:
/admin/config/services/feed-taxonomy-inject

The module has two settings.

Setting Default Purpose
Feeds mapping source name (source_key) taxonomy_inject_id Machine name of the custom source shown in the Feed Type mapping.
Feed taxonomy reference field (feed_field_name) field_feed_topics Machine name of the taxonomy reference field on Feed entities.

The configured field must exist on the Feed entity bundle(s) that use this source. It should reference taxonomy terms.

Configure a Feed Type

  1. Edit the Feed Type that will be shared by your Feed entities.
  2. Ensure the configured taxonomy reference field (by default field_feed_topics) exists on the Feed Type, so each Feed entity can store its own term selection.
  3. In the Feed Type mapping, add the custom source (by default taxonomy_inject_id).
  4. Map that source to the taxonomy reference field on the imported content (for example, field_topics).
  5. Configure the target field mapper to reference taxonomy terms by Term ID.

The target field name is not configured in this module: it is selected in the normal Feeds mapping.

Configure individual Feeds

For each Feed entity, select the taxonomy term in the configured Feed field (by default field_feed_topics).

When that Feed is imported, the module exposes the selected term ID as the configured mapping source. All items imported by that Feed can therefore receive that term through the mapping.

Different Feed entities can select different terms while using the same Feed Type.

Additional Requirements

  • Feeds 3.x (developed and tested with Feeds 3.2.0).
  • Schema Form 1.0 alpha (used to generate the module configuration form).

Similar projects

Feeds Tamper is an easier way to specify a Taxonomy Term to tag Feed content with, but does it at the Type level: all the Feeds of such a Type share the same Term.

Notes

  • If you change source_key, update the corresponding source selection in every affected Feed Type mapping.
  • If you change feed_field_name, make sure that field exists on the relevant Feed entity bundles.
  • The module does not create fields, vocabularies, Feed Types, or mappings.
  • The module currently exposes the selected term IDs; it does not create taxonomy terms.

Project information

  • caution Seeking new maintainer
    The current maintainers are looking for new people to take ownership.
  • caution Maintenance fixes only
    Considered feature-complete by its maintainers.
  • Project categories: Import and export
  • Ecosystem: Feeds
  • Created by bilbothehobbyist on , updated
  • shield alertThis project is not covered by the security advisory policy.
    Use at your own risk! It may have publicly disclosed vulnerabilities.

Releases