Fetches an RSS or Atom feed from a URL and returns it as a Table with article titles and dates.
feedTable(url, maxArticles?)
url
A string containing the URL of the RSS or Atom feed to fetch.
maxArticles optional
The maximum number of articles to include in the table. If not specified or 0, all articles are included.
A Table object with two columns:
Link objectsDate objectsThe function includes shortcuts for popular news sources:
Hacker News RSS feed.
New York Times World news RSS feed.
The Guardian International RSS feed.
// 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
Date objects