<?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: RSS feed custom html in CMS Development</title>
    <link>https://community.hubspot.com/t5/CMS-Development/RSS-feed-custom-html/m-p/404920#M20836</link>
    <description>&lt;P&gt;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/142532"&gt;@Skott&lt;/a&gt;&amp;nbsp;Where you able to figure this out? I have also created a custom module, but i am not able to show the posts in columns. They are still showing in rows.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 01 Feb 2021 10:02:10 GMT</pubDate>
    <dc:creator>fawadsabri</dc:creator>
    <dc:date>2021-02-01T10:02:10Z</dc:date>
    <item>
      <title>RSS feed custom html</title>
      <link>https://community.hubspot.com/t5/CMS-Development/RSS-feed-custom-html/m-p/363656#M18236</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I'm building a website in Hubspot and want to show the 4 latest blog enttries on the frontpage of the site. As I understand it's only possible using the RSS feed to show them. Which is fine, but the html/markup is not exactly what I want. Is it possible to make your own html/template for it? Alternatively, I can put my own css on top of what I get from the default RSS markup, but really want to control and work with my own markup &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;This is the default rss feed i get&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="test1.png" style="width: 800px;"&gt;&lt;img src="https://community.hubspot.com/t5/image/serverpage/image-id/30536i9D860B31A21C17F7/image-size/large?v=v2&amp;amp;px=999" role="button" title="test1.png" alt="test1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And this is kind of what I want&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="test2.png" style="width: 800px;"&gt;&lt;img src="https://community.hubspot.com/t5/image/serverpage/image-id/30537i9D6429652889198D/image-size/large?v=v2&amp;amp;px=999" role="button" title="test2.png" alt="test2.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 21 Aug 2020 09:17:48 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/RSS-feed-custom-html/m-p/363656#M18236</guid>
      <dc:creator>Skott</dc:creator>
      <dc:date>2020-08-21T09:17:48Z</dc:date>
    </item>
    <item>
      <title>Re: RSS feed custom html</title>
      <link>https://community.hubspot.com/t5/CMS-Development/RSS-feed-custom-html/m-p/363889#M18245</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/142532"&gt;@Skott&lt;/a&gt;,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;is it a HubSpot or external blog?&amp;nbsp;&lt;BR /&gt;Are you "staying" in the HubSpot ecosystem like HubSpot Blog on a HubSpot page?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you're completly in the HubSpot ecosystem you can create a so called custom module with the &lt;A title="&amp;quot;blog_recent_posts&amp;quot; function" href="https://developers.hubspot.com/docs/cms/hubl/functions#blog-recent-posts" target="_blank" rel="noopener"&gt;"&lt;SPAN&gt;blog_recent_posts" function&lt;/SPAN&gt;&lt;/A&gt; which will be handling the layout and information of the latest blogs.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;best,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Anton&lt;/P&gt;</description>
      <pubDate>Sat, 22 Aug 2020 12:15:05 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/RSS-feed-custom-html/m-p/363889#M18245</guid>
      <dc:creator>Anton</dc:creator>
      <dc:date>2020-08-22T12:15:05Z</dc:date>
    </item>
    <item>
      <title>Re: RSS feed custom html</title>
      <link>https://community.hubspot.com/t5/CMS-Development/RSS-feed-custom-html/m-p/364073#M18258</link>
      <description>&lt;P&gt;Hi Anton, thanks. This is exactly what I need. I'm building everything inside HubSpot. I created a new custom module, and got a list of latest blog post titles &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The next thing then, is an image url and link url to the post itselfe, aaand a small snippet of the text from the blog post. I can't seem to find the right code for those.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 24 Aug 2020 10:35:44 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/RSS-feed-custom-html/m-p/364073#M18258</guid>
      <dc:creator>Skott</dc:creator>
      <dc:date>2020-08-24T10:35:44Z</dc:date>
    </item>
    <item>
      <title>Re: RSS feed custom html</title>
      <link>https://community.hubspot.com/t5/CMS-Development/RSS-feed-custom-html/m-p/404920#M20836</link>
      <description>&lt;P&gt;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/142532"&gt;@Skott&lt;/a&gt;&amp;nbsp;Where you able to figure this out? I have also created a custom module, but i am not able to show the posts in columns. They are still showing in rows.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 01 Feb 2021 10:02:10 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/RSS-feed-custom-html/m-p/404920#M20836</guid>
      <dc:creator>fawadsabri</dc:creator>
      <dc:date>2021-02-01T10:02:10Z</dc:date>
    </item>
    <item>
      <title>Re: RSS feed custom html</title>
      <link>https://community.hubspot.com/t5/CMS-Development/RSS-feed-custom-html/m-p/404943#M20837</link>
      <description>&lt;P&gt;Hi fawadsabri,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is the code I used. To show it in columns, i use col-md-3 class on the div which have the information. resulting in this:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="columns.jpg" style="width: 999px;"&gt;&lt;img src="https://community.hubspot.com/t5/image/serverpage/image-id/37304i3189CA2E596C02E4/image-size/large?v=v2&amp;amp;px=999" role="button" title="columns.jpg" alt="columns.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;{% set rec_posts = blog_recent_posts('default', 4) %}&lt;BR /&gt;&amp;lt;div class="news-listing fade-up-single"&amp;gt;&lt;BR /&gt;{% for rec_post in rec_posts %}&lt;BR /&gt;&amp;lt;div class="col-md-3"&amp;gt;&lt;BR /&gt;&amp;lt;a href="{{ rec_post.absolute_url }}" class="news-featured-image"&amp;gt;&lt;BR /&gt;{% if rec_post.featured_image %}&amp;lt;img alt="{{ rec_post.featured_image_alt_text }}" src="{{ rec_post.featured_image }}"&amp;gt;{% endif %}&lt;BR /&gt;&amp;lt;/a&amp;gt;&lt;BR /&gt;&amp;lt;a href="{{ rec_post.absolute_url }}" class="news-title"&amp;gt;&amp;lt;span&amp;gt;{{ rec_post.name }}&amp;lt;/span&amp;gt;&amp;lt;/a&amp;gt;&lt;BR /&gt;&amp;lt;div class="news-date"&amp;gt;&lt;BR /&gt;{{ rec_post.publish_date|datetimeformat('%B %d, %Y') }}&lt;BR /&gt;&amp;lt;/div&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;div class="news-text"&amp;gt;&lt;BR /&gt;{{ rec_post.post_list_content|truncatehtml(200, '...', false)}}&lt;BR /&gt;&amp;lt;/div&amp;gt;&lt;BR /&gt;&lt;BR /&gt;&amp;lt;/div&amp;gt;&lt;BR /&gt;{% endfor %}&lt;BR /&gt;&amp;lt;/div&amp;gt;&lt;/P&gt;</description>
      <pubDate>Mon, 01 Feb 2021 10:44:53 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/RSS-feed-custom-html/m-p/404943#M20837</guid>
      <dc:creator>Skott</dc:creator>
      <dc:date>2021-02-01T10:44:53Z</dc:date>
    </item>
    <item>
      <title>Re: RSS feed custom html</title>
      <link>https://community.hubspot.com/t5/CMS-Development/RSS-feed-custom-html/m-p/404963#M20839</link>
      <description>&lt;P&gt;Hi Skott,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you so much for the quick reply. I really did help. Now it works perfectly. Thanks alot.&lt;/P&gt;</description>
      <pubDate>Mon, 01 Feb 2021 12:26:23 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/RSS-feed-custom-html/m-p/404963#M20839</guid>
      <dc:creator>fawadsabri</dc:creator>
      <dc:date>2021-02-01T12:26:23Z</dc:date>
    </item>
    <item>
      <title>Re: RSS feed custom html</title>
      <link>https://community.hubspot.com/t5/CMS-Development/RSS-feed-custom-html/m-p/411968#M21337</link>
      <description>&lt;P&gt;Hi Skott, thanks for providing this solution. How would you allow the content editor to show only certain blog posts by tag?&lt;/P&gt;</description>
      <pubDate>Tue, 23 Feb 2021 20:20:43 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/RSS-feed-custom-html/m-p/411968#M21337</guid>
      <dc:creator>caitlink</dc:creator>
      <dc:date>2021-02-23T20:20:43Z</dc:date>
    </item>
    <item>
      <title>Re: RSS feed custom html</title>
      <link>https://community.hubspot.com/t5/CMS-Development/RSS-feed-custom-html/m-p/412134#M21346</link>
      <description>&lt;P&gt;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/149600"&gt;@caitlink&lt;/a&gt;&amp;nbsp;i used this code to reference the two fields (modules) which will be shown in content editor. One is for selection of blog type (in my case English or German) and second one is the for specifying the tag.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;{% set tag_posts = blog_recent_tag_posts (module.content_group_id, module.blog_post_tag, limit=4) %}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In the module.content_group_id you have to add a blog selector field.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 24 Feb 2021 07:32:33 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/RSS-feed-custom-html/m-p/412134#M21346</guid>
      <dc:creator>fawadsabri</dc:creator>
      <dc:date>2021-02-24T07:32:33Z</dc:date>
    </item>
    <item>
      <title>Re: RSS feed custom html</title>
      <link>https://community.hubspot.com/t5/CMS-Development/RSS-feed-custom-html/m-p/412388#M21362</link>
      <description>&lt;P&gt;Do you mind sharing a screenshot of your code and fields for the whole module?&lt;/P&gt;</description>
      <pubDate>Wed, 24 Feb 2021 16:16:08 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/RSS-feed-custom-html/m-p/412388#M21362</guid>
      <dc:creator>caitlink</dc:creator>
      <dc:date>2021-02-24T16:16:08Z</dc:date>
    </item>
    <item>
      <title>Re: RSS feed custom html</title>
      <link>https://community.hubspot.com/t5/CMS-Development/RSS-feed-custom-html/m-p/412716#M21388</link>
      <description>&lt;P&gt;Here is how the code is:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;{% set tag_posts = blog_recent_tag_posts (module.content_group_id, module.blog_post_tag, limit=4) %}&lt;BR /&gt;&amp;lt;div class="flex flex-wrap -mx-3 p-3"&amp;gt;&lt;BR /&gt;&lt;BR /&gt;{% for tag_post in tag_posts %}&lt;BR /&gt;&amp;lt;div class="w-full sm:w-1/2 md:w-1/3 lg:w-1/4 px-3 mb-6 md:mb-12 blog"&amp;gt;&lt;BR /&gt;&amp;lt;div class="h-full flex flex-col"&amp;gt;&lt;BR /&gt;&lt;BR /&gt;&amp;lt;div class="w-full bg-blun"&amp;gt;&lt;BR /&gt;&amp;lt;a href="{{tag_post.absolute_url}}"&amp;gt;&lt;BR /&gt;&amp;lt;img loading="lazy" class="resonsive-item object cover object-center" src="{{tag_post.featured_image}}" alt="{{&amp;nbsp;post.post_list_summary_featured_image }}"/&amp;gt;&amp;lt;/a&amp;gt;&lt;BR /&gt;&amp;lt;/div&amp;gt;&lt;BR /&gt;&lt;BR /&gt;&amp;lt;div class="w-full my-5"&amp;gt;&lt;BR /&gt;&amp;lt;h4 class="font-semibold mb-4"&amp;gt;&amp;lt;a href="{{tag_post.absolute_url}}"&amp;gt;{{tag_post.name}}&amp;lt;/a&amp;gt;&amp;lt;/h4&amp;gt;&lt;BR /&gt;&amp;lt;p class="richttext text-hyphenated"&amp;gt;{{tag_post.post_summary|truncatehtml(module.limit_to_chars)}}&amp;lt;/p&amp;gt;&lt;BR /&gt;&amp;lt;/div&amp;gt;&lt;BR /&gt;&lt;BR /&gt;&amp;lt;div class="w-full mt-auto mb-3"&amp;gt;&lt;BR /&gt;&amp;lt;a class="font-semibold hover:underline" href="{{tag_post.absolute_url}}"&amp;gt;{{ module.more_button_label }}&amp;lt;/a&amp;gt;&lt;BR /&gt;&amp;lt;/div&amp;gt;&lt;BR /&gt;&lt;BR /&gt;&amp;lt;div class="h-2 w-full bg-dark-blun-300"&amp;gt;&amp;lt;/div&amp;gt;&lt;BR /&gt;&amp;lt;/div&amp;gt;&lt;BR /&gt;&amp;lt;/div&amp;gt;&lt;BR /&gt;{% endfor %}&lt;BR /&gt;&amp;lt;/div&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;a screenshot from the Modules:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2021-02-25 at 12.39.11.png" style="width: 400px;"&gt;&lt;img src="https://community.hubspot.com/t5/image/serverpage/image-id/38644i618B7C3D18A40448/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Screenshot 2021-02-25 at 12.39.11.png" alt="Screenshot 2021-02-25 at 12.39.11.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have also added More Button Label - to change it for different languages. Hope this helps.  &lt;/P&gt;</description>
      <pubDate>Thu, 25 Feb 2021 11:39:52 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/RSS-feed-custom-html/m-p/412716#M21388</guid>
      <dc:creator>fawadsabri</dc:creator>
      <dc:date>2021-02-25T11:39:52Z</dc:date>
    </item>
    <item>
      <title>Re: RSS feed custom html</title>
      <link>https://community.hubspot.com/t5/CMS-Development/RSS-feed-custom-html/m-p/413298#M21434</link>
      <description>&lt;P&gt;Thanks! I was finally able to get this to work. Really appreciate your quick response.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 26 Feb 2021 16:30:23 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/RSS-feed-custom-html/m-p/413298#M21434</guid>
      <dc:creator>caitlink</dc:creator>
      <dc:date>2021-02-26T16:30:23Z</dc:date>
    </item>
  </channel>
</rss>

