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

[EP-tech] List of uploadable document types



How about something like:

$c->{mimemap}->{docx} = "application/msword";

In cfg.d/document_upload.pl:


From: eprints-tech-bounces at ecs.soton.ac.uk [mailto:eprints-tech-bounces at ecs.soton.ac.uk] On Behalf Of Andrew Beeken
Sent: 25 September 2017 16:20
To: eprints-tech at ecs.soton.ac.uk
Subject: Re: [EP-tech] List of uploadable document types

Hmm, the definitions seem to be there but the document type isn't being identified on upload as a Word, XML etc - it's defaulting to "Other". I can't see anywhere that this would be specified; grepping finds references but they're all accounted for in the new system. Odd.

From: eprints-tech-bounces at ecs.soton.ac.uk<mailto:eprints-tech-bounces at ecs.soton.ac.uk> [mailto:eprints-tech-bounces at ecs.soton.ac.uk] On Behalf Of Alan.Stiles
Sent: 25 September 2017 14:34
To: eprints-tech at ecs.soton.ac.uk<mailto:eprints-tech at ecs.soton.ac.uk>
Subject: Re: [EP-tech] List of uploadable document types

It's in  cfg/namedsets/documents

application/vnd.openxmlformats-officedocument.wordprocessingml.document

and then you'll also need the matching phrases e.g.

<phrase id="document_typename_application/vnd.openxmlformats-officedocument.wordprocessingml.document">MS Word (2007+)</phrase>

From: eprints-tech-bounces at ecs.soton.ac.uk<mailto:eprints-tech-bounces at ecs.soton.ac.uk> [mailto:eprints-tech-bounces at ecs.soton.ac.uk] On Behalf Of Andrew Beeken
Sent: 25 September 2017 14:20
To: eprints-tech at ecs.soton.ac.uk<mailto:eprints-tech at ecs.soton.ac.uk>
Subject: [EP-tech] List of uploadable document types

Hello all!

We're testing some document uploads on the new EPrints and some doc types aren't being recognised - where does EPrints keep its list of accepted document types? I need to check what should be accepted (at present, .docx and .xlsx are not identified) so that I can make sure that our migrated system is working as expected.

Thanks!
Andrew

[Image removed by sender. TEF Gold]<http://www.lincoln.ac.uk/opendays>

The University of Lincoln, located in the heart of the city of Lincoln, has established an international reputation based on high student satisfaction, excellent graduate employment and world-class research.

The information in this e-mail and any attachments may be confidential. If you have received this email in error please notify the sender immediately and remove it from your system. Do not disclose the contents to another person or take copies.

Email is not secure and may contain viruses. The University of Lincoln makes every effort to ensure email is sent without viruses, but cannot guarantee this and recommends recipients take appropriate precautions.

The University may monitor email traffic data and content in accordance with its policies and English law. Further information can be found at: http://www.lincoln.ac.uk/legal.
-- The Open University is incorporated by Royal Charter (RC 000391), an exempt charity in England & Wales and a charity registered in Scotland (SC 038302). The Open University is authorised and regulated by the Financial Conduct Authority in relation to its secondary activity of credit broking.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ecs.soton.ac.uk/pipermail/eprints-tech/attachments/20170925/5b1471f0/attachment.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.jpg
Type: image/jpeg
Size: 823 bytes
Desc: image001.jpg
Url : http://mailman.ecs.soton.ac.uk/pipermail/eprints-tech/attachments/20170925/5b1471f0/attachment.jpg