Not a developer? Go to MovableType.com

Plugin and Theme Directory

Media Manager v1.2.1

By Byrne Reese
Posted November 12, 2004, in Web Services.

Details

Overview

Media Manager provides users and authors within Movable Type and Melody with the ability to search and insert media from a number of popular remote services like Amazon and YouTube. Using Media Manager one can open a dialog, enter a few search terms, select the book, DVD or video and optionally insert it into a blog post.

Once the media item has been selected it is automatically inserted into Movable Type or Melody's asset management system and can be view by going to "Manage Assets" under the Manage menu.

Installation

To install this plugin follow the instructions found here:

http://tinyurl.com/easy-plugin-install

Prerequisites

Keep in mind that before installing Media Manager you need to make sure you have:

  • Movable Type 4.01 or greater.
  • Net::Amazon
  • Digest::SHA1

Using the Plugin

To add an item from Amazon to your list of Assets, select "Amazon Item" from the Create menu and follow the instructions. Adding an item from Amazon to a post is done exactly like inserting any other asset.

Template Tags

For the most part, Media Manager does not yet expose any template tags of its own. The only template tags exposes by this plugin are specifically for interfacing with Amazon's API.

AmazonItemSearch

AmazonItemSearch is a container tag and is responsible for conducting virtually all searches against Amazon's Marketing/Product API. Using this container tag you can search for Books, DVDs, or any product in their catalog, as well wishlists and more.

The arguments/attributes this template tag supports is drawn directly from the Net::Amazon. In fact, all of the search parameters supported by Net::Amazon's search() method are supported as attributed by this tag. This tag can be used to search for a specific item (e.g. by UPC or ASIN ID), or a group of items (e.g. by keyword or category).

For example, here are some of the search parameters supported by Net::Amazon (for a complete list please visit Net::Amazon's homepage).

  • asin - Returns a single item identified by its ASIN (or Amazon ID).
  • actor - Return items starring an actor (or actress!). This is useful for video. Can return many results.
  • artist - Return items created by an artist. This is useful for music. Can return many results.
  • author - Search for items created by the specified author. This is useful for books obviously. Can return many results.
  • browsenode - Returns a list of items by category ID (node). For example node "4025" is the CGI books category. You can add a keywords parameter to filter the results by that keyword.
  • exchange - Returns an item offered by a third-party seller. The item is referenced by the so-called exchange ID.
  • keyword (or keywords) - Search by keyword, mandatory parameters keyword and mode. Can return many results.
  • wishlist - Search for all items in a specified wishlist. Can return many results.
  • upc - Music search by UPC (product barcode), mandatory parameter upc. mode has to be set to music. Returns at most one result.
  • isbn - Book search by ISBN (International Standard Book Number), mandatory parameter isbn. Returns at most one result. When searching non-US locales use the 13-digit ISBN.
  • similar - Search for all items similar to the one represented by the ASIN provided. Can return many results.
  • blended - Initiate a search for items in all categories.
  • seller - Start a search on items sold by a specific third-party seller, referenced by its ID (not seller name).
  • mode - The catalog by which to restrict your search. Common values are: Books, DVD, DigitalMusic, Merchants, VHS, and Video. A complete list can be found on Amazon's web site.

You can even combine the attributes to create compound searches. For example, to search for all books about "Blogging" you would use this tag:

<mt:AmazonItemSearch mode="book" keyword="blogging">
  <mt:if name="__first__"><ul></mt:if>
  <li><$mt:AmazonTitle$></li>
  <mt:if name="__last__"></ul></mt:if>
</mt:AmazonItemSearch>

AmazonASIN

Return the ASIN of the current Amazon product or item in context. This must be contained by the AmazonItemSearch tag.

AmazonTitle

Return the title or product name of the current Amazon product or item in context. This must be contained by the AmazonItemSearch tag.

AmazonDetailPageURL

Return the URL to the product currently in context. This URL will contain your Amazon associates ID if you have specified one. This must be contained by the AmazonItemSearch tag.

AmazonProductGroup

Return the product group of the item currently in context. This must be contained by the AmazonItemSearch tag.

AmazonImageTag

This returns a complete HTML tag referring the image associated with the current item in context. A user can optionally specify the size of the image they would like returned. The following values are allowed to be used in the size attribute:

  • thumb
  • small
  • medium
  • large

For example, the following template tag:

<$mt:AmazonImageTag size="small"$>

Returns the following HTML:

<img src="URL" width="WIDTH" height="HEIGHT" alt="ITEM TITLE" />

AmazonCustomImageURL

Amazon has a robust system for transforming images in the catalog in a number of different ways. Through this mechanism users can:

  • blur an image
  • rotate an image
  • specify the exact width of an image
  • add a drop shadow to the image
  • and more

To make it easier to tweak images in these ways, the CustomImageURL tag was created. It accepts the following attributes:

  • size - small|medium|large|thumb
  • width -
  • blur - 0-100, where 0 is clear, and 100 is blurry as hell
  • rotate -
  • shadow - left|right, to display a drop shadow on the left and right side respectively
  • percent - 0-100, to display a "45% off" pill on the image
  • percent_loc - left|right to display the "percent off pill" in the lower left, or lower right hand corner respectively

AmazonPrice

This returns the price of the current item. Amazon of course sells multiple version of an item. One can buy an item used or new. To specify which price you would like to display on your weblog use the type attribute. Acceptable values are:

  • New
  • Used
  • Refurbished
  • Consult Amazon's Web services documentation for a complete list

For example:

<$mt:AmazonPrice type="New"$>

The price that is returned is "formatted." In other words, it contains a currency character (like the dollar, pound, or euro sign), and the necessary decimals.

AmazonItemProperty

This is one of the more powerful template tags provided by Media Manager for Amazon, as it provides direct access to any attribute or property that a product might have. The list of all of these properties is not listed here because it is an extensive list. The best place to look for these properties can be found at the Net::Amazon homepage. When you click through you will see a bunch of links to modules like:

  • Net::Amazon::Property
  • Net::Amazon::Property::Book
  • Net::Amazon::Property::CE
  • Net::Amazon::Property::DVD
  • Net::Amazon::Property::Music
  • Net::Amazon::Property::Software
  • Net::Amazon::Property::VideoGames

These modules each document the list of properties associated with each product/media type. Let's look at an example. The media type of "Software" supports a property called "studio" which is meant to hold the name of the studio that produced the software. To output this property you could use the following code:

<mt:AmazonItemSearch asin="B00005JNOG">
<img src="<$mt:AmazonItemProperty property="ImageUrlMedium"$>" /><br />
<a href="<$mt:AmazonDetailPageURL$>"><$mt:AmazonTitle$></a> - 
Studio: <$mt:AmazonItemProperty property="studio"$>
</mt:AmazonItemSearch>

Example Code

The following template tag sample code will show the last 4 Amazon items you added your system.

<mt:Assets type="amazon" lastn="4">
<mt:AssetsHeader>
<div class="sidebar-module pkg" style="width: 185px; clear: right;">
  <h3 class="module-header">Currently</h3>
  <div class="module-content">
    <ul class="module-list"></mt:AssetsHeader>
      <li class="item" style="float:left">
        <a class="asset-image" href="<$mt:AssetURL$>">
          <div style="height: 75px; width: 75px; padding: 5px; background-repeat: no-repeat; background-position: center center; background-image: url(<$mt:AssetThumbnailURL width="75"$>)"></div></a>
      </li>
    <mt:AssetsFooter></ul>
  </div>
</div>
</mt:AssetsFooter>
</mt:Assets>

See the documentation for the "Assets" tag for more information.

Frequently Asked Questions

Q: What is the difference between version 2.1 and 2.0?

A: In 2009 Amazon made a significant change to their AWS Product Marketing API on top of which Media Manager and MTAmazon are built. Media Manager 2.1 contains the fixes and changes necessary to make Media Manager work once again with Amazon.

In updating the software to work with Amazon's new API, Media Manager was overhauled to utilize the CPAN module Net::Amazon. For most people this is meaningless, so let me explain. Net::Amazon is a library, a small bit of software that talks to Amazon's APIs on behalf of Media Manager. The library is maintained by a third party and far more flexible and performant than anything that has previously shipped with Media Manager.

Q: What are the changes between version 1.0 and 2.0?

A: Media Manager 2.0 is a dramatic evolution from its predecessor. Media Manager now integrates far more seamlessly with Movable Type then ever before.

In this rearchitecture of the software, however, I redefined what the goals of the software are and adjusted the scope and feature set of the product to meet those goals. For example, Media Manager 1.0 was an evolution of BookQueue and BookQueueToo, which by their name should indicate that they presumed you were managing books alone. As a result Media Manager 1.0 allowed users to set the "status" of an item as either "reading," "read" or "unread."

That is flawed assumption, especially in light of the fact that those statii are irrelevant to CD's not to mention patio furniture - both of which are available through Amazon. What follows is a list of features that have been REMOVED:

  • item statuses - users are encouraged to use Movable Type's built in tagging system to manage the state of an item
  • reviews - now that Movable Type allows users to insert assets directly in their posts, there is no need to support the concept of a "review."
  • ratings - ratings were associated with reviews in previous versions and since reviews are gone, so are ratings
  • list import - i suspect many users did not make use of this feature so the ability to import items from an Amazon Wishlist has been removed
  • finished on date - yeah, sorry about this one for now

Q: Is Media Manager 1.0 forward compatible with Media Manager 2.0?

A: Items found in Media Manager 1.0 will automatically be ported into the new Media Manager 2.0 and Movable Type 4.0 system. However, not all data will be carried over. Reviews, ratings, and statii will NOT be ported over. Not yet anyways.

Q: Will my Media Manager 1.x template tags work with MT4 and MM2.0?

A: No they will not. To simplify the code base and bring focus to the Media Manager application, all legacy template tags have been removed. Movable Type's core template tag set should be sufficient for anything most users need to do.

Resources

Bug Reports

You can file bug reports here:

Help and Donations

Media Manager represents a lot of work by one individual. While the author is happy to write this software, and support it completely free of charge, the author also appreciates and form of support you can provide. Please consult the following URL to learn more:

http://www.majordojo.com/projects/mediamanager.php

Compatibility

Movable Type versions: 4.3

License

Perl Artistic


Back

59 Comments

droppyale [typekey.com] on August 20, 2007, 1:07 p.m. Reply

This is a great plugin. Been using it for a while now.

The only issue I have with it is support. Author seems to be a pretty busy guy and doesn’t get around to making updates often leaving publishers scrambling for answers.

He should charge for the plugin, I’d be glad to pay, and I’m sure many others will as well.

Skylar Johnny Bryan

Skylar Johnny Bryan on June 5, 2017, 11:22 a.m. Reply

Hi, I read that you have been using this plugin for a while. I am new to the plugin, and movabletype as a whole and I am not sure if what I want to do will work. I would like to manage my gallery by using the different feeds that I have on my sites. For example on my facebook page and flickr, etc. I would like to make it look sort of like this gallery of cute baby shower invitations on cutebabyshowerinvitations.net but I am not sure if that is possible. Please let me know if it will work.

Seotop on June 19, 2012, 9:08 a.m. Reply

@Droppyale it’s an outdated plugin. No more support.

Sunil Shrestha

Sunil Shrestha on August 20, 2016, 6:35 p.m. Reply

I agree with you droppayle. Good plugin.

192.168.1.1

Mono Joli

Mono Joli on April 2, 2017, 11:41 p.m. Reply

great plugin

phimsex

phimsex on April 17, 2017, 1:13 p.m. Reply

phim sex xxx hay còn gọi là phim người lớn đang rất hot hiện nay, thể loại xxx này nội dung cực kì hay và kích thích, hãy cùng đón xem phim sex xxx tại đây nhé các bạn.

LuuAnh

LuuAnh on May 5, 2017, 5:38 p.m. Reply

học cách diễn đàn sinh viên luật do bộ pháp luật ban hành được chia sẻ bởi https://hauionline.edu.vn/thao-luan-seo-va-tro-giup-seo.f8/ chất lượng cao mời quý khách xem thông tin chi tiết ở tại đây

Mono Joli

Mono Joli on May 30, 2017, 12:35 a.m. Reply

This is a great plugin for games sites also. run 4 Snake.is

michel

michel on July 24, 2017, 10:44 a.m. Reply

Nice plugin for my website of games friv

Le Hang

Le Hang on August 5, 2017, 3:19 a.m. Reply

I was a girl, but clumsy things. I do not know how to cook, sew, above, ca. I have too insipid and tedious, but that’s my personality. It’s hard to change www.facebookbaixargratis.com.br

Veronica Hammond

Veronica Hammond on August 5, 2017, 6:45 p.m. Reply

The main responsibilities of media manager include social media marketing, fashion retailer and responsibilities of the community manager are often combined with the duties of an smm specialist, and smm-specialists. Media manager should hire a blog writer because he/she required too much of writers to make marketing strategy.

honda quan 2

honda quan 2 on August 10, 2017, 2:53 a.m. Reply

It good www.hondaotophattien.com

honda quan 2

honda quan 2 on August 10, 2017, 3:21 a.m. Reply

Thanh you honda odyssey 2018 honda jazz 2018

Kelly Brown

Kelly Brown on September 7, 2017, 9:41 a.m. Reply

I was very impressed by this post, this site has always been pleasant news. You’re the penguin who Learn to fly. Icebergs stopped you and crushed your dream. And watch full movies online in Free Movies Online, watch thousands of movies and TV-series anywhere with your favorite westerns, adventure, and comedy.

Kelly Brown

Kelly Brown on September 7, 2017, 9:43 a.m. Reply

I was very impressed by this post, this site has always been pleasant news. You’re the penguin who Learn to fly. Icebergs stopped you and crushed your dream. And watch full movies online in Free Movies Online, watch thousands of movies and TV-series anywhere with your favorite westerns, adventure, and comedy.

honda oto quan 2

honda oto quan 2 on January 14, 2018, 3:36 a.m. Reply

I was very impressed by this post, this site has always been pleasant news http://www.hondaotomiennam.com

linkerseo

linkerseo on April 9, 2018, 11:58 a.m. Reply

I am impressed by the information that you have on this blog. It shows how well you understand this subject. Stephen Pierce International

linkerseo

linkerseo on April 10, 2018, 10:48 a.m. Reply

We are tied particularly into the fulfill’s rebuilding database which empowers us to process your request in a blaze. car accident lawyer

Faheem

Faheem on April 10, 2018, 9:09 p.m. Reply

On this page you can read my interests, write something special. Ristrutturazioni a taranto

pioneerseo

pioneerseo on April 11, 2018, 2:37 p.m. Reply

I discovered this truly accommodating. I trust you keep on putting out incredible substance like it. best custom engagement rings

alicetaylor

alicetaylor on April 19, 2018, 1:47 a.m. Reply

Your topic is very great and useful for us…thank you

run 3

alicetaylor

alicetaylor on April 19, 2018, 1:50 a.m. Reply

Thank you for your post, I look for such article along time, today i find it finally. this post give me lots of advise it is very useful for me

run 3

james jack

james jack on April 19, 2018, 5:39 a.m. Reply

This post is very simple to read and appreciate without leaving any details out. Great work! Guest posting by eXthus

agario

agario on April 26, 2018, 4:20 a.m. Reply

Your sharing is great. I am they are a lot of things from your article. That is a very interesting experience Slope Game

agario

agario on April 26, 2018, 4:21 a.m. Reply

Your sharing is great. I am they are a lot of things from your article. That is a very interesting experience Slope Game

agario

agario on April 26, 2018, 4:51 a.m. Reply

Your sharing is great. I am they are a lot of things from your article. That is a very interesting experience Slope Game

pioneerseo

pioneerseo on April 26, 2018, 8:21 a.m. Reply

Nice information, valuable and excellent design, as share good stuff with good ideas and concepts, lots of great information and inspiration, both of which I need, thanks to offer such a helpful information here. affordable gilmer tx orthodontist

pioneerseo

pioneerseo on May 19, 2018, 6:52 p.m. Reply

Welcome to the gathering of my life here you will master every little thing about me. cedar roofing contractor

happy wheels

happy wheels on June 6, 2018, 7:45 a.m. Reply

Thanks for your article! I have read through some similar topics! However, your post has given me a very special impression, unlike other posts. I hope you continue to have valuable articles like this or more to share with everyone! - happy wheels

pioneerseo

pioneerseo on June 13, 2018, 6:43 p.m. Reply

Grandbetting giris adresi,Grand Betting yeni giris adresi ve Grandbet hakkinda bilgilendirme.

pioneerseo

pioneerseo on June 15, 2018, 3:10 p.m. Reply

Flooring installers Vancouver are one of the best places to get your flooring and have the same installers for installation of your floor coverings. With great deals on laminate flooring and engineered hardwoods. With new lines of vinyl plank flooring as well flooring installers

pioneerseo

pioneerseo on June 16, 2018, 3:43 p.m. Reply

First You got a great blog .I will be interested in more similar topics. i see you got really very useful topics, i will be always checking your blog thanks. personal alarm pendant

pioneerseo

pioneerseo on June 19, 2018, 8:01 a.m. Reply

This post is extremely radiant. I extremely like this post. It is outstanding amongst other posts that I ve read in quite a while. Much obliged for this better than average post. I truly value it! lambingan

pioneerseo

pioneerseo on June 22, 2018, 9:34 a.m. Reply

Integra Polygraph Solutions is a Cape Town based company that specialises in Polygraph testing (Lie Detector testing) throughout the Western Cape. We offer a broad selection of Polygraph tests that include Pre-employment Polygraph Testing, Specific Issue Investigation as well Staff Integrity Assessment.. polygraph testing cape town

pioneerseo

pioneerseo on June 24, 2018, 10:25 a.m. Reply

This is also a fair post which I really savored the experience of scrutinizing. It isn’t every day that I have the probability to see something like this.. Flood Doctor

pioneerseo

pioneerseo on June 28, 2018, 1:36 p.m. Reply

I’m eager to reveal this page. I have to thank you for ones time for this especially awesome read!! I unquestionably extremely enjoyed all aspects of it and I likewise have you spared to fav to take a gander at new data in your site. bitcoin mining

pioneerseo

pioneerseo on July 1, 2018, 7:28 a.m. Reply

I’m eager to reveal this page. I have to thank you for ones time for this especially awesome read!! I unquestionably extremely enjoyed all aspects of it and I likewise have you spared to fav to take a gander at new data in your site. Kundali Bhagya

pioneerseo

pioneerseo on July 1, 2018, 6:18 p.m. Reply

It’s to a great degree lovely and meanful. it’s to a great degree cool blog. Associating is incredibly significant thing.you have genuinely helped bundles of people who visit blog and give them usefull information. foam machine fluid

pioneerseo

pioneerseo on July 1, 2018, 7:09 p.m. Reply

You re in reason for reality a without defect site administrator. The site stacking speed is shocking. It kind of feels that you’re doing any undeniable trap. Moreover, The substance are ideal show-stopper. you have finished a marvelous development with respect to this issue! 1kg confetti

pioneerseo

pioneerseo on July 2, 2018, 10:34 a.m. Reply

This is also a fair post which I really savored the experience of scrutinizing. It isn’t every day that I have the probability to see something like this.. best legal steroids

pioneerseo

pioneerseo on July 4, 2018, 4:38 p.m. Reply

Set aside me opportunity to see the majority of the remarks, yet I genuinely delighted in the review. It demonstrated being truly useful to me and Im positive to the greater part of the analysts ideal here! Its continually pleasant when you can be educated, as well as engaged! I am sure you had charming composition this review. Vitamin d

pioneerseo

pioneerseo on July 18, 2018, 1:34 p.m. Reply

Rinsing Rinse under warm running warm water, using downwards stroking movements until it rinses clear and clean. wigs lace front

pioneerseo

pioneerseo on July 19, 2018, 11:19 a.m. Reply

Trying to say thanks won’t simply be adequate, for the fantasti c clarity in your written work. I will immediately snatch your rss channel to remain educated of any updates. Jehovah (Yahweh)

io-games

io-games on July 20, 2018, 11:18 a.m. Reply

do you like games? try our site more unblocked games

unblocked

unblocked on August 29, 2018, 10:27 a.m. Reply

Thank you for the nice tips! That means, you can easily play it at your school. Just click and play it!

unblocked games

theimposiblequiz

theimposiblequiz on September 12, 2018, 9:48 p.m. Reply

do you like games this games ? the impossible quiz

theimposiblequiz

theimposiblequiz on September 12, 2018, 11:58 p.m. Reply

do you like games? try our site best games and hard games

the impossible quiz

unblockedgames66

unblockedgames66 on September 14, 2018, 2:51 p.m. Reply

Your sharing is great. I am they are a lot of things from your article.

unblocked games 66

Michael Mccullum

Michael Mccullum on September 19, 2018, 11:03 a.m. Reply

The best and great plugin you developed for e-commerce websites and also for great user experience. I read the above instruction how can it will be helpful for all and it is pretty cool idea and features of this plugin. so i have a website about play unblocked game it have also a great user experience check it now…

aloy peterson

aloy peterson on September 19, 2018, 3:17 p.m. Reply

Probably i get the best plugin idea from here. i read the information about your plugin and get the more and more interesting thing that this idea is the best for e-commerce site. my site also about e-commerce and blog unblockedgamevevo.com site which have great ui experience.

Mukul Shettu

Mukul Shettu on October 10, 2018, 1:33 p.m. Reply

Great plugin develop by you. i think it is the best innovation for the website. i also want to use plugin for statusforest.com. Thanks for this plugin.

Funblocked

Funblocked on October 13, 2018, 6:04 p.m. Reply

Great post and information! Trying to use it for my website with Funblocked games. You’re can play it at school.

rahul001

rahul001 on November 9, 2018, 1:53 p.m. Reply

Nice post. you may like these best racing">https://www.techbroot.com/2018/10/racing-games-ppsspp-android.html”>racing ppsspp games on you android

rahul001

rahul001 on November 9, 2018, 1:53 p.m. Reply

wher is my comment

malo

malo on December 7, 2018, 2:33 a.m. Reply

This is very Impressive. Much more Like for 123 Movies

[url=https://www.123moviesvideo.com]123Movies[/url]

Leave a Comment

Byrne Reese

Byrne Reese was previously the Product Manager of Movable Type at Six Apart, where he had also held positions as the Manager of Platform Technology and Product Manager for TypePad. Byrne is a huge supporter of the Movable Type user and developer community. He dedicates much of his time to promoting and educating people about Movable Type as well as building the tools and plugins for Movable Type that are showcased on Majordojo. He contributes regularly to open source; and he is an advocate for open protocols and standards like Atom and OpenID.

Website: http://profile.typekey.com/byrnereese