Re: [Dspace-tech] How to run dsrun command

2013-12-23 Thread bhavesh
Dear Allen,

I need your help into DSpace. I have install DSpace3.2 into CentOS. and I am
enable the itemcounter feature on that..by modify(following two parameters)
into dspace.cfg file

webui.strengths.show = true 
webui.strengths.cache = true

But when enable the itemcounter for XMLUI. I execute the command 
[dspace]/bin/dspace itemcounter

then It's show the error message ...
bash: dspace: command not found

What may be the issue ?

Thanks,
Bhavesh



-
Thanks and Regards,

Bhavesh Patel
(www.bhaveshpatel.info)
--
View this message in context: 
http://dspace.2283337.n4.nabble.com/How-to-run-dsrun-command-tp3287431p4669979.html
Sent from the DSpace - Tech mailing list archive at Nabble.com.

--
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET,  PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831iu=/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] DSpace and ePub support

2013-12-23 Thread Calloni, Rodrigo
Thanks so much Richard. Very clear explanation!

Best regards
Rodrigo

From: Richard Rodgers [mailto:rrodg...@mit.edu]
Sent: Friday, December 20, 2013 1:57 PM
To: Calloni, Rodrigo
Cc: dspace-tech@lists.sourceforge.net
Subject: Re: [Dspace-tech] DSpace and ePub support

Hi Rodrigo:

Question 1:

Yes, you can upload EPUB files. Whether DSpace will automatically recognize 
the format depends on:

* whether you have created a new EPUB format in your bitstream format 
registry (it is not present by default). This is a standard administrative
   operation (see docs). I believe the accepted mime-type associated 
with EPUB container files  is 'application/epub+zip'
   * whether the EPUB files you want to upload have extensions (like 
'.ePub') that match those you defined in the format. DSpace does simple file 
extension mapping to determine format type.
  For example, if you had extensions 'EPUB', 'ePub', and no other 
formats had those extensions, then all content will we assigned to the the EPUB 
format that bore those file extensions.

Question 2:

   Yes, users should be able to download and view these files - *provided* 
they have client-side rendering tools for EPUBs. DSpace is no different in this 
regard than BarnesNoble or any other
   EPUB provider - it merely supplies the file. Support varies in tablets 
for commercial reasons, but generally is pretty good.

Hope this helps,

Richard R


On Dec 20, 2013, at 11:31 AM, Calloni, Rodrigo wrote:


Hello

We are using DSpace 1.8 XMLUI.

I want to know about the DSpace support for ePub files. Are there any news 
about this?

While searching this topic in Google I found the following tread posted last 
year: http://dspace.2283337.n4.nabble.com/epub-td4655710.html

So I have 2 basic questions:

1)  Can we upload ePubs in DSpace? Will it recognize the file format?

2)  Are users capable of downloading and opening an ePub that was added to 
DSpace (for example, adding it in their iBooks shelf)?

Thanks in advance
Rodrigo

Rodrigo Calloni
System Librarian
Felipe Herrera Library
Knowledge and Learning Sector
Tel: 202-623-2952
Fax: 202-623-3183
image001.gif
1300 New York Avenue, N.W.
Washington, D.C. 20577
USA
www.iadb.orghttp://www.iadb.org/

Knowledge. Empowering People. Transforming Lives.
P  Please consider the environment before printing this email

--
Rapidly troubleshoot problems before they affect your business. Most IT
organizations don't have a clear picture of how application performance
affects their revenue. With AppDynamics, you get 100% visibility into your
Java,.NET,  PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831iu=/4140/ostg.clktrk___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.netmailto:DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

--
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET,  PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831iu=/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 set property target=_blank into item-view.xsl

2013-12-23 Thread Bhavesh Patel
Dear All,

I have modify the code into
[dspace-3.2-src-release]dspace-xmlui\src\main\webapp\themes\Mirage\lib\xsl\aspect\artifactbrowser\item-view.xsl


 *div class=thumbnail-wrapper*
 *a class=image-link*
 *xsl:attribute name=href*

 * !-- HREF [ START ] --*
 * xsl:if test=@MIMETYPE = 'video/mp4' or @MIMETYPE = 'video/x-flv' *
 *
 i18n:texthttp://192.168.251.220/irplayer/play.php?vLink=http://192.168.251.99:8080
 http://192.168.251.220/irplayer/play.php?vLink=http://192.168.251.99:8080/i18n:text
 *
 * xsl:value-of select=mets:FLocat[@LOCTYPE='URL']/@xlink:href/*
 * /xsl:if *
 * !-- HREF [ END ] --*

 * xsl:if test=@MIMETYPE != 'video/mp4' *
 * xsl:value-of select=mets:FLocat[@LOCTYPE='URL']/@xlink:href/*
 * /xsl:if *

 */xsl:attribute*

 * xsl:choose  *

 * xsl:when test=$context/mets:fileSec/mets:fileGrp[@USE='THUMBNAIL']/*
 *mets:file[@GROUPID=current()/@GROUPID] *
 *img alt=Thumbnail*
 *xsl:attribute name=src*
 *xsl:value-of
 select=$context/mets:fileSec/mets:fileGrp[@USE='THUMBNAIL']/ *
 *
 mets:file[@GROUPID=current()/@GROUPID]/mets:FLocat[@LOCTYPE='URL']/@xlink:href/*
 */xsl:attribute*
 */img *
 */xsl:when*


 * !-- Bhavesh [ START ] -- *
 * xsl:when test=@MIMETYPE = 'video/x-flv' or @MIMETYPE = 'video/mp4'*
 *   i18n:textPlay Video/i18n:text *
 */xsl:when *
 * !-- Bhavesh [ END ] --*

 *xsl:otherwise*
 *img alt=Icon src={concat($theme-path,
 '/images/mime.png')} style=height: {$thumbnail.maxheight}px;/ *
 */xsl:otherwise*

 */xsl:choose*
 */a**/div*

 I have set the condition for .mp4 and .flv MIME TYPE.

It's Working Fine.. But it will open the URL into same browser .. What I
want is When anyone click on that Play Video then it's open into New tab
or new window.

Means I want to set property target=_blank into a

Please let me know if anyone know...


Thanks  Regards,
*Bhavesh R. Patel *

*Please consider the environment before printing this e-mail.*
--
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET,  PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831iu=/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