Pelican plugin to export articles to other platforms.
Project description
pelican-export
pelican-export is a plugin into pelican that handles exporting of posts from pelican to other formats. Currently the following formats are supported:
- Wordpress
Installation
pelican-export requires python3.7 or above.
pip install pelican-export
Usage
As with any pelican plugin, the plugin should be included in the PLUGINS global variable in your pelicanconf.py. In addition, you should configure the exporter using the configure_exporter method exposed. Here's an example with WordPress:
# declare the plugin for pelican
PLUGINS = ["pelican-export"]
# configure the pelican_export itself
from pelican_export import configure_exporter
configure_exporter(export_type="wordpress", export_configuration={
"url": "http://example.com/xmlrpc.php",
"username": "foo",
"password": "bar",
})
Authoring an Exporter
See the exporter for the interface, and the initialization code for how to integrate it as an option.
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
File details
Details for the file pelican-export-0.1.2.tar.gz
.
File metadata
- Download URL: pelican-export-0.1.2.tar.gz
- Upload date:
- Size: 1.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.1.0 requests-toolbelt/0.9.1 tqdm/4.42.0 CPython/3.8.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7a17c110706b09d1638ff7c4b41ba69b1fb7e8b3c06a62acc52ca733431ef953 |
|
MD5 | ad7dc43e927b64923451da35ea11faef |
|
BLAKE2b-256 | f92da30019933acd6f817de62f05a32ef475a919b9c9cf6e434771a6bfaf627d |
File details
Details for the file pelican_export-0.1.2-py2.py3-none-any.whl
.
File metadata
- Download URL: pelican_export-0.1.2-py2.py3-none-any.whl
- Upload date:
- Size: 14.0 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.1.0 requests-toolbelt/0.9.1 tqdm/4.42.0 CPython/3.8.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | bb78bb0c4f5ae6b073313011753b53c2ba8a4493de767bc8f2aa24d9c9c891fb |
|
MD5 | be4f901e4208fa955778fa1092c2c51e |
|
BLAKE2b-256 | 991324773a4d6d73a8aeb5994e435dd79f79220e20df02bd592ac6a8f82cffa4 |