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.
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
1.0.9
fix for python3.4 (thx to kelnmaari)
1.0.8
fix xml declaration (‘utf-8’ instead of ‘utf8’)
1.0.7
fix callback signature (projectname -> project) (required for recent pluggy version)
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
Built Distribution
File details
Details for the file devpi-rss-1.0.9.tar.gz
.
File metadata
- Download URL: devpi-rss-1.0.9.tar.gz
- Upload date:
- Size: 5.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: Python-urllib/2.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 485f8efe1158a7bf1cf8c058097bbe6cf50cf88878db4b2b685b04b6ab718a00 |
|
MD5 | 23f1c7d1084de5b8fd63f5e344794466 |
|
BLAKE2b-256 | 8bdb28210d5606cec5b8d2e317cd078f37efd53042a78729bb371b9d8ff07e37 |
File details
Details for the file devpi_rss-1.0.9-py2.py3-none-any.whl
.
File metadata
- Download URL: devpi_rss-1.0.9-py2.py3-none-any.whl
- Upload date:
- Size: 7.9 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: Python-urllib/2.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | fc1b65dc87a542790b0d867f6b9e596e01b1eb52821fcbe7b949b7aa888a1815 |
|
MD5 | da08ea1bdb1b6d6ba7c98e4c7c19ee69 |
|
BLAKE2b-256 | de2481f92b55f5494d36d531fb4668d95efc612664cb1e6cf35e4e258fc62cf6 |