RSS implemented and tested

This commit is contained in:
Bel LaPointe
2018-10-08 10:02:34 -06:00
parent 24e30a7eee
commit 49d95c150e
5 changed files with 212 additions and 48 deletions

2
rss/testdata/feed.xml vendored Executable file
View File

@@ -0,0 +1,2 @@
<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0"><channel><title>xkcd.com</title><link>https://xkcd.com/</link><description>xkcd.com: A webcomic of romance and math humor.</description><language>en</language><item><title>Bluetooth</title><link>https://xkcd.com/2055/</link><description>&lt;img src="https://imgs.xkcd.com/comics/bluetooth.png" title="Bluetooth is actually named for the tenth-century Viking king Harald &amp;quot;Bluetooth&amp;quot; Gormsson, but the protocol developed by Harald was a wireless charging standard unrelated to the modern Bluetooth except by name." alt="Bluetooth is actually named for the tenth-century Viking king Harald &amp;quot;Bluetooth&amp;quot; Gormsson, but the protocol developed by Harald was a wireless charging standard unrelated to the modern Bluetooth except by name." /&gt;</description><pubDate>Fri, 05 Oct 2018 04:00:00 -0000</pubDate><guid>https://xkcd.com/2055/</guid></item><item><title>Data Pipeline</title><link>https://xkcd.com/2054/</link><description>&lt;img src="https://imgs.xkcd.com/comics/data_pipeline.png" title="&amp;quot;Is the pipeline literally running from your laptop?&amp;quot; &amp;quot;Don't be silly, my laptop disconnects far too often to host a service we rely on. It's running on my phone.&amp;quot;" alt="&amp;quot;Is the pipeline literally running from your laptop?&amp;quot; &amp;quot;Don't be silly, my laptop disconnects far too often to host a service we rely on. It's running on my phone.&amp;quot;" /&gt;</description><pubDate>Wed, 03 Oct 2018 04:00:00 -0000</pubDate><guid>https://xkcd.com/2054/</guid></item><item><title>Incoming Calls</title><link>https://xkcd.com/2053/</link><description>&lt;img src="https://imgs.xkcd.com/comics/incoming_calls.png" title="I wonder if that friendly lady ever fixed the problem she was having with her headset." alt="I wonder if that friendly lady ever fixed the problem she was having with her headset." /&gt;</description><pubDate>Mon, 01 Oct 2018 04:00:00 -0000</pubDate><guid>https://xkcd.com/2053/</guid></item><item><title>Stanislav Petrov Day</title><link>https://xkcd.com/2052/</link><description>&lt;img src="https://imgs.xkcd.com/comics/stanislav_petrov_day.png" title="I was going to get you an alarm clock that occasionally goes off randomly in the middle of the night, but you can ignore it and go back to sleep and it's fine." alt="I was going to get you an alarm clock that occasionally goes off randomly in the middle of the night, but you can ignore it and go back to sleep and it's fine." /&gt;</description><pubDate>Fri, 28 Sep 2018 04:00:00 -0000</pubDate><guid>https://xkcd.com/2052/</guid></item></channel></rss>