<?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 Blog Post Template - Optimize Word Count Incorrect in CMS Development</title>
    <link>https://community.hubspot.com/t5/CMS-Development/Custom-Blog-Post-Template-Optimize-Word-Count-Incorrect/m-p/350773#M17311</link>
    <description>&lt;P&gt;Thank you for sharing your solution&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/85417"&gt;@ingramleedy&lt;/a&gt;!&lt;/P&gt;</description>
    <pubDate>Mon, 29 Jun 2020 21:13:59 GMT</pubDate>
    <dc:creator>jennysowyrda</dc:creator>
    <dc:date>2020-06-29T21:13:59Z</dc:date>
    <item>
      <title>Custom Blog Post Template - Optimize Word Count Incorrect</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Custom-Blog-Post-Template-Optimize-Word-Count-Incorrect/m-p/350440#M17285</link>
      <description>&lt;P&gt;Hi.&amp;nbsp; I am working on a customzied blog template that inserts CTAs automatically in blog content.&amp;nbsp; It's based loosely on another post here,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.hubspot.com/t5/CMS-Development/HubL-coding-in-a-blog-template-to-insert-a-line-of-text-after-a/m-p/53706" target="_blank"&gt;https://community.hubspot.com/t5/CMS-Development/HubL-coding-in-a-blog-template-to-insert-a-line-of-text-after-a/m-p/53706&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It works great!&amp;nbsp; However, when I edit the post and go to the optimize page it shows that the Word count of whats in the Title vs what is in the&amp;nbsp;content.post_body.&amp;nbsp; &amp;nbsp;When I render the new content out, render out what in in&amp;nbsp;content.post_body, but when I encounter a paragraph break I insert CTA code after so many paragraphs.&amp;nbsp;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;On a side note, it seems that this would be a good feature for Hubspot to have some kind of management system for blog posts, as I dont want to go thru all my blog posts and change out custom inserted CTAs.&amp;nbsp; This was an easy way to add them across all assets if I am running an offer or something.&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;I dont know if I am missing some kinda of tag or ID that the optimize is using.&amp;nbsp; The variabe&amp;nbsp;content.post_body contains all the content it should be counting.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Any feedback is welcomed.&amp;nbsp; &amp;nbsp;Am I missing something?&lt;/P&gt;&lt;P&gt;-Ingram&lt;/P&gt;</description>
      <pubDate>Sat, 27 Jun 2020 22:33:24 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Custom-Blog-Post-Template-Optimize-Word-Count-Incorrect/m-p/350440#M17285</guid>
      <dc:creator>ingramleedy</dc:creator>
      <dc:date>2020-06-27T22:33:24Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Blog Post Template - Optimize Word Count Incorrect</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Custom-Blog-Post-Template-Optimize-Word-Count-Incorrect/m-p/350461#M17287</link>
      <description>&lt;P&gt;Solved.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Looks like the blog posts have to be wrapped in this class to be counted correctly.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;lt;div class="blog-post-wrapper cell-wrapper"&amp;gt;&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 28 Jun 2020 16:24:21 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Custom-Blog-Post-Template-Optimize-Word-Count-Incorrect/m-p/350461#M17287</guid>
      <dc:creator>ingramleedy</dc:creator>
      <dc:date>2020-06-28T16:24:21Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Blog Post Template - Optimize Word Count Incorrect</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Custom-Blog-Post-Template-Optimize-Word-Count-Incorrect/m-p/350773#M17311</link>
      <description>&lt;P&gt;Thank you for sharing your solution&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/85417"&gt;@ingramleedy&lt;/a&gt;!&lt;/P&gt;</description>
      <pubDate>Mon, 29 Jun 2020 21:13:59 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Custom-Blog-Post-Template-Optimize-Word-Count-Incorrect/m-p/350773#M17311</guid>
      <dc:creator>jennysowyrda</dc:creator>
      <dc:date>2020-06-29T21:13:59Z</dc:date>
    </item>
  </channel>
</rss>

