<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title>The Disqus Blog - Latest Comments in A thread per-article from a blog?</title><link>http://disqus.disqus.com/</link><description>The Official Disqus Blog</description><atom:link href="https://disqus.disqus.com/a_thread_per_article_from_a_blog/latest.rss" rel="self"></atom:link><language>en</language><lastBuildDate>Thu, 08 Nov 2007 23:03:41 -0000</lastBuildDate><item><title>Re: A thread per-article from a blog?</title><link>https://disqus.com/home/discussion/disqus/a_thread_per_article_from_a_blog/#comment-10211</link><description>&lt;p&gt;Sweet!&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">obscurelyfamous</dc:creator><pubDate>Thu, 08 Nov 2007 23:03:41 -0000</pubDate></item><item><title>Re: A thread per-article from a blog?</title><link>https://disqus.com/home/discussion/disqus/a_thread_per_article_from_a_blog/#comment-10205</link><description>&lt;p&gt;Thanks for your help -- all working now!&lt;br&gt;&lt;a href="http://nb.inode.co.nz/archives/2007/11/09/index.html#e2007-11-09T03_51_54.txt" rel="nofollow noopener" target="_blank" title="http://nb.inode.co.nz/archives/2007/11/09/index.html#e2007-11-09T03_51_54.txt"&gt;http://nb.inode.co.nz/archi...&lt;/a&gt;&lt;br&gt;&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">inode</dc:creator><pubDate>Thu, 08 Nov 2007 22:55:38 -0000</pubDate></item><item><title>Re: A thread per-article from a blog?</title><link>https://disqus.com/home/discussion/disqus/a_thread_per_article_from_a_blog/#comment-10178</link><description>&lt;p&gt;Yeah, some of the linking is odd -- it basically puts all blog entries from the same day on the same page, hence the anchoring to identify which one you want.&lt;/p&gt;&lt;p&gt;At this stage I think I'll have to 'ignore' this, certainly it isn't disqus' fault :-)&lt;/p&gt;&lt;p&gt;Thanks for that code snippet, now I know what to look for in embed.js I see the whole "if undefined" set of code :-) Some more stuff to play with! &lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">inode</dc:creator><pubDate>Thu, 08 Nov 2007 21:29:53 -0000</pubDate></item><item><title>Re: A thread per-article from a blog?</title><link>https://disqus.com/home/discussion/disqus/a_thread_per_article_from_a_blog/#comment-10160</link><description>&lt;p&gt;You can pass the permalink of each post to the script as such:&lt;br&gt;&lt;code&gt;&lt;br&gt;&amp;lt;script type="text/javascript"&amp;gt;&lt;br&gt;  var disqus_url = '$PERMALINK';&lt;br&gt;&amp;lt;/script&amp;gt;&lt;br&gt;&lt;br&gt;&lt;/code&gt;&lt;br&gt;One thing I've noticed on your blog is that permalinks anchor to the post, though we ignore anchors for permalinks.  You can overcome that if you change the links to a query string when you pass it into disqus_url above.  (e.g., set disqus_url to &lt;a href="http://nb.inode.co.nz/archives/2007/10/31/index.html?e2007-10-31T11_05_34.txt" rel="nofollow noopener" target="_blank" title="http://nb.inode.co.nz/archives/2007/10/31/index.html?e2007-10-31T11_05_34.txt"&gt;http://nb.inode.co.nz/archi...&lt;/a&gt; -- the change I made was replacing '#' with '?' in your permanent link.)&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Jason</dc:creator><pubDate>Thu, 08 Nov 2007 20:42:49 -0000</pubDate></item><item><title>Re: A thread per-article from a blog?</title><link>https://disqus.com/home/discussion/disqus/a_thread_per_article_from_a_blog/#comment-10154</link><description>&lt;p&gt;The clue is a start, but a slightly targetted example would be better!&lt;/p&gt;&lt;p&gt;This is the blog template code at the moment :-&lt;/p&gt;&lt;p&gt;    &amp;lt; div class="posted"&amp;gt;&lt;br&gt;        &amp;lt; br /&amp;gt;$template_postedby &amp;lt; span class="item-creator"&amp;gt;$NB_EntryAuthor&amp;lt; /span&amp;gt;&lt;br&gt;$([ "$PERMALINKS" = "1" ] &amp;amp;&amp;amp; echo '| &amp;lt; a class="link" href="'${ARCHIVES_PATH}$NB_EntryPermalink'"&amp;gt;'$template_permlink'&amp;lt; /a&amp;gt;')&lt;br&gt;$([ ! -z "$NB_EntryCategories" ] &amp;amp;&amp;amp; echo "| $template_catlinks $NB_EntryCategories" |sed -e '{$ s/\,$//; }')&lt;br&gt;&amp;lt; div id="disqus_thread"&amp;gt;&amp;lt; /div&amp;gt;&amp;lt; script type="text/javascript" src="&lt;a href="http://disqus.com/forums/notabene/embed.js" rel="nofollow noopener" target="_blank" title="http://disqus.com/forums/notabene/embed.js"&gt;http://disqus.com/forums/no...&lt;/a&gt;"&amp;gt;&amp;lt; /script&amp;gt;&amp;lt; noscript&amp;gt;&amp;lt; a href="&lt;a href="http://notabene.disqus.com/?url=ref" rel="nofollow noopener" target="_blank" title="http://notabene.disqus.com/?url=ref"&gt;http://notabene.disqus.com/...&lt;/a&gt;"&amp;gt;View the forum thread.&amp;lt; /a&amp;gt;&amp;lt; /noscript&amp;gt;&lt;br&gt;    &amp;lt; /div&amp;gt;&lt;/p&gt;&lt;p&gt;So you can see that the URL of the article itself will be '${ARCHIVES_PATH}$NB_EntryPermalink'&lt;/p&gt;&lt;p&gt;However the Disqus code is purely generated by &amp;lt;script type="text/javascript" src="&lt;a href="http://disqus.com/forums/notabene/embed.js" rel="nofollow noopener" target="_blank" title="http://disqus.com/forums/notabene/embed.js"&gt;http://disqus.com/forums/no...&lt;/a&gt;"&amp;gt;&amp;lt;/script&amp;gt; and I don't know how to pass parameters into that (I'm not much of a javascript person)&lt;/p&gt;&lt;p&gt;I've grabbed that script, and it seems as if the implied link is coming via :-&lt;br&gt;var disqus_href = window.location.href;&lt;br&gt;This gets built up into disqus_url, which is passed into thread.js ...&lt;br&gt;disqus_script.src = '&lt;a href="http://disqus.com/forums/notabene/thread.js'" rel="nofollow noopener" target="_blank" title="http://disqus.com/forums/notabene/thread.js'"&gt;http://disqus.com/forums/no...&lt;/a&gt;&lt;br&gt;        + '?url='                       + encodeURI(disqus_url)&lt;/p&gt;&lt;p&gt;Do you think I should grab a local copy of embed.js and modify that, instead of using the one hosted on disqus? I don't think that's a good strategy as I'm sure to miss any development work that will go into that script over time ...&lt;/p&gt;&lt;p&gt;Or is there something else I've missed?&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">inode</dc:creator><pubDate>Thu, 08 Nov 2007 20:22:48 -0000</pubDate></item><item><title>Re: A thread per-article from a blog?</title><link>https://disqus.com/home/discussion/disqus/a_thread_per_article_from_a_blog/#comment-10130</link><description>&lt;p&gt;Hi inode,&lt;/p&gt;&lt;p&gt;Yup, the unique article identifier is the URL. Each new URL is a different&lt;br&gt;thread on Disqus.&lt;/p&gt;&lt;p&gt;Let me know if you need anything.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">obscurelyfamous</dc:creator><pubDate>Thu, 08 Nov 2007 18:34:02 -0000</pubDate></item></channel></rss>