Drupal is a registered trademark of Dries Buytaert
drupal 11.3.7 Update released for Drupal core (11.3.7)! drupal 11.2.11 Update released for Drupal core (11.2.11)! drupal 10.6.7 Update released for Drupal core (10.6.7)! drupal 10.5.9 Update released for Drupal core (10.5.9)! cms 2.1.1 Update released for Drupal core (2.1.1)! drupal 11.3.6 Update released for Drupal core (11.3.6)! drupal 10.6.6 Update released for Drupal core (10.6.6)! cms 2.1.0 Update released for Drupal core (2.1.0)! bootstrap 8.x-3.40 Minor update available for theme bootstrap (8.x-3.40). menu_link_attributes 8.x-1.7 Minor update available for module menu_link_attributes (8.x-1.7). eca 3.1.1 Minor update available for module eca (3.1.1). layout_paragraphs 2.1.3 Minor update available for module layout_paragraphs (2.1.3). ai 1.3.3 Minor update available for module ai (1.3.3). ai 1.2.14 Minor update available for module ai (1.2.14). node_revision_delete 2.0.3 Minor update available for module node_revision_delete (2.0.3). moderated_content_bulk_publish 2.0.52 Minor update available for module moderated_content_bulk_publish (2.0.52). klaro 3.0.10 Minor update available for module klaro (3.0.10). klaro 3.0.9 Minor update available for module klaro (3.0.9). layout_paragraphs 2.1.2 Minor update available for module layout_paragraphs (2.1.2). geofield_map 11.1.8 Minor update available for module geofield_map (11.1.8).

metadata_hex

1 sites No security coverage
View on drupal.org

Metadata Hex

Introduction

Metadata Hex is a powerful Drupal module that automates metadata extraction, processing, and mapping for nodes and files. It supports structured metadata ingestion from PDFs and Markdown, dynamically associating extracted values with Drupal fields. This module streamlines content management by automating metadata handling, ensuring data consistency, and reducing manual input.

Features

✅ Automated Metadata Extraction

  • Extracts metadata from PDFs using Smalot\PdfParser.
  • Extracts metadata from Markdown using Symfony\Yaml.
  • Future support for additional file types via plugin-based handlers.

✅ Node & File Processing

  • Automatically processes nodes upon insertion via hook_node_insert().
  • Dynamically ingests and categorizes uploaded files.

✅ Configurable Mappings

  • Maps extracted metadata to Drupal entity fields.
  • Provides strict handling and data protection options.

✅ Batch Processing

  • Supports bulk metadata extraction and node updates.
  • Allows processing of entire directories and file attachments.

✅ Admin Configuration

  • Fully manageable from the Drupal admin panel at /admin/config/metadata_hex.

Post-Installation

After installing the module:

  1. Navigate to Configuration → Metadata Hex Settings (/admin/config/metadata_hex).
  2. Configure metadata extraction rules, including:
    • Node Processing: Enable automatic extraction for specific content types.
    • File Ingestion: Define monitored directories and metadata mappings.
    • Strict Handling: Enforce metadata validation rules.
  3. New nodes of configured types will automatically have their metadata extracted and assigned.
  4. To manually process files, run batch processing via the admin panel or Drush.

Additional Requirements

Drupal Core (latest version recommended).
PHP Libraries:
* Smalot\PdfParser (for PDF metadata extraction).
* Symfony\Yaml (for Markdown metadata parsing).

Supporting this Module

If you find Metadata Hex useful, consider supporting its development:
 ☕ Buy Me a Coffee

Community Documentation

For additional resources, walkthroughs, and external documentation, visit:

  • GitHub Repository: Metadata Hex
  • Module Documentation: Metadata Hex Docs

Activity

Total releases
6
First release
Mar 2025
Latest release
2 weeks ago
Release cadence
76 days
Stability
100% stable

Release Timeline

Releases

Version Type Release date
1.0.5 Stable Apr 1, 2026
1.0.4 Stable Mar 30, 2026
1.0.3 Stable Mar 27, 2026
1.0.2 Stable Oct 21, 2025
1.0.1 Stable Mar 17, 2025
1.0.0 Stable Mar 16, 2025