Re: [Dspace-tech] controlled-vocabulary question

2013-07-22 Thread bcoballes
Hi Jose, 

Have you solved the issue? I am also experiencing the same problem. Thanks.



--
View this message in context: 
http://dspace.2283337.n4.nabble.com/controlled-vocabulary-question-tp4663368p4665799.html
Sent from the DSpace - Tech mailing list archive at Nabble.com.

--
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831iu=/4140/ostg.clktrk
___
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] Installing Dspace in sub directory

2013-07-22 Thread helix84
On Sun, Jul 21, 2013 at 2:36 PM, suzon suzonduisl...@gmail.com wrote:
 Hi Helix,
 Our dspace address is
 dspace.library.daffodilvarsity.com. Shoud I allocate a new domain as
 mobile.dspace.library.daffodilvarsity.com ?
 Kindly Reply me.

That's correct. The complete instructions are here:
https://github.com/DSpace/DSpace/blob/dspace-3.1/dspace-xmlui/src/main/webapp/themes/mobile/readme.txt


Regards,
~~helix84

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

--
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831iu=/4140/ostg.clktrk
___
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] Musings on metadata

2013-07-22 Thread Mark H. Wood
On Thu, Jul 18, 2013 at 01:20:14PM +0300, Alan Orth wrote:
 I was only using rubbish examples because I was trying not to bore you 
 with the details of our complex organization :)
 
 ... but basically, there are 15 large, entirely separate 
 companies/organizations in this loosely-related group of agricultural 
 research centers (we call it the CG).  Several of us share one DSpace 
 installation.  In my mind it makes sense to use a 
 schema/namespace/whatever like:
 
 cg.org1.{subject,author,type}
 cg.org2.{subject,author,type}
 
 Would that work?  I assume we just need to use the same convention in 
 our input-forms and XMLUI, etc... Or am I misunderstanding the way it 
 works in DSpace?

I think you could do that, but I'm wondering why.  What makes
cg.org1.subject a different data type than cg.org2.subject, or for
that matter, say, dc.subject?

-- 
Mark H. Wood, Lead System Programmer   mw...@iupui.edu
Machines should not be friendly.  Machines should be obedient.


signature.asc
Description: Digital signature
--
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831iu=/4140/ostg.clktrk___
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] Question about deploying the DSpace application

2013-07-22 Thread Mark H. Wood
On Mon, Jul 22, 2013 at 10:08:35AM -0500, Thornton, Susan M. (LARC-B702)[LITES] 
wrote:
  I remember in older versions of DSpace, we created a .war file and 
 deployed that in our web server.  Now we use the web application path 
 ({/dspace}/webapps/jspui to deploy our site.
 
  Here are my questions:
 
 1.   Why don't we deploy the .war file like we used to?  Why the change,

Good questions.  I'm looking forward to the answers. :-)

 what's the difference in doing it this way, and are there any benefits?

Implementation dependent.  A servlet container could treat the WAR as
a compressed virtual filesystem containing files and compressed
virtual filesystems (JARs), and navigate this structure on the fly, or
it could just unpack the WAR into a scratch directory at deployment.
IIRC Tomcat does the latter unless you configure it to do the former.
So the tradeoff seems to be convenience (one WAR to deliver to
production) vs. deployment time and/or additional storage for the
unpacked contents.

 2.   We are modifying the structure of our new DSpace sites, to include a 
 separate PostgreSQL server and not having the DSpace source code on the 
 Production server.  The SAs have asked me to find out:
 
 a.   If we can deploy DSpace 3.1 with a .war file that can just be copied 
 over from the Dev machine once we're ready to go to Production?

WARs can still be produced, but it's not the default behavior.  Run
ant with -Dwars=true if you want them.

 b.  Are there any other ways of doing this so the DSpace source code is 
 NOT on the Production server?

If you want to run production with unpacked webapp.s:  install to a
scratch directory on Dev, archive the [DSpace]/webapps directory, copy
the archive over, unpack.  But the simplest way might be to produce
the WARs, copy them over to production, and unpack manually instead of
letting the container do it.

I would probably build the WARs, copy to production, and let the
container do what it's configured to do.  (In our shop I'd also be
configuring the container, so I may not be the best example.)

All this only treats the webapp.s.  If you want the commandline tools
on the production machine, you'd need to update [DSpace]/bin and
[DSpace]/lib.  But, come to think of it, there's no reason that they
*must* be on that host.

-- 
Mark H. Wood, Lead System Programmer   mw...@iupui.edu
Machines should not be friendly.  Machines should be obedient.


signature.asc
Description: Digital signature
--
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831iu=/4140/ostg.clktrk___
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

[Dspace-tech] How to override the labels of itemDetailView-DIM?

2013-07-22 Thread Nemiz, Elvi
Dear All,

Hello, I would like to override the default labels in the full item record
display.

How would I change the template xsl:template match=dim:field
mode=itemDetailView-DIM from:
td class=label-cell
xsl:value-of select=./@mdschema/
xsl:text./xsl:text
xsl:value-of select=./@element/
xsl:if test=./@qualifier
xsl:text./xsl:text
xsl:value-of select=./@qualifier/
/xsl:if
/td
into:
td class=label-cell
message key=xmlui.dri2xhtml.METS-1.0.item-whateverLabelLabel/message
/td

I've seen some repositories displaying labels in the full item record page
and not the default dc.element.qualifier.

Thanks in advance and regards.

-- 
Elvi
--
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831iu=/4140/ostg.clktrk___
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] Question about deploying the DSpace application

2013-07-22 Thread helix84
On Mon, Jul 22, 2013 at 5:52 PM, Mark H. Wood mw...@iupui.edu wrote:
 [DSpace]/lib.  But, come to think of it, there's no reason that they
 *must* be on that host.

Interesting idea. But how would you update the index?


Regards,
~~helix84

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

--
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831iu=/4140/ostg.clktrk
___
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] Question about deploying the DSpace application

2013-07-22 Thread Hilton Gibson
Hi Sue

This is how we deploy:
http://wiki.lib.sun.ac.za/index.php/SUNScholar/Install_Dspace/S08
And after reading: http://wiki.lib.sun.ac.za/index.php/SUNScholar/Dspace, I
think your SA's will have a better understanding.

Cheers

hg


On 22 July 2013 17:08, Thornton, Susan M. (LARC-B702)[LITES] 
susan.m.thorn...@nasa.gov wrote:

 Hi,

  We have two production instances of DSpace.  One is version 1.5.1
 (JSPUI) and the other is 1.7.1 (JSPUI).  We are in the process of upgrading
 both instances (the oldest first) to version 3.1.

 ** **

  I remember in older versions of DSpace, we created a .war file and
 deployed that in our web server.  Now we use the web application path
 ({/dspace}/webapps/jspui to deploy our site.

 ** **

  Here are my questions:

 **1.   **Why don’t we deploy the .war file like we used to?  Why the
 change, what’s the difference in doing it this way, and are there any
 benefits?

 **2.   **We are modifying the structure of our new DSpace sites, to
 include a separate PostgreSQL server and not having the DSpace source code
 on the Production server.  The SAs have asked me to find out:

 **a.   **If we can deploy DSpace 3.1 with a .war file that can just
 be copied over from the Dev machine once we’re ready to go to Production?*
 ***

 **b.  **Are there any other ways of doing this so the DSpace source
 code is NOT on the Production server?

 ** **

 Thanks in advance,

 Sue Thornton

 ** **

 *
 -
 *

 *Sue Thornton*

 Software Developer/DBA

 SGT, Inc. ~ LITES Contract

 NASA Langley Research Center

 130 Research Drive, Hampton, VA.  23666

 Office: (757) 224-4130  Mobile: (757) 506-9903  Fax: (757) 224-4001**

 *susan.m.thorn...@nasa.gov*

 *sthorn...@sgt-inc.com*

 ** **


 --
 See everything from the browser to the database with AppDynamics
 Get end-to-end visibility with application monitoring from AppDynamics
 Isolate bottlenecks and diagnose root cause in seconds.
 Start your free trial of AppDynamics Pro today!
 http://pubads.g.doubleclick.net/gampad/clk?id=48808831iu=/4140/ostg.clktrk
 ___
 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




-- 
*Hilton Gibson*
Linux Systems Administrator
JS Gericke Library
Room 1025C
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://www.journals.ac.za
--
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831iu=/4140/ostg.clktrk___
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] Question about deploying the DSpace application

2013-07-22 Thread helix84
On Mon, Jul 22, 2013 at 5:08 PM, Thornton, Susan M. (LARC-B702)[LITES]
susan.m.thorn...@nasa.gov wrote:
  Here are my questions:

 1.   Why don’t we deploy the .war file like we used to?  Why the
 change, what’s the difference in doing it this way, and are there any
 benefits?

Hi Sue,

I'm not an expert in this, so I'll leave someone else answer it:

http://stackoverflow.com/questions/3906881/advantages-disadvantages-to-exploded-wars

My personal point of view:

With WARs, Tomcat would detect when you deleted/updated the WAR and
undeploy/redeploy it.
With the new recommended approach, where you configure Contexts in
individual context fragments (.xml files), you can simply delete/touch
the context fragment.

 2.   We are modifying the structure of our new DSpace sites, to
 include a separate PostgreSQL server and not having the DSpace source code
 on the Production server.  The SAs have asked me to find out:

 a.   If we can deploy DSpace 3.1 with a .war file that can just be
 copied over from the Dev machine once we’re ready to go to Production?

The webapps (whether WARs or exploded) will be the same.

Note the difference in configuration: You only need to change
dspace.hostname and possibly dspace.baseUrl and dspace.url.

Then there are also other directories in [dspace], but after the
upgrade, if you're only redeploying changed code, you most likely
don't need to change anything there. For the upgrade itself, all the
changes to these directories will be covered in the upgrading docs.

 b.  Are there any other ways of doing this so the DSpace source code
 is NOT on the Production server?

Sure, you could actually use the binary distribution and never touch
the actual source code. You still need to do mvn package, though, to
create the webapps. Once you've upgraded and you only want to redeploy
changed webapps from dev to production, you could skip the ant step
and just copy over the webapps manually.


I hope this answers your questions, let me know if it doesn't. In some
parts I felt like I could go into more detail but I didn't want to
flood you with too much information.


Regards,
~~helix84

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

--
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831iu=/4140/ostg.clktrk
___
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] How to override the labels of itemDetailView-DIM?

2013-07-22 Thread helix84
Hi Elvi,

here's my example (untested) code:

td class=label-cell
xsl:choose
xsl:when test=@element='contributor' and @qualifier='author'
i18n:textxmlui.dri2xhtml.METS-1.0.item-author/i18n:text
/xsl:when
xsl:when test=@element='title'
i18n:textxmlui.dri2xhtml.METS-1.0.item-title/i18n:text
/xsl:when
xsl:when test=@element='description' and @qualifier='abstract'
i18n:textxmlui.dri2xhtml.METS-1.0.item-abstract/i18n:text
/xsl:when!-- More to be added here --
xsl:otherwise
xsl:value-of select=./@mdschema/
xsl:text./xsl:text
xsl:value-of select=./@element/
xsl:if test=./@qualifier
xsl:text./xsl:text
xsl:value-of select=./@qualifier/
/xsl:if
/xsl:otherwise
/xsl:choose/td


Regards,
~~helix84

Compulsory reading: DSpace Mailing List Etiquette
https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
--
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831iu=/4140/ostg.clktrk___
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] Question about deploying the DSpace application

2013-07-22 Thread Mark H. Wood
On Mon, Jul 22, 2013 at 06:02:27PM +0200, helix84 wrote:
 On Mon, Jul 22, 2013 at 5:52 PM, Mark H. Wood mw...@iupui.edu wrote:
  [DSpace]/lib.  But, come to think of it, there's no reason that they
  *must* be on that host.
 
 Interesting idea. But how would you update the index?

Good point.  Some of the commandline tools must have access to the
assetstore and (depending on the search implementation you choose)
perhaps the index directory.  This probably isn't worth much thought
unless you really need to segregate the tools from the app.s for some
reason.

-- 
Mark H. Wood, Lead System Programmer   mw...@iupui.edu
Machines should not be friendly.  Machines should be obedient.


signature.asc
Description: Digital signature
--
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831iu=/4140/ostg.clktrk___
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

[Dspace-tech] OAI Request

2013-07-22 Thread remi asare
Hi everybody,

Can anyone have a quick look at this
http://dspace.univcasa.ma:8080/oai/request
 and tell me if it is the way it should be displayed?. Thanks a lot in
advance
--
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831iu=/4140/ostg.clktrk___
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] OAI Request

2013-07-22 Thread helix84
Hi Remi,

yes, that looks OK. This is what the OAI interface looks like in
DSpace up to version 1.8.x.

Now you may want to
* try to use some verbs, e.g.:
http://dspace.univcasa.ma:8080/oai/request?verb=Identify
http://dspace.univcasa.ma:8080/oai/request?verb=ListSets
http://dspace.univcasa.ma:8080/oai/request?verb=ListRecordsmetadataPrefix=oai_dc

* browse it using an explorer interface:
http://re.cs.uct.ac.za/

* validate its conformance to the OAI-PMH specification:
http://validator.oaipmh.com/


Regards,
~~helix84

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

--
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831iu=/4140/ostg.clktrk
___
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


[Dspace-tech] Controlled Vocabulary for XMLUI

2013-07-22 Thread bcoballes
Hi Everyone,

I know this is not a new topic however I can't find any relevant answer to
my query. I want to deploy the controlled vocabulary in xmlui. I already
enabled it in jspui. My javascript is enabled in my browser. However, for
some reasons no action is performed as I click the Subject Categories
during submission.

Any input will be very helpful. Thank you.  



--
View this message in context: 
http://dspace.2283337.n4.nabble.com/Controlled-Vocabulary-for-XMLUI-tp4665828.html
Sent from the DSpace - Tech mailing list archive at Nabble.com.

--
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831iu=/4140/ostg.clktrk
___
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