None of the existing media-based plugins fit my own personal needs, so I decided to write MediaConsumer. The key feature of MediaConsumer, for me at least, is the amount of data that is stored locally, and thus available for use and manipulation in template tags:
- Release/publish date
- Thumbnail URL
- Detail URL
- Consumation status (‘to be consumed,’ ‘consuming,’ and ‘consumed’) and dates of start and finish
- Reviewed or not
So, as an example, here is one particular use case I wanted to be able to make use of in my reading blog: listing the Hugo award winning (tagged ‘hugowinner’) novels (type ‘book’) I have read (status ‘consumed’) in order of publication (sort_order ‘ascend’, sort_by ‘released_on’).
<ul>
<mt:medialist type="book" status="consumed" tag="hugowinner"
sort_order="ascend" sort_by="released_on">
<li><mt:mediaitemtitle /> by <mt:mediaitemartist />
(published: <mt:mediaitemreleased format="%Y" />)</li>
</mt:medialist>
</ul>
It’s still very much in the development. It probably won’t work, it may destroy your site, or drive you to read more. New features are already in the works (e.g. adding ‘reviewed=”1”’ to mt:medialist will limit the items to only those that have been reviewed). Give it a shot if you’re up for it. Let me know what works, what doesn’t, and what you’d like to see. Enjoy!
Get it here:
Leave a comment