Skip to main content

Pelican plugin that adds a footer to RSS/Atom feed items content.

Project description

Feed Content Footer: A Plugin for Pelican

Pelican plugin that adds a footer to RSS/Atom feed items content.

Website: https://tmb.codeberg.page/pelican-feed-content-footer/
Repository: https://git.boelz.eu/tmb/pelican-feed-content-footer/
Codeberg mirror: https://codeberg.org/tmb/pelican-feed-content-footer/

Installation

This plugin can be installed via:

$ python -m pip install pelican-feed-content-footer

As long as you have not explicitly added a PLUGINS setting to your Pelican settings file, then the newly-installed plugin should be automatically detected and enabled. Otherwise, you must add feed_content_footer to your existing PLUGINS list. For more information, please see the How to Use Plugins documentation.

Usage

Add the following to your settings file:

FEED_CONTENT_FOOTER

A string that will be appended to the content of every entry in your Atom feed and, if RSS_FEED_SUMMARY_ONLY is False, to the description of every item in your RSS feed inside a HTML footer tag.

Development

This package uses Poetry.

Run tests with all supported versions of Python and Pelican:

$ poetry run nox -rs test

Run linters:

$ poetry run nox -s lint

Run code coverage check:

$ poetry run nox -s coverage

License

This project is licensed under the AGPL-3.0 license.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pelican_feed_content_footer-1.0.tar.gz (17.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pelican_feed_content_footer-1.0-py3-none-any.whl (18.6 kB view details)

Uploaded Python 3

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page