EAD XML Importer self-updates
Import and manage EAD XML data in WordPress.
by Hawaii Interactive Sàrl · github.com/hawaii-interactive-ch/ead-xml-importer
★ 0stars
0forks
Install
No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:
wp plugin install https://github.com/hawaii-interactive-ch/ead-xml-importer/archive/refs/heads/main.zipShips its own WordPress updater (Plugin Update Checker), so new versions show up under Dashboard → Updates.
EAD XML Importer for WordPress
WordPress plugin to import EAD (Encoded Archival Description) XML files into custom post types.
Features
- Import EAD XML files from URLs
- Convert EAD XML to custom post types
- Support for ACF repeater fields
- Fallback for non-ACF installations
- Automated imports via WP Cron
- Customizable field mappings
Requirements
- WordPress 5.0 or higher
- PHP 7.4 or higher
- Optional: Advanced Custom Fields Pro plugin
Installation
- Download the plugin zip file
- Upload to your WordPress site
- Activate the plugin
- Configure settings under Settings > EAD XML Importer
Usage
Manual Import
use EAD_XML_Importer\DataLoader;
// Create a new loader instance
$loader = new DataLoader('https://example.com/ead.xml');
// Convert XML to array/json
$data = $loader->convert();
// Import to custom post type
$loader->populateCustomPostType('archive');
// Show import results as HTML
$loader->htmlTable();
Automated Import
Configure your XML sources in the WordPress admin under Settings > EAD XML Importer.
Development
Building from Source
- Clone the repository
- Create a new branch for your feature
- Make your changes
- Test thoroughly
- Create a pull request
Contributing
- Fork the repository
- Create your feature branch
- Commit your changes
- Push to the branch
- Create a new Pull Request
Plugin Structure
ead-xml-importer/
├── admin/
│ ├── handlers/
│ │ └── data-handler.php
│ └── templates/
│ ├── admin-template.php
│ └── sections/
│ ├── ead-fetch.php
│ └── ead-settings.php
├── assets/
│ ├── css/
│ │ └── admin.css
│ └── js/
│ └── admin.js
├── includes/
│ ├── class-admin-page.php
│ ├── class-data-loader.php
│ ├── class-loader.php
│ └── class-logger.php
├── utils/
│ └── plugin-update-checker
├── languages/
├── logs/
├── index.php
├── ead-xml-importer.php
├── uninstall.php
├── README.md
└── readme.txt
License
GPLv2 or later