Patches item #2433852, was opened at 2008-12-16 10:45
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=319984&aid=2433852&group_id=19984

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Tim Donohue (tdonohue)
Assigned to: Tim Donohue (tdonohue)
Summary: Add File Format Descriptions to XMLUI 1.5.x

Initial Comment:
This is a simple patch to replace the default MIME Types (e.g. 
"application/pdf") in the DSpace 1.5.x XMLUI with File Format Descriptions 
(e.g. "PDF").

Although in past versions of DSpace these file format descriptions were 
resolved via the Bitstream Registry, access to this registry is constrained by 
the capabilities of METS.  Therefore, this patch instead uses a mapping in your 
'messages.xml' to resolve these file format descriptions.  For example:

<message key="xmlui.dri2xhtml.mimetype.application/pdf">PDF</message>

If the above "mapping" exists in your messages.xml, this would map the MIME 
Type "application/pdf" to the description "PDF".  If such a mapping doesn't 
exist in your messages.xml, then the MIME Type is displayed by default (making 
these changes backwards compatible with current XMLUI).

Two patches are attached (made against latest version of SVN 1.5.x branch):

* xmlui-format-General-Handler.patch
(Patch for /themes/dri2xhtml/General-Handler.xsl)

* xmlui-format-messages.patch
(Patch for /i18n/messages.xml , English version)



----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=319984&aid=2433852&group_id=19984

------------------------------------------------------------------------------
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
_______________________________________________
Dspace-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-devel

Reply via email to