<?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 Want to know the procedure for showing dynamic content ( blog posts ) in static HTML template in APIs &amp; Integrations</title>
    <link>https://community.hubspot.com/t5/APIs-Integrations/Want-to-know-the-procedure-for-showing-dynamic-content-blog/m-p/239422#M18318</link>
    <description>&lt;P&gt;Hi there,&lt;/P&gt;
&lt;P&gt;We currently have footer hubspot template.&lt;/P&gt;
&lt;P&gt;We have a Blog, we want to show blog posts in hubspot footer. How can we show the dynamic content in footer middle section?&lt;/P&gt;
&lt;P&gt;Can you please advice?&lt;/P&gt;
&lt;P&gt;Many thanks,&lt;BR /&gt;
-Sabita.&lt;/P&gt;</description>
    <pubDate>Mon, 05 Feb 2018 03:44:01 GMT</pubDate>
    <dc:creator />
    <dc:date>2018-02-05T03:44:01Z</dc:date>
    <item>
      <title>Want to know the procedure for showing dynamic content ( blog posts ) in static HTML template</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Want-to-know-the-procedure-for-showing-dynamic-content-blog/m-p/239422#M18318</link>
      <description>&lt;P&gt;Hi there,&lt;/P&gt;
&lt;P&gt;We currently have footer hubspot template.&lt;/P&gt;
&lt;P&gt;We have a Blog, we want to show blog posts in hubspot footer. How can we show the dynamic content in footer middle section?&lt;/P&gt;
&lt;P&gt;Can you please advice?&lt;/P&gt;
&lt;P&gt;Many thanks,&lt;BR /&gt;
-Sabita.&lt;/P&gt;</description>
      <pubDate>Mon, 05 Feb 2018 03:44:01 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Want-to-know-the-procedure-for-showing-dynamic-content-blog/m-p/239422#M18318</guid>
      <dc:creator />
      <dc:date>2018-02-05T03:44:01Z</dc:date>
    </item>
    <item>
      <title>Re: Want to know the procedure for showing dynamic content ( blog posts ) in static HTML template</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Want-to-know-the-procedure-for-showing-dynamic-content-blog/m-p/239423#M18319</link>
      <description>&lt;P&gt;You can use RSS in custom HTML module&lt;/P&gt;</description>
      <pubDate>Mon, 05 Feb 2018 06:49:56 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Want-to-know-the-procedure-for-showing-dynamic-content-blog/m-p/239423#M18319</guid>
      <dc:creator>narayan007</dc:creator>
      <dc:date>2018-02-05T06:49:56Z</dc:date>
    </item>
    <item>
      <title>Re: Want to know the procedure for showing dynamic content ( blog posts ) in static HTML template</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Want-to-know-the-procedure-for-showing-dynamic-content-blog/m-p/239424#M18320</link>
      <description>&lt;P&gt;Can you please give one example, how can show?&lt;/P&gt;
&lt;P&gt;Many thanks,&lt;BR /&gt;
-Sabita.&lt;/P&gt;</description>
      <pubDate>Mon, 05 Feb 2018 07:00:51 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Want-to-know-the-procedure-for-showing-dynamic-content-blog/m-p/239424#M18320</guid>
      <dc:creator />
      <dc:date>2018-02-05T07:00:51Z</dc:date>
    </item>
    <item>
      <title>Re: Want to know the procedure for showing dynamic content ( blog posts ) in static HTML template</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Want-to-know-the-procedure-for-showing-dynamic-content-blog/m-p/239425#M18321</link>
      <description>&lt;PRE&gt;&lt;CODE&gt;&amp;lt;div class="recent-posts-item"&amp;gt;
    {% set rec_posts = blog_recent_posts(your_blog_portal_id, No. Of posts to show) %}
    {% for rec_post in rec_posts %}
     &amp;lt;a href="{{rec_post.absolute_url}}" class="custom-post-item"&amp;gt;
         
            
               
                &amp;lt;div class="custom-post-item-inner" &amp;gt;
                    &amp;lt;div class="features-image-block" style="background-image:url( {{ rec_post.post_list_summary_featured_image }});"&amp;gt;
                        
                    &amp;lt;/div&amp;gt;
                    &amp;lt;div class="custom-post-body clearfix"&amp;gt;
                        &amp;lt;!--post summary--&amp;gt;
                        &amp;lt;h2&amp;gt;{{ rec_post.name }}&amp;lt;/h2&amp;gt;
                        &amp;lt;span class="author-hubspot" data-hubspot-form-id="author_data" data-hubspot-name="Blog Author"&amp;gt;
                            {{ rec_post.publish_date_local_time|datetimeformat('dd MMM YYYY') }} 
                        &amp;lt;/span&amp;gt;
                                              
                    &amp;lt;/div&amp;gt;
                &amp;lt;/div&amp;gt;  
                
            
            
       &amp;lt;/a&amp;gt;
    {% endfor %}
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 05 Feb 2018 07:09:10 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Want-to-know-the-procedure-for-showing-dynamic-content-blog/m-p/239425#M18321</guid>
      <dc:creator>narayan007</dc:creator>
      <dc:date>2018-02-05T07:09:10Z</dc:date>
    </item>
    <item>
      <title>Re: Want to know the procedure for showing dynamic content ( blog posts ) in static HTML template</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Want-to-know-the-procedure-for-showing-dynamic-content-blog/m-p/239426#M18322</link>
      <description>&lt;P&gt;Hi Laxmi_Narayan,&lt;/P&gt;
&lt;P&gt;Thanks for the reply.  I think my question is unclear &lt;IMG src="https://community.hubspot.com/legacyfs/online/emojis/twitter/expressionless.png?v=5" title=":expressionless:" class="emoji" alt=":expressionless:" /&gt;&lt;/P&gt;
&lt;P&gt;We have one hubspot id and there we have blogs. For one blog footer I want to show recent posts in that blog. And we have html template for the footer (attached image)&lt;BR /&gt;
&lt;/P&gt;&lt;DIV class="lightbox-wrapper"&gt;&lt;A class="lightbox" href="https://community.hubspot.com/legacyfs/online/uploads/default/original/2X/3/36eee58184c4be689078d2554bd4f41088c99f13.png" data-download-href="/legacyfs/online/uploads/default/36eee58184c4be689078d2554bd4f41088c99f13" title="image.png" rel="nofollow noopener"&gt;&lt;IMG src="https://community.hubspot.com/legacyfs/online/uploads/default/optimized/2X/3/36eee58184c4be689078d2554bd4f41088c99f13_1_690x126.png" alt="image" width="690" height="126" /&gt;&lt;DIV class="meta"&gt;
&lt;SPAN class="filename"&gt;image.png&lt;/SPAN&gt;&lt;SPAN class="informations"&gt;1439x263 18.2 KB&lt;/SPAN&gt;&lt;SPAN class="expand"&gt;&lt;/SPAN&gt;
&lt;/DIV&gt;&lt;/A&gt;&lt;/DIV&gt;.&lt;P&gt;&lt;/P&gt;
&lt;P&gt;So there how can we show dynamic content.&lt;/P&gt;
&lt;P&gt;Thanks,&lt;BR /&gt;
-Sabita.&lt;/P&gt;</description>
      <pubDate>Mon, 05 Feb 2018 07:40:10 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Want-to-know-the-procedure-for-showing-dynamic-content-blog/m-p/239426#M18322</guid>
      <dc:creator />
      <dc:date>2018-02-05T07:40:10Z</dc:date>
    </item>
    <item>
      <title>Re: Want to know the procedure for showing dynamic content ( blog posts ) in static HTML template</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Want-to-know-the-procedure-for-showing-dynamic-content-blog/m-p/239427#M18323</link>
      <description>&lt;P&gt;basically you need only one post, right?&lt;/P&gt;
&lt;P&gt;If you open blog in dashboard it will show you the blog id in url blogs/*******/manage/&lt;BR /&gt;
That you need to update in code and you can use 1 in&lt;BR /&gt;
{% set rec_posts = blog_recent_posts(*****, 1) %}&lt;BR /&gt;
and it will show only one post which one is recent once, please let me know if you still have an issue&lt;/P&gt;</description>
      <pubDate>Mon, 05 Feb 2018 07:41:45 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Want-to-know-the-procedure-for-showing-dynamic-content-blog/m-p/239427#M18323</guid>
      <dc:creator>narayan007</dc:creator>
      <dc:date>2018-02-05T07:41:45Z</dc:date>
    </item>
    <item>
      <title>Re: Want to know the procedure for showing dynamic content ( blog posts ) in static HTML template</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Want-to-know-the-procedure-for-showing-dynamic-content-blog/m-p/239428#M18324</link>
      <description>&lt;P&gt;Thanks a lot. Its working &lt;IMG src="https://community.hubspot.com/legacyfs/online/emojis/twitter/slight_smile.png?v=5" title=":slight_smile:" class="emoji" alt=":slight_smile:" /&gt;&lt;/P&gt;
&lt;P&gt;I used following for the author_name and published date.&lt;/P&gt;
&lt;P&gt;by {{rec_post.blog_author}} on {{rec_post.publish_date}}&lt;/P&gt;
&lt;P&gt;Can you please suggest, how can I format date in ‘on 24 November, 2017’ format?&lt;/P&gt;
&lt;P&gt;Thanks&lt;BR /&gt;
-Sabita.&lt;/P&gt;</description>
      <pubDate>Mon, 05 Feb 2018 08:39:27 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Want-to-know-the-procedure-for-showing-dynamic-content-blog/m-p/239428#M18324</guid>
      <dc:creator />
      <dc:date>2018-02-05T08:39:27Z</dc:date>
    </item>
    <item>
      <title>Re: Want to know the procedure for showing dynamic content ( blog posts ) in static HTML template</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Want-to-know-the-procedure-for-showing-dynamic-content-blog/m-p/239429#M18325</link>
      <description>&lt;P&gt;{{ rec_post.publish_date_local_time|datetimeformat(‘dd MMM , YYYY’) }}&lt;/P&gt;
&lt;P&gt;Thanks,&lt;BR /&gt;
Laxmi narayan&lt;/P&gt;</description>
      <pubDate>Mon, 05 Feb 2018 08:51:33 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Want-to-know-the-procedure-for-showing-dynamic-content-blog/m-p/239429#M18325</guid>
      <dc:creator>narayan007</dc:creator>
      <dc:date>2018-02-05T08:51:33Z</dc:date>
    </item>
  </channel>
</rss>

