Fetches RSS or Atom feeds and returns one row per article entry. The result includes feed and article metadata and can be passed directly to read_urls through its url column.

fetch_rss(feed_url)

Arguments

feed_url

Character vector of RSS or Atom feed URLs.

Value

A data.table with common discovery columns doc_id, url, title, published_at, source, language, and country, followed by RSS-specific feed and article metadata.

Examples

if (FALSE) { # \dontrun{
feeds <- subset(rss_politics, category == "polling")
items <- fetch_rss(feeds$url)
corpus <- read_urls(items)
} # }