steampipe plugin install rss

RSS

RSS Channel and Atom Feed content including descriptions, items, links and metadata.

Data for the different feed types is normalized into a common set of columns.

Installation

Download and install the latest rss plugin:

steampipe plugin install rss

Run a query

$ steampipe query
Welcome to Steampipe v0.2.2
For more information, type .help
> select title, link, description from rss_channel where feed_link = 'https://steampipe.io/blog/feed.xml'
+----------------+---------------------------+----------------------------------------+
| title | link | description |
+----------------+---------------------------+----------------------------------------+
| Steampipe Blog | https://steampipe.io/blog | Blog and Resource Center for Steampipe |
+----------------+---------------------------+----------------------------------------+

Postgres FDW

This plugin is available as a native Postgres FDW. Unlike Steampipe CLI, which ships with an embedded Postgres server instance, the Postgres FDW can be installed in any supported Postgres database version.

You can download the tarball for your platform from the Releases page, but it is simplest to install them with the steampipe_postgres_installer.sh script:

/bin/sh -c "$(curl -fsSL https://steampipe.io/install/postgres.sh)" -- rss

The installer will prompt you for the plugin name and version, download and install the appropriate files for your OS, system architecture, and Postgres version.

To configure the Postgres FDW, you will create an extension, foreign server, and schema and import the foreign schema.

CREATE EXTENSION IF NOT EXISTS steampipe_postgres_rss;
CREATE SERVER steampipe_rss FOREIGN DATA WRAPPER steampipe_postgres_rss OPTIONS (config '<your_config>');
CREATE SCHEMA rss;
IMPORT FOREIGN SCHEMA rss FROM SERVER steampipe_rss INTO rss;

SQLite Extension

This plugin is available as a SQLite Extension, making the tables available as SQLite virtual tables.

You can download the tarball for your platform from the Releases page, but it is simplest to install them with the steampipe_sqlite_installer.sh script:

/bin/sh -c "$(curl -fsSL https://steampipe.io/install/sqlite.sh)" -- rss

The installer will prompt you for the plugin name, version, and destination directory. It will then determine the OS and system architecture, and it will download and install the appropriate package.

To configure the SQLite extension, load the extension module and then run the steampipe_configure_rss function to configure it with plugin-specific options.

$ sqlite3
sqlite> .load ./steampipe_sqlite_extension_rss.so
sqlite> select steampipe_configure_rss('<your_config>');

Export

This plugin is available as a standalone Export CLI. Steampipe exporters are stand-alone binaries that allow you to extract data using Steampipe plugins without a database.

You can download the tarball for your platform from the Releases page, but it is simplest to install them with the steampipe_export_installer.sh script:

/bin/sh -c "$(curl -fsSL https://steampipe.io/install/export.sh)" -- rss

You can pass the configuration to the command with the --config argument:

steampipe_export_rss --config '<your_config>' <table_name>