Skip to main content

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


Download files

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

Source Distribution

netbox_sanitize_rss-1.0.1.tar.gz (3.3 kB view details)

Uploaded Source

Built Distribution

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

netbox_sanitize_rss-1.0.1-py3-none-any.whl (5.1 kB view details)

Uploaded Python 3

File details

Details for the file netbox_sanitize_rss-1.0.1.tar.gz.

File metadata

  • Download URL: netbox_sanitize_rss-1.0.1.tar.gz
  • Upload date:
  • Size: 3.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.24 {"installer":{"name":"uv","version":"0.11.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

Hashes for netbox_sanitize_rss-1.0.1.tar.gz
Algorithm Hash digest
SHA256 00cd81fa6697c7feed7284cd352bd33109ae150df870f282901f97d8b00882f9
MD5 30963ad6c537f3268cd677921bc690b0
BLAKE2b-256 89c954e40bd1fe946704160f086bbb31949fd038d33f4dbf9eb7fc94483245e8

See more details on using hashes here.

File details

Details for the file netbox_sanitize_rss-1.0.1-py3-none-any.whl.

File metadata

  • Download URL: netbox_sanitize_rss-1.0.1-py3-none-any.whl
  • Upload date:
  • Size: 5.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.24 {"installer":{"name":"uv","version":"0.11.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

Hashes for netbox_sanitize_rss-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 12ea0e6afafee63fa3d8bf21cd983e09852074dfbc330b377f612fb898ec15a2
MD5 b784bdc51f5f0d9f2694488b2eb577df
BLAKE2b-256 8c6881c95f7049b722ef2235c4eb1e6bd392e279045167c1276c972983563513

See more details on using hashes here.

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