Custom Transfer Manifests

The custom manifest option found in client transfers allows you build a file that fits your needs.

Previously Media Factory gave you the option to use a Brightcove Manifest, or  our API version of getFileInfo in XML format.

Now with a little bit of work, you can create a template that will accompany your media using the layout and content you choose to include.


Below are some sample Manifest files that include information about a media file.

Sample XML Manifest file
<?xml version='1.0' encoding='UTF-8'?>
<result>
  <id>{$media.id}</id>
  <status>{$media.status}</status>
  <contenttype>{$media.contenttype}</contenttype>
  <filetype>{$media.filetype}</filetype>
  <context>{$media.context}</context>
  <filename>{$media.filename}</filename>
  <injector>{$media.injector}</injector>
  <hits>{$media.hits}</hits>
  <message>{$media.message}</message>
  <date>{$media.date}</date>
  <title>{$media.title}</title>
  <tags>{$media.tags}</tags>
  <extension>{$media.extension}</extension>
  <sender>{$media.sender}</sender>
  <author>{$media.author}</author>
  <metadata>{$media.metadata}</metadata>
  <uid>{$media.uid}</uid><br />
  <filesize>{$media.filesize}</filesize>
  <ofilesize>{$media.ofilesize}</ofilesize>
  <upload>{$media.upload}</upload><br />
  <location>{$media.location}</location>
  <privacy>{$media.privacy}</privacy>
  <moderationstatus>{$media.moderationStatus}</moderationstatus>
  <width>{$media.width}</width>
  <height>{$media.height}</height>
  <length>{$media.length}</length>
  <url>{$media.url}</url>
  <vhost>{$media.vhost}</vhost>
</result>
Sample JSON Manifest file
{
    "status": true,
       "result": {
	  "id":{$media.id},
          "status":{$media.status},
	  "contenttype":{$media.contenttype},
	  "filetype":{$media.filetype}, 
	  "context":{$media.context},
	  "filename":{$media.filename},
	  "injector":{$media.injector},
	  "hits":{$media.hits},
	  "message":{$media.message},
	  "date":{$media.date},
	  "title":{$media.title},
	  "tags":{$media.tags},
	  "extension":{$media.extension},
	  "sender":{$media.sender},
	  "author":{$media.author},
	  "metadata":{$media.metadata},
	  "uid":{$media.uid},
	  "filesize":{$media.filesize},
	  "ofilesize":{$media.ofilesize},
	  "upload":{$media.upload},
	  "location":{$media.location},
	  "privacy":{$media.privacy},
	  "moderationstatus":{$media.moderationStatus},
	  "width":{$media.width}
	  "height":{$media.height},
	  "length":{$media.length},
	  "url":{$media.url},
	  "vhost":{$media.vhost}  
       }
 }

The format can be CSV, JSON, XML or any other layout you develop here.

For the list of all the variables that can be use in a Manifest file click here.

0 comments

Be the first to comment on Custom Transfer Manifests.

Add a Comment

  • captcha