Creating a Sideblog
Having seen some great “sideblogs” across the internet (Christine’s Crumbs, Movablog’s Asides, and many others) I’m inspired to add a Sideblog to my own MT-powered blog. Anders created a short “how-to” for those who are not using php and it has inspired me to create a php version here.
What is a Sideblog?
First, I guess it would be important to understand the “what” of the whole Sideblog phenomenon. A Sideblog could have many purposes, but is generally used as a quick link repository. For me, if I see something that was really interesting, but I didn’t feel connected enough to blog it – I would post it in the Sideblog. The Sideblog would then be included in the main blog.
How to create a Sideblog in MT
A Sideblog is basically a new weblog that gets included in your original blog. The steps are very painless. The creation steps are universal. The include steps presume you are using php. Anders has an SSI version of these instructions as well.
- Create a new blog in MT’s main menu. I’ve called mine “Sideblog”.
- Create a basic index template that shows just the html that you want to include in your main blog. I strongly suggest that you implement some type of limit on the number of entries displayed. For example:
- Exit the Sideblog and edit the main index template for your existing main blog. We want to include the index page from the Sideblog, so we’ll use a php include. For example:
That’s it! Now you can post to your Sideblog and (if you use the template I’ve shown) the 15 most recent posts will show up in your main blog.
How to use the Sideblog
There are a lot of variations on using the sideblog. Some people post the interesting link in the excerpt and use the extended entry to include a brief little message about it. I suggest posting the interesting link in the entry body and then any other comments I have on the link in the extended entry. That works for me in my testing. Your mileage may vary.
There are a lot of ways to “spice up” the sideblog. Since we just included the index template from the Sideblog into the main blog, all of our template tags are available to us. For example, Christine’s Crumbs show the number of comments for each Sideblog post as a link to the Sideblog entry itself. This is a great way to allow your visitors to interact with your Sideblog. If we modify the template in #2 above, we can just add the following after <$MTEntryBody$> and before the <br /> tags to mimic Christine’s Crumbs:
You can additional spaces to separate the interesting link from the comment count or modify the code to include any detail you like. I like the way Christine’s works, so I plan to use the comment count on my own Sideblog.
That’s all there is to it. Again, we just include the MT tags directly from the index template of the Sideblog. There are other ways to accomplish this, but I think this is the simplest of them all!