<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title>Disqus - Latest Comments for chrisdfeld</title><link>http://disqus.com/by/chrisdfeld/</link><description></description><atom:link href="http://disqus.com/chrisdfeld/comments.rss" rel="self"></atom:link><language>en</language><lastBuildDate>Sun, 07 Aug 2016 21:52:18 -0000</lastBuildDate><item><title>Re: Splitting a Subversion repository into multiple repositories / Blog / Mugo - Mugo Web | eZ Publish specialists in North America</title><link>http://www.mugo.ca/Blog/Spliting-a-repository-into-multiple-multiple-repositories#comment-2826070289</link><description>&lt;p&gt;Thanks, these steps worked for me with one minor modification. The project folder I split out was beneath a parent folder (ex. /parent/project_n) and I wanted to keep that path structure intact for the new repository (meaning I skipped the "sed" commands in step 3).&lt;/p&gt;&lt;p&gt;However, I encountered the error below when attempting to load the filtered repo in step 5, and the load command failed:&lt;/p&gt;&lt;p&gt;svnadmin: File not found: transaction '0-1', path 'parent/project_n'&lt;/p&gt;&lt;p&gt;It was necessary to first make a small commit to the new project_n repo to create the expected parent folder, as follows:&lt;/p&gt;&lt;p&gt;svn mkdir http://svn.example .com/project_n/parent -m "Initialize parent folder in preparation for loading SVN dump"&lt;/p&gt;&lt;p&gt;Then step 5 was successful. Note that due to this extra step revision 1 of the new repository is taken for the parent folder creation, and the loaded repo revisions are renumbered starting with revision 2. Something to keep in mind for those counting on specific revision numbers.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">chrisdfeld</dc:creator><pubDate>Sun, 07 Aug 2016 21:52:18 -0000</pubDate></item><item><title>Re: HOW TO: Integrate DISQUS on Blogger/BlogSpot Classic Template</title><link>http://gameshogun.ws/webdev10tutorials/how-to-integrate-disqus-on-blogger-blogs#comment-7253377</link><description>&lt;p&gt;Hi JC, you can just copy and paste the code I included in my first comment:&lt;/p&gt;&lt;p&gt;&lt;a href="http://webdev.gameshogun.ws/10tutorials/how-to-integrate-disqus-on-blogger-blogs#comment-7216137" rel="nofollow noopener" target="_blank" title="http://webdev.gameshogun.ws/10tutorials/how-to-integrate-disqus-on-blogger-blogs#comment-7216137"&gt;http://webdev.gameshogun.ws...&lt;/a&gt;&lt;/p&gt;&lt;p&gt;That code addresses the issues explained above.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">chrisdfeld</dc:creator><pubDate>Mon, 16 Mar 2009 09:40:33 -0000</pubDate></item><item><title>Re: Help using Disqus with custom Blogger templates</title><link>https://disqus.com/home/discussion/disqus/help_using_disqus_with_custom_blogger_templates/#comment-7248236</link><description>&lt;p&gt;My follow-up, explaining the specific issues with the original Classic template code (which also impact the test blog):&lt;/p&gt;&lt;p&gt;&lt;a href="http://gameshogun.disqus.com/how_to_integrate_disqus_on_bloggerblogspot_classic_template/#comment-7248132" rel="nofollow noopener" target="_blank" title="http://gameshogun.disqus.com/how_to_integrate_disqus_on_bloggerblogspot_classic_template/#comment-7248132"&gt;http://gameshogun.disqus.co...&lt;/a&gt;&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">chrisdfeld</dc:creator><pubDate>Sun, 15 Mar 2009 23:55:54 -0000</pubDate></item><item><title>Re: HOW TO: Integrate DISQUS on Blogger/BlogSpot Classic Template</title><link>http://gameshogun.ws/webdev10tutorials/how-to-integrate-disqus-on-blogger-blogs#comment-7248132</link><description>&lt;p&gt;Hi JC,&lt;/p&gt;&lt;p&gt;First, I want to thank you for contributing the guide (it sounds like you are the author).  I didn't mean to suggest that your code was sloppy or that you had made no effort to test it, and I realize that you've pulled together code from other sources.  I found the guide useful and I do appreciate your efforts.&lt;/p&gt;&lt;p&gt;However, you claimed that my replacement code contains only slight changes from the original code.  You also point to your test blog as evidence that the original code is fully functional.  I have to disagree with you on both counts.&lt;/p&gt;&lt;p&gt;I made changes to 14 out of 31 lines in the relevant code -- almost half of it.  My changes addressed 2 big issues with the original code:&lt;/p&gt;&lt;p&gt;1. Your code incorrectly uses XML syntax throughout.  Blogger 2.0 templates are XML files, but Classic Blogger templates are HTML.  You can't use XML tags in a Classic template.  To convert your XML tags to HTML, I had to do the following:&lt;/p&gt;&lt;p&gt;- Replace improperly escaped entities (less-than, greater-than, single/double quotes) with literal characters&lt;br&gt;- Add separate SCRIPT closing tags (self-closing SCRIPT tags don't work in HTML)&lt;br&gt;- Change link tag URL properties from "expr:href" to "href" and remove redundant quoting&lt;/p&gt;&lt;p&gt;2. Your code incorrectly uses Blogger 2.0 template tags that aren't recognized or parsed in Classic Blogger templates.  For example, &amp;lt;data:post.url/&amp;gt; (used in Step 5.2) is a Blogger 2.0 template tag.  That tag isn't available in a Classic template and doesn't get parsed by Blogger.  You need to use the equivalent Classic template tag, &amp;lt;$BlogItemPermalinkUrl$&amp;gt;.  Likewise, the code block in Step 6.2 uses Blogger 2.0 conditional syntax (&amp;lt;b:if cond="..."&amp;gt;) that fails in a Classic template.  The Classic equivalent is &amp;lt;itempage&amp;gt;.&lt;/p&gt;&lt;p&gt;These code errors have serious side-effects.  Although your test blog looks functional at first glance, you'll notice the problems when you look more closely:&lt;/p&gt;&lt;p&gt;1. Because your code contains XML syntax, some of your page content doesn't display.  View the page source in your browser and locate the source code corresponding to Step 5.2.  Notice the code for a link labelled "blog comments powered by Disqus."  Also notice, below that, the HTML that should display a heading called "Links to this post".  Now look at the page as rendered in your browser -- no link, no heading.  That's because the invalid XML syntax causes your browser to disregard everything between the SCRIPT tag for embed.js and the next occurrence of a SCRIPT tag in the HTML.  For your test blog, it's just a couple of lines of text, but it can easily cause half of the page to disappear on another blog.&lt;/p&gt;&lt;p&gt;2. Also because of the XML syntax, the entire code block for Step 6.2 doesn't execute.  That code looks for Disqus comments links throughout the page and dynamically displays the number of comments in the link caption.  You probably didn't notice this was missing on your test blog because you didn't have any comments links.  I just added a comment to your latest sample post demonstrating the issue.&lt;/p&gt;&lt;p&gt;3. Because your code uses Blogger 2.0 template tags in a Classic template, the code for Step 6.2 doesn't appear in the correct places.  It uses a conditional statement that is intended to display the code only on blog posts and not on the home page, archive pages, etc.  But on your test blog, the code block displays everywhere, not just on post pages.&lt;/p&gt;&lt;p&gt;I understand that these are subtle issues, and clearly they will affect some blogs more than others.  In the case of your test blog, you pasted the code, loaded the page, saw comments and assumed it was working fine.  In my case, I tried to use the same code on an actual production blog and encountered major problems due to the issues I described above.&lt;/p&gt;&lt;p&gt;If you update your test blog with my replacement code, here are the fixes you'll see:&lt;/p&gt;&lt;p&gt;1. The "blog comments powered by DISQUS" link and "Links to this post" heading will appear on the page&lt;br&gt;2. The comment-counting JavaScript (Step 6.2) will run correctly and update the hyperlink in my test comment&lt;br&gt;3. The comment-counting JavaScript will appear only on post pages as intended, and not on the home page&lt;br&gt;4. The page will no longer generate JavaScript errors related to invalid syntax&lt;/p&gt;&lt;p&gt;I hope this helps to clarify the way I characterized the drawbacks of the original code in the guide.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">chrisdfeld</dc:creator><pubDate>Sun, 15 Mar 2009 23:47:07 -0000</pubDate></item><item><title>Re: Classic-Test-Blog: Creating a New Sample Post</title><link>http://classictestblog.blogspot.com/2009/03/creating-new-sample-post.html#comment-7248039</link><description>&lt;p&gt;If the comment-counting code is working properly, the following hyperlink should change to show the number of comments to this post.  &lt;a href="http://classictestblog.blogspot.com/2009/03/creating-new-sample-post.html#disqus_thread" rel="nofollow noopener" target="_blank" title="http://classictestblog.blogspot.com/2009/03/creating-new-sample-post.html#disqus_thread"&gt;If you can read this, the comment-counting code did not execute&lt;/a&gt;&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">chrisdfeld</dc:creator><pubDate>Sun, 15 Mar 2009 23:38:39 -0000</pubDate></item><item><title>Re: Help using Disqus with custom Blogger templates</title><link>https://disqus.com/home/discussion/disqus/help_using_disqus_with_custom_blogger_templates/#comment-7216358</link><description>&lt;p&gt;Just a heads-up, I have found several issues with the Blogger Classic code posted at the URL in the OP.  I responded to that post with replacement code that will work.  The working code can be found here:&lt;/p&gt;&lt;p&gt;&lt;a href="http://gameshogun.disqus.com/how_to_integrate_disqus_on_bloggerblogspot_classic_template/#comment-7216137" rel="nofollow noopener" target="_blank" title="http://gameshogun.disqus.com/how_to_integrate_disqus_on_bloggerblogspot_classic_template/#comment-7216137"&gt;http://gameshogun.disqus.co...&lt;/a&gt;&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">chrisdfeld</dc:creator><pubDate>Sat, 14 Mar 2009 14:00:52 -0000</pubDate></item><item><title>Re: HOW TO: Integrate DISQUS on Blogger/BlogSpot Classic Template</title><link>http://gameshogun.ws/webdev10tutorials/how-to-integrate-disqus-on-blogger-blogs#comment-7216137</link><description>&lt;p&gt;Thanks for this, but the Blogger Classic/Disqus integration code above is full of mistakes.  I needed to make a bunch of modifications to get it to work properly.  Here is some replacement code that will work with Blogger Classic:&lt;/p&gt;&lt;p&gt;&lt;strong&gt;Step 5.2:&lt;/strong&gt;&lt;br&gt;&lt;code&gt;&lt;br&gt;&amp;lt;dl id="comments-disqus"&amp;gt;&lt;br&gt;    &lt;br&gt;    &amp;lt;div id="disqus_thread"/&amp;gt;&lt;br&gt;    &amp;lt;div id="disqus_post_title" style="display:none;"&amp;gt;&amp;lt;$BlogItemTitle$&amp;gt;&amp;lt;/div&amp;gt;&lt;br&gt;    &amp;lt;div id="disqus_post_message" style="display:none;"&amp;gt;&amp;lt;$BlogItemBody$&amp;gt;&amp;lt;/div&amp;gt;&lt;br&gt;    &amp;lt;script type="text/javascript"&amp;gt;&lt;br&gt;      var disqus_url = '&amp;lt;$BlogItemPermalinkUrl$&amp;gt;';&lt;br&gt;      var disqus_title = document.getElementById('disqus_post_title').innerHTML;&lt;br&gt;      var disqus_message = document.getElementById('disqus_post_message').innerHTML;&lt;br&gt;    &amp;lt;/script&amp;gt;&lt;br&gt;    &amp;lt;script src="http://disqus.com/forums/DISQUS-SHORT-NAME/embed.js" type="text/javascript"&amp;gt;&amp;lt;/script&amp;gt;&lt;br&gt;    &amp;lt;noscript&amp;gt;[a href='http://DISQUS-SHORT-NAME.disqus.com/?url=&amp;lt;$BlogItemPermalinkUrl$&amp;gt;']View the entire comment thread.[/a]&amp;lt;/noscript&amp;gt;&lt;br&gt;    [a class='dsq-brlink' href='http://disqus.com']blog comments powered by &lt;span&gt;Disqus&lt;/span&gt;[/a]&lt;br&gt;    &lt;br&gt;&amp;lt;/dl&amp;gt;&lt;br&gt;&lt;/code&gt;&lt;/p&gt;&lt;p&gt;&lt;strong&gt;Step 6.2:&lt;/strong&gt;&lt;br&gt;&lt;code&gt;&lt;br&gt;&lt;br&gt;&amp;lt;itempage&amp;gt;&lt;br&gt;  &amp;lt;script type="text/javascript"&amp;gt;&lt;br&gt;    (function() {&lt;br&gt;      var links = document.getElementsByTagName('a');&lt;br&gt;      var query = '?';&lt;br&gt;      for(var i = 0; i &amp;lt; links.length; i++) {&lt;br&gt;        if(links[i].href.indexOf('#disqus_thread') &amp;gt;= 0) {&lt;br&gt;          query += 'url' + i + '=' + encodeURIComponent(links[i].href) + '&amp;amp;';&lt;br&gt;        }&lt;br&gt;      }&lt;br&gt;      document.write('&amp;lt;script type="text/javascript" src="http://disqus.com/forums/DISQUS-SHORT-NAME/get_num_replies.js' + query + '"&amp;gt;');&lt;br&gt;    })();&lt;br&gt;  &amp;lt;/script&amp;gt;&lt;br&gt;&amp;lt;/itempage&amp;gt;&lt;br&gt;&lt;br&gt;&lt;/code&gt;&lt;/p&gt;&lt;p&gt;Because of the comment system, I had to replace anchor link code with square brackets instead of arrow brackets.  Where you see [a] and [/a] tags in the code above, replace with arrow brackets (less than/greater than).&lt;br&gt;&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">chrisdfeld</dc:creator><pubDate>Sat, 14 Mar 2009 13:46:25 -0000</pubDate></item><item><title>Re: How does disqus work? Confused. Please help</title><link>https://disqus.com/home/discussion/disqus/how_does_disqus_work_confused_please_help/#comment-7215939</link><description>&lt;p&gt;Please disregard, just testing the comment capabilities of Disqus.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">chrisdfeld</dc:creator><pubDate>Sat, 14 Mar 2009 13:33:05 -0000</pubDate></item></channel></rss>