April 2008 Archives

04-24-2008 08:51:06

Using the Pollxn Engine for commenting in NanoBlogger

Last night NanoBlogger was causing me frustration to no end as I searched for a commenting system to add to it. Nbcom wasn't working (at this point I chalk it up to user stupidity. JS-Kit wanted me to store comments on their server (although it did look mighty fine :( ), which just didn't go over well with me. So I was browsing other NanoBlogger blogs and stumbled across this one, which had just the comment system I wanted. After some diddling about with Pollxn, I wished that blogger had posted his own experiences, but he didn't, so I might as well!


1. To get Pollxn to work nicely, you need to install to your main blog directory (/var/www/blog/ in my case) and then run nb --configure.

2. In the conf you need to set BLOG_URL_ACTION="pollxn.pl?storypath=" (we'll add the rest of the URL in the templates.)

3. Direct yourself to the templates directory and bring $EDITOR with entry.htm and permalink_entry.htm

4. Doing this part from memory, but starting from the <br /> and ending at the -->, replace that section with this line: | <a href="\${BASE_URL}\$BLOG_URL_ACTION\`echo \$NB_EntryPermalink | tail -c 24`">\$template_cmtlink</a> This will let pollxn.cgi get the actual filename, since $permalink_file doesn't seem to work.

5. In pollxn.cgi, set $datadir to be the data directory ( /var/www/blog/data in my case)

6. Congratulate yourself and go test permissions!

Posted by Landon | Permanent Link | Categories: blog, Intriguing | [ 0 ] 2008/04/24/index.php#e2008-04-24T08_51_06.txt

04-22-2008 00-54-22

Accepted!

Looks like I got into the Google Summer of Code with my application to work on an IRC bot for the Software Freedom Conservancy

Posted by Landon | Permanent Link | Categories: Summer of Code | [ 0 ] 2008/04/22/index.php#e2008-04-22T00_54_22.txt

04-22-2008 00-42-14

First Post

Great, I made it to the first post :)

Posted by Landon | Permanent Link | Categories: Insanity | [ 0 ] 2008/04/22/index.php#e2008-04-22T00_42_14.txt