RSS Feeds in Movable Type

Freshness Warning
This article is over 15 years old. It's possible that the information you read below isn't current.

Note: Most of the changes contained in this document are now part of the Movable Type default templates. This document isn’t really useful anymore.

Movable Type automatically creates an RSS feed for you each time you add a new item to a blog. This document explains how to change the RSS template to change the language, include an image, include your contact information, and identify the feed creator. Once you have made these changes, you will need to rebuild the indexes so your RSS feed will be published with the new template.

Editing the template

To edit the RSS template, log into Movable Type and select a blog to edit and click Manage Blog.

Click List And Edit Templates.

Click XML RSS Index.

You are now looking at your default template. Unless you’ve made changes, it should look like this:


  <?xml version="1.0"?>

  <rss version="0.91">

    <channel>

      <title><$MTBlogName$></title>

      <link><$MTBlogURL$></link>

      <description><$MTBlogDescription$></description>

      <language>en-us</language>

  <MTEntries lastn="15">

      <item>

        <title><$MTEntryTitle encode_html="1"$></title>

        <description><$MTEntryExcerpt encode_html="1"$></description>

        <link><$MTEntryLink$></link>

      </item>

  </MTEntries>

    </channel>

  </rss>

Setting the language

If your blog is in a language other than US English, you should change the template to reflect your language. You can easily do this by changing the line that says <language>en-us</language>. You will need to look up your two letter country code and your language code by clicking the links below:

The format you will use is <language>country-language</language>.

Adding Author Email

Inserting tags with your email address will allow people to contact you should there be a problem with your RSS feed or if they have questions about it’s use.

The webMaster tag can be placed anywere after <channel> but before <MTEntries lastn="15">. We will put it right after the language tag. Create a new line after <language>...</language> and type <webMaster>youremail@yoursite.com</webMaster>.

Adding an Image

An image is a great way to identify your site. If you have a small graphic, you can include it into your RSS feed. Many feed readers, news aggregators, and directories will display this image any time your RSS feed is shown.

The image tag set can also be placed anywere after <channel> but before <MTEntries lastn="15">. We will put it right after the webMaster tag. Insert the following on a blank line after <webMaster>...</webMaster>


	<image>

		<link><$MTBlogURL$></link>

		<url>http://www.kalsey.com/images/kalsey_btn.gif</url>

		<title><$MTBlogName$></title>

	</image>

Change the URL to the full URL of your image. Include the http:// and your domain.

Identifying the feed creator

Syndic8 is a directory of RSS feeds. One of the features of the directory is that they catalog the name and version of the product that created the feed. To get your feed cataloged, all you need to do to identify your feed is add a specially formatted comment near the top of your template.

<!-- generator="Movable Type/1.4" --> should be added right after <?xml version="1.0"?>.

Adding a last update date

Including the date the feed was last updated makes it easy to see if your feed is fresh. After the set if image tags, insert a blank line and type <lastBuildDate><$MTDate format="%B %d, %Y %I:%M %p"$></lastBuildDate>

Putting it together

Once you are done, you should have something like this:


  <?xml version="1.0"?>

  <!-- generator="Movable Type/1.4" -->

  <rss version="0.91">

    <channel>

      <title><$MTBlogName$></title>

      <link><$MTBlogURL$></link>

      <description><$MTBlogDescription$></description>

      <language>en-us</language>

	  <webMaster>youremail@yoursite.com</webMaster>

  	  <image>

		  <link><$MTBlogURL$></link>

		  <url>http://www.yoursite.com/imagesyourimage.gif</url>

		  <title><$MTBlogName$></title>

	  </image>

	  <lastBuildDate><$MTDate format="%B %d, %Y %I:%M %p"$></lastBuildDate>

  <MTEntries lastn="15">

      <item>

        <title><$MTEntryTitle encode_html="1"$></title>

        <description><$MTEntryExcerpt encode_html="1"$></description>

        <link><$MTEntryLink$></link>

      </item>

  </MTEntries>

    </channel>

  </rss>

  

Your comments:

Text only, no HTML. URLs will automatically be converted to links. Your email address is required, but it will not be displayed on the site.

Name:

Not your company or your SEO link. Comments without a real name will be deleted as spam.

Email: (not displayed)

If you don't feel comfortable giving me your real email address, don't expect me to feel comfortable publishing your comment.

Website (optional):

Follow me on Twitter

Best Of

  • How not to apply for a job Applying for a job isn't that hard, but it does take some minimal effort and common sense.
  • Movie marketing on a budget Mark Cuban's looking for more cost effective ways to market movies.
  • California State Fair The California State Fair lets you buy tickets in advance from their Web site. That's good. But the site is a horror house of usability problems.
  • Customer reference questions. Sample questions to ask customer references when choosing a software vendor.
  • Comment Spam Manifesto Spammers are hereby put on notice. Your comments are not welcome. If the purpose behind your comment is to advertise yourself, your Web site, or a product that you are affiliated with, that comment is spam and will not be tolerated. We will hit you where it hurts by attacking your source of income.
  • More of the best »

Recently Read

Get More

Subscribe | Archives

Recently

Assumptions and project planning (Feb 18)
When your assumptions change, it's reasonable that your project plans and needs change as well. But too many managers are afraid to go back and re-work a plan that they've already agreed to.
Feature voting is harmful to your product (Feb 7)
There's a lot of problems with using feature voting to drive your product.
Encouraging 1:1s from other managers in your organization (Jan 4)
If you’re managing other managers, encourage them to hold their own 1:1s. It’s such an important tool for managing and leading that everyone needs to be holding them.
One on One Meetings - a collection of posts about 1:1s (Jan 2)
A collection of all my writing on 1:1s
Are 1:1s confidential? (Jan 2)
Is the discussion that occurs in a 1:1 confidential, even if no agreed in the meeting to keep it so?
Skip-level 1:1s are your hidden superpower (Jan 1)
Holding 1:1s with peers and with people far below you on the reporting chain will open your eyes up to what’s really going on in your business.
Do you need a 1:1 if you’re regularly communicating with your team? (Dec 28)
You’re simply not having deep meaningful conversation about the process of work in hallway conversations or in your chat apps.
What agenda items should a manager bring to a 1:1? (Dec 23)
At least 80% of a 1:1 agenda should be driven by your report, but if you also to use this time to work on things with them, then you’ll have better meetings.

Subscribe to this site's feed.

Contact

Adam Kalsey

Mobile: 916.600.2497

Email: adam AT kalsey.com

Twitter, etc: akalsey

Resume

PGP Key

©1999-2019 Adam Kalsey.