Docs

feedTable

Fetches an RSS or Atom feed from a URL and returns it as a Table with article titles and dates.

Syntax

feedTable(url, maxArticles?)

Parameters

Return value

A Table object with two columns:

Predefined Feeds

The function includes shortcuts for popular news sources:

feedTable.hn(n)

Hacker News RSS feed.

feedTable.nyt(n)

New York Times World news RSS feed.

feedTable.guardian(n)

The Guardian International RSS feed.

Examples

// Get latest 10 articles from Hacker News
feedTable.hn(10)
(Table with 10 rows of HN articles)
// Custom RSS feed
let feed = feedTable("https://feeds.bbci.co.uk/news/rss.xml", 5)
feed.rows.length
5
// All articles from a feed
let allArticles = feedTable("https://example.com/feed.xml")
allArticles.rows[0][0].text
"Breaking News: Important Article Title"
// Sort by date (descending - newest first)
let recent = feedTable.guardian(20)
let sorted = recent.sortedBy(1, (a, b) => b - a)
sorted.rows[0][1]
2026-02-23T10:30:00.000Z

Notes

See also