MTMediaManagerItems

A container tag representing a list of Media Manager entries. The actual list can be configured using the optional attributes to this tag. The default is to display all entries. To alter this behavior, you can provide one of the following attributes:

Attributes of MTMediaManagerItems can be combined in arbitrary ways. For example, the following tag will take all entries with status set to ''unread", sort them in ascending order according to the last modified date and display items 11 through 20 (inclusive) of that set.

<MTMediaManagerItems lastn="10" offset="10" status="unread" sort_order="ascend" sort_by="modified_on">
...
</MTMediaManagerItems>

MTItemCount

Returns the numbers of items in the current selection as defined by the constaints passed to MTMediaManagerItems.

MTItemASIN

The ASIN (Amazon ID) of the entry.

MTItemStatus

The status of the entry (''unread", ''reading" or ''read").

MTItemCatalog

The catalog the current item belongs to.

MTItemIcon

The URL to an icon of the catalog the item belongs to. Examples include:

MTItemEntryDate

The date on which the entry was entered. This tag takes an optional format attribute. If format is omitted, the language-specific default format taken from the blog configuration will be used. See Date Tag Formats and Language for date display in the Movable Type documentation for more information.

MTItemFinishedDate

The date on which the was finished being read. This tag takes an optional format attribute. If format is omitted, the language-specific default format taken from the blog configuration will be used. See Date Tag Formats and Language for date display in the Movable Type documentation for more information.

MTItemModifiedDate

The date on which the entry was last modified. This tag takes an optional format attribute. If format is omitted, the language-specific default format taken from the blog configuration will be used. See Date Tag Formats and Language for date display in the Movable Type documentation for more information.

MTItemEntryID

The entry id of the blog entry associated with the entry. See the Movable Type documentation for MTEntryID for more information.

MTItemEntryLink

An absolute URL pointing to the archive page containing the blog entry associated with the entry. This tag takes an optional attribute archive_type to specify the archive type to link to.

See the Movable Type documentation for MTEntryLink for more information.

MTItemEntryPermalink

An absolute URL pointing to the archive page containing the blog entry associated with the entry with an anchor (#) pointing to the actual entry (by ID). This tag takes an optional attribute archive_type to specify the archive type to link to.

See the Movable Type documentation for MTEntryLink and MTEntryPermaLink for more information.

MTItemIfBlogEntry

A container tag: the contents of this container will be displayed only if this entry has a blog entry associated with it. In the following example, the "book review" link will only appear for book entries which have an associated blog entry id.

<MTMediaManagerItems>
...
  <MTItemIfBlogEntry>
    <a href="<MTItemEntryLink>">book review</a>

  </MTItemIfBlogEntry>
</MTMediaManagerItems>

MTItemIfFinishedDate

Returns true if the current item has a "finished on" date.

Examples

Below is a steadily growing list of examples of how people have used Media Manager's template tags.

What I Am Reading List
<h2>What I Am Reading</h2>
<MTBookQueueEntries status="reading" sort_order="descend"
    sort_by="modified_on" catalog="Books">
<div class="amazonItem">
<MTAmazon method="Asin" search="[MTBookQueueEntryISBN]">
<a href="<MTAmazonLink>">
  <img src="<MTAmazonSmallImage>" border="0" alt="<MTAmazonTitle>" />
</a>
<p><a href="<MTAmazonLink>"><MTAmazonTitle></a><br />
by <MTAmazonAuthor></p>
</MTAmazon>
</div>
</MTBookQueueEntries>
What I Am Listening To List
<h2>What I Am Reading</h2>
<MTBookQueueEntries status="reading" sort_order="descend"
    sort_by="modified_on" catalog="Music">
<div class="amazonItem">
<MTAmazon method="Asin" search="[MTBookQueueEntryISBN]">
<a href="<MTAmazonLink>">
  <img src="<MTAmazonSmallImage>" border="0" alt="<MTAmazonTitle>" />
</a>
<p><a href="<MTAmazonLink>"><MTAmazonTitle></a><br />
by <MTAmazonAuthor></p>
</MTAmazon>
</div>
</MTBookQueueEntries>