<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Custom (external) RSS Feed Module in CMS Development</title>
    <link>https://community.hubspot.com/t5/CMS-Development/Custom-external-RSS-Feed-Module/m-p/205614#M8108</link>
    <description>&lt;P&gt;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/17186"&gt;@Anton&lt;/a&gt;&amp;nbsp;- This is a hubl tag that pulls the feed from ajax (not server side). So, you will need to use javascript to design the feed and pull the necessary data. Look above the &lt;A href="https://designers.hubspot.com/docs/hubl/hubl-supported-tags#rss-listing" target="_self"&gt;documentation&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;"This module is loaded asynchronously on the client-side. As a result, if you want to manipulate the feed after its loaded, you'll need to define a global JS function to handle that manipulation. Use the function hsRssFeedComplete(feeds), where feeds is the jQuery selector on all feeds that have been completed.&amp;nbsp;You will want to directly manipulate the DOM object in that function."&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I personally, find it easier to just find a &lt;A href="https://github.com/enginkizil/FeedEk" target="_self"&gt;decent jquery plugin&lt;/A&gt; that is built for RSS feeds since there's more built in functionality around the feed.&lt;/P&gt;&lt;HR /&gt;&lt;P&gt;If this answer helped, please, mark as solved &lt;span class="lia-unicode-emoji" title=":grinning_face_with_smiling_eyes:"&gt;😄&lt;/span&gt;&lt;/P&gt;&lt;HR /&gt;&lt;P&gt;tim@belch.io | &lt;A href="https://forms.belch.io" target="_blank"&gt;forms.belch.io&lt;/A&gt; | Design your own Beautiful HubSpot Forms; No coding necessary.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Drop by and say Hi to me &lt;A href="http://slack.belch.io/" target="_blank"&gt;on slack&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 07 Sep 2018 11:46:47 GMT</pubDate>
    <dc:creator>tjoyce</dc:creator>
    <dc:date>2018-09-07T11:46:47Z</dc:date>
    <item>
      <title>Custom (external) RSS Feed Module</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Custom-external-RSS-Feed-Module/m-p/205606#M8104</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;a customer wants to have a custom rss module, which pulls the data from a external RSS Feed(XML) with following options&lt;/P&gt;&lt;P&gt;- show postings with tag "X"&lt;/P&gt;&lt;P&gt;- display "X" amount of postings&lt;/P&gt;&lt;P&gt;and some other options&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The most simple way would be to clone the HubSpot RSS Feed module and to customize it, right?&lt;/P&gt;&lt;P&gt;I'm struggling with the layout change of the RSS Feed. When I clone the Module and edit it, the only thing I'm seeing is the Hubl code of the module.&lt;/P&gt;&lt;PRE&gt;{% if module.rss_feed_type == "external" %}
    {% set feed_source = "{is_external=True, rss_url='"~module.rss_url~"', content_group_id=''}" %}
    {% set is_external = true %}
{% elif module.rss_feed_type == "blog" %}
    {% set feed_source = "{is_external=False, content_group_id='" ~ module.content_group_id ~ "', rss_url=''}" %}
    {% set is_external = false %}
{% endif %}

{% rss_listing
    publish_date_text="{{ module.publish_date_text }}",
    rss_url="{{ module.rss_url }}",
    is_external="{{ is_external }}",
    click_through_text="{{ module.click_through_text }}",
    show_date="{{ module.show_date }}",
    content_group_id="{{ module.content_group_id }}",
    include_featured_image="{{ module.include_featured_image }}",
    publish_date_format="{{ module.publish_date_format }}",
    show_detail="{{ module.show_detail }}",
    show_author="{{ module.show_author }}",
    number_of_items="{{ module.number_of_items }}",
    limit_to_chars="{{ module.limit_to_chars }}",
    attribution_text="{{ module.attribution_text }}",
    topic_id="{{ module.topic_id }}"
%}&lt;/PRE&gt;&lt;P&gt;where is the HTML layout?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there a way to give the feed a complete custom (HTML) layout?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Like three columns. Left *name*, middle *info*, right *read more button*&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Anton&lt;/P&gt;</description>
      <pubDate>Fri, 07 Sep 2018 10:46:49 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Custom-external-RSS-Feed-Module/m-p/205606#M8104</guid>
      <dc:creator>Anton</dc:creator>
      <dc:date>2018-09-07T10:46:49Z</dc:date>
    </item>
    <item>
      <title>Re: Custom (external) RSS Feed Module</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Custom-external-RSS-Feed-Module/m-p/205614#M8108</link>
      <description>&lt;P&gt;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/17186"&gt;@Anton&lt;/a&gt;&amp;nbsp;- This is a hubl tag that pulls the feed from ajax (not server side). So, you will need to use javascript to design the feed and pull the necessary data. Look above the &lt;A href="https://designers.hubspot.com/docs/hubl/hubl-supported-tags#rss-listing" target="_self"&gt;documentation&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;"This module is loaded asynchronously on the client-side. As a result, if you want to manipulate the feed after its loaded, you'll need to define a global JS function to handle that manipulation. Use the function hsRssFeedComplete(feeds), where feeds is the jQuery selector on all feeds that have been completed.&amp;nbsp;You will want to directly manipulate the DOM object in that function."&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I personally, find it easier to just find a &lt;A href="https://github.com/enginkizil/FeedEk" target="_self"&gt;decent jquery plugin&lt;/A&gt; that is built for RSS feeds since there's more built in functionality around the feed.&lt;/P&gt;&lt;HR /&gt;&lt;P&gt;If this answer helped, please, mark as solved &lt;span class="lia-unicode-emoji" title=":grinning_face_with_smiling_eyes:"&gt;😄&lt;/span&gt;&lt;/P&gt;&lt;HR /&gt;&lt;P&gt;tim@belch.io | &lt;A href="https://forms.belch.io" target="_blank"&gt;forms.belch.io&lt;/A&gt; | Design your own Beautiful HubSpot Forms; No coding necessary.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Drop by and say Hi to me &lt;A href="http://slack.belch.io/" target="_blank"&gt;on slack&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 07 Sep 2018 11:46:47 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Custom-external-RSS-Feed-Module/m-p/205614#M8108</guid>
      <dc:creator>tjoyce</dc:creator>
      <dc:date>2018-09-07T11:46:47Z</dc:date>
    </item>
    <item>
      <title>Re: Custom (external) RSS Feed Module</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Custom-external-RSS-Feed-Module/m-p/250006#M10816</link>
      <description>&lt;P&gt;I am not sure if this is the right thread to ask. I wonder what solution&amp;nbsp;you would recommend for the styling of RSS feed in an email&amp;nbsp;since emails cannot have javascript in them.&lt;/P&gt;</description>
      <pubDate>Fri, 01 Feb 2019 00:52:56 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Custom-external-RSS-Feed-Module/m-p/250006#M10816</guid>
      <dc:creator>suryast</dc:creator>
      <dc:date>2019-02-01T00:52:56Z</dc:date>
    </item>
    <item>
      <title>Re: Custom (external) RSS Feed Module</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Custom-external-RSS-Feed-Module/m-p/728813#M31831</link>
      <description>&lt;P&gt;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/85404"&gt;@suryast&lt;/a&gt;, &lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/2450"&gt;@tjoyce&lt;/a&gt;,&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/17186"&gt;@Anton&lt;/a&gt;,&amp;nbsp; I wonder about that, too. Do you have a solution for this case?&lt;BR /&gt;&lt;BR /&gt;We have a customer, who want the same a the customer of&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/17186"&gt;@Anton&lt;/a&gt;,&amp;nbsp;but it should me for ab E-Mail-Template, so we are not allowed to use Javascript &amp;amp;colon;-(&lt;BR /&gt;&lt;BR /&gt;I was thinking about storing the RSS feed in HubDB and then using HubL to retrieve the data. What do you think about that?&lt;/P&gt;</description>
      <pubDate>Fri, 09 Dec 2022 10:54:57 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Custom-external-RSS-Feed-Module/m-p/728813#M31831</guid>
      <dc:creator>AAlsalkhadi</dc:creator>
      <dc:date>2022-12-09T10:54:57Z</dc:date>
    </item>
  </channel>
</rss>

