PolkaDot Logo

PolkaDot Advanced Uses


Multiple Categories

By it's very nature, PolkaDot is limited in that posts go in one category and one category only. After all, a text file can't exist in two directories at once.

Ah ha! But what about symlinks in a Unix/Linux/BSD environment? Thanks to the vast PolkaDot Developer Community, PolkaDot does allow posts to reside within multiple categories.

There are a few caveats:


Sub-Blogs

By installing PolkaDot into one of its own subdirectories, you can have a standalone blog whose posts also get incorporated into the main blog. Here's an example. The SexyRedHeadedNuns blog has a category for Tea. By placing the PolkaDot installation files into the "Tea" directory, I can also have a separate standalone Tea Blog with its own look and feel.

The posts that show up on the standalone "Tea Blog" are exactly the same ones as show up in the "Tea" category for the SexyRedHeadedNuns blog. Note that if you make sub-directories under Tea, those will show up on the Tea Blog in a category with the same name as the sub-directory, but not in the main blog. PolkaDot only goes down one level when building categories.

So I could make "Green Tea" and "Black Tea" categories, but posts in those categories would show up only in the Tea Blog. Only posts to the "Main" category on the Tea Blog would also show up on the main blog.

The PolkaDot Main Page works in the same way. It's also a category within the SexyRedHeadedNuns blog.


Generated Posts

PolkaDot's use of plain text files makes it easy to generate new ports in a variety of ways. Pretty much any command line output could be added as posts via a cron job. Pipe df through grep and redirect it into a text file to keep track of disk space. Or use Lynx to grab web resources and convert them to text.