Re: [Dspace-tech] [Dspace-general] Funder data in Metadata ?

2013-01-29 Thread helix84
Hi David,

unfortunately, the order of values of a single metadata field is not
defined. That said, I didn't encounter a case where DSpace would not
preserve them in the order we put them in, but this can depend on
several things including the underlying database. So you can just
reply on that and see how it works out, but I wouldn't recommend it.

I think what I'd do is store an XML tree fragment with all the values
belonging together into a single metadata field, something like this:
funderThe Funder/fundergrant-nameGrant
Name/grant-namegrant-numberGrant
number/grant-numbernoteNote/note
Of course, you can still put in multiple such metadata values in case
you have multiple funding sources.

Unfortunately you're not using XMLUI, but in XMLUI it's trivial to
extract and display the individual element values. In JSPUI, there
would be an extra step but I guess a clever JSP tag would do the
trick.


Regards,
~~helix84

Compulsory reading: DSpace Mailing List Etiquette
https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

--
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. ON SALE this month only -- learn more at:
http://p.sf.net/sfu/learnnow-d2d
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette


Re: [Dspace-tech] [Dspace-general] Funder data in Metadata ?

2013-01-29 Thread Andrea Bollini
Hi David,
you only need to store the item-grant(s) relation in the item metadata. 
DSpace supports linking of entities through the authority framework, so 
you should have
metadata= something like dc.relation.grant
text_value=Textual description of the grant including all the details 
that you like to make easily searchable and exportable through OAI-PMH, 
etc.
authority=the ID of the grant to use to lookup in the separate table; as 
you are using the dspace-cris module this should be the public ID of the 
Grant/Project (pj07862
http://hub.hku.hk/rp/grants/details.htm?id=7862 / please note that as 
you are still using a custom version of the DSpace-CRIS module the 
public ID is not yet exposed in your UI).

In the item display page you can use a custom display strategy that 
using the value stored in the authority column will show more rich 
information about the grant. In the grant page the item will be shown 
without any need to put directly reference to it in the grant metadata 
in the same way that items are shown in the researcher page.
Hope this help,
Andrea

Il 29/01/2013 10:43, David Palmer ha scritto:
 We want to show funder data in the publication records in DSpace.  On one
 record, there could be multiple grant names from the same funder, two or
 more funders on the same publication, two or more grant numbers, etc.  If we
 have 4 separate DC fields for,
   Funder
   Grant Name
   Grant number
   Note
 DC metadata then cannot show which grant name belongs to which funder, which
 grant number belongs to which grant name, etc.

 Give up on DC metadata for this?  We made this record showing our intent.
 It uses a control number to look up data on an outside table holding the
 data, bringing the data into the DSpace publication item on-the-fly.
 [scroll to bottom]
   http://hub.hku.hk/handle/10722/68168

 Is there a way to do this better?

 David Palmer
 Associate University Librarian
 The University of Hong Kong Libraries
 10/F, Kennedy Town Centre
 23 Belcher's Street
 Kennedy Town
 Hong Kong
 tel. +852 3921 2921
 http://hub.hku.hk/rp/rp1


 --
 Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
 MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
 with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
 MVPs and experts. ON SALE this month only -- learn more at:
 http://p.sf.net/sfu/learnnow-d2d
 ___
 Dspace-general mailing list
 dspace-gene...@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-general


--
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. ON SALE this month only -- learn more at:
http://p.sf.net/sfu/learnnow-d2d
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette