Tough question and I'm sure asked many times before. Scoured the documentation and forums and found nothing. Finally, after monitoring the network traffic in the Design Manager after assigning a topic to the RSS feed, I managed to find it.
Tough question and I'm sure asked many times before. Scoured the documentation and forums and found nothing. Finally, after monitoring the network traffic in the Design Manager after assigning a topic to the RSS feed, I managed to find it.
Cheers Tim. I actually got the same result (topic_id) but by looking through the developer info instead. Now I'm wondering whether I can loop through the RSS feed so I can filter the results. I don't think that's possible, else Hubspot wouldn't have created all of the Hubl feed functions.
You cant loop through rss listing. Rss listing module returns html script instead of object array. I wished it returned object array so we could easily loop through and use it the way we want. But if you are fetching your own hubspot blog then you dont need rss listing and you can use blog_recent_posts function.
<div> {% for post in internalFeed %} {% if post.post_list_summary_featured_image || post.post_list_content %} <span>{{post.absolute_url}}</span> <span>{{post.post_list_summary_featured_image}}</span> <span>{{post.blog_post_author.display_name}}</span> <span>{{post.publish_date|datetimeformat('%d.%m.%Y') }}</span> <span>{{post.blog_post_author.avatar}}</span> <span>{{post.post_list_content|safe}}</span> {% endif %} {% endfor %} </div>
If you want to integrate external rss feeds into hubspot then you will need to setup a CORS (I use azure functions, pretty straightforward) or use third party website (https://rss2json.com). Then loop through the object and parse it and list it.
I have done that kind of integration as well (for example listing medium blog posts inside hubspot pages) with some jquery.
Oh yea, I don't think you can loop that. Perhaps setting up simple php page and calling your own blog feed from the hubl template using jsonp. Something like: