Import WordPress images into Wagtail
Project description
Wagtail WordPress Image Importer
A Django management command to import images from a WordPress XML export into Wagtail.
Installation
pip install wagtail-wordpress-image-importer
Configuration
Add to your INSTALLED_APPS in Django settings:
INSTALLED_APPS = [
...
'wagtail_wordpress_image_importer',
...
]
Usage
Export your WordPress content as XML from WordPress admin (Tools > Export).
Then run:
python manage.py import_wordpress_images /path/to/your/wordpress-export.xml
Options
--delete-existing: Delete all existing Wagtail images before importing--debug: Show detailed debug information during import
License
MIT License
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file wagtail_wordpress_image_importer-0.1.0.tar.gz.
File metadata
- Download URL: wagtail_wordpress_image_importer-0.1.0.tar.gz
- Upload date:
- Size: 6.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.12.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a15d361cbc1008862d2c5a957c9dc2f3a0c754c72b829b7aa803dda533d3ca6f
|
|
| MD5 |
6d39016f9404c7e91f7a32b0efdbb013
|
|
| BLAKE2b-256 |
ea3511680ffb7515945a409fe9be4215431a2b5266b1a2220b8859b5654c7c84
|
File details
Details for the file wagtail_wordpress_image_importer-0.1.0-py3-none-any.whl.
File metadata
- Download URL: wagtail_wordpress_image_importer-0.1.0-py3-none-any.whl
- Upload date:
- Size: 7.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.12.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9d69a0aa88709f219d6ab357e9a742125dce642d60553c4fbede000e616f58c9
|
|
| MD5 |
e3716ecbe512e4e93c7ed2136bbe6154
|
|
| BLAKE2b-256 |
8429390d2268b7926cffa31ed319684fb1cb462e26e51535371a661e9ecbb286
|