node-red-contrib-rss
raw JSON → 0.1.6 verified Sat Apr 25 auth: no javascript
A Node-RED node that converts incoming message payloads (arrays of objects) into an RSS or Atom feed. Version 0.1.6 wraps the popular 'rss' npm package and maps feed- and item-level options from msg properties or node configuration. Useful for creating dynamic feeds within Node-RED flows. Limited release history. Simpler than full-featured feed generators but tightly integrated with Node-RED's message-based paradigm.
Common errors
error TypeError: Cannot read property 'feedOptions' of undefined ↓
cause Node configuration not properly initialized; missing feed options in settings.
fix
Double-click the rss node and ensure feed options (title, link, etc.) are filled in or mapped correctly.
error msg.payload is not iterable ↓
cause msg.payload is not an array.
fix
Use a function node to convert the payload to an array before sending to the rss node, e.g., msg.payload = [msg.payload]; return msg;
Warnings
gotcha msg.payload must be an array of objects; non-array payloads will cause the node to fail silently or produce invalid output. ↓
fix Ensure the input node outputs an array, or add a function node to transform data into the expected format.
gotcha Feed and item option mappings are taken from msg properties; if a property is missing the node may crash or omit the option. ↓
fix Verify that all required properties (e.g., title, description, url) are set on msg before the rss node.
gotcha The node uses the 'rss' npm package which has limited maintenance; may not support latest RSS/Atom standards. ↓
fix Consider switching to a more up-to-date RSS library if advanced features are needed.
Install
npm install node-red-contrib-rss yarn add node-red-contrib-rss pnpm add node-red-contrib-rss Imports
- RSS
Install via npm in Node-RED user directory; no explicit import required.
Quickstart
// No code example needed; the node is configured via Node-RED UI.
// 1. Install: cd ~/.node-red && npm i node-red-contrib-rss
// 2. Reload Node-RED.
// 3. Add an 'rss' node from the palette.
// 4. Connect an input node that outputs msg.payload (array of objects).
// 5. Configure feed options and item mappings in the node's settings.
// 6. Deploy. The node outputs a string RSS feed.