ERI619
Legend
Run Spot.IM Across Your Site
Place this code on every page you'd like the Newsfeed to run on. Copy the script and paste it right before your closing </head> tag.
<blockquote class='code_blockquote'><dl><dt>Code: </dt><dd> </dd></dl><code><script type="text/javascript">!function(t,e,n){function a(t){var a=e.createElement("script");a.type="text/javascript",a.async=!0,a.src=("https:"===e.location.protocol?"https":"http")+":"+n,(t||e.body||e.head).appendChild(a)}function o(){var t=e.getElementsByTagName("script"),n=t[t.length-1];return n.parentNode} var p=o();t.spotId="sp_9GzIOcYR",t.parentElement=p,a(p)}(window.SPOTIM={},document,"//www.spot.im/launcher/bundle.js");</script></code></blockquote>
Display Replies Area
Place this code where you'd like Spot.IM's replies area to load.
<blockquote class='code_blockquote'><dl><dt>Code: </dt><dd> </dd></dl><code><div id="spot-im-frame-inpage"></div></code></blockquote>
Configure Conversation ID
In order to show a specific conversation, we recommend using a unique ID for each page. You may replace the data-post-id to unique ID of your choosing.
<blockquote class='code_blockquote'><dl><dt>Code: </dt><dd> </dd></dl><code><div id="spot-im-frame-inpage" data-post-id="POST_ID_GOES_HERE"></div></code></blockquote>
Display Replies Count
Add a span element where you want the replies count to be displayed.
Set the class attribute to "spot-im-replies-count" and data-post-id attribute.
The identifier of the post you want the replies count for. This will tell Spot.IM whice links to fetch for the replies count.
For example: <span class="spot-im-replies-count" data-post-id="postId">
Place this code on every page you'd like the Newsfeed to run on. Copy the script and paste it right before your closing </head> tag.
<blockquote class='code_blockquote'><dl><dt>Code: </dt><dd> </dd></dl><code><script type="text/javascript">!function(t,e,n){function a(t){var a=e.createElement("script");a.type="text/javascript",a.async=!0,a.src=("https:"===e.location.protocol?"https":"http")+":"+n,(t||e.body||e.head).appendChild(a)}function o(){var t=e.getElementsByTagName("script"),n=t[t.length-1];return n.parentNode} var p=o();t.spotId="sp_9GzIOcYR",t.parentElement=p,a(p)}(window.SPOTIM={},document,"//www.spot.im/launcher/bundle.js");</script></code></blockquote>
Display Replies Area
Place this code where you'd like Spot.IM's replies area to load.
<blockquote class='code_blockquote'><dl><dt>Code: </dt><dd> </dd></dl><code><div id="spot-im-frame-inpage"></div></code></blockquote>
Configure Conversation ID
In order to show a specific conversation, we recommend using a unique ID for each page. You may replace the data-post-id to unique ID of your choosing.
<blockquote class='code_blockquote'><dl><dt>Code: </dt><dd> </dd></dl><code><div id="spot-im-frame-inpage" data-post-id="POST_ID_GOES_HERE"></div></code></blockquote>
Display Replies Count
Add a span element where you want the replies count to be displayed.
Set the class attribute to "spot-im-replies-count" and data-post-id attribute.
The identifier of the post you want the replies count for. This will tell Spot.IM whice links to fetch for the replies count.
For example: <span class="spot-im-replies-count" data-post-id="postId">