EPrints Technical Mailing List Archive

See the EPrints wiki for instructions on how to join this mailing list and related information.

Message: #06798


< Previous (by date) | Next (by date) > | < Previous (in thread) | Next (in thread) > | Messages - Most Recent First | Threads - Most Recent First

[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@gmail.com