Re: [Dspace-tech] Displaying bitstream description

2009-06-07 Thread Keith Gilbertson
Hi John -

You may be able to get at the file description by using this expression:
mets:floc...@loctype='URL']/@xlink:label

wherever you were using @SIZE to get the filesize.  Here's an example:

  xsl:if test=mets:floc...@loctype='URL']/@xlink:label
xsl:value-of select=mets:floc...@loctype='URL']/@xlink:label /
 /xsl:if

Try this out and let us know.

You can often figure this sort of thing out by looking at the mets.xml 
document for an item and then playing around until you get the correct 
expression.  Here's xml for an item with files and associated descriptions:
http://drcdev.ohiolink.edu/metadata/handle/123456789/1574/mets.xml

--
Keith Gilbertson
Systems Developer
OhioLINK


John Preston wrote:
 I'm trying out manakin and want to be able to display the bitstream 
 description instead of format in the file list. I have everything I 
 need copied into my theme, but I can't seem to figure out what I 
 should use to get atb the description field. I see where @SIZE is 
 size, @MIMETYPE is mimetype, etc,  but @DESCRIPTION does not seem to work.

 John
 

 --
 OpenSolaris 2009.06 is a cutting edge operating system for enterprises 
 looking to deploy the next generation of Solaris that includes the latest 
 innovations from Sun and the OpenSource community. Download a copy and 
 enjoy capabilities such as Networking, Storage and Virtualization. 
 Go to: http://p.sf.net/sfu/opensolaris-get
 

 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech
   



--
OpenSolaris 2009.06 is a cutting edge operating system for enterprises 
looking to deploy the next generation of Solaris that includes the latest 
innovations from Sun and the OpenSource community. Download a copy and 
enjoy capabilities such as Networking, Storage and Virtualization. 
Go to: http://p.sf.net/sfu/opensolaris-get
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Displaying bitstream description

2009-06-07 Thread Stuart Lewis
Hi John,

 

This has been included for DSpace 1.6. See
http://scm.dspace.org/trac/dspace/changeset/3758 for details, and the
code changes required.

 

Thanks,

 

 

Stuart Lewis

Digital Services Programmer

Te Tumu Herenga The University of Auckland Library

Auckland Mail Centre, Private Bag 92019, Auckland 1142, New Zealand

Ph: 64 9 373-7599 x81928

http://www.library.auckland.ac.nz http://www.library.auckland.ac.nz/ /

 

 

 

From: John Preston [mailto:byhisde...@gmail.com] 
Sent: Sunday, 7 June 2009 12:49 p.m.
To: dspace-tech@lists.sourceforge.net
Subject: [Dspace-tech] Displaying bitstream description

 

I'm trying out manakin and want to be able to display the bitstream
description instead of format in the file list. I have everything I need
copied into my theme, but I can't seem to figure out what I should use
to get atb the description field. I see where @SIZE is size, @MIMETYPE
is mimetype, etc,  but @DESCRIPTION does not seem to work.

John

--
OpenSolaris 2009.06 is a cutting edge operating system for enterprises 
looking to deploy the next generation of Solaris that includes the latest 
innovations from Sun and the OpenSource community. Download a copy and 
enjoy capabilities such as Networking, Storage and Virtualization. 
Go to: http://p.sf.net/sfu/opensolaris-get___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] Displaying bitstream description

2009-06-06 Thread John Preston
I'm trying out manakin and want to be able to display the bitstream
description instead of format in the file list. I have everything I need
copied into my theme, but I can't seem to figure out what I should use to
get atb the description field. I see where @SIZE is size, @MIMETYPE is
mimetype, etc,  but @DESCRIPTION does not seem to work.

John
--
OpenSolaris 2009.06 is a cutting edge operating system for enterprises 
looking to deploy the next generation of Solaris that includes the latest 
innovations from Sun and the OpenSource community. Download a copy and 
enjoy capabilities such as Networking, Storage and Virtualization. 
Go to: http://p.sf.net/sfu/opensolaris-get___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech