show_info_from_xml: Get tv episode information from XML

Description Usage Arguments Value Author(s) See Also Examples

Description

Given an XML show from xml_shows_from_myepisodes_feed in the format of individual items in MyEpisodes feeds, returns a list for a given show containing show_name, season, ep, ep_title, and date_aired.

Usage

1
  show_info_from_xml(xml_show)

Arguments

xml_show

XMLNode of "item" child from MyEpisodes feed

Value

list for individual show

Author(s)

Matt Malin <email@mattmalin.co.uk>

See Also

xml_shows_from_myepisodes_feed, myepisodes_feed_url, shows_from_myepisodes_feed

Examples

1
2
3
mock_feed_url <- file.path(system.file(package = "myepisodes"), "test_data/mock_mylist.xml")
  xml_shows <- xml_shows_from_myepisodes_feed(mock_feed_url)
  show_info_from_xml(xml_shows[[1]])

myepisodes documentation built on May 2, 2019, 3:38 p.m.