Skip to main content
Drupal is a registered trademark of Dries Buytaert
Release: Views Bootstrap 5.5.4 — Minor update available for module views_bootstrap (5.5.4). Release: Rightup theme 1.0.3 — Minor update available for theme vartheme_bs5_rightup (1.0.3). Release: CommentOn 1.0.6 — Minor update available for module commenton (1.0.6). Release: ChatGPT Ads 1.0.3 — Minor update available for module chatgpt_ads (1.0.3). Release: Opensolr Search 5.1.3 — Minor update available for module opensolr_search (5.1.3). Release: ServiceM8 Webform Integration 1.2.1 — Minor update available for module servicem8_webform (1.2.1). Release: PostfixAdmin 1.0.0 — Initial release available for module postfix_admin (1.0.0)! Release: ip_analyser 1.0.3 — Minor update available for module ip_analyser (1.0.3). Module Revived: Swagger-PHP OpenAPI 3 documentation generator 1.0.0 — Module swagger_php updated after 10 months of inactivity (1.0.0). Security Coverage: Microsoft Azure AI — Module ai_provider_azure now has official Drupal security advisory coverage.

Metatag Import Export CSV

Security covered

Part of the Metatag ecosystem · 12 projects

View on drupal.org

Introduction

MetaTag Import Export CSV can be used to import metatags form a CSV file or Export metatags to a CSV file. Module supports 4 fields which are provided by Metatag module.

Description

  • This module has two seperate forms for import and export.
  • Export - you can select the content type and a CSV file will be downloaded to Your System.
  • Import - Upload the CSV file and metatags will imported with success and error messages.
  • The CSV file may specify various fields:
    • entity_type: The type of the entity.
    • entity_id: The ID of the entity.
    • path_alias: The URL alias for the entity; may be used instead of the type and ID.
    • language: The translation of the entity to update.
    • field_machine_name: The name of the metatags field on the entity
    • Other fields are field name of tags.
  • Leave a cell empty if you dont want to change the value of that field.
  • Type "_blank" if you want to set a value of any field empty

Requirements

This module requires the following modules:

Installation & Use

Install as you would normally install a contributed Drupal module. See: https://www.drupal.org/docs/extending-drupal/installing-modules for further information.

Configuration

Configure user permissions in Administration >> People >> Permissions:

  • Metatag Import - Select the roles you want to give permission to import Metatags using the module.
  • Metatag Export - Select the roles you want to give permission to export Metatags using the module.

Form Page

  • Metatag-import - The form for metatag import can be accessed by going to /admin/config/search/metatag/upload
  • Metatag-export - The form for metatag export can be accessed by going to /admin/config/search/metatag/download

Limitations

  • By default on any node Metatags are created by default using Token module dynamically according to the body of the node. This module will not export those tags as they are generated according to the body and there is no entry of them in database. It will only export those Metatags which are not generated by token.

Drush

The Drupal 7 version of the module has support for Drush.

  • Metatag Export - drush metatag-export < type > (A file is created on the directory private:://metatag_import_export_csv).
  • Metatag Import - drush metatag-import < path to your CSV file>

Depends on

Dependencies of the latest stable release

No dependencies recorded for this project.

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
2
Tracked since
Apr 2023
Latest release
2 years ago
Releases (12 mo)
0
Maintenance
Slowing

Releases

Version Type Core Release date
8.x-1.3 Stable May 21, 2024
8.x-1.2 Stable Apr 6, 2023