Using MultiBlog to Share More

15 Aug 2005 ~ Link ~ Category: Plugins ~ Comments: 5

Module Aggregation

David Raynes' MultiBlog is a must have plugin for anyone interested in content aggregation, but it's uses are far greater than just sharing text.

Take for instance storing a master stylesheet in your main blog and sharing it with other blogs (i.e. a FAQ blog) on your system to keep your look consistent. You could also share template modules across an installation, giving you the freedom to structure different parts of your site uniquely while still being able to share common elements (header, search box, category list) painlessly.

Consider this example, where I've shared the header modules from blog 2 with the blog I'm currently working on:

<$MTInclude module="header"$>

Now I can easily make changes to the header without needing to worry about the other blogs, other than a simple rebuild.

And it isn't limited to the body. You can use MultiBlog tags in the head as well:

<$MTBlogName encode_html="1"$>

I can make changes to the title (or description/modules/categories for that matter) of the master blog (blog#2) and the add-on blogs don't need to be changed.

Search Templates

I've found that this trick works especially well in search templates, because according to the Movable Type documentation:

You can also use the `` tag in your search templates to include template modules or external files. In a template, the system needs to know which weblog to look in for the module named Header. If there are search results found, the system will look in the weblog that is earliest alphabetically; if there are no search results, Movable Type will simply try to load a weblog from your database (the determination of the weblog that is chosen is undefined).

Undefined and controlled look/feel do not go hand in hand. Using MultiBlog to specify a stylesheet or template module ensures that the blog pieces you want to appear are the ones that appear.

TrackBacks

Articles That Link To This One

TrackBack URL for this entry:
http://plasticmind.com/cgi-bin/mt4/mt-tb.cgi/725

Comments

Oh, WOW. Thanks so much for this article!

Glad it helped! I just visited your site... are you a new convert to MT, or are you a veteran?

I'm enamoured with the idea of not having to mess with more than one style-sheet ( I run a photoblog and blog on the same frame-set; very frankenstein), but haven't found a good example of how to implement this in an index template.
I'm not skilled enough to construct one from scratch simply given the tag examples...

I am using Multiblog for merging five blogs in to one frontpage. But the problem is - it is not rebuilding automatically when some of the blogs ar eupdated (not even talking about adding a comment and changing count of comments for entry in this frontpage). Do you know a solution for this?

I am using Multiblog for merging five blogs in to one frontpage. But the problem is - it is not rebuilding automatically when some of the blogs ar eupdated (not even talking about adding a comment and changing count of comments for entry in this frontpage). Do you know a solution for this?

Leave a comment