Closed stevemoncada closed 7 years ago
the filter function for descriptions assumed that the metaArray would contain at least one description, which is not always the case. pull description in two steps to guard against sites missing descriptions in meta elements.
example: http://hosted.ap.org/dynamic/stories/A/APFN_US_TRUMP_IMMIGRATION_AROL-?SITE=AP
the filter function for descriptions assumed that the metaArray would contain at least one description, which is not always the case. pull description in two steps to guard against sites missing descriptions in meta elements.
example: http://hosted.ap.org/dynamic/stories/A/APFN_US_TRUMP_IMMIGRATION_AROL-?SITE=AP