NetBox plugin to sanitize and render HTML from RSS feeds
Project description
NetBox Sanitize RSS
A NetBox plugin to sanitize and render HTML from RSS feeds using the nh3 library.
Compatibility
| NetBox Version | Plugin Version |
|---|---|
| 4.2 | 1.0.0 |
| 4.3 | 1.0.0 |
| 4.4 | 1.0.0 |
| 4.5 | 1.0.0 |
Installation
Install the plugin from PyPI:
pip install netbox-sanitize-rss
or by adding to your local_requirements.txt or plugin_requirements.txt (netbox-docker):
netbox-sanitize-rss
Enable the plugin in /opt/netbox/netbox/netbox/configuration.py,
or if you use netbox-docker, your /configuration/plugins.py file :
PLUGINS = [
"netbox_sanitize_rss",
]
Usage
Once installed and enabled, the plugin will automatically replace the RSSFeedWidget template with one that calls the sanitize_rss filter.
A safe subset of HTML tags are allowed. Links will have rel="noopener noreferrer" set.
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file netbox_sanitize_rss-1.0.0.tar.gz.
File metadata
- Download URL: netbox_sanitize_rss-1.0.0.tar.gz
- Upload date:
- Size: 3.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.9.24 {"installer":{"name":"uv","version":"0.9.24","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":null,"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6b257a8a4e3649b220822bc4af781fa2b3c6a678e3e98c3138f8dfb4e8784a4f
|
|
| MD5 |
f079571d45ceb0b647fc9a5d731b55bb
|
|
| BLAKE2b-256 |
4529c828166d2a274f3ca951d797437a6005253f872948148958f7360b101993
|
File details
Details for the file netbox_sanitize_rss-1.0.0-py3-none-any.whl.
File metadata
- Download URL: netbox_sanitize_rss-1.0.0-py3-none-any.whl
- Upload date:
- Size: 5.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.9.24 {"installer":{"name":"uv","version":"0.9.24","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":null,"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8751afb8ab533585387856a80cc153b5f572d169adbedbb1f3972289d4e41532
|
|
| MD5 |
9c31d26915c7db83d0efa8ae037e6197
|
|
| BLAKE2b-256 |
05030604e5206d19dcb4b3c3ab0004355fc78f81337584d2493c684ca5d5dd2e
|