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
pelican-export-0.1.1.tar.gz
(1.9 kB
view hashes)
Built Distribution
Close
Hashes for pelican_export-0.1.1-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 593a0397611d405e69bc3d531635731ea4b11539e6551b9d967e78e604e76eda |
|
MD5 | 1751f228d35e9b7fe8b497b66ab4fbfc |
|
BLAKE2b-256 | 3a49c1c61609511200c250f0474978b3c64ed72683dfa2b45446641ca8cf9ab0 |