62 hits1234

21. Moving an Entry from One Blog to Another

Learning Movable Type, Tutorials, 24 KB, 1132 words

For those of you with multiple MT weblogs, have you ever wanted to move an entry from one blog to another? or the entries from only one category from one to another weblog? You can copy the entries from the first weblog and paste them into the second, but how to move the associated comments or trackbacks?

Here's one fairly straightforward method.

1. Create a new index template in the weblog that contains the entries you wish to move. Give the template name any name you wish. Call the output file mt.txt. Copy and paste the following code into the new index template:

<MTEntries lastn="1000" sort_order="ascend" category="Your Category Name Goes...

continue reading ...

22. Keeping an Entry at the Top

Learning Movable Type, Tutorials, 20 KB, 939 words

Sometimes you may want to keep an entry, or all entries within a certain category, at the top of your weblog, above all of your other entries. For example, you may want to highlight announcements at the top of your site, or you might have a site explanation or introduction that you wish to maintain at the top. There are several ways to accomplish this.

1. Changing the date of the entry.

If all you want to do is to put one particular entry at the top of your blog, perhaps only for a limited time, the easiest way to accomplish this is to give it a date that is posted at a later date than all of the other entries. To do this, in the edit entry window, scroll to the bottom of the page....

continue reading ...

23. What is a Permalink?

Movable Type Weblog, Tutorials, 19 KB, 798 words

If you have ever read a weblog you will quite certainly have discovered the term "Permalink«. What is this? And why can't you find this type of link in a new Movable Type project?

Avoid Moving Targets

When opening a weblog you will initially see the main index page. This page lists the most recently published entries, usually sorted by date. The contents of this page is coming and going. An entry, which is there today, may not be there tomorrow.

Sometimes you want to link to another weblog's entry. Maybe you like that entry so much that you want to link to it from your own website. However, the index page is not well suited as the target for this link.

And this is the situation...

continue reading ...

24. Date Formats

Movable Type Weblog, Tutorials, 16 KB, 470 words

If an entry is created with Movable Type, the date of creation is given above the title. Initially this is in a standard format, but it can be changed easily.

If you create a new entry with Movable Type the date of creation will be given above the entry's title. Initially the date is in a default format, but you can change the format easily.

Modifying a Template

The layout of the generated HTML files if defined by several templates and the variables appearing in those files. These can be changed to your liking.

Open your Movable Type project. Then on the left navigation bar select the menu item »templates«. Next a list of templates appears. Among others you will find...

continue reading ...

25. What is a Permalink?

Learning Movable Type, Tutorials, 17 KB, 463 words

Updated September 20, 2004

If you are new to Movable Type and/or weblogs you may have encountered the term Permalink and wondered (as I did when I first read the term), what the heck is that?

A permalink is the permanent identifier to a specific weblog post or article. On Movable Type, a Permalink is usually a link to an entry's unique web page. The default archiving set-up in Movable Type includes date-based archives and individual archives. By default the permalinks are set up to link to an entry's individual archive page. You may see permalinks listed on many Typepad sites (like this one from Art Addict:

Clicking on the Permalink link will take the viewer to the page devoted...

continue reading ...

26. ESF 1.0 Feed Available

Don't Back Down, Tutorials, 13 KB, 838 words

Episula (Epistula?) Syndication Format. Hmm. Haven't figured this one out yet. Starting with "episula syndication format" at Google, I end up at Dylan Green dot Com, which offers up yet another acronym: Even Simpler Format.

I eventually stumbled through a comment and came across the actual specification for ESF. I find it interesting that it is mentioned that Movable Type does not support the Unix (seconds since the Epoch) format. Almost gleefully, in fact. Sounds strange indeed. So back to Google I go.

How about "movabletype epoch"? Sure enough, this turns up a new plugin (new to me anyway) called, appropriately, MT-Epoch. Installation instructions seem simple enough: put it in...

continue reading ...

27. Dating Requests

MezzoBlue, Tutorials, 12 KB, 759 words

No, not that kind of dating. Due to popular demand, a quick explanation of the date boxes on this site's home page.

Whoa. I don't know what happened, but all of a sudden I'm getting three or four inquiries a day about the little date boxes on this site's home page, which have been around for, what, a year now? Some want an explanation, others want permission to use them. So this is both at once for my reference and yours.


Fundamentally, only two HTML elements are needed to pull this off. One container, and an additional element to surround the day. In my case I've opted for spans. (You could add a link, but I haven't because I only just...

continue reading ...

28. Entries Archives

Six Apart User Manual, Manuals, 41 KB, 1663 words

By default, Movable Type offers two formatting options for the text in your entries: None and Convert Line Breaks. The former leaves your entry intact without any conversion and is appropriate for HTML-formatted entries. The latter includes basic formatting of paragraphs and line breaks allowing you to write as you would normally.

The Movable Type Plugin API allows you to add additional options via plugins such as the popular Markdown and Textile.

Back to top | Permalink | Comments (0)...

continue reading ...

29. Optimizing Your Blog for Search Engines

Learning Movable Type, Tutorials, 28 KB, 1816 words

Updated. Originally posted January 4, 2004.

If you are interested in driving more traffic to your blog, the first thing you should do is create useful, compelling content. The next thing you should do is make sure that content is easily found in search results from search engines like Google, Yahoo, and MSN.

Movable Type does a few things automatically that are very helpful to getting ranked higher in search engines. For example, Google likes pages that are well structured, with header and title tags, and with lots of text. The default templates in MT ensure that the pages of your blog are well structured with H1, H2, and H3 header tags, and even title tags that include the name of...

continue reading ...

30. Simple Template

Brad Choate, Plugins, 57 KB, 1790 words

Movable Type templates aren't too difficult to write, but they can be difficult to read. So I've whipped up another plugin to fix that. Simple Template is a plugin that provides an alternative syntax for Movable Type templates 1.


You can download this plugin here:


To install, place the ‘' file in your Movable...

continue reading ...

32. Building a Weighted Keyword List

Eat Drink Sleep MT, Tutorials, 36 KB, 1803 words

Similar to the weighted category list, the weighted keyword list builds a list of keywords used on your site and uses varying font sizes to show how popular they are. This list might be more representative of what your site is about than the weighted category list is. Here's the list for this site:

adobe backup book camera camporee car cars cat category cd christmas collection collector color com computer cow danandsherree detail digital dpi dvd elsewhere file files film fire florida image life light links monitor movable movie news nikon page paper park photo photos photoshop php pinball print profile radio raw river scan scanner...

continue reading ...

33. How to Speed Up Publishing in Movable Type

Six Apart Pronet Articles, Tutorials, 22 KB, 2467 words

For those who aren't using the dynamic publishing feature of Movable Type (see below), experiencing slow rebuild times is not an infrequent complaint especially as the size or complexity of the blog and its templates grows. While there are very good reasons to rebuild, there are no good reasons for it to be painfully slow.

In this essay, we will detail a number of reasons why your rebuild times might be slow and steps you can take to drastically reduce or completely eliminate the time you spend waiting for Movable Type to finish its work.

Upgrade to Movable Type 3

Has anything significant happened to you in the 16 months? Probably so. Well, the same can be said for Movable...

continue reading ...

34. Smart templating with Movable Type

Brad Choate, Tutorials, 75 KB, 2581 words

A little while ago I converted my site to use the Smarty for dynamic templating. I'm still using Movable Type for the content management though. Click the 'more' link for an overview of how it all works together...

Smart Templates

The Smarty template engine for PHP is pretty sweet. There's a lot of power in dynamic template rendering. The most important for me is that I can change the shape of my...

continue reading ...

35. Printer-Friendly Pages

Learning Movable Type, Tutorials, 37 KB, 2673 words

Updated. Originally posted March 29, 2004. Providing printer-friendly versions of your weblog entries can be useful to your weblog readers. For example, my cooking weblog has printer-friendly versions of the recipes like this. Learning Movable Type links to printer-friendly versions at the end of each entry. There are several ways to create printer-friendly versions. I've outlined two methods in this tutorial. The first method is a simple header tag and CSS trick that automatically generates printer-friendly pages whenever someone goes to print a page from your blog. The second method is a bit more involved, creating a printer-friendly archive template with associated...

continue reading ...

36. Search Archives

Six Apart User Manual, Manuals, 45 KB, 3290 words

Over time a lot of content will be generated by a site, especially a weblog or news-oriented site. Finding that content in a reverse chronological archive can be difficult and frustrating. Local search can make a site more accessible by providing readers with the means to dynamically zero in on the content they are looking for.

Built-In Search

Movable Type's public search interface originally began as an add-on to MT developed by Jay Allen before formal plug-ins existed. The code was later integrated into MT version 2.5.

The search engine provides a rudimentary means of querying an MT system for...

continue reading ...

37. DaylightOrStandard

Staggernation, Plugins, 6 KB, 343 words

This Movable Type plugin implements a template tag for displaying text based on whether an entry's date falls within Daylight Saving Time.

Required Modules

The MTDaylightOrStandard tag uses the Time::Local module, part of the standard Perl distribution.


To install the DaylightOrStandard plugin, upload the file to the plugins directory within your Movable Type directory. If you do not already have a plugins directory, create one before uploading the file. For more information about Movable Type plugins, see the documentation.


Please address questions, comments, bug reports, feature requests, interesting usage examples, etc., to mtplugins [AT]&...

continue reading ...

38. List All Entries In Same Month Or Category As Current Entry

Six Apart Knowledgebase, Manuals, 29 KB, 675 words


How do I show all entries from the same month or category as the current entry on an Individual Archive?


If you want a list on the Individual pages which only shows entries in the same month or category as the entry, you will need to do this with a second Archive Template and a PHP (or SSI) include.

Create The New Template

Navigate to Templates and click the Archives tab1. Click Create New Archive Template.

Assign the template a name of your choosing (to distinguish it from your normal Monthly or Category Archive Template). In...

continue reading ...

39. Glue

Staggernation, Plugins, 8 KB, 443 words

This Movable Type plugin implements a set of template tags for defining a section of text and/or HTML code as "glue" that will appear between items (entries, categories, comments, etc.) in a listing, and will not appear after the last item in the listing. The functionality is similar to that of the glue attribute of Movable Type's MTEntryCategories tag, although the way the plugin is used within a template is somewhat different.


To install the Glue plugin, upload the file to the plugins directory within your Movable Type directory. If you do not already have a plugins directory, create one before uploading the file. For more information about Movable Type plugins, see...

continue reading ...

40. Putting your category on the title line (or posted line)

PubHacks, Tutorials, 5 KB, 132 words

On one blog, I wanted the category to appear before the post title. Here on the pub, I wanted it to appear down in the "posted by" area, so it would say "poured into [category] by [author]. And here, actually, "poured" is the permalink.

You can do this by using the <$MTEntryCategory$> tag. To put it before the title of each post, stick it in here:

<div class="blogbody"><a name="<$MTEntryID pad="1"$>"></a><h3 class="title"<$MTEntryCategory$>><$MTEntryTitle$></h3> <$MTEntryBody$>

To put it down by "posted by", stick it in here:

<div class="posted">Posted in <$MTEntryCategory$>by<$MTEntryAuthor$> at <a...

continue reading ...


You want to post some comment? Please use the announcement post on the Movable Type Weblog.

If you want to give some feedback concerning a specific query, please use the feedback button that is shown after a search has completed.

mgs | September 27th 2005