Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

entry and items might not exist, default to an empty array #39

Merged
merged 1 commit into from
Jul 16, 2022

Conversation

JaredAAT
Copy link
Contributor

This fixes: #38 by defaulting the entry/item expected on channel to be an empty array if entry or item does not exist on channel as seen in an RSS feed like:

<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
  <channel>
    <title><![CDATA[Amazon API Gateway (London) Service Status]]></title>
    <link>http://status.aws.amazon.com/</link>
    <language>en-us</language>
    <lastBuildDate>Fri, 17 Dec 2021 00:05:40 PST</lastBuildDate>
    <generator>AWS Service Health Dashboard RSS Generator</generator>
    <description><![CDATA[Amazon API Gateway (London) Service Status]]></description>
    <ttl>5</ttl>
    <!-- You seem to care about knowing about your events, why not check out https://docs.aws.amazon.com/health/latest/ug/getting-started-api.html -->

	
  </channel>
</rss>

@nasa8x nasa8x merged commit 056b11a into nasa8x:master Jul 16, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Rss feed causing an error
2 participants