Read a feed
read_feedReads RSS, Atom, or JSON Feed items from a URL or feed text, returning structured data with titles, links, dates, and content.
Instructions
Read a feed's items: RSS, Atom or JSON Feed.
url_or_text: an http(s) URL of a feed -- or of a page that declares one, which is followed to it -- or the feed itself. limit: the most items answered, 1 to 500; items_total says how many the feed holds.
Returns {"ok", "url", "format", "title", "link", "description", "items", "items_total"}, each item {"title", "link", "id", "published", "updated", "summary", "content", "authors", "categories", "enclosures", "normalised"}, dates in normalised as ISO 8601. What is not a feed, and declares none, is bad_input. Items that would make the answer weigh over 75,000 bytes are left out, counted in items_left_out; fetch_page reads the whole feed in slices.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | the most items answered, 1 to 500; items_total says how many the feed holds. | |
| url_or_text | Yes | an http(s) URL of a feed -- or of a page that declares one, which is followed to it -- or the feed itself. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | ||
| url | No | ||
| link | No | ||
| error | No | ||
| fetch | No | ||
| items | No | ||
| title | No | ||
| format | No | ||
| updated | No | ||
| language | No | ||
| description | No | ||
| items_total | No | ||
| items_left_out | No |