Movable Type Documentation > Administrator > Publishing Options

Archive Mapping

Movable Type enables publishing of individual, monthly, category and author-based archives by default, covering the needs of most users. Movable Type's "Archive Mapping" feature allows you to specify the type of archives to publish as well as the location of those archives.

The power of archive mapping

With archive mapping, you can publish multiple sets of one or more archive types with alternate representations of the content. Here are some examples of how you might use Movable Type's archive mapping capabilities:

  • Publishing both individual entry archives in HTML for viewing in a browser, and an RSS or Atom representation of that archive with an XML feed of each of the comments in that entry.

  • Publishing a duplicate version of category archives in WordXML or PDF formats, for offline consumption by your readers.

  • Publishing a low fidelity XHTML version of your date-based archives for reading on a mobile phone.

Defining archive maps

Archive maps are defined with each of your archive templates. Movable Type supports creating one of three different types of archive templates:

  • An entry archive, which is used to display individual entries
  • An entry listing archive, which is used to display a list of entries
  • A page archive, which is used to display individual pages

When you create a new archive template, you can define how those archives are published through the Archive Mapping section of the Edit Template screen. By default, Movable Type will create:

  • One archive mapping for your entry template type, to publish one archive file per blog entry.
  • Four archive mappings for your entry listing template, including
    • Monthly archives
    • Author Monthly archives
    • Category archives
    • Category Monthly archives
  • One archive mapping for your page template type, to publish one archive per blog page.

Here is a screenshot of the archive mapping list for a new blog's Entry Listing template.

archive-mapping-list.png

Creating a new archive map

To create a new archive map, click on "Create a New Archive Mapping" above the archive map listing table.

When creating a new archive map for an Entry Listing template, Movable Type will provide you a set of archive map types to choose from. This choice determines (a) what content Movable Type will publish on the archive pages you're creating and (b) your choices for default filepaths for publishing those archives.

The archive map types for Entry Listing templates include:

  • Daily
  • Weekly
  • Monthly
  • Yearly
  • Author
  • Author Daily
  • Author Weekly
  • Author Monthly
  • Author Yearly
  • Category
  • Category Daily
  • Category Weekly
  • Category Monthly
  • Category Yearly

After selecting your archive type, you'll be presented with a list of filepath options. Select the one you would like, or you can customize the way you would like it to appear. (See below.)

When you are finished managing your archive maps, click "Save" at the bottom of the Edit Template screen.

Note: The ability to author archives is new in Movable Type 4. Also new in Movable Type 4 is the ability to create date-based category (and author) archives, so that readers can "paginate" through larger archives.

Removing an archive map

To remove an archive map, locate and click on the trash can icon associated with the map you wish to remove. The ask you to confirm your choice before deleting it.

Customizing an archive map's filepath

Movable Type allows you to customize how the system constructs the filepath for each of your archives. For example, by default the system will publish monthly archives for your blog to a filepath that looks like this: yyyy/mm/index.html. But you could, if you like, customize that file path to read mm/yyyy/index.html.

archive-mapping-customize.png

Customizing your filepath is done through Archive File Path Specifiers.

This page was last updated on 2007-08-01, 22:53.  

1 User Contributed Notes

Skot Nelson Author Profile Page said:

This should be a bit more explicit:

Creating a new archive map To create a new archive map, click on "Create a New Archive Mapping" above the archive map listing table.

It doesn't tell me which page to find the archive mappings on: an instruction that tells the user to go to the template page they would like to map would be useful.

Submit a User Contributed Note

User contributed notes are a great way to share the knowledge you have gained in using Movable Type.

If you have a technical question or problem, please visit Movable Type Support.

(If you haven't left a note here before, you may need to be approved by the site owner before your comment will appear. Until then, it won't appear on the entry. Thanks for waiting.)