# Two RSS Feed in a RSS Feed email

**URL:** <https://community.hubspot.com/t/two-rss-feed-in-a-rss-feed-email/3570>\
**Category:** CMS Development\
**Created:** [October 13, 2017, 4:05pm UTC](https://community.hubspot.com/t/two-rss-feed-in-a-rss-feed-email/3570 "2017-10-13T16:05:46Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![ThibautMX](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/thibautmx/32/29572_2.png) [@ThibautMX](https://community.hubspot.com/u/ThibautMX)\
**Post date:** [October 13, 2017, 4:05pm UTC](https://community.hubspot.com/t/two-rss-feed-in-a-rss-feed-email/3570/1 "2017-10-13T16:05:46Z")

</div>

Hi,

I would like to know if there is an option to put two RSS Feed in an RSS Feed email if it´s possible to have two columns it will be awesome…

Is it possible?

Thank you very much

---

<div class="post-metadata">

**Author:** ![Jsum](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/jsum/32/20405_2.png) [@Jsum](https://community.hubspot.com/u/Jsum)\
**Post date:** [October 15, 2017, 12:22pm UTC](https://community.hubspot.com/t/two-rss-feed-in-a-rss-feed-email/3570/2 "2017-10-15T12:22:34Z")

</div>

@ThibautMX,

Sorry, my original post was for someone else.

Yes this is possible. I always suggest using HubL functions for RSS feeds because they allow for more control.

if it is two feed for 2 different blogs:

```auto
{% set rec_posts = blog_recent_posts('blog 1', 5) %}
{% for rec_post in rec_posts %}
 <div class="post-title">{{ rec_post.name }}</div>
{% endfor %}

{% set rec_posts = blog_recent_posts('blog 2', 5) %}
{% for rec_post in rec_posts %}
 <div class="post-title">{{ rec_post.name }}</div>
{% endfor %}

```

where blog 1 and blog 2 represent the blog id for 2 different blogs

for the same blog but two different topics:

```auto
{% set topic_posts = blog_recent_topic_posts('default', 'topic 1', 5) %}
{% for topic_post in topic_posts %}
 <div class="post-title">{{ topic_post.name }}</div>
{% endfor %}

{% set topic_posts = blog_recent_topic_posts('default', 'topic 2', 5) %}
{% for topic_post in topic_posts %}
 <div class="post-title">{{ topic_post.name }}</div>
{% endfor %}

```

Where topic 1 and topic 2 represent 2 different but available topics from your default blog

in both of these examples the 2 functions work independently. you can put them each in their own or custom html modules. Edit the html in the for loops to be structured how you would like it to appear in the email, and style with inline css or css in the head of your email.

---

<div class="post-metadata">

**Author:** ![pixelparlordev](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/pixelparlordev/32/14727_2.png) [@pixelparlordev](https://community.hubspot.com/u/pixelparlordev)\
**Post date:** [February 20, 2018, 9:49pm UTC](https://community.hubspot.com/t/two-rss-feed-in-a-rss-feed-email/3570/3 "2018-02-20T21:49:36Z")

</div>

I am wondering if I am looking in the right place here. I just want to show the most recent post per category, for two categories in each email template for hubspot, coming from wordpress. This seems like one of those ultra simple things where there is just no explanation for.

Example:

> **[Blog Archives - Kloeckner Metals Corporation](https://www.kloecknermetals.com/category/news/category/blog/feed/)**

This is my WP url for RSS Feeds I want to display. Right now my email remplate is showing just the two most recent from both blogs, but I need the most recent one, one from each blog category.

---

<div class="post-metadata">

**Author:** ![BenMartinCURE](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/benmartincure/32/81360_2.png) [@BenMartinCURE](https://community.hubspot.com/u/BenMartinCURE)\
**Post date:** [June 20, 2018, 3:27pm UTC](https://community.hubspot.com/t/two-rss-feed-in-a-rss-feed-email/3570/4 "2018-06-20T15:27:28Z")

</div>

I’m assuming this solution only works for native Hubspot blogs, not for external ones?

---

<div class="post-metadata">

**Author:** ![suryast](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/suryast/32/75413_2.png) [@suryast](https://community.hubspot.com/u/suryast)\
**Post date:** [February 1, 2019, 12:46am UTC](https://community.hubspot.com/t/two-rss-feed-in-a-rss-feed-email/3570/5 "2019-02-01T00:46:46Z")

</div>

It works with external blogs/content too.

---

<div class="post-metadata">

**Author:** ![robertrunyon](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/robertrunyon/32/26012_2.png) [@robertrunyon](https://community.hubspot.com/u/robertrunyon)\
**Post date:** [January 30, 2019, 10:03pm UTC](https://community.hubspot.com/t/two-rss-feed-in-a-rss-feed-email/3570/6 "2019-01-30T22:03:54Z")

</div>

@Jsum Do you think you could help me set this up? I have no idea when it comes to custom coding or where to do it at. I am a marketing team of 1…

---

<div class="post-metadata">

**Author:** ![BenMartinCURE](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/benmartincure/32/81360_2.png) [@BenMartinCURE](https://community.hubspot.com/u/BenMartinCURE)\
**Post date:** [January 31, 2019, 6:44pm UTC](https://community.hubspot.com/t/two-rss-feed-in-a-rss-feed-email/3570/7 "2019-01-31T18:44:11Z")

</div>

I used [http://www.rssmix.com](http://www.rssmix.com) to accomplish this. It will take multiple RSS feeds and give you one feed URL to use in your Hubspot email.

---

<div class="post-metadata">

**Author:** ![robertrunyon](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/robertrunyon/32/26012_2.png) [@robertrunyon](https://community.hubspot.com/u/robertrunyon)\
**Post date:** [January 31, 2019, 6:54pm UTC](https://community.hubspot.com/t/two-rss-feed-in-a-rss-feed-email/3570/8 "2019-01-31T18:54:51Z")

</div>

@BenMartinCURE would you have time to do a screen share to go over this in a little more detail? Perhaps tomorrow or next week sometime?

---

<div class="post-metadata">

**Author:** ![BenMartinCURE](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/benmartincure/32/81360_2.png) [@BenMartinCURE](https://community.hubspot.com/u/BenMartinCURE)\
**Post date:** [February 4, 2019, 9:59pm UTC](https://community.hubspot.com/t/two-rss-feed-in-a-rss-feed-email/3570/9 "2019-02-04T21:59:29Z")

</div>

@robertrunyon yes, happy to. Email me direct at [ben.martin@cure.org](mailto:ben.martin@cure.org).

---

<div class="post-metadata">

**Author:** ![robertrunyon](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/robertrunyon/32/26012_2.png) [@robertrunyon](https://community.hubspot.com/u/robertrunyon)\
**Post date:** [February 7, 2019, 5:38pm UTC](https://community.hubspot.com/t/two-rss-feed-in-a-rss-feed-email/3570/10 "2019-02-07T17:38:21Z")

</div>

I just want anyone that reads this to know that @BenMartinCURE is outstanding! He is very articulate and tries to understand what you are trying to do! He helped me solve the issue in no time flat, and provided me with enough explanation that I could help someone with this if they need any additional help! In the event, Ben or anyone else is not able to help, please feel free to reach out to me.

---

<div class="post-metadata">

**Author:** ![Heidi1](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/heidi1/32/77071_2.png) [@Heidi1](https://community.hubspot.com/u/Heidi1)\
**Post date:** [March 21, 2019, 3:14pm UTC](https://community.hubspot.com/t/two-rss-feed-in-a-rss-feed-email/3570/11 "2019-03-21T15:14:38Z")

</div>

@BenMartinCURE or @robertrunyon was so glad to see this thread! Would either of you possibly have any time do a screenshare today or tomorrow to discus in greater detail?

---

<div class="post-metadata">

**Author:** ![robertrunyon](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/robertrunyon/32/26012_2.png) [@robertrunyon](https://community.hubspot.com/u/robertrunyon)\
**Post date:** [March 21, 2019, 3:36pm UTC](https://community.hubspot.com/t/two-rss-feed-in-a-rss-feed-email/3570/12 "2019-03-21T15:36:58Z")

</div>

@Heidi1 I can help you later this afternoon. How does 3:00 EST sound?

---

<div class="post-metadata">

**Author:** ![Heidi1](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/heidi1/32/77071_2.png) [@Heidi1](https://community.hubspot.com/u/Heidi1)\
**Post date:** [March 21, 2019, 3:41pm UTC](https://community.hubspot.com/t/two-rss-feed-in-a-rss-feed-email/3570/13 "2019-03-21T15:41:57Z")

</div>

That’s perfect! Thank you. My email address is [HeidiAllums3@gmail.com](mailto:HeidiAllums3@gmail.com).

---

<div class="post-metadata">

**Author:** ![edgehomes](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/edgehomes/32/8671_2.png) [@edgehomes](https://community.hubspot.com/u/edgehomes)\
**Post date:** [June 7, 2019, 6:10pm UTC](https://community.hubspot.com/t/two-rss-feed-in-a-rss-feed-email/3570/14 "2019-06-07T18:10:31Z")

</div>

Apologies for dragging this up again, but is there a way to have this work for external RSS feeds? Or is this only available for Hubspot Native Blogs

---

<div class="post-metadata">

**Author:** ![BenMartinCURE](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/benmartincure/32/81360_2.png) [@BenMartinCURE](https://community.hubspot.com/u/BenMartinCURE)\
**Post date:** [June 7, 2019, 6:30pm UTC](https://community.hubspot.com/t/two-rss-feed-in-a-rss-feed-email/3570/15 "2019-06-07T18:30:59Z")

</div>

The ony solution I’ve found for this is to use another service to combine those external feeds into one feed. I use [rssmix.com](http://rssmix.com) for this. It’s free.

---

<div class="post-metadata">

**Author:** ![MFrankJohnson](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/mfrankjohnson/32/22490_2.png) [@MFrankJohnson](https://community.hubspot.com/u/MFrankJohnson)\
**Post date:** [June 7, 2019, 9:22pm UTC](https://community.hubspot.com/t/two-rss-feed-in-a-rss-feed-email/3570/16 "2019-06-07T21:22:14Z")

</div>

- see [Blended RSS Feed Email](https://community.hubspot.com/t5/CMS-Development/Blended-RSS-feed-Email/m-p/202647/highlight/true#M7671) for step-by-step

---

<div class="post-metadata">

**Author:** ![suryast](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/suryast/32/75413_2.png) [@suryast](https://community.hubspot.com/u/suryast)\
**Post date:** [June 11, 2019, 1:54pm UTC](https://community.hubspot.com/t/two-rss-feed-in-a-rss-feed-email/3570/17 "2019-06-11T13:54:38Z")

</div>

It works for external RSS feeds too as long as the format of your external feeds is correct. RSS XML format is very loose, so it’s easy to make a mistake and see no error. Also, every web app digests RSS feeds differently. If it doesn’t work you, you probably need to tweak your external RSS feeds further.

---

<div class="post-metadata">

**Author:** ![Jmdev](https://avatars.discourse-cdn.com/v4/letter/j/ecd19e/32.png) [@Jmdev](https://community.hubspot.com/u/Jmdev)\
**Post date:** [June 24, 2022, 11:22pm UTC](https://community.hubspot.com/t/two-rss-feed-in-a-rss-feed-email/3570/18 "2022-06-24T23:22:00Z")

</div>

Can you provide code that works with external blogs? I have read through the documentation and there doesn’t seem to be a way to provide an external blog url.

---

<div class="post-metadata">

**Author:** ![dabroncos](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/dabroncos/32/2401_2.png) [@dabroncos](https://community.hubspot.com/u/dabroncos)\
**Post date:** [January 2, 2021, 7:32pm UTC](https://community.hubspot.com/t/two-rss-feed-in-a-rss-feed-email/3570/19 "2021-01-02T19:32:35Z")

</div>

It appears that this is just partial code to setup the RSS feed link. How do I setup the rest of it? With the RSS link, custom image, and formatting the same way I have it in my email?

---

<div class="post-metadata">

**Author:** ![NadiraFant](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/nadirafant/32/78108_2.png) [@NadiraFant](https://community.hubspot.com/u/NadiraFant)\
**Post date:** [August 6, 2021, 4:25pm UTC](https://community.hubspot.com/t/two-rss-feed-in-a-rss-feed-email/3570/20 "2021-08-06T16:25:57Z")

</div>

For the first example, how would i get the blog ID for two different blogs?

[Next page](https://community.hubspot.com/t/two-rss-feed-in-a-rss-feed-email/3570.md?page=2)
