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.0.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.0-py3-none-any.whl (5.2 kB view details)

Uploaded Python 3

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

Hashes for netbox_sanitize_rss-1.0.0.tar.gz
Algorithm Hash digest
SHA256 6b257a8a4e3649b220822bc4af781fa2b3c6a678e3e98c3138f8dfb4e8784a4f
MD5 f079571d45ceb0b647fc9a5d731b55bb
BLAKE2b-256 4529c828166d2a274f3ca951d797437a6005253f872948148958f7360b101993

See more details on using hashes here.

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

Hashes for netbox_sanitize_rss-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 8751afb8ab533585387856a80cc153b5f572d169adbedbb1f3972289d4e41532
MD5 9c31d26915c7db83d0efa8ae037e6197
BLAKE2b-256 05030604e5206d19dcb4b3c3ab0004355fc78f81337584d2493c684ca5d5dd2e

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