Apperceptive | Plugins | MediaConsumer

MediaConsumer Documentation

Code Examples:

Here is a basic loop that lists your last 3 items tagged "favorites" that have been consumed.

<ul>
<MTMediaList lastn="3" tag="favorites" status="consumed">
  <li><a href="<MTMediaItemDetailURL>"><img
src="<MTMediaItemImageURL size="small" drop_shadow="right">" /><br />
  <MTMediaItemTitle> by <MTMediaItemArtist></a> <MTIfNonEmpty
tag="MTMediaItemRating">(My Rating: <MTMediaItemRating>)</
MTIfNonEmpty></li>
</MTMediaList>
</ul>

MTMediaList accepts the following modifiers: tag/tags, type (not exposed in the interface yet, based on the Amazon product groups right now), status, sort_by (created_on, modified_on, released_on, and more!), sort_order, offset, and lastn.

MTMediaItemImageURL lets you set the size (small, medium, large, defaults to medium) and drop_shadow (left or right, defaults to none). And there's always MTMediaItemThumbnailURL.