<?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: Combine two topics into one list, outside blog in CMS Development</title>
    <link>https://community.hubspot.com/t5/CMS-Development/Combine-two-topics-into-one-list-outside-blog/m-p/203323#M7827</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/21598"&gt;@radar&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Are you still experiencing this issue?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Have you taken a look at the HubL docs and tuitorials? They may be a good starting point to take a look at. I wanted to share this &lt;A href="https://designers.hubspot.com/tutorials/creating-a-related-post-listing" target="_blank"&gt;tuitorial&lt;/A&gt; for reference (see more along the left hand side).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you're still having issues after taking a look at those, please let us know.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you,&lt;/P&gt;
&lt;P&gt;Jenny&lt;/P&gt;</description>
    <pubDate>Thu, 23 Aug 2018 13:14:05 GMT</pubDate>
    <dc:creator>jennysowyrda</dc:creator>
    <dc:date>2018-08-23T13:14:05Z</dc:date>
    <item>
      <title>Combine two topics into one list, outside blog</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Combine-two-topics-into-one-list-outside-blog/m-p/200282#M7323</link>
      <description>&lt;P&gt;Is it possible to combine two topics into one list? When I say combine, I mean only show posts where the&amp;nbsp;given set of topics are present at the same time.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For example:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;{% set topic1 = blog_recent_topic_posts('default', 'topic1_name', limit=25) %} &lt;BR /&gt;{% set topic2 = blog_recent_topic_posts('default', 'topic2_name', limit=25) %}&lt;BR /&gt;&lt;BR /&gt;{% set all_posts = (topic1 + topic2) | sort(true, false, 'publish_date') %}&lt;BR /&gt;&lt;BR /&gt;{% for post in all_posts %}&lt;BR /&gt;  {# markup #}&lt;BR /&gt;{% endfor %}&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If working as intended&amp;nbsp;this would yield a list of&amp;nbsp;results where only&amp;nbsp;topic1 and topic2 are present on the same post.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The error I've had is the resulting list shows all posts with topic1 and then a duplicate post with topic1 + topic2.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any thoughts?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 01 Aug 2018 20:13:49 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Combine-two-topics-into-one-list-outside-blog/m-p/200282#M7323</guid>
      <dc:creator>radar</dc:creator>
      <dc:date>2018-08-01T20:13:49Z</dc:date>
    </item>
    <item>
      <title>Re: Combine two topics into one list, outside blog</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Combine-two-topics-into-one-list-outside-blog/m-p/203323#M7827</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/21598"&gt;@radar&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Are you still experiencing this issue?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Have you taken a look at the HubL docs and tuitorials? They may be a good starting point to take a look at. I wanted to share this &lt;A href="https://designers.hubspot.com/tutorials/creating-a-related-post-listing" target="_blank"&gt;tuitorial&lt;/A&gt; for reference (see more along the left hand side).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you're still having issues after taking a look at those, please let us know.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you,&lt;/P&gt;
&lt;P&gt;Jenny&lt;/P&gt;</description>
      <pubDate>Thu, 23 Aug 2018 13:14:05 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Combine-two-topics-into-one-list-outside-blog/m-p/203323#M7827</guid>
      <dc:creator>jennysowyrda</dc:creator>
      <dc:date>2018-08-23T13:14:05Z</dc:date>
    </item>
    <item>
      <title>Re: Combine two topics into one list, outside blog</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Combine-two-topics-into-one-list-outside-blog/m-p/203419#M7845</link>
      <description>&lt;P&gt;That documentation is helpful, not quite what I was looking for though. Essentially I was going to use HubL to display a series of posts based on a specific combination of tags only if they were both mutually present at the same time.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Said another way, instead of getting all posts tagged with either topic1 and or topic2,&amp;nbsp;&lt;EM&gt;only show&lt;/EM&gt; posts when topic1 and topic2 exist together.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;I ended up using some filtering, post IDs and a drop down to select specific posts to show&amp;nbsp;where relevant. This was for a directory listing, not a traditional blog if curious.&lt;/P&gt;</description>
      <pubDate>Thu, 23 Aug 2018 17:48:46 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Combine-two-topics-into-one-list-outside-blog/m-p/203419#M7845</guid>
      <dc:creator>radar</dc:creator>
      <dc:date>2018-08-23T17:48:46Z</dc:date>
    </item>
    <item>
      <title>Re: Combine two topics into one list, outside blog</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Combine-two-topics-into-one-list-outside-blog/m-p/203592#M7875</link>
      <description>&lt;P&gt;Thank you for sharing&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/21598"&gt;@radar&lt;/a&gt;!&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 24 Aug 2018 14:13:28 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Combine-two-topics-into-one-list-outside-blog/m-p/203592#M7875</guid>
      <dc:creator>jennysowyrda</dc:creator>
      <dc:date>2018-08-24T14:13:28Z</dc:date>
    </item>
  </channel>
</rss>

