getFeed: Get RSS/Atom feed data

Description Usage Arguments Examples

Description

Get data contained in an RSS or Atom feed. Supports the use of basic HTTP authentication (username:password) and returns a named list with two items: a header and a list of items. The contents of the items may vary based on specification used (RSS vs Atom as well as specific generator used to create the feed).

Usage

1
getFeed(feed, auth=NULL)

Arguments

feed

the path to the feed, beginning with http://, https://, or feed://. Alternately, the prefix may be ommitted

auth

an authentication string for basic HTTP authentication, in the format of username:password

Examples

1
  getFeed("http://feeds.feedburner.com/LatestActivityOnCrantastic")

noahhl/r-does-rss documentation built on May 23, 2019, 9:29 p.m.