<?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: How to hide the first post in a RSS list... is it possible? in CMS Development</title>
    <link>https://community.hubspot.com/t5/CMS-Development/How-to-hide-the-first-post-in-a-RSS-list-is-it-possible/m-p/326045#M15723</link>
    <description>&lt;P&gt;Hey &lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/124068"&gt;@gabrielaguido&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So with the default RSS HubL markup I do not think this is possible. But If you were to use the "blog_recent_posts" function to create a dictionaery of post, you can easily skip the first item in the dictinery when printing it with your choice of contition logic.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://designers.hubspot.com/docs/tutorials/printing-sets-of-blog-posts-on-page-templates" target="_self"&gt;Reference!&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 16 Mar 2020 14:13:53 GMT</pubDate>
    <dc:creator>Kevin-C</dc:creator>
    <dc:date>2020-03-16T14:13:53Z</dc:date>
    <item>
      <title>How to hide the first post in a RSS list... is it possible?</title>
      <link>https://community.hubspot.com/t5/CMS-Development/How-to-hide-the-first-post-in-a-RSS-list-is-it-possible/m-p/325880#M15709</link>
      <description>&lt;P&gt;Hi there!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've created a home page using a page template, but need to include a blog post feed displaying the last post as a featured post (larger than the rest), will probably do this manually everytime a new post comes up (unless I find a better way to do this). &amp;nbsp;I figured I could do this with the RSS listing module but the last post will appear duplicated: featured post and then again at the top of the RSS list. &amp;nbsp;You've probably already figured this one out, but I can't find a specific answer to my question (or I am probably doing the wrong search). &amp;nbsp;My knowledge of HubL is very, very limited, but I have been learning a little on the go.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Should I include a specific code in the RSS listing module? &amp;nbsp;This is the module's standard code:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;{% if module.rss_feed_type == "external" %}&lt;BR /&gt;{% set feed_source = "{is_external=True, rss_url='"~module.rss_url~"', content_group_id=''}" %}&lt;BR /&gt;{% set is_external = true %}&lt;BR /&gt;{% elif module.rss_feed_type == "blog" %}&lt;BR /&gt;{% set feed_source = "{is_external=False, content_group_id='" ~ module.content_group_id ~ "', rss_url=''}" %}&lt;BR /&gt;{% set is_external = false %}&lt;BR /&gt;{% endif %}&lt;/P&gt;&lt;P&gt;{% rss_listing&lt;BR /&gt;publish_date_text="{{ module.publish_date_text }}",&lt;BR /&gt;rss_url="{{ module.rss_url }}",&lt;BR /&gt;is_external="{{ is_external }}",&lt;BR /&gt;click_through_text="{{ module.click_through_text }}",&lt;BR /&gt;show_date="{{ module.show_date }}",&lt;BR /&gt;content_group_id="{{ module.content_group_id }}",&lt;BR /&gt;include_featured_image="{{ module.include_featured_image }}",&lt;BR /&gt;publish_date_format="{{ module.publish_date_format }}",&lt;BR /&gt;show_detail="{{ module.show_detail }}",&lt;BR /&gt;show_author="{{ module.show_author }}",&lt;BR /&gt;number_of_items="{{ module.number_of_items }}",&lt;BR /&gt;title="{{ module.title }}",&lt;BR /&gt;limit_to_chars="{{ module.limit_to_chars }}",&lt;BR /&gt;attribution_text="{{ module.attribution_text }}",&lt;BR /&gt;topic_id="{{ module.topic_id }}"&lt;BR /&gt;feed_source="{{ feed_source }}"&lt;BR /&gt;%}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you in advance for any help!&lt;/P&gt;&lt;P&gt;Gaby&lt;/P&gt;</description>
      <pubDate>Sat, 14 Mar 2020 16:20:02 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/How-to-hide-the-first-post-in-a-RSS-list-is-it-possible/m-p/325880#M15709</guid>
      <dc:creator>gabrielaguido</dc:creator>
      <dc:date>2020-03-14T16:20:02Z</dc:date>
    </item>
    <item>
      <title>Re: How to hide the first post in a RSS list... is it possible?</title>
      <link>https://community.hubspot.com/t5/CMS-Development/How-to-hide-the-first-post-in-a-RSS-list-is-it-possible/m-p/326045#M15723</link>
      <description>&lt;P&gt;Hey &lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/124068"&gt;@gabrielaguido&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So with the default RSS HubL markup I do not think this is possible. But If you were to use the "blog_recent_posts" function to create a dictionaery of post, you can easily skip the first item in the dictinery when printing it with your choice of contition logic.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://designers.hubspot.com/docs/tutorials/printing-sets-of-blog-posts-on-page-templates" target="_self"&gt;Reference!&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 16 Mar 2020 14:13:53 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/How-to-hide-the-first-post-in-a-RSS-list-is-it-possible/m-p/326045#M15723</guid>
      <dc:creator>Kevin-C</dc:creator>
      <dc:date>2020-03-16T14:13:53Z</dc:date>
    </item>
  </channel>
</rss>

