RobertMyles / tidyRSS

An R package for extracting 'tidy' data frames from RSS, Atom and JSON feeds
https://robertmyles.github.io/tidyRSS/
Other
82 stars 20 forks source link

"evaluation failed" for RSS from Austria #11

Closed mbflex closed 6 years ago

mbflex commented 6 years ago

library(tidyRSS) rss <- tidyfeed("http://derStandard.at/?page=rss&ressort=Newsroom")

results in many error messages: 'xmlXPathEval: evaluation failed'

RobertMyles commented 6 years ago

Hi, these are warnings and not errors as such. tidyRSS() is searching for parameters (such as "author") that may or not exist in the feed, if they don't exist, you get this message. I've been meaning to clean it up, will try in a future release. It's something to do with xml2, the usual suppressWarnings() don't work.