<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
<channel>
<title>Thingamablog Blog</title>
<link>http://www.thekimerers.com/brian/blogs/TAMB/index.php</link>
<description>Using, Customizing, and Hacking Thingamablog</description>
<language>en-US</language>
<copyright>Copyright 2010</copyright>
<lastBuildDate>Fri, 13 Aug 2010 20:09:16 -0400</lastBuildDate>
<pubDate>Fri, 13 Aug 2010 20:09:16 -0400</pubDate>
<generator>http://thingamablog.sf.net</generator>
<docs>http://blogs.law.harvard.edu/tech/rss</docs>

<item>
<title>Thingamablog is Dead</title>
<description>&lt;p&gt;
      I think that Thingamablog is dead. Here is why:
    &lt;/p&gt;
    &lt;ul&gt;
      &lt;li&gt;
        There is nothing on the forum any more but SPAM.
      &lt;/li&gt;
      &lt;li&gt;
        Bob has abandoned the project again. He has not corresponded since 
        January 2010.
      &lt;/li&gt;
      &lt;li&gt;
        The latest version of Thingamablog is full of show stopper bugs (it 
        hangs on upload).
      &lt;/li&gt;
      &lt;li&gt;
        The &amp;quot;open source&amp;quot; version does not contain all of the source code.
      &lt;/li&gt;
      &lt;li&gt;
        One of the moderators deletes every post that I add to the forum, 
        regardless of its content (an infantile act).
      &lt;/li&gt;
    &lt;/ul&gt;
    &lt;p&gt;
      I have been a strong supporter of Thingamablog for quite a while now, 
      but I have given up. It is totally unsupported, buggy code being touted 
      by churlish gerns.
    &lt;/p&gt;
    &lt;p&gt;
      So don't be surprised if Thingamablog goes away entirely soon. A lot of 
      users have bailed out in frustration.
    &lt;/p&gt;
    &lt;p&gt;
      Ironically, I am still using it to post my own blogs, but I am looking 
      for alternatives. Perhaps I will create one.
    &lt;/p&gt;
    &lt;p&gt;
      
    &lt;/p&gt;</description>
<link>http://www.thekimerers.com/brian/blogs/TAMB/archives/08-01-2010_08-31-2010.php#86</link>
<guid>http://www.thekimerers.com/brian/blogs/TAMB/archives/08-01-2010_08-31-2010.php#86</guid>

<category></category>

<pubDate>Fri, 13 Aug 2010 20:09:15 -0400</pubDate>
</item>

<item>
<title>Forum is Down</title>
<description>&lt;p&gt;
      I just tried to look at the Thingamablog forum to see what is going on. 
      All I get is a 500 error and a 404. I guess the Thingamablog forum is 
      gone again.
    &lt;/p&gt;
    &lt;p&gt;
      This blog tool appears to be dead and abandoned.
    &lt;/p&gt;
    &lt;p&gt;
      &lt;i&gt;Edit: Oops. It's back up.&lt;/i&gt;
    &lt;/p&gt;</description>
<link>http://www.thekimerers.com/brian/blogs/TAMB/archives/07-01-2010_07-31-2010.php#84</link>
<guid>http://www.thekimerers.com/brian/blogs/TAMB/archives/07-01-2010_07-31-2010.php#84</guid>

<category></category>

<pubDate>Tue, 20 Jul 2010 20:29:13 -0400</pubDate>
</item>

<item>
<title>Open Source?</title>
<description>&lt;p&gt;
      Q: When is Open Source not Open Source?
    &lt;/p&gt;
    &lt;p&gt;
      A: When some of the source code is not delivered.
    &lt;/p&gt;
    &lt;p&gt;
      There have been questions arising from the user base about why 
      Thingamablog 1.5 was not delivered Open Source. Version 1.1 was open 
      source. Bob decided to keep the source code proprietary for that 
      version. We have not received an answer for why he did that other that 
      &amp;quot;That is the way it is&amp;quot;.
    &lt;/p&gt;
    &lt;p&gt;
      Since Bob has abandoned the program again, and it has some show stopper 
      bugs in it now (it freezes when you try to upload the blog), the 1.5 
      version has become unusable for some people. Bob is not answering any 
      queries about the bug. Since the code is not open source, the user 
      community has no way to fix the problem either.
    &lt;/p&gt;
    &lt;p&gt;
      &amp;quot;Thank goodness I stayed with version 1.1b6&amp;quot;, I said, &amp;quot;which was Open 
      Source&amp;quot;! So I opened up some source files to see if it would be 
      worthwhile to carry this tool forward in the future. Here is what I 
      discovered.
    &lt;/p&gt;
    &lt;p&gt;
      I opened up the file HTMLEditor.java (since that seems to be really slow 
      and I thought I could speed it up) to see if I could puzzle out how it 
      works. That is when I found this in the file:
    &lt;/p&gt;
    &lt;pre&gt;import net.atlanticbb.tantlinger.i18n.I18n;
import net.atlanticbb.tantlinger.ui.UIUtils;
import net.atlanticbb.tantlinger.ui.text.CompoundUndoManager;
import net.atlanticbb.tantlinger.ui.text.IndentationFilter;
import net.atlanticbb.tantlinger.ui.text.SourceCodeEditor;&lt;/pre&gt;
    &lt;p&gt;
      The editor is using those other classes, such as SourceCodeEditor to do 
      the real work.
    &lt;/p&gt;
    &lt;p&gt;
      The HTMLEditor uses a bunch of classes in the directory, 
      &amp;quot;net.atlanticbb.tantlinger.ui.text&amp;quot;, and that directory is &lt;b&gt;not&lt;/b&gt; 
      in the source tree. It must have been written by Bob because it has his 
      name all over it. The classes are not in the Java class library. So I 
      went looking for these critical classes in Thingamablog and finally 
      found them in the file
    &lt;/p&gt;
    &lt;p&gt;
      thingamablog-1.1b6/lib/tamb-ui-commons.jar
    &lt;/p&gt;
    &lt;p&gt;
      Those classes have been delivered pre-compiled and in a jar file full of 
      compiled classes.
    &lt;/p&gt;
    &lt;p&gt;
      There is no source code for those files in the source tree. Hence, if 
      you want to extend/modify/fix/improve the part of the program that is 
      coded in those files, you cannot. All we got were the binaries. So 
      version 1.1 also was not really open source.
    &lt;/p&gt;
    &lt;p&gt;
      I think that it is a bit disingenuous to call a program &amp;quot;Open Source&amp;quot; 
      and then not deliver all of the source code, locking up critical parts 
      it as proprietary.
    &lt;/p&gt;</description>
<link>http://www.thekimerers.com/brian/blogs/TAMB/archives/07-01-2010_07-31-2010.php#83</link>
<guid>http://www.thekimerers.com/brian/blogs/TAMB/archives/07-01-2010_07-31-2010.php#83</guid>

<category></category>

<pubDate>Fri, 16 Jul 2010 20:19:58 -0400</pubDate>
</item>

<item>
<title>Thingamablog From Source</title>
<description>&lt;p&gt;
      This blog is written using Thingamablog 1.1b6. I did not upgrade to TAMB 
      1.5 because of the many problems others are having with it. The source 
      code for 1.5 has not been released, but the source for 1.1b6 is still 
      available. I am more comfortable with the program knowing that I can 
      build it from source.
    &lt;/p&gt;
    &lt;p&gt;
      Building Thingamablog from source is actually pretty easy. Download the 
      source code from here:
    &lt;/p&gt;
    &lt;p&gt;
      &lt;a href=&quot;http://sourceforge.net/projects/thingamablog/files/&quot;&gt;Thingamablog1.1b6&lt;/a&gt;&amp;#160;
    &lt;/p&gt;
    &lt;p&gt;
      The code is in a zip file. Put the zip file into a directory and unzip 
      it. Then, in a command line window, cd to the directory 
      &amp;quot;thingamablog-1.1b6&amp;quot; and type &amp;quot;ant&amp;quot;. Ant is the build tool used to build 
      TAMB. Ant will compile and package Thingamablog for you automatically.
    &lt;/p&gt;
    &lt;p&gt;
      If the computer tells you that it doesn't know what ant is, download it 
      from here:
    &lt;/p&gt;
    &lt;p&gt;
      &lt;a href=&quot;http://ant.apache.org/&quot;&gt;http://ant.apache.org/&lt;/a&gt;&amp;#160;
    &lt;/p&gt;
    &lt;p&gt;
      Ant runs on Windows, Linux and MacOSX ( and some others).
    &lt;/p&gt;
    &lt;p&gt;
      You also need the Java JDK, which contains the Java compiler used by 
      ant. You can get the Java JDK here:
    &lt;/p&gt;
    &lt;p&gt;
      &lt;a href=&quot;http://java.sun.com/javase/downloads/index.jsp&quot;&gt;http://java.sun.com/javase/downloads/index.jsp&lt;/a&gt;&amp;#160;
    &lt;/p&gt;</description>
<link>http://www.thekimerers.com/brian/blogs/TAMB/archives/07-01-2010_07-31-2010.php#82</link>
<guid>http://www.thekimerers.com/brian/blogs/TAMB/archives/07-01-2010_07-31-2010.php#82</guid>

<category></category>

<pubDate>Sat, 03 Jul 2010 23:06:17 -0400</pubDate>
</item>

<item>
<title>Bob Is Missing</title>
<description>&lt;p&gt;
      Our leader and the creator of Thingamablog is missing. We have not heard 
      from him since January. If anybody out there has seen Bob, please notify 
      the Thingamablog Forum:
    &lt;/p&gt;
    &lt;p&gt;
      &lt;a href=&quot;http://forums.thingamablog.com/index.php&quot;&gt;Thingamablog Forum&lt;/a&gt;&amp;#160;
    &lt;/p&gt;
    &lt;p&gt;
      Thank you for your support.
    &lt;/p&gt;</description>
<link>http://www.thekimerers.com/brian/blogs/TAMB/archives/06-01-2010_06-30-2010.php#81</link>
<guid>http://www.thekimerers.com/brian/blogs/TAMB/archives/06-01-2010_06-30-2010.php#81</guid>

<category></category>

<pubDate>Sat, 19 Jun 2010 21:12:54 -0400</pubDate>
</item>

<item>
<title>Why I Like TAMB</title>
<description>&lt;p&gt;
      I recently ran into a web site that had directions on it for how to 
      delete your account on various social networking sites, facebook, 
      twitter, wordpress... The procedures are surprisingly complex, and with 
      no guarantee of success. In some cases, the word &amp;quot;impossible&amp;quot; was used. 
      Once you post a &amp;quot;mistake&amp;quot; out on those servers, it is permanent. The 
      teens of the world are finding this out the hard way, posting naked 
      photos and incendiary language.  
    &lt;/p&gt;
    &lt;p&gt;
      A couple of weeks ago I created a post to my other blog that I decided I 
      did not want to keep. There was nothing really wrong with it, I just 
      didn't like it.  I backed it up (in case I changed my mind later), 
      deleted it from the TAMB database, and reposted. Just to be sure, I used 
      Filezilla to remove any zombie entry files out on my server. Voilà. 
      Gone! Sure, it may still be in the Google cache, but I doubt it. It 
      wasn't out there long enough for that slow 'bot to find it.  
    &lt;/p&gt;
    &lt;p&gt;
      This is what I like about TAMB. The results are in my control. If I want 
      it there, it's there. When I want it gone, it's gone.
    &lt;/p&gt;</description>
<link>http://www.thekimerers.com/brian/blogs/TAMB/archives/06-01-2010_06-30-2010.php#80</link>
<guid>http://www.thekimerers.com/brian/blogs/TAMB/archives/06-01-2010_06-30-2010.php#80</guid>

<category></category>

<pubDate>Wed, 16 Jun 2010 19:04:28 -0400</pubDate>
</item>

<item>
<title>Formatting Issue</title>
<description>&lt;p resolver=&quot;NamedStyle:default {color=#000000,font-family=DejaVu Sans,font-size=3,font-style=,FONT_ATTRIBUTE_KEY=javax.swing.plaf.FontUIResource[family=DejaVu Sans,name=DejaVu Sans,style=plain,size=12],font-weight=normal,name=default,}&quot; margin-top=&quot;0&quot;&gt;
      I just noticed something interesting. I had a sentence that was all in 
      bold. When I ran spell check it found a misspelled word in the sentence, 
      so I let the spell checker correct the word. After I posted the blog 
      entry, the corrected word was no longer bold. TAMB had broken up the 
      bold tag to surround the words previous to the corrected word and the 
      words after it, leaving out the corrected word.
    &lt;/p&gt;
    &lt;p resolver=&quot;NamedStyle:default {color=#000000,font-family=DejaVu Sans,font-size=3,font-style=,FONT_ATTRIBUTE_KEY=javax.swing.plaf.FontUIResource[family=DejaVu Sans,name=DejaVu Sans,style=plain,size=12],font-weight=normal,name=default,}&quot; margin-top=&quot;0&quot;&gt;
      Strange behavior.
    &lt;/p&gt;</description>
<link>http://www.thekimerers.com/brian/blogs/TAMB/archives/06-01-2010_06-30-2010.php#79</link>
<guid>http://www.thekimerers.com/brian/blogs/TAMB/archives/06-01-2010_06-30-2010.php#79</guid>

<category></category>

<pubDate>Sat, 05 Jun 2010 23:30:03 -0400</pubDate>
</item>

<item>
<title>Not Blogging Here Much</title>
<description>&lt;p&gt;
      I have been very derelict in adding to this blog. The issue is that TAMB 
      is working OK for me now so I am spending my time using it instead of 
      figuring it out.
    &lt;/p&gt;
    &lt;p&gt;
      If Bob releases the source code for TAMB 1.5 I might consider upgrading 
      and posting the results here.
    &lt;/p&gt;</description>
<link>http://www.thekimerers.com/brian/blogs/TAMB/archives/05-01-2010_05-31-2010.php#78</link>
<guid>http://www.thekimerers.com/brian/blogs/TAMB/archives/05-01-2010_05-31-2010.php#78</guid>

<category></category>

<pubDate>Thu, 27 May 2010 23:04:12 -0400</pubDate>
</item>

<item>
<title>All Quiet</title>
<description>&lt;p resolver=&quot;NamedStyle:default {font-size=3,font-style=,font-family=DejaVu Sans,name=default,FONT_ATTRIBUTE_KEY=javax.swing.plaf.FontUIResource[family=DejaVu Sans,name=DejaVu Sans,style=plain,size=12],font-weight=normal,color=#000000,}&quot; margin-top=&quot;0&quot;&gt;
      I haven't been blogging on this site for a while. That's because 
      Thingamablog is cranking right along doing its thing, so there isn't 
      much to blog about here. Check out my other blog.
    &lt;/p&gt;
    &lt;p resolver=&quot;NamedStyle:default {font-size=3,font-style=,font-family=DejaVu Sans,name=default,FONT_ATTRIBUTE_KEY=javax.swing.plaf.FontUIResource[family=DejaVu Sans,name=DejaVu Sans,style=plain,size=12],font-weight=normal,color=#000000,}&quot; margin-top=&quot;0&quot;&gt;
      &lt;a href=&quot;http://www.thekimerers.com/brian/blogs/NHAT/index.php&quot;&gt;Nothing 
      Happens At Ten&lt;/a&gt;&amp;#160;
    &lt;/p&gt;</description>
<link>http://www.thekimerers.com/brian/blogs/TAMB/archives/03-01-2010_03-31-2010.php#77</link>
<guid>http://www.thekimerers.com/brian/blogs/TAMB/archives/03-01-2010_03-31-2010.php#77</guid>

<category></category>

<pubDate>Thu, 25 Mar 2010 22:55:39 -0400</pubDate>
</item>

<item>
<title>Home Grown Comments for TAMB</title>
<description>&lt;p&gt;
      I have implemented comments in my blog &amp;quot;&lt;a href=&quot;http://www.thekimerers.com/brian/blogs/NHAT/index.php&quot;&gt;Nothing 
      Happens At Ten&lt;/a&gt;&amp;quot;. I did this myself in order to keep control of the 
      code that is running on my web page. It also was an interesting 
      programming challenge to solve. I did not write all of the code I used, 
      but I did make some significant changes to the code that I downloaded.
    &lt;/p&gt;
    &lt;p&gt;
      The blog pages must be published as .php files for this to work because 
      the comments feature is written in php, and the server needs to see the 
      .php suffix in order to know that the pages are really php programs.
    &lt;/p&gt;
    &lt;p&gt;
      This is a long and detailed post because it contains implementation 
      details about how I did this. I hope you can find some useful hints in 
      here. If you are not interested in the details, feel free to press on to 
      more interesting matters.
    &lt;/p&gt;
    &lt;p&gt;
      To get the requisite files uploaded, import the following files into the 
      TAMB blog web folder:
    &lt;/p&gt;
    &lt;ul&gt;
      &lt;li&gt;
        1.gdf
      &lt;/li&gt;
      &lt;li&gt;
        1.ttf
      &lt;/li&gt;
      &lt;li&gt;
        2.gdf
      &lt;/li&gt;
      &lt;li&gt;
        2.ttf
      &lt;/li&gt;
      &lt;li&gt;
        3.gdf
      &lt;/li&gt;
      &lt;li&gt;
        3.ttf
      &lt;/li&gt;
      &lt;li&gt;
        4.ttf
      &lt;/li&gt;
      &lt;li&gt;
        captcha.form.php5
      &lt;/li&gt;
      &lt;li&gt;
        captcha.function.php5
      &lt;/li&gt;
      &lt;li&gt;
        captcha.image.php5
      &lt;/li&gt;
      &lt;li&gt;
        comments.php
      &lt;/li&gt;
      &lt;li&gt;
        protected.png
      &lt;/li&gt;
    &lt;/ul&gt;
    &lt;p&gt;
      They will be uploaded to the root of the blog directory structure when 
      the blog is published.
    &lt;/p&gt;
    &lt;p&gt;
      I have put the php code into some .txt files out on the server so that 
      you can see what the code looks like. Your browser will display the 
      contents of the .txt files instead of executing them. If you decide to 
      use this, you must copy the code from the .txt files into files with the 
      &amp;quot;php&amp;quot; and &amp;quot;php5&amp;quot; suffixes. Here are the files:
    &lt;/p&gt;
    &lt;p&gt;
      &lt;a href=&quot;/brian/blogs/TAMB/comments.txt&quot;&gt;comments.php&lt;/a&gt;&amp;#160;
    &lt;/p&gt;
    &lt;p&gt;
      &lt;a href=&quot;/brian/blogs/TAMB/captcha.form.txt&quot;&gt;captcha.form.php5&lt;/a&gt;&amp;#160;
    &lt;/p&gt;
    &lt;p&gt;
      &lt;a href=&quot;/brian/blogs/TAMB/captcha.function.txt&quot;&gt;captcha.function.php5&lt;/a&gt;&amp;#160;
    &lt;/p&gt;
    &lt;p&gt;
      &lt;a href=&quot;/brian/blogs/TAMB/captcha.image.txt&quot;&gt;captcha.image.php5&lt;/a&gt;&amp;#160;
    &lt;/p&gt;
    &lt;p&gt;
      The ttf, gdf and png files are support files required by the Captcha 
      code. They are available from TheCAPTCHA (a link is provided below). You 
      can also get them from this web site through the links below:
    &lt;/p&gt;
    &lt;p&gt;
      &lt;a href=&quot;/brian/blogs/TAMB/1.gdf&quot;&gt;1.gdf&lt;/a&gt;&amp;#160; &lt;a href=&quot;/brian/blogs/TAMB/1.ttf&quot;&gt;1.ttf&lt;/a&gt;&amp;#160; 
      &lt;a href=&quot;/brian/blogs/TAMB/2.gdf&quot;&gt;2.gdf&lt;/a&gt;&amp;#160; &lt;a href=&quot;/brian/blogs/TAMB/2.ttf&quot;&gt;2.ttf 
      &lt;/a&gt;&amp;#160;&lt;a href=&quot;/brian/blogs/TAMB/3.gdf&quot;&gt;3.gdf&lt;/a&gt;&amp;#160; &lt;a href=&quot;/brian/blogs/TAMB/3.ttf&quot;&gt;3.ttf&lt;/a&gt;&amp;#160; 
      &lt;a href=&quot;/brian/blogs/TAMB/4.ttf&quot;&gt;4.ttf&lt;/a&gt;&amp;#160; &lt;a href=&quot;/brian/blogs/TAMB/protected.png&quot;&gt;protected.png&lt;/a&gt;&amp;#160;
    &lt;/p&gt;
    &lt;p&gt;
      My comments feature was put together from two different sources, which I 
      merged, writing some php code to make them work together. The two 
      sources are
    &lt;/p&gt;
    &lt;p&gt;
      1). a simple commenting system from the following site:
    &lt;/p&gt;
    &lt;p&gt;
      &lt;a href=&quot;http://www.ghofulpo.com/james/archives/2006/10/entry_114.php&quot;&gt;Notes 
      From James&lt;/a&gt;
    &lt;/p&gt;
    &lt;p&gt;
      and
    &lt;/p&gt;
    &lt;p&gt;
      2). the code to generate a Captcha image from the following site:
    &lt;/p&gt;
    &lt;p&gt;
      &lt;a href=&quot;http://www.thecaptcha.com/&quot;&gt;TheCAPTCHA&lt;/a&gt;
    &lt;/p&gt;
    &lt;p&gt;
      I did some major modifications to the files to get both of the features 
      to work together seamlessly. I modified comments.php from James to post 
      the captcha.form, and I modified the captcha.form from TheCAPTCHA to 
      save the comments in local files as well as emailing the results to me.
    &lt;/p&gt;
    &lt;p&gt;
      Here is how it works.
    &lt;/p&gt;
    &lt;p&gt;
      The file &amp;quot;comments.php&amp;quot; is included in the TAMB template files using a 
      normal php &amp;quot;include&amp;quot; command. It creates an &amp;quot;Add Comment&amp;quot; button on the 
      blog pages. Each entry in the blog includes the code, so each entry has 
      its own button. The button posts the blog entry name and the base 
      address of the web page to the program &amp;quot;captcha.form&amp;quot;, which creates a 
      new web page into which the user can type the comment. Comments are 
      stored in text files on the server. The files are named after the TAMB 
      name for the entry, for example comments for entry 3 of the blog are 
      contained in the file &amp;quot;e_3.txt&amp;quot;.
    &lt;/p&gt;
    &lt;p&gt;
      To provide comments throughout the entire blog, I have included 
      comments.php in the following tempates:
    &lt;/p&gt;
    &lt;ul&gt;
      &lt;li&gt;
        main.template
      &lt;/li&gt;
      &lt;li&gt;
        archive.template
      &lt;/li&gt;
      &lt;li&gt;
        category.template
      &lt;/li&gt;
      &lt;li&gt;
        entry.template
      &lt;/li&gt;
    &lt;/ul&gt;
    &lt;p&gt;
      The index template and the feed template do not provide the ability to 
      leave comments.
    &lt;/p&gt;
    &lt;p&gt;
      I have modified the program, captcha.form, to provide my own text and 
      formatting to make it fit in with the rest of my blog. The form has 
      input areas for the commenter's name, email and comment. It also calls 
      the function &amp;quot;captcha.image&amp;quot; to generate a unique captcha image for the 
      page. The commenter is required to correctly solve the captcha puzzle in 
      order to submit the comment to the blog. This is to minimize spamming 
      from bots, which have a hard time reading the captcha image.
    &lt;/p&gt;
    &lt;p&gt;
      The captcha.form includes the captcha.function file, which has the code 
      to generate the captcha image and the code to verify that the commenter 
      has entered the correct captcha word.
    &lt;/p&gt;
    &lt;p&gt;
      Got that?
    &lt;/p&gt;
    &lt;p&gt;
      OK. Here is the summary.
    &lt;/p&gt;
    &lt;p&gt;
      The TAMB template includes comments.php&lt;br&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;which displays the &amp;quot;Add 
      Comment&amp;quot; button that posts to the program captcha.form&lt;br&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;which 
      includes captcha.function and calls&lt;br&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;captcha.image to 
      create the image and also calls&lt;br&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;captcha_verify_word() to 
      verify the user's best guess of the characters in the image.
    &lt;/p&gt;
    &lt;p&gt;
      The captcha.form posts to itself, meaning that this is recursive code. 
      When the program is entered, it decides based on a posted value of the 
      argument called &amp;quot;initial&amp;quot;, whether to process the posted comment or 
      simply post the form.
    &lt;/p&gt;
    &lt;p&gt;
      The main button on the blog screen sets the initial value to true which 
      causes the program to display the form and quit. The form itself does 
      not post an initial value of true, which causes it to process the 
      comment, flag errors and repost the form, or if there are no errors, to 
      process the comment and post a &amp;quot;Thank You&amp;quot; page.
    &lt;/p&gt;
    &lt;p&gt;
      To implement my comments feature, I edited the templates and added the 
      following code where the blog entries are found, just after the line 
      which contains the &amp;lt;$CategoryLink$&amp;gt; tag. The differences in the code 
      snippets are the number of relative directories it has to go up to find 
      the php code.
    &lt;/p&gt;
    &lt;h3&gt;
      main.template - front page
    &lt;/h3&gt;
    &lt;pre&gt;  &amp;lt;?php
  $article=&amp;quot;e&amp;quot; . &amp;quot;&amp;lt;$CurrentDate format=&amp;quot;yyyy&amp;quot;$&amp;gt;&amp;quot;. &amp;quot;_&amp;quot; . &amp;quot;&amp;lt;$EntryID$&amp;gt;&amp;quot;;
  $base='.';
  include 'comments.php';
  ?&amp;gt;&lt;/pre&gt;
    &lt;h3&gt;
      archive.template - archive pages
    &lt;/h3&gt;
    &lt;pre&gt;  &amp;lt;?php
  $article=&amp;quot;e&amp;quot; . &amp;quot;&amp;lt;$CurrentDate format=&amp;quot;yyyy&amp;quot;$&amp;gt;&amp;quot;. &amp;quot;_&amp;quot; . &amp;quot;&amp;lt;$EntryID$&amp;gt;&amp;quot;;
  $base='../';
  include '../comments.php';
  ?&amp;gt;&lt;/pre&gt;
    &lt;h3&gt;
      category.template - category pages
    &lt;/h3&gt;
    &lt;pre&gt;  &amp;lt;?php
  $article=&amp;quot;e&amp;quot; . &amp;quot;&amp;lt;$CurrentDate format=&amp;quot;yyyy&amp;quot;$&amp;gt;&amp;quot;. &amp;quot;_&amp;quot; . &amp;quot;&amp;lt;$EntryID$&amp;gt;&amp;quot;;
  $base='../';
  include '../comments.php';
  ?&amp;gt;&lt;/pre&gt;
    &lt;h3&gt;
      entry.template - individual entry pages
    &lt;/h3&gt;
    &lt;pre&gt;  &amp;lt;?php
  $article=&amp;quot;e&amp;quot; . &amp;quot;&amp;lt;$CurrentDate format=&amp;quot;yyyy&amp;quot;$&amp;gt;&amp;quot;. &amp;quot;_&amp;quot; . &amp;quot;&amp;lt;$EntryID$&amp;gt;&amp;quot;;
  $base='../../../';
  include '../../../comments.php';
  ?&amp;gt;&lt;/pre&gt;
    &lt;h3&gt;
      index.template - archive index page
    &lt;/h3&gt;
    &lt;p&gt;
      The index template has no entries, so don't use comments.
    &lt;/p&gt;
    &lt;h3&gt;
      feed.template
    &lt;/h3&gt;
    &lt;p&gt;
      Don't use comments in the feed template. RSS feed only.
    &lt;/p&gt;
    &lt;p&gt;
      Publish the blog, and the comments capability should be in place.
    &lt;/p&gt;</description>
<link>http://www.thekimerers.com/brian/blogs/TAMB/archives/01-01-2010_01-31-2010.php#73</link>
<guid>http://www.thekimerers.com/brian/blogs/TAMB/archives/01-01-2010_01-31-2010.php#73</guid>

<category></category>

<pubDate>Sun, 10 Jan 2010 11:34:37 -0500</pubDate>
</item>

</channel>
</rss>
