<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Simone Carletti&#039;s Blog &#187; cocomment</title>
	<atom:link href="http://www.simonecarletti.com/blog/tags/cocomment/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.simonecarletti.com/blog</link>
	<description>Simone Carletti&#039;s personal ramblings on programming, syndication, search engines &#38; marketing.</description>
	<lastBuildDate>Tue, 07 Feb 2012 08:48:33 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>How to integrate coComment with Movable Type (&gt;= 3.2)</title>
		<link>http://www.simonecarletti.com/blog/2006/09/how-to-integrate-cocomment-with-movable-type-32/</link>
		<comments>http://www.simonecarletti.com/blog/2006/09/how-to-integrate-cocomment-with-movable-type-32/#comments</comments>
		<pubDate>Fri, 22 Sep 2006 09:59:08 +0000</pubDate>
		<dc:creator>Simone Carletti</dc:creator>
				<category><![CDATA[#undef]]></category>
		<category><![CDATA[cocomment]]></category>
		<category><![CDATA[movabletype]]></category>

		<guid isPermaLink="false">http://www.simonecarletti.com/blog/2006/09/how-to-integrate-cocomment-with-movable-type-32/</guid>
		<description><![CDATA[A tutorial to integrate coComment tracking code into a Movable Type blog.
]]></description>
			<content:encoded><![CDATA[<div class="flash-message warning">
<p><strong>December 30th, 2008</strong>. This post was published long time ago on the Italian version of my blog then moved here after the English blog has been opened. Please note that the following post can contain outdated information and (probably) multiple typos.</p>
</div>
<p>On Semptember 18, <a href="http://www.cocomment.com/">coComment</a> staff <a href="http://www.cocomment.com/teamblog/?p=116">posted a news</a> about an update of the code used to integrate comments tracking on your blog. The code sets a few blog variables such as page title or blog name used by coComment system to ensure that all blog details are correctly detected.<br />
If you use a <a href="http://www.cocomment.com/supported">coComment supported blogging platform</a> you can forget to manually integrate coComment inside your blog, but it&#8217;s always recommended.</p>
<p>To integrate coComment into your Movable Type blog you should follow these instructions.<br />
<span id="more-11"></span></p>
<h2>Movable Type code</h2>
<p>Starting from the <a href="http://www.cocomment.com/tools/integrate">new tracking code schema</a>, the following code is the Movable Type version.</p>
<div class="codecolorer-container text default brush: html" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;height:300px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br />2<br />3<br />4<br />5<br />6<br />7<br />8<br />9<br />10<br />11<br />12<br />13<br />14<br />15<br />16<br />17<br />18<br />19<br />20<br />21<br />22<br />23<br /></div></td><td><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">&lt;MTIfCommentsActive&gt;<br />
&lt;script type=&quot;text/javascript&quot;&gt;<br />
<br />
// this ensures coComment gets the correct values<br />
coco =<br />
{<br />
tool &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;: &quot;MovableType&quot;,<br />
siteurl &nbsp; &nbsp; &nbsp; : &quot;&lt;$MTBlogURL$&gt;&quot;,<br />
sitetitle &nbsp; &nbsp; : &quot;&lt;$MTBlogName encode_html=&quot;1&quot;$&gt;&quot;,<br />
pageurl &nbsp; &nbsp; &nbsp; : &quot;&lt;$MTEntryPermalink$&gt;&quot;,<br />
pagetitle &nbsp; &nbsp; : &quot;&lt;$MTEntryTitle encode_html=&quot;1&quot;$&gt;&quot;,<br />
author &nbsp; &nbsp; &nbsp; &nbsp;: &quot;&lt;$MTEntryAuthorDisplayName encode_html=&quot;1&quot;$&gt;&quot;,<br />
formID &nbsp; &nbsp; &nbsp; &nbsp;: &quot;comments_form&quot;,<br />
textareaID &nbsp; &nbsp;: &quot;text&quot;,<br />
buttonID &nbsp; &nbsp; &nbsp;: &quot;post&quot;<br />
}<br />
&lt;/script&gt;<br />
&lt;MTIfCommentsAccepted&gt;<br />
&lt;script id=&quot;cocomment-fetchlet&quot; src=&quot;http://www.cocomment.com/js/enabler.js&quot; type=&quot;text/javascript&quot;&gt;<br />
// this activates coComment<br />
&lt;/script&gt;<br />
&lt;/MTIfCommentsAccepted&gt;<br />
&lt;/MTIfCommentsActive&gt;</div></td></tr></tbody></table></div>
<h2>Edit Individual Entry Archive template</h2>
<p>In a default Movable Type 3.2 or 3.3 installation the comment form is included into the Individual Entry Archive Template.</p>
<p>Open your template manager (<em>Main Menu &gt; Select your blog &gt; Templates &gt; Archives &gt; Individual Entry Archive</em>) and add the code above before the &lt;/head&gt;.</p>
<h2>Edit Comment Preview Template</h2>
<p>Open your template manager (<em>Main Menu &gt; Select your blog &gt; Templates &gt; System &gt; Comment Preview Template</em>) and add the tracking code before the &lt;/head&gt; tag.</p>
<h2>Rebuild your site</h2>
<p>Now save, close all templates and rebuild your blog.</p>
<p>Note. This quick tutorial is valid for a default Movable Type Installation. If you changed the default templates it&#8217;s up to you to find the right templates and add the tracking code.</p>
<p>Related posts<ol>
<li><a href='http://www.simonecarletti.com/blog/2005/10/creating-a-blog-sitemap-with-movable-type/' rel='bookmark' title='Creating a blog sitemap with Movable Type'>Creating a blog sitemap with Movable Type</a></li>
<li><a href='http://www.simonecarletti.com/blog/2009/02/movable-type-to-wordpress-importer-utilities/' rel='bookmark' title='Movable Type to WordPress Importer Utilities'>Movable Type to WordPress Importer Utilities</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.simonecarletti.com/blog/2006/09/how-to-integrate-cocomment-with-movable-type-32/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>

