[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[EP-tech] Mime Types



Hi everybody!

On the OA ouput I need the format metadata follow this form:

<dc:format>application/pdf</dc:format>

But I got this:

<dc:format>spreadsheet</dc:format>

The DC file show this (what supposedly works):

foreach( @documents )
>         {
>                 my $format = $mimetypes->{$_->get_value("format")};
>                 $format = $_->get_value("format") unless defined $format;
>                 #$format = "application/octet-stream" unless defined
> $format;
>                 push @dcdata, [ "format", $format ];
> .
> .
> .


How can I do to display the mime format?

thanks in advance.

-- 
Dagoberto Salas
dago.salas at gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ecs.soton.ac.uk/pipermail/eprints-tech/attachments/20170825/38e15e23/attachment.html