----- Original Message ----- 
From: "Dorothea Salo" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Cc: "DSpace Tech-List" <[email protected]>
Sent: Monday, April 07, 2008 4:10 PM
Subject: Re: [Dspace-general] Change displayed item metadata (XMLUI)


> Just a note -- this thread really belongs on dspace-tech rather than
> dspace-general. I have cc'ed accordingly.
>
>>  Inside of themes/Reference/ is only lib(contains only style sheets) and
>>  sitemap.xmap - is it possible that xls file for that theme is
>>  themes/template/template.xsl?
>
> Without looking at the new build, I'm not sure. In Manakin 1.1, the
> Reference theme appears to be using only what (if I read your message
> right) is now themes/dri2xhtml.xsl. Rather than copying that file
> wholesale into your new theme, let me recommend making a new XSL file
> and putting this line at the top of it (inside <xsl:stylesheet>):
>
>    <xsl:import href="../themes/dri2xhtml.xsl"/>
>
> Then ONLY copy code that you are CHANGING into your new theme. This
> makes things more maintainable -- you know what you've changed, and
> you'll automatically reap the benefits of (most) improvements to the
> base Manakin theme over time.
>
> Other themes (Classic and Kubrick) do have
>>  [theme-name].xls. But i wuld really like to build on Reference theme.
>>  I'll poke around to see if i can figure it out, but any help will be
>>  appreciated - the lack of 1.5 specific how-tos is a bit of the killer, 
>> but
>>  not surprising giving how recent the release is.
>
> Well, I feel bad, because I didn't write a good enough
> Manakin-tutorial proposal to make it into the JCDL preconference
> offerings. I'll keep trying, though travel restrictions locally may
> make matters worse...
>
> Dorothea

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.
However, i need to add metadata from our custom shceme to itemSummaryView - 
how do i do that? And there is my custom metadata kept?
I'm about 10 days from handing server over to end users and this 
itemSummaryView issue can be a deal breaker. :(

Thank you again

Vadim

    <xsl:if test="dim:[EMAIL PROTECTED]'identifier' and @qualifier='uri']">
                    <tr class="ds-table-row even">
                        <td><span 
class="bold"><i18n:text>xmlui.dri2xhtml.METS-1.0.item-uri</i18n:text>:</span></td>
                        <td>
                                <xsl:for-each 
select="dim:[EMAIL PROTECTED]'identifier' and @qualifier='uri']">
                                    <a>
                                        <xsl:attribute name="href">
                                            <xsl:copy-of select="./node()"/>
                                        </xsl:attribute>
                                        <xsl:copy-of select="./node()"/>
                                    </a>
                                    <xsl:if 
test="count(following-sibling::dim:[EMAIL PROTECTED]'identifier' and 
@qualifier='uri']) != 0">
                                        <br/>
                                    </xsl:if>
                            </xsl:for-each>
                        </td>
                    </tr>
            </xsl:if>

>
> -- 
> 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
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech

Reply via email to