Install

Works with Drupal: ^9 || ^10 || ^11

Using Composer to manage Drupal site dependencies

Alternative installation files

Download tar.gz 68.23 KB
MD5: 1a6bb96fe2f5f82a98d54f689b7321a9
SHA-1: 200e3d82c4803ce812057e591995289571338ab6
SHA-256: d094f12fd6d869fb82ef6377467bb60dcc4b51f33ab38fedcaaa854e8863858d
Download zip 97.76 KB
MD5: 91bab94d45205a73b87c516e64dc8771
SHA-1: c209eb6e78c9be20ae0bc868167ccfb685949938
SHA-256: 69074249116a2cb21457de8e70d0b62a468adbbfdf0642ff704ccdede0bfbc17

Release notes

Metadata Hex (Heap EXport) is a Drupal module that facilitates metadata extraction, processing, and association with Drupal entities, particularly nodes and files. It supports structured metadata ingestion from PDFs and other file formats, mapping extracted values to Drupal fields dynamically.

Feature List

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 newly inserted nodes via `hook_node_insert()`.
  • Supports dynamic file ingestion and categorization.

✅ Configurable Mappings

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

✅ Batch Processing

  • Enables bulk metadata extraction and node updates.
  • Allows processing of entire directories of files and attaching them to nodes.

✅ Admin Configuration Panel

  • Fully configurable settings via **Configuration → Metadata Hex** (`/admin/config/metadata_hex`).
  • Options for customizing metadata extraction, node processing, and file ingestion.

Installation & Configuration

  1. Install the module via Drupal’s Extend menu or using `composer require drupal/metadata_hex`.
  2. Navigate to **Configuration → Metadata Hex Settings** (`/admin/config/metadata_hex`).
  3. Configure metadata extraction rules, field mappings, and processing options.
  4. (Optional) Run batch processing manually for existing files.

Known Issues & Limitations

⚠️ Limited File Type Support
- Currently supports PDFs and Markdown; additional file handlers coming soon.

⚠️ Batch Processing Considerations
- Large metadata processing batches may require additional server resources.

Created by: davidbelich
Created on: 16 Mar 2025 at 21:52 UTC
Last updated: 16 Mar 2025 at 21:52 UTC
New features

Other releases