Skip to main content

A plug-in for devpi-server which generates RSS feeds for indices.

Project description

devpi-rss is a plug-in for devpi-server which generates RSS feeds for devpi indices.

Screenshot

Requirements

devpi-server >= 2.2.2
devpi-web >= 2.4.0

Installation

pip install devpi-rss

When the devpi-server gets started without a custom theme (without passing the --theme parameter), then no further configuration is required, since devpi-rss overwrites the templates/macro.pt of the default theme in order to make the RSS button visible. If you use a custom theme, then you have to manually apply the content of devpi-rss/templates/macro.pt into your theme.

Usage

By default every single index generates its own RSS feed, but an RSS feed can be activated or deactivated by modifying the regarding index property:

devpi-server index someuser/someindex rss_active=True

or

devpi-server index someuser/someindex rss_active=False

Additional devpi-server commandline options:

--rss-max-items RSS_MAX_ITEMS
                      maximum number of stored feed items [50]
--rss-truncate-desc   do not let descriptions exceed 32 lines or 1024
                      characters
--rss-no-auto         do not automatically activate rss for new indices

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

devpi-rss-1.0.4.tar.gz (4.7 kB view hashes)

Uploaded Source

Built Distribution

devpi_rss-1.0.4-py2.py3-none-any.whl (6.9 kB view hashes)

Uploaded Python 2 Python 3

Supported by

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