Oh, sorry. I thought have thought a step a head in answering your  
question. Yes, adding the &XML will give you the DRI page. However the  
DRI page no longer includes proper metadata, instead it includes a  
reference to the metadata. So you see the line:
> <reference repositoryID="123456789" type="DSpace Collection"
> url="/metadata/handle/123456789/3/mets.xml"/>

Use the URL here to resolve to the mets document for the item, this  
document is what is being processed by the DIM handler.

Scott--


On Apr 21, 2008, at 2:18 PM, <[EMAIL PROTECTED]> wrote:

>
> ----- Original Message -----
> From: <[EMAIL PROTECTED]>
> To: "DSpace Tech-List" <DSpace-tech@lists.sourceforge.net>
> Sent: Monday, April 21, 2008 1:04 PM
> Subject: Re: [Dspace-tech] [Dspace-general] Change displayed
> itemmetadata(XMLUI)
>
>
>> ----- Original Message -----
>> From: "Dorothea Salo" <[EMAIL PROTECTED]>
>> To: "DSpace Tech-List" <DSpace-tech@lists.sourceforge.net>
>> Sent: Monday, April 21, 2008 10:50 AM
>> Subject: Re: [Dspace-tech] [Dspace-general] Change displayed item
>> metadata(XMLUI)
>>
>>
>>>> Thank you, Dorothea for your help - i found that by commenting  
>>>> out or
>>>> adding
>>>> block below in webapps/xmlui/themes/dri2xhtml/DIM-Handler.xsl i can
>>>> remove/add metadata from default itemSummaryView.
>>>
>>> Right.
>>>
>>>> However, i need to add metadata from our custom shceme to
>>>> itemSummaryView -
>>>> how do i do that?
>>>
>>> Well, the first question is whether it's showing up in your DIM, or
>>> whether the metadata Aspect isn't smart enough to pull in metadata
>>> outside the DC schema. One of the Manakin devs will have a better  
>>> read
>>> on this than I do, but to find out for yourself, navigate to an item
>>> page that has metadata from your custom schema and add "?XML" to its
>>> URL. The result will be the DIM. Search that for your custom  
>>> metadata.
>>
>> so, my metadata appears in full item view (url -
>> handle/123456789/9?show=full) and if i append ?XML nothing happens.
>> i can get xml with handle/123456789/9?XML, but that doesn't have my
>> metadata.
>> am i doing something wrong?
>>
>> Vadim
>
> Got the xml with handle/123456789/9?show=full&XML - no metadata  
> references
> on that page - not even standard DC metadata. Same goes for
> handle/123456789/9?XML  - can't find references even for what's  
> displayed.
> Below is XML for the record (everything between "togle Simple/Full  
> view".
> Any idea where it's pulling metadata from?
>
> <div id="aspect.artifactbrowser.ItemViewer.div.item-view"  
> rend="primary"
> n="item-view">
> <head>Jane Smith student record</head> <!-- record title i guess -->
> <p rend="item-view-toggle item-view-toggle-top"> <!-- togle view  
> link -->
> <xref target="/dspace-bc/handle/123456789/9?show=full">
> <i18n:text
> catalogue="default">xmlui.ArtifactBrowser.ItemViewer.show_full</ 
> i18n:text>
> </xref>
> </p>
> <referenceSet
> id="aspect.artifactbrowser.ItemViewer.referenceSet.collection-viewer"
> n="collection-viewer" type="summaryView">
> <reference repositoryID="123456789" type="DSpace Item"
> url="/metadata/handle/123456789/9/mets.xml">
> <referenceSet rend="hierarchy" type="detailList">
> <head>
> <i18n:text catalogue="default">
> xmlui.ArtifactBrowser.ItemViewer.head_parent_collections
> </i18n:text>
> </head>
> <reference repositoryID="123456789" type="DSpace Collection"
> url="/metadata/handle/123456789/3/mets.xml"/>
> </referenceSet>
> </reference>
> </referenceSet>
> <p rend="item-view-toggle item-view-toggle-bottom">
> <xref target="/dspace-bc/handle/123456789/9?show=full">
> <i18n:text
> catalogue="default">xmlui.ArtifactBrowser.ItemViewer.show_full</ 
> i18n:text>
> </xref>
> </p>
> </div>
>
>>
>>> If it's there, you're fine. If not... you'll need to do some Aspect
>>> programming, which is a bit above my knowledge level at present.
>>>
>>>> And there is my custom metadata kept?
>>>
>>> It should be in the metadatavalues table in the database with  
>>> everything
>>> else.
>>>
>>> What you're looking to do is add more rows while changing the
>>> "dim:[EMAIL PROTECTED]'myelement' and @qualifier='myqualifier']"  
>>> piece.
>>> If you compare the XSLT code you pasted to the DIM, you should see
>>> pretty quickly how that works.
>>>
>>> Dorothea
>>>
>>> -- 
>>> Dorothea Salo [EMAIL PROTECTED]
>>> Digital Repository Librarian AIM: mindsatuw
>>> University of Wisconsin
>>> Rm 218, Memorial Library
>>> (608) 262-5493
>>
>>
>> -------------------------------------------------------------------------
>> This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
>> Don't miss this year's exciting event. There's still time to save  
>> $100.
>> Use priority code J8TL2D2.
>> http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
>> _______________________________________________
>> DSpace-tech mailing list
>> DSpace-tech@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/dspace-tech
>>
>
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
> Don't miss this year's exciting event. There's still time to save  
> $100.
> Use priority code J8TL2D2.
> http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
> _______________________________________________
> DSpace-tech mailing list
> DSpace-tech@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/dspace-tech


-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech

Reply via email to