Paulo Jobim | 1 Mar 02:56 2009

Re: Dspace 1.5.1 - Manakin XSLT / DRI

Patrick
Take a look at the sitemap.xmap inside your theme, or inside the Reference theme. css and other paths are defined there and will be present in the DRI. If you need to load a javascript file you can make it there
I hope it helps
Paulo Jobim

On Feb 27, 2009, at 3:00 PM, Patrick K. Etienne wrote:

DSpace Techies -

I'm looking for some assistance with understanding (primarily) Manakin's DRI.
Here's a simple example task:

Changing the base URI for css stylesheets.
Current location is: {theme-name}/lib/{stylesheet-name}.css
Desired location is: {theme-name}/css/{stylesheet-name}.css

The template to overwrite is: "buildHead"

Here's the relevant portion of the XSLT:
<xsl:attribute name="href">
<xsl:value-of select="/dri:document/dri:meta/dri:pageMeta/dri:metadata[ <at> element='contextPath'][not( <at> qualifier)]"/>
<xsl:text>/themes/</xsl:text>
<xsl:value-of select="/dri:document/dri:meta/dri:pageMeta/dri:metadata[ <at> element='theme'][ <at> qualifier='path']"/>
<xsl:text>/</xsl:text>
<xsl:value-of select="."/>
</xsl:attribute>

Now this *could* be done by something as simple as removing the nested tags from the <xsl:attribute/> tag, but I'd prefer to do in a manner that would seem more proper - tapping into the DRI and perhaps even modifying it's content slightly.

The Problem:
Directing my browser to "http://{hostname}.{server}.{extension}/{dspace-instance}/DRI/" does yield the raw xml for the DRI, but the document -> meta -> pageMeta -> theme element doesn't seem to exist. At least in the browser's output:

<pageMeta>
<metadata element="contextPath"/>
<metadata element="request" qualifier="queryString"/>
<metadata element="request" qualifier="scheme">http</metadata>
<metadata element="request" qualifier="serverPort">8080</metadata>
<metadata element="request" qualifier="serverName">dld.library.gatech.edu</metadata>
<metadata element="request" qualifier="URI"/>
<metadata element="search" qualifier="simpleURL">/search</metadata>
<metadata element="search" qualifier="advancedURL">/advanced-search</metadata>
<metadata element="search" qualifier="queryField">query</metadata>
<metadata element="page" qualifier="contactURL">/contact</metadata>
<metadata element="page" qualifier="feedbackURL">/feedback</metadata>
<metadata element="title">DSpace Home</metadata>
<metadata element="feed" qualifier="rss+xml">/feed/rss_1.0/site</metadata>
<metadata element="feed" qualifier="rss+xml">/feed/rss_2.0/site</metadata>
<trail target="">DSpace Home</trail>
</pageMeta>

Questions:
1) Why does the DRI in my browser seem to be incomplete? Is there something I can do to have it show a more complete set of data? Or is this just a limitation imposed by when the content gets generated from the pipelines?
2) How would one tap into / modify the existing DRI? Or might this just be a bad idea even for small changes such as the posted example?
3) What suggestions might you offer as a best solution for accomplishing tasks that involve the XSLT and DRI for presentation level changes?

Any tips, hints, or suggestions would definitely be appreciated
Many Thanks!

 - Patrick Etienne

---
Patrick K. Étienne
Systems Analyst
Digital Library Development
Library and Information Center
Georgia Institute of Technology
phone: 404.385.8121

------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H_______________________________________________
DSpace-tech mailing list
DSpace-tech-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
https://lists.sourceforge.net/lists/listinfo/dspace-tech

------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
Zico | 1 Mar 21:16 2009
Picon

want to remove "jspui" from url

Hello,

I am running Dspace 1.5.1 in Debian 4.0. Now, if i wanna enter into my dspace server, i need to put the url
http://dspace.bracu.ac.bd/jspui

Now, i want to remove the part /jspui  from my url. That means, i want to configure my url with only http://dspace.bracu.ac.bd/

How can i do it?
--
Best,
Zico

------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
Diggory Mark | 1 Mar 21:37 2009
Picon

Re: want to remove "jspui" from url

Either configure your Host/Context in server.xml to set jspui to be have its contextPath be "/" or rename your /dspace/webapps/jspui to /dspace/webapps/ROOT.

Cheers,
Mark

On Mar 1, 2009, at 12:16 PM, Zico wrote:

Hello,

I am running Dspace 1.5.1 in Debian 4.0. Now, if i wanna enter into my dspace server, i need to put the url
http://dspace.bracu.ac.bd/jspui

Now, i want to remove the part /jspui  from my url. That means, i want to configure my url with only http://dspace.bracu.ac.bd/

How can i do it?
--
Best,
Zico
------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H_______________________________________________
DSpace-tech mailing list
DSpace-tech-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
https://lists.sourceforge.net/lists/listinfo/dspace-tech

~~~~~~~~~~~~~




------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
Trude Eikebrokk | 2 Mar 14:25 2009
Picon

Missing Messages.properties


Hi!
I'm just starting to configure Dspace and the JSPUI interface.
But I have a problem - I can't find the messages.properties file that is 
supposed to be in [dspacesource]/dspace/modules/jspui/src/main/resources

I've tried searching, but the file doesn't seem to exist.

Dspace is up and running on Tomcat, and all the text that is supposed to 
be there is in place. Any suggestions as to where I can locate this file?

Trude Eikebrokk

------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
Picon

Re: Missing Messages.properties

Hi Trude,

It can be found at: [dspace-src]\dspace-api\src\main\resources\Messages.properties . It can be
copied from this location to the modules directory and subsequently modified.

Hope this helps,

Regards,
Chris

------------------------------------------------------------------------------
Chris Yates
Technical Repository Support Officer
JISC Repositories Support Project

Gwasanaethau Gwybodaeth       Information Services
Prifysgol Aberystwyth         Aberystwyth University

E-bost / E-mail csy@...
Ffon / Tel: (01908) 235807

------------------------------------------------------------------------------

-----Original Message-----
From: Trude Eikebrokk [mailto:Trude.Eikebrokk@...] 
Sent: 02 March 2009 13:25
To: dspace-tech@...
Subject: [Dspace-tech] Missing Messages.properties

Hi!
I'm just starting to configure Dspace and the JSPUI interface.
But I have a problem - I can't find the messages.properties file that is 
supposed to be in [dspacesource]/dspace/modules/jspui/src/main/resources

I've tried searching, but the file doesn't seem to exist.

Dspace is up and running on Tomcat, and all the text that is supposed to 
be there is in place. Any suggestions as to where I can locate this file?

Trude Eikebrokk

------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
DSpace-tech mailing list
DSpace-tech@...
https://lists.sourceforge.net/lists/listinfo/dspace-tech

------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
Joachim Räth | 2 Mar 17:25 2009

DCMI Subqualifier in Metadata Registry

Dear all,

are there any precautions to be observed while inserting DC Elements with qualifiers refined by "subqualifiers" into the Metadata registry, like for example:

dc.coverage.spatial.lat 
dc.coverage.spatial.long
dc.coverage.temporal.start
dc.coverage.temporal.end

(dc.Element.Qualifier.Subqualifier)

The aim is to enable

a) a linking to OSM geospatial data

b) an advanced search for a given time period.


Thank you for your advice

Joachim


_________________________

stadtteilgeschichten.net

Joachim Räth M.A.
– User Support –

+49 40 28 57 82 95
_________________________

------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
Diggory Mark | 2 Mar 22:05 2009
Picon

Re: DCMI Subqualifier in Metadata Registry


On Mar 2, 2009, at 8:25 AM, Joachim Räth wrote:

Dear all,

are there any precautions to be observed while inserting DC Elements with qualifiers refined by "subqualifiers" into the Metadata registry, like for example:

dc.coverage.spatial.lat 
dc.coverage.spatial.long

From a metadata convention I would recommend instead using the "Box" or "Point" encoding scheme for the value here.




use them in a dc.coverage.spatial qualified field.

dc.coverage.temporal.start
dc.coverage.temporal.end

Likewise, here I would suggest using Period encoding scheme


use them in a dc.coverage.temporal qualified field.

Using this approach is more in line with the intended specification for these fields in DCMI Terms.  But I can see that this approach will make your task of exposing advanced search on those terms more difficult, DSpace support for Data ranges and spatial areas is in serious need of enhancement.

Mark



(dc.Element.Qualifier.Subqualifier)

The aim is to enable

a) a linking to OSM geospatial data

b) an advanced search for a given time period.

Thank you for your advice

Joachim


_________________________

stadtteilgeschichten.net

Joachim Räth M.A.
– User Support –

+49 40 28 57 82 95
_________________________

------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H_______________________________________________
DSpace-tech mailing list
DSpace-tech-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
https://lists.sourceforge.net/lists/listinfo/dspace-tech

~~~~~~~~~~~~~




------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
Vijay Shrestha | 3 Mar 06:04 2009
Picon

registering new user problem in DSpace 1.4

I configured locally DSpace 1.4 in the debian etch 4.0. I am also able to relocate the repository location to other location by configuring smbmount
from the responses of DSpace-general. Now,  I tried to I register new user in order to maintain different collection as my institution is holding
different digital collections and each collection is assigned to different  person. But I am not able to add new user. The DSpace shows internal error
while registering new user. The error is as below
"Internal System Error
The system has experienced an internal error. Please try to do what you were doing again, and if the problem persists, please contact us so we can fix the problem."
Here in "contact us" there is my email address as I allow myself as administrator.
I went through the DSpace manual as well. I did not find the location of xmlui.user.registration in configuration file. Please help me on this query
I am looking forward your kind response.

Regards
vijay

------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
Allen Lam | 3 Mar 08:29 2009
Picon

Re: registering new user problem in DSpace 1.4

Hi Vijay,

It seems you've been locked by the problem for a long time.
As some other people suggested earlier, the first step of solving your 
problem is to look into tomcat's log file "catalina.out".

You said you could not find anything inside catalina.out related to your 
problem. That's the problem: hints are there but you cannot see it. You 
should capture the related error log messages and find someone to help 
you interpret the log. Many people reading this mailing list are 
potential helpers if you could provide useful information to start thinking.

Forget the "Internal System Error" message. It sweeps dust under the 
carpet. It is no use for debugging.

Welcome your further queries.

Regards,
Allen Lam.
HKU Hub Administrator, http://hub.hku.hk

Vijay Shrestha wrote:
> I configured locally DSpace 1.4 in the debian etch 4.0. I am also able 
> to relocate the repository location to other location by configuring 
> smbmount
> from the responses of DSpace-general. Now,  I tried to I register new 
> user in order to maintain different collection as my institution is holding
> different digital collections and each collection is assigned to 
> different  person. But I am not able to add new user. The DSpace shows 
> internal error
> while registering new user. The error is as below
> "Internal System Error
> The system has experienced an internal error. Please try to do what you 
> were doing again, and if the problem persists, please contact us so we 
> can fix the problem."
> Here in "contact us" there is my email address as I allow myself as 
> administrator.
> I went through the DSpace manual as well. I did not find the location of 
> xmlui.user.registration in configuration file. Please help me on this query
> I am looking forward your kind response.
> 
> Regards
> vijay

------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
Claudia Jürgen | 3 Mar 08:58 2009
Picon
Picon

Re: registering new user problem in DSpace 1.4

Hi Vijay,

the "internal error" is of no use without detailed information, better 
post the stack trace.

An educated guess, check your email settings in dspace.cfg and make sure 
you are able to send emails.

Furthermore if you are using 1.4 with Manakin  it might be better to 
upgrade to the latest release in which Manakin is integrated as the xmlui.

Hope that helps

Claudia Jürgen

Vijay Shrestha schrieb:
> I configured locally DSpace 1.4 in the debian etch 4.0. I am also able to
> relocate the repository location to other location by configuring smbmount
> from the responses of DSpace-general. Now,  I tried to I register new user
> in order to maintain different collection as my institution is holding
> different digital collections and each collection is assigned to different
> person. But I am not able to add new user. The DSpace shows internal error
> while registering new user. The error is as below
> "Internal System Error
> The system has experienced an internal error. Please try to do what you were
> doing again, and if the problem persists, please contact us so we can fix
> the problem."
> Here in "contact us" there is my email address as I allow myself as
> administrator.
> I went through the DSpace manual as well. I did not find the location of
> xmlui.user.registration in configuration file. Please help me on this query
> I am looking forward your kind response.
> 
> Regards
> vijay
> 
> 
> 
> ------------------------------------------------------------------------
> 
> ------------------------------------------------------------------------------
> Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
> -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
> -Strategies to boost innovation and cut costs with open source participation
> -Receive a $600 discount off the registration fee with the source code: SFAD
> http://p.sf.net/sfu/XcvMzF8H
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> DSpace-tech mailing list
> DSpace-tech <at> lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/dspace-tech

------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
DSpace-tech mailing list
DSpace-tech <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech

Gmane