Combined Entries from All Your Blogs
// June 23rd, 2004 // tagged: Movable Type > Tutorials
!! This tutorial is obsolete. The MT plugin multiblog will do all this and more ... it's FANTASTIC! Click here to get it! !! I've gotten several emails asking how I combine entries from all my different blogs onto my main index page, with each type of entry having its own display settings. There are lots of tutorials already available out there - but here's the way I did it. Setting up your main index page like this will allow the entries from all your blogs to be displayed in chronological order on your main index page. It also allows you to have each blog's entries display in a different way. For instance, on my site, I am showing four blogs content on the main page - Regular blog entries, Reviews, Links and Odds & Ends. The Reviews entries have lots of MTAmazon info included, the Links entries and Odds & Ends entries are extremely short - with just the entry title and extended entry field showing. I didn't want a full big entry displayed when all I was doing was linking to a funny picture on yahoo or adding a new design resource site to my links database.Requirements:
MT 2.661 or higherPlugin: MTSQL
Plugin: MTCompare These instructions are assuming you have three blogs you want to aggregate. Replace your MTEntries tags (and everything in between) with: [code]
Edit the MTSQLEntries tag ...
The 1,8,5 determines which blog entries to aggregate. Replace those numbers with the id numbers of the blogs you want to include. desc limit 0,10 represents how many total entries to show on the main page. So if you want 20 entries to show up - you'd put desc limit 0,20Setting up each blogs display
Now for each blog you're including -- you'll set up one of these within the MTSQLEntries tags. (I've only put the most basic of MT Info for the blog entry. Put as little or as much as you want to display). If you're including THREE blogs, you'll have three of these within the MTSQLEntries tags. [code]Automatically Updated Index Page
Now you need to make a few changes in your MT set up so that anytime you post a new entry to any of your blogs -- the main index page is updated. If you don't do these changes ... then the only time your main index page will rebuild to include the other blogs entries is when you post an entry to the MAIN blog. (Make sense?) This is how I get my MT to do it: My main blog's Main Index Template (with the new MTSQLEntries and MTIFEqual tags) is set to OUTPUT to index.php. The template is LINKED TO FILE in Templates/index.txt. Screenshot of Main Blog's Template Setup:


hei that’s good.it’ll give me a sort of help.
This tutorial isn’t necessary anymore with great plugins like Multiblog and Global Listings. Check the Movable Type Plugins site for the latest versions of these plugins!!