scriptygoddess

01 Jul, 2003

Creating a Sideblog in MT

Posted by: Jennifer In: How to's

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.

  1. Create a new blog in MT's main menu. I've called mine "Sideblog".
  2. 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:

    <MTEntries lastn="15"> <MTDateHeader> <br /> <$MTEntryDate format="%Y-%m-%d"$>: <br /> </MTDateHeader> <$MTEntryBody$><br /> </MTEntries>

  3. 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:

    <?php include("http://www.to-be-simple-just-use-full-web-path.com/sideblog/index.php");
    ?>

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.

Variations
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 as follows to mimic Christine's Crumbs:

<MTEntries lastn="15">
<$MTEntryBody convert_breaks="0"$> (<a
href="<$MTEntryLink$>"><$MTEntryCommentCount$></a>)<br />
</MTEntries>

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!

77 Responses to "Creating a Sideblog in MT"

1 | atmaspheric | links

October 19th, 2003 at 10:10 am

Avatar

How to's: Creating a Sideblog in MT
scriptygoddess How to's: Creating a Sideblog in MT…

3 | [supafine] geek blog

December 8th, 2003 at 2:06 am

Avatar

Using PHP to make a sideblog or blogroll
Found a great article on Scripty Goddess's blog about creating sideblogs. Thanks to a hint from Ken, I'm going to use this to make my own blogroll. Ha-HA! I have the basics down, which you can see on my links…

4 | shonk::selling waves

December 11th, 2003 at 10:53 pm

Avatar

Recovering Lost Knowledge
In the process of moving, I had to re-do a lot of stuff I had done before but didn't keep a record of. The most frustrating, so far, has been re-creating my "Reading" head (which should appear to the right)….

5 | Mizzou Guy

December 12th, 2003 at 2:00 am

Avatar

Sidebar Tutorial
I've had several inquiries how I created the photolog sidebar, so I offer this link… How to's: Creating a Sideblog in MT. I will also document exactly what I did to create and display my photos in the photolog sidebar,…

6 | 酋長的部落格 Chieftain's BLOG

December 22nd, 2003 at 1:25 am

Avatar

新增My Schedule於sidebar上
我人笨,常忘記東西。所以要有電子秘書,一個行事曆。 參考Scriptygoddessçš„How to's: Creating a Sideblog in MT這篇文章作成的。…

7 | [supafine] geek blog

January 1st, 2004 at 10:16 pm

Avatar

Oh yeah, baby. Sideblog.
Have managed to finagle my links blog to serve as a sideblog or blogroll for the Geek blog, as viewed in the links section. With a little help from the tutorial on scriptygoddess, of course. Lo and behold, it was…

8 | Faraway, So Close

January 12th, 2004 at 2:55 pm

Avatar

New Blog Stuff
New sideblog listing the things I've recently watched, read or listened to compliments of scriptygoddess.com….

9 | life of nicole lee

January 15th, 2004 at 7:14 am

Avatar

Sideblog tweaks
I've changed my side mini-blog coding from HTML to PHP, using this scriptygoddess article as a guide. I was previously using the MTOtherBlog plugin to update the mini-blog, but I felt it was a bit too much of a pain…

11 | Bloggie Broad

March 1st, 2004 at 6:43 pm

Avatar

Bloggie Scripty Reverb
BB's Script, Plugin and Hack Archive as of 3/1/04: Collapse…

12 | Sideblog

April 1st, 2004 at 3:59 pm

Avatar

How to make a sideblog
scriptygoddess…

13 | Bloggie Broad

April 2nd, 2004 at 7:56 pm

Avatar

Sideblog: My Version
I discovered at least four or five different ways to…

14 | Code Novice

April 15th, 2004 at 12:44 am

Avatar

Sideblog: My Version
I discovered at least four or five different ways to…

15 | .:: I am Janine's Blog ::.

May 1st, 2004 at 7:20 am

Avatar

Navbar Updates
Just some website updates….

16 | Janine's Blog

May 1st, 2004 at 7:23 am

Avatar

Navbar Updates
Just some website updates….

17 | caffeinelinks

May 2nd, 2004 at 5:16 pm

Avatar

content management through MT: my bookmarks
I am fascinated by the idea of using MT as a full content management system, and therefore using it to…

18 | TooMuchSexy.links

May 20th, 2004 at 8:50 pm

Avatar

Create your own Sideblog
Roll your own Sideblog — ScriptGoddess never fails at providing the simplest means to add features to Movable Type….

19 | عصرجديد

May 30th, 2004 at 11:08 pm

Avatar

يک لينکدونی خيلی ساده با MT
درست کردن لینکدونی برای وبلاگ راههای مختلفی دارد ولی یکی از راحتترین روشهای آن استفاده از Server Side Include یا SSI است. حقیقتش تا دیروز از روشی Ú©Ù‡ د…

20 | Living Dead Girl

October 18th, 2004 at 10:31 pm

Avatar

Sideblog
Creating a Sideblog…

21 | Living Dead Girl

October 18th, 2004 at 10:31 pm

Avatar

Sideblog
Creating a Sideblog…

22 | Tasks

October 19th, 2004 at 9:19 pm

Avatar

Sideblog
Creating a Sideblog…

23 | Tutorials

October 21st, 2004 at 8:09 pm

Avatar

Scripty Goddess :: Sideblog
Creating a Sideblog…

24 | Divine Reality

October 25th, 2004 at 7:52 am

Avatar

Geeks in luuuuuuuurve!
Me geeking it up on Jimbo's PC in his spare room. I was playing with sideblogs. Jimbo was geeking it up in the living room, comfy on his recliner, with his laptop on a chair in front of him, the…

25 | Paul Randall

October 31st, 2004 at 9:47 pm

Avatar

How can I make my main index page a .php without making all my archives .php. I ask because it seems a waste of server resources to have all my pages parsed by php when all I want is the index so I can do this sideblog thing.

The only place I see to change the extension is under archives in the preferences page.

What am I missing?

TIA

26 | hibi

November 30th, 2004 at 7:40 am

Avatar

Sideblog
恩師ページにミニ掲示板(実は別blog、21コ目)を付けるというblog移行時か…

27 | Tom Keating

April 25th, 2005 at 10:53 am

Avatar

The advantage of a separate blog for links is that sideblog entries don't show up in your blog's search engine when people perform a search and they don't show up in your RSS feed. Both of these can either be a good or bad thing depending on what you want.

Personally, I'd rather that sideblog entries not bother my RSS subscribers since it has minimal content and input from me.

though they may be a way to exclude this content from the RSS feed using the MTExCat plugin. If so, let me know.

Featured Sponsors

Genesis Framework for WordPress

Advertise Here


  • Scott: Just moved changed the site URL as WP's installed in a subfolder. Cookie clearance worked for me. Thanks!
  • Stephen Lareau: Hi great blog thanks. Just thought I would add that it helps to put target = like this:1-800-555-1212 and
  • Cord Blomquist: Jennifer, you may want to check out tp2wp.com, a new service my company just launched that converts TypePad and Movable Type export files into WordPre

About


Advertisements