6.5. Beyond Editors

There's no reason that all your entries have to come from editing blog entry text files in your datadir. You could rig up procmail to look for emails that meet a certain description and convert those emails into blog entries.

6.5.1. weblog-add

You can find the weblog-add CGI script in the Plugin Registry at http://pyblosxom.sourceforge.net/ . This script allows you to create entries using a webform. It doesn't allow you to edit entries after the fact and it's pretty basic. However, it does work and it does allow you to create entries when you don't have access to the filesystem.

To setup the weblog-add script, do the following:

  1. copy the weblog-add.py file into your CGI root

  2. open up the weblog-add.py file in your favorite text editor and change the line for blog_root to your datadir

  3. set up your cgi directory so that the web-server forces the user to authenticate

    FIXME - how do you do that?

  4. make sure the weblog-add.py file has the correct permissions so that it will run as a CGI script

When you're using the weblog-add.py script, make sure you use unique file names. That gets a bit hard as your blog gets so big that you don't remember what file names exist and what don't.

6.5.2. Using w.bloggar

PyBlosxom works with w.bloggar (http://www.wbloggar.com/). In order to use w.bloggar you have to do the following:

  1. install the xmlrpc plugin found at http://pyblosxom.sourceforge.net/ in the plugin registry

  2. install the xmlrpc_bloggar plugin found at http://pyblosxom.sourceforge.net/ in the plugin registry

  3. in the Content Management System section of the w.bloggar account settings dialog, set:

    • "Blog Tool" to "Custom"

  4. in the API Server tab section of the w.bloggar account settings dialog, set:

    • "Host" to the name of your server

    • "Page" to the url of your blog with /RPC at the end-- For example, mine might be "/~joe/cgi-bin/pyblosxom.cgi/RPC"

  5. in the Custom tab section of the w.bloggar account settings dialog, set:

    • "Posts" to "Blogger API"

    • "Categories" to "Not supported"

    • "Templates" to "Not supported"

    • "Title Tags" should be blank

    • "Category Tags" should be blank

When you go to write a new entry, leave the title field blank and do your entire post in the data section with the first line being the title (just like blosxom entries).

One thing you should note is that pyblosxom will take the first line and use that to generate the file name of the entry. So if the title of the entry is How to use w.bloggar with pyblosxom, the file name ends up being How_to_use_w_bloggar_with_pyblosxom.txt which may get a little annoying.

FIXME - Does this still work?

6.5.3. Using Ecto

FIXME - I need instructions for this

6.5.4. Other blog tools?

Does PyBlosxom work with other blog tools?