Overview
Fetches an RSS feed, gathers its entries into one text, and summarizes it.
This tutorial does not ship as an importable template. Build it manually by following the steps below. NodeTool has no RSS node, so the fetch is a
Codenode.
Demo
Workflow Steps
- Fetch feed (
nodetool.code.Code) - Callsfetch(url)on the feed URL and parses the XML withparsefrom@nodetool-ai/sandbox-xml. Read the entries fromfeed.rss.channel.itemand wrap a single entry with[].concat(x ?? []), because the parser returns one object for a one-item feed. Emit each entry’s title and description as one string. - Collect (
nodetool.control.Collect) - Gathers the streamed entries into a list. - Join (
nodetool.code.Code) - Joins the list into one string, because the Summarizer’stextinput takes a string. - Summarizer (
nodetool.agents.Summarizer) - Condenses the text with the language model you select.
Tags
rss, llm
Workflow Diagram
graph TD
fetch["Code (fetch and parse feed)"]
collect["Collect"]
join["Code (join)"]
summarizer["Summarizer"]
fetch --> collect
collect --> join
join --> summarizer