{"id":14749,"library":"node-red-node-feedparser","title":"Node-RED Feedparser Node","description":"This package provides a Node-RED node, `node-red-node-feedparser`, designed to monitor and parse RSS and Atom feeds. It is currently at version 1.0.5 and is part of the official Node-RED nodes collection, suggesting an active maintenance schedule tied to Node-RED's own releases. The node differentiates itself by integrating directly into Node-RED flows, allowing users to easily consume and process feed data within a visual programming environment without writing custom parsing logic. It handles the polling of feeds at configurable intervals and outputs structured data for each article, including title, description, link, and a complete article object. A key change in version 1.0 involved a rewrite to remove the deprecated `request` library and switch to a new parsing engine, resulting in changes to the output data structure.","status":"active","version":"1.0.5","language":"javascript","source_language":"en","source_url":"https://github.com/node-red/node-red-nodes","tags":["javascript","node-red","atom","rss","feed"],"install":[{"cmd":"npm install node-red-node-feedparser","lang":"bash","label":"npm"},{"cmd":"yarn add node-red-node-feedparser","lang":"bash","label":"yarn"},{"cmd":"pnpm add node-red-node-feedparser","lang":"bash","label":"pnpm"}],"dependencies":[{"reason":"This package is a Node-RED node and requires the Node-RED runtime environment to function.","package":"node-red","optional":false}],"imports":[],"quickstart":{"code":"npm install node-red-node-feedparser\n\n# After installation, restart Node-RED and open the editor (e.g., http://localhost:1880).\n# Drag the 'feedparser' node from the palette onto your flow.\n# Configure it by setting a 'Feed URL' and an 'Interval' (e.g., 15 minutes).\n# Connect the node's output to a 'debug' node (configured to display 'complete msg object')\n# to observe the parsed feed articles in the debug sidebar.","lang":"javascript","description":"Installs the Node-RED feedparser node and outlines the steps to add, configure, and debug its output within the Node-RED flow editor to start parsing RSS/Atom feeds."},"warnings":[{"fix":"Review the output of the updated `feedparser` node by connecting it to a debug node. Adjust downstream nodes in your flow (e.g., `change` nodes, `function` nodes) to correctly reference the new property paths (e.g., `msg.article.title` instead of a previous path, if it changed).","message":"The node was re-written in v1.0, removing the deprecated `request` library and adopting a new parsing library. This change alters the structure and properties of the returned data (`msg.topic`, `msg.payload`, `msg.link`, `msg.article`), requiring users to update their flows to accommodate the new output format.","severity":"breaking","affected_versions":">=1.0.0"},{"fix":"Ensure your configured polling interval in the node settings does not exceed 35790 minutes (24.8 days) if you require very infrequent updates. For longer periods, consider external scheduling or manual triggers.","message":"The refresh interval for polling feeds is capped at 35790 minutes (approximately 24.8 days). Attempting to set an interval higher than this limit will likely result in the node defaulting to the maximum or exhibiting unexpected behavior.","severity":"gotcha","affected_versions":">=0.1.0"},{"fix":"Be aware of the 'Return single object' checkbox in the node's configuration. If selected, access article data directly from the raw response object, which may require inspecting its structure with a debug node. If you need individual article properties like title and description, ensure this option is deselected.","message":"When the node is configured to 'return a single object', the output properties differ significantly from the default 'return each article' mode. In single object mode, the complete original response from the parsing library is returned, which may not contain `msg.topic`, `msg.payload`, or `msg.link` as top-level properties.","severity":"gotcha","affected_versions":">=1.0.0"}],"env_vars":null,"last_verified":"2026-04-19T00:00:00.000Z","next_check":"2026-07-18T00:00:00.000Z","problems":[{"error":"Error: ETIMEDOUT"},{"fix":"Verify the feed URL is correct and reachable from where Node-RED is running. Check network connectivity and proxy settings if applicable. Ensure the feed server is operational.","cause":"The configured RSS/Atom feed URL is inaccessible, incorrect, or the Node-RED instance lacks internet connectivity.","error":"Error: getaddrinfo ENOTFOUND"},{"error":"TypeError: Cannot read properties of undefined (reading 'title')"},{"fix":"Inspect the exact output of the `feedparser` node using a debug node configured to display 'complete msg object'. Adjust your function or change nodes to correctly reference the available properties, considering the output differences for 'Return single object' mode or the v1.0 breaking changes.","cause":"A downstream node is attempting to access a property (e.g., `msg.payload.title` or `msg.article.title`) that does not exist on the incoming message object, often due to changes in the feedparser's output format (especially post-v1.0) or incorrect 'Return single object' setting.","error":"TypeError: Cannot read properties of null (reading 'description')"}],"ecosystem":"npm"}