# Reading rss feeds

**URL:** <https://discourse.nodered.org/t/reading-rss-feeds/4554>\
**Category:** General\
**Created:** [4 November 2018 15:18 UTC](https://discourse.nodered.org/t/reading-rss-feeds/4554 "2018-11-04T15:18:41Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![jay2068](https://avatars.discourse-cdn.com/v4/letter/j/779978/32.png) [@jay2068](https://discourse.nodered.org/u/jay2068)\
**Post date:** [4 November 2018 15:18 UTC](https://discourse.nodered.org/t/reading-rss-feeds/4554/1 "2018-11-04T15:18:41Z")

</div>

Trying to read in some rss feeds but not sure on how to get the data to a HTML table.

when the feedparser runs it outputs multiple payloads. How do I aggregate them to put into an array to loop them so I can extract the title and the url?

Any help is appreciated. Thanks!

---

<div class="post-metadata">

**Author:** ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)\
**Post date:** [4 November 2018 15:44 UTC](https://discourse.nodered.org/t/reading-rss-feeds/4554/2 "2018-11-04T15:44:45Z")

</div>

You can use a Join node to combine payloads into an array, but you would need some way of knowing when the end of the sequence had arrived. The node has a number of options for that.  
Could you not just handle them as they arrive rather than build an array and then loop through the array? If you do that you are combining them together then taking them apart again in the loop.

---

<div class="post-metadata">

**Author:** ![jay2068](https://avatars.discourse-cdn.com/v4/letter/j/779978/32.png) [@jay2068](https://discourse.nodered.org/u/jay2068)\
**Post date:** [4 November 2018 23:51 UTC](https://discourse.nodered.org/t/reading-rss-feeds/4554/3 "2018-11-04T23:51:31Z")

</div>

What I'm trying to do is have a one line title of the feed at the bottom of my dashboard. So I want create the html that will have the latest 5 feeds in it. I try the join and see what that gets me. Otherwise right now I just put them all to a MySQL database then read the database. But that seemed like more effort and not good coding 🙂

---

<div class="post-metadata">

**Author:** ![knolleary](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/knolleary/32/3_2.png) [@knolleary](https://discourse.nodered.org/u/knolleary)\
**Post date:** [5 November 2018 07:16 UTC](https://discourse.nodered.org/t/reading-rss-feeds/4554/4 "2018-11-05T07:16:29Z")

</div>

If it isn't convenient having each entry in the feed as a separate message, you could use an HTTP Request node followed by an XML node to get the whole feed as a single message. Put an Inject node in front of that to trigger it every so often and you're done.

---

<div class="post-metadata">

**Author:** ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)\
**Post date:** [5 November 2018 09:13 UTC](https://discourse.nodered.org/t/reading-rss-feeds/4554/5 "2018-11-05T09:13:12Z")

</div>

The flow on this page might be helpful. You won't necessarily want to display it the same way but it will give you the data you want I think.

> [@Scrolling Text box on dashboard?](https://discourse.nodered.org/t/scrolling-text-box-on-dashboard/2788):
>
> Guys, Wondering if anyone knows a way to implement a scrolling text box in Dashboard ? Lets say something like 30 chars wide by 10 lines deep, everytime i add a new line it is added at the top and all other lines scroll down with the bottom line dropping off ? (of course it could work the other way also such as Tailing a Linux file etc) regards Craig

---

<div class="post-metadata">

**Author:** ![jay2068](https://avatars.discourse-cdn.com/v4/letter/j/779978/32.png) [@jay2068](https://discourse.nodered.org/u/jay2068)\
**Post date:** [5 November 2018 18:47 UTC](https://discourse.nodered.org/t/reading-rss-feeds/4554/6 "2018-11-05T18:47:53Z")

</div>

Thank you! I'll try this tonight.
