June 05, 2003
Adding a "Sideblog" in MT

Following in many other people's footsteps, and answering a need/wish I've had for a while to "bookmark"/post links to interesting/random stuff without neccessarily writing any further comments, I've added a "sideblog".

For the technically minded who want to do similar using Movable Type, my reciepe is:

  1. Create a new blog in MT
  2. Create an index template containing only the HTML you want to include on your normal blog frontpage:
    <MTEntries lastn="15"> <MTDateHeader> <br /> <$MTEntryDate format="%Y-%m-%d"$>: <br /> </MTDateHeader> <$MTEntryBody$><br /> </MTEntries>
  3. Edit the main index template of your main blog to add something like this (assuming you are already using SHTML, if not; instructions follow below):
    <div class="sidetitle"> Further random reading </div> <div class="side"> <!--#include virtual="sideblog/index.html" --> </div>
  4. Test; if the SHTML include is not parsed and you use Apache webserver, make sure SHTML enabled by editing your .htaccess file to include the XBitHack (some webservers will automatically parse SHTML if you rename your index file to index.shtml instead of .html, but in this case you might want to set up an additional redirect in case people have linked to the index.html file directly). If switching on the XBitHack for the first time, you should also remember to update your umasks in the MT config file
Sponsored links
Related Entries
Comments

I'm sorry if my questions sounds ridiculous but I'm creating my first MT blog and wanted to implement a sideblog that you mentioned above.

If I installed movabletype as it is (I don't think I use mysql or any database), will your solution work? I didn't install MT myself so I'm not sure. I don't even know how to find out from the documentation/help.

Does the "<!--#include virtual="sideblog/index.html" -->" work for me with just MT installed as it is?

Thanks for your help!

Posted by: Gilbert on February 4, 2004 03:02 PM

Gilbert, the include statement needs to point to wherever you choose to locate your sideblog index page (see the archive settings / config of the new MT blog you need to set up (step 1)). If you didn't set up your first blog yourself, I advise you get a little bit of guidance on this one, as you want to make sure the files are stored in the correct locations/etc

Happy blogging!

Posted by: Anders on February 4, 2004 03:16 PM

Hello.
I'm trying to get the sideblog to work.
I've created a sideblog @ http://www.cubiclewars.com/mt/sideblog/
I have tried the below code in my main blog's html, but still it doesn't work:

<div class="sidetitle"> Daily Links</div>
<div class="side">
<!--#include virtual="/sideblog/index.html" -->
</div>

any ideas?
Thanks very much!

Posted by: Charles on May 1, 2004 04:30 PM

Charles - try
<!--#include virtual="/mt/sideblog/index.html" -->
instead (note the /mt :-) )

Posted by: Anders on May 2, 2004 03:27 PM

Thanks for the quide, but two questions:

I did what you said, but the problem seems to be that my server is not keen on reading .shtml at all, thus when I go to the blog www.vishistorica.com/brain/ what is showing is the index.html. I would actually have to type in /index.shtml. What should I do.

Then, even when I do that, this is the error I get: [an error occurred while processing this directive]

Posted by: Khodadad on November 4, 2004 05:24 AM
Post a comment
Name:


Email:
(Will not be displayed if you enter a website below. Otherwise, it will be displayed "spam protected")


Website:
(if you have one)


What do you want to say?
(please don't bother posting "spam" (pornography, viagra-sales etc - I will delete such comments anyway))


Remember info?



Referrers to this page
TrackBack URL for this entry:
http://www.jacobsen.no/cgi-sys/cgiwrap/anders/MT/mt-tb.cgi/509
GoThereNow: test (June 12, 2003 09:07 PM)
"Anders Jacobsen's blog: Adding a "Sideblog" in MT :..."
KevinDonahue.com: Creating a Sideblog (June 29, 2003 04:40 PM)
"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 inspire..."
scriptygoddess.com: Creating a Sideblog in MT (July 2, 2003 04:29 AM)
"Guest authored by
Kevin Donahue- blog.kevindonahue.com"
FeralBlog: Random Reading (July 16, 2003 08:42 PM)
"Got all fiesty after reading the two MT articles this a.m., as well as this guide to creating a links “sideblog”, and did just that. Created a new blog, and after getting bookmarklets set up in Phoenix Firebird and IE,..."
Miscellaneous Flotch: Adding a Sidebar in Movable Type (August 20, 2003 06:32 AM)
"Adding a sideblog in Movable Type"
Procrastination: Book List (August 28, 2003 02:48 AM)
"I have changed the way my reading list appears. It now shows the cover of the book from Amazon. Thanks to Yaser for his technique of easily doing this. Also, thanks to Anders Jacobsen for how to do this using..."
Regressing at its finest...: Sidebar implemented (February 13, 2004 06:19 PM)
"I decided against using PHP and went with SHTML so you may have to update your bookmarks to point to here if you want to see it because..."
jeph: 製作sideblog (February 20, 2004 05:26 AM)
"第一次看到「sideblog」是在"文森咖啡館":http://winsoncafe.com/archives/000126.html,後來"奶爸也提到了":http://tamshui.typepad.com/yuchang/2003/09/sideblog_1.html。本來還不覺得有此需要,後來發現有時候想找某些..."
a wily blog: Sideblog coming soon... (March 9, 2004 11:24 PM)
"Ever wonder how to do a sideblog in MovableType? No? Well, then this entry isn't for you. Otherwise, check out Anders Jacobsen's quick article about adding a sideblog Seems like a good fit for linkdumping that seems like a waste..."
わさび: Mini Me (March 12, 2004 01:32 PM)
"After some well deserved troubles and consequent failures I finally got my mini blog going. It is meant as a place to post mini-thoughts (if you can call them that) as well as random links that I may come across..."
Links: Links Sideblog (April 16, 2004 03:48 PM)
"Adding a "Sideblog" in MT (Anders Jacobsen's blog)..."
Earth Wide Moth: Almost But Not Quite (May 5, 2004 05:40 AM)
"Since I got home from work at 4:15, I've been on my knees doing two things: A. replacing the wooden base molding in the kitchen and B. scraping the nasty glue-carpet residue from the front step. Altogether, it took me..."
Playdreaming: Movable Type 3.0 (May 14, 2004 02:24 PM)
"I am a big fan of the Movable Type software used to run this blog, so much so, that after I discovered it here I used it for my main blog and for a couple of sub modules of that..."
Left & Right: HELP! (May 28, 2004 05:06 PM)
"Am trying to add the FOLIOfn Watch over on the right side-bar as a SIDEBLOG. All I want to do is post the previous day's gains/losses into the sideblog so I don't have to mess with and rebuild the index..."
عصرجديد: يک لينکدونی خيلی ساده با MT (May 31, 2004 05:08 AM)
" درست کردن لینکدونی برای وبلاگ راههای مختلفی دارد ولی یکی از راحتترین روشهای آن استفاده از Server Side Include یا SSI است. حقیقتش تا دیروز از روشی که د..."
Earth Wide Moth: Almost But Not Quite (February 3, 2005 07:14 AM)
"Since I got home from work at 4:15, I've been on my knees doing two things: A. replacing the wooden base molding in the kitchen and B. scraping the nasty glue-carpet residue from the front step. Altogether, it took me about four hours. The molding turn..."
Earth Wide Moth: Almost But Not Quite (April 20, 2005 06:08 PM)
"Since I got home from work at 4:15, I've been on my knees doing two things: A. replacing the wooden base molding in the kitchen and B. scraping the nasty glue-carpet residue from the front step. Altogether, it took me about four hours. The molding turn..."

56229 visits (3 today, 15 this week)

© Anders Jacobsen
[weblog / photography]