Hi, Jason.  Regarding your filetype extension question:

On Wednesday June 15, 2011 at 07:23 AM, Jason Darwin wrote:
> I notice that when I store flash videos (and I presume other types of content)
> in Fedora Commons, I can EXPORT the file from the administration interface 
> with
> the filetype extension, but when I call the object content from the 
> datastream,
> although the mimetype as defined is used (video/x-flv), there is no extension
> on the URL:
> 
> http://localhost:8080/fedora/objects/test:1/datastreams/DS2.flv/content
> 
> This is presumably by design, but can someone confirm that there is no way to
> call the object with a filetype extension?

This may not be exactly what you're looking for, but still possibly
helpful or relevant -- you can specify a download option that will
prompt the file to be saved with a file name and extension that can
either be explicitly set or calculated based on mimetype and
datastream label or id.  For details on how this works and which
fields can be used, read the download parameter section in the REST
API docs for getDatastreamDissemination, which you can view here:

https://wiki.duraspace.org/display/FCR30/REST+API#RESTAPI-getDatastreamDissemination




-- 
Rebecca Sutton Koeser, Ph.D.
rebecca.s.koe...@emory.edu
Digital Programs & Systems - Woodruff Library, Emory University

Attachment: signature.asc
Description: Digital signature

------------------------------------------------------------------------------
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev
_______________________________________________
Fedora-commons-users mailing list
Fedora-commons-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fedora-commons-users

Reply via email to