CMS Development

ThibautMX
Teilnehmer/-in

Two RSS Feed in a RSS Feed email

lösung

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

0 Upvotes
1 Akzeptierte Lösung
Jsum
Lösung
Autorität

Two RSS Feed in a RSS Feed email

lösung

@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:

{% 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:

{% 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. 

Lösung in ursprünglichem Beitrag anzeigen

20 Antworten
JQualtrough
Mitglied

Two RSS Feed in a RSS Feed email

lösung

This is totally possible. Using a platform like https://fliprss.com you can automate multiple RSS feeds in email campaigns. Not only that but you can match each feed to a specific subscriber interest group so subscribers receive content personalised to their interests. 

0 Upvotes
Jsum
Lösung
Autorität

Two RSS Feed in a RSS Feed email

lösung

@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:

{% 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:

{% 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. 

NadiraFant
Teilnehmer/-in | Diamond Partner
Teilnehmer/-in | Diamond Partner

Two RSS Feed in a RSS Feed email

lösung

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

0 Upvotes
dabroncos
Mitwirkender/Mitwirkende

Two RSS Feed in a RSS Feed email

lösung

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?

 

0 Upvotes
edgehomes
Teilnehmer/-in

Two RSS Feed in a RSS Feed email

lösung

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

0 Upvotes
suryast
Teilnehmer/-in

Two RSS Feed in a RSS Feed email

lösung

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.

Jmdev
Mitglied

Two RSS Feed in a RSS Feed email

lösung

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.

MFrankJohnson
Vordenker/-in

Two RSS Feed in a RSS Feed email

lösung

- see Blended RSS Feed Email for step-by-step

 

Note: Please search for recent posts as HubSpot evolves to be the #1 CRM platform of choice world-wide.

 

Hope that helps.

 

Be well,
Frank


www.mfrankjohnson.com
0 Upvotes
BenMartinCURE
Teilnehmer/-in

Two RSS Feed in a RSS Feed email

lösung

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 for this. It's free.

robertrunyon
Mitwirkender/Mitwirkende

Two RSS Feed in a RSS Feed email

lösung

@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...

0 Upvotes
BenMartinCURE
Teilnehmer/-in

Two RSS Feed in a RSS Feed email

lösung

I used 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.

0 Upvotes
robertrunyon
Mitwirkender/Mitwirkende

Two RSS Feed in a RSS Feed email

lösung

@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?

0 Upvotes
BenMartinCURE
Teilnehmer/-in

Two RSS Feed in a RSS Feed email

lösung

@robertrunyon yes, happy to. Email me direct at ben.martin@cure.org.

robertrunyon
Mitwirkender/Mitwirkende

Two RSS Feed in a RSS Feed email

lösung

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.

0 Upvotes
Heidi1
Mitwirkender/Mitwirkende

Two RSS Feed in a RSS Feed email

lösung

@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?

0 Upvotes
robertrunyon
Mitwirkender/Mitwirkende

Two RSS Feed in a RSS Feed email

lösung

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

0 Upvotes
Heidi1
Mitwirkender/Mitwirkende

Two RSS Feed in a RSS Feed email

lösung

That's perfect! Thank you. My email address is HeidiAllums3@gmail.com.

0 Upvotes
BenMartinCURE
Teilnehmer/-in

Two RSS Feed in a RSS Feed email

lösung

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

0 Upvotes
suryast
Teilnehmer/-in

Two RSS Feed in a RSS Feed email

lösung

It works with external blogs/content too. 

0 Upvotes
pixelparlordev
Mitglied

Two RSS Feed in a RSS Feed email

lösung

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:

 

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. 

0 Upvotes