MediaConsumer 0.1

MediaConsumer List Items

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

Recent Entries

  • Must Be Doing Something Right

    It’s not because they say please and thank you so often (and appropriately). It’s not that they hug each other and say they’re sorry (eventually)...

  • Because tests and bugs are fun

    A colleague of mine just shared this particular frustration: yargh. my test passes if all of the objects are created within the same second, but...

  • Upgraded to MT 4.23

    So, yeah, it’s a month late or so, but I’ve been really busy. I finally upgraded this site to Movable Type 4.23. Maybe I’ll even...

  • I apologize about the feed updates

    I’m deploying a development version of my MediaConsumer plugin and a number of entries might appear as updated in feed readers as I start applying...

  • Plugin Writing 101

    So, I’m planning on writing up some entries about various aspects of plugin development. While I have a couple topics already in mind, I thought...

Close