Perhaps this will help: http://wiki.lib.sun.ac.za/index.php/SUNScholar/Rebuild_Dspace
On 1 April 2013 07:56, Srijan Deshpande <[email protected]> wrote: > Am I supposed to run any procedures after I make these changes to these > files? I've been running dspace update-discovery index -b each time I make > changes to item-list.xml or discovery.xml, but nothing seems to work. Help > please! > > > On 31 March 2013 20:36, Srijan Deshpande <[email protected]> wrote: > >> Hi, >> >> No that didn't work either... any other ideas? >> Thanks, >> Srijan >> >> >> On 29 March 2013 20:13, Kevin Van de Velde <[email protected]> wrote: >> >>> Hi, >>> >>> The xsl for rendering results in discovery has been moved in DSpace 3.0 >>> so the xsl templates you are looking for reside in discovery.xsl. >>> >>> * >>> https://github.com/DSpace/DSpace/blob/master/dspace-xmlui/src/main/webapp/themes/dri2xhtml-alt/aspect/artifactbrowser/discovery.xsl#L194 >>> * >>> >>> >>> So changing dc.title in hmo.title should do the trick. >>> >>> Kind regards, >>> >>> [image: logo] >>> Kevin Van de Velde *@mire* >>> *2888 Loker Avenue East, Suite 315, Carlsbad, CA. 92010* >>> *Esperantolaan 4, Heverlee 3001, Belgium* >>> www.atmire.com<http://atmire.com/website/?q=services&utm_source=emailfooter&utm_medium=email&utm_campaign=kevinvdv> >>> >>> >>> On 28 March 2013 18:35, helix84 <[email protected]> wrote: >>> >>>> On Thu, Mar 28, 2013 at 5:42 PM, Srijan Deshpande <[email protected]> >>>> wrote: >>>> > No this isn't working. I think the problem is that the default >>>> metadata >>>> > schema (dc) is being referred to instead of my custom schema (hmo). >>>> For >>>> > instance, I need the hmo.title field to be displayed in the search >>>> results >>>> > instead of the dc.title field. How do I do this? How do I select which >>>> > metadata schema Discovery uses for its filters and searches? >>>> >>>> You're right, that wouldn't work. I just looked again and only the dc >>>> schema goes into DRI's pageMeta. In order get metadata from other schemas, >>>> you have to access the METS document. >>>> >>>> Here's a snippet that would work in the said template (<xsl:template >>>> match="dim:dim" mode="itemSummaryList-DIM-file">) that selects >>>> hmo.title: >>>> >>>> <xsl:variable name="metsURL"> >>>> >>>> >>>> >>>> >>>> >>>> >>>> <xsl:text>cocoon://metadata/</xsl:text> >>>> <xsl:value-of >>>> select="dim:field[@element='contributor'][@qualifier='author']"/> >>>> <xsl:text>/mets.xml</xsl:text></xsl:variable> >>>> <xsl:variable name="title" >>>> select="document($metsURL)/mets:METS/mets:dmdSec/mets:mdWrap/mets:xmlData/dim:dim/dim:field[@mdschema='hmo'][@element='title']"/> >>>> >>>> >>>> I haven't actually tested it, but it should put you on the right track. >>>> >>>> >>>> Regards, >>>> ~~helix84 >>>> >>>> Compulsory reading: DSpace Mailing List Etiquette >>>> https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette >>>> >>>> >>>> >>>> ------------------------------------------------------------------------------ >>>> Own the Future-Intel® Level Up Game Demo Contest 2013 >>>> Rise to greatness in Intel's independent game demo contest. >>>> Compete for recognition, cash, and the chance to get your game >>>> on Steam. $5K grand prize plus 10 genre and skill prizes. >>>> Submit your demo by 6/6/13. http://p.sf.net/sfu/intel_levelupd2d >>>> _______________________________________________ >>>> DSpace-tech mailing list >>>> [email protected] >>>> https://lists.sourceforge.net/lists/listinfo/dspace-tech >>>> List Etiquette: >>>> https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette >>>> >>> >>> >> > > > ------------------------------------------------------------------------------ > Own the Future-Intel® Level Up Game Demo Contest 2013 > Rise to greatness in Intel's independent game demo contest. > Compete for recognition, cash, and the chance to get your game > on Steam. $5K grand prize plus 10 genre and skill prizes. > Submit your demo by 6/6/13. http://p.sf.net/sfu/intel_levelupd2d > _______________________________________________ > DSpace-tech mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/dspace-tech > List Etiquette: > https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette > -- *Hilton Gibson* Systems Administrator JS Gericke Library Room 1025D Stellenbosch University Private Bag X5036 Stellenbosch 7599 South Africa Tel: +27 21 808 4100 | Cell: +27 84 646 4758 http://library.sun.ac.za http://scholar.sun.ac.za http://ar1.sun.ac.za http://aj1.sun.ac.za
<<@mire_web_2.jpg>>
------------------------------------------------------------------------------ Own the Future-Intel® Level Up Game Demo Contest 2013 Rise to greatness in Intel's independent game demo contest. Compete for recognition, cash, and the chance to get your game on Steam. $5K grand prize plus 10 genre and skill prizes. Submit your demo by 6/6/13. http://p.sf.net/sfu/intel_levelupd2d
_______________________________________________ DSpace-tech mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

