[Dspace-tech] Image preview in browse indexes

2013-03-21 Thread mErRYo
Hi, I want to know how can we show pdf or image preview in default browse 
indexes like title and date shown on JSPUI. I am using Dspace 3.0 with JSPUI 
and discovery. I already did some setting in dspace.cfg by which i am getting 
preview column but with blank cells. Can anyone advise me how to do it.
--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_mar___
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] Hit highlighting snippetview in Dspace 3.0 JSPUI

2013-03-21 Thread mErRYo
I specifically want to know about this feature for JSPUI. AS far i know i don't 
think it is supported in Dspace 3.0 JSPUI. So can some one tell me is there any 
other alternative to achieve it. Appreciate if some can help us share its code 
or classes or plugins.

--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_mar
___
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] R: Image preview in browse indexes

2013-03-21 Thread Andrea Bollini
Most probably you should only execute the mediafilter script to get things work.
Please note that I'm not sure that there is a pdf thumbnail available and 
configured out of box
Hope this help,
Andrea


Inviato da Samsung MobilemErRYo merryob...@yahoo.com ha scritto:Hi, I want to 
know how can we show pdf or image preview in default browse indexes like title 
and date shown on JSPUI. I am using Dspace 3.0 with JSPUI and discovery. I 
already did some setting in dspace.cfg by which i am getting preview column but 
with blank cells. Can anyone advise me how to do it.
--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_mar___
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] Psuedo video streaming with item attachment and seeking enabled

2013-03-21 Thread Jonathan Freesbay
Hi,

Just uncomment partial download code
in org.dspace.app.xmlui.cocoon.BitstreamReader under generate(). It's
disabled because some browser integrated PDF readers crash (says
documentation code).

Regards,


2013/2/27 Jonathan Freesbay j.frees...@gmail.com

 Hi Keith,

 Impressive!

 When do you plan to contribute the code?

 Regards,


 2013/2/27 Keith Gilbertson keith.gilbert...@gmail.com

 Jonathan -

 I'm not sure if you're using xmlui or jspui. I know that in xmlui, the
 servlet didn't implement content range. You have to uncomment some
 code in BitstreamReader, and then fix a couple of bugs in it to get
 things working.

 Sample:
 http://vtechworks.lib.vt.edu/handle/10919/18426

 I've been intending to put these code changes back into the DSpace
 project, but since the hack was a bit rushed I wanted to wait and see
 if anything broke. Also, I think it would be better if the
 content-range was configurable to be enabled/disabled.
 --keith


 On Mon, Feb 25, 2013 at 4:38 AM, Jonathan Freesbay j.frees...@gmail.com
 wrote:
  Hi,
 
  I added a html 5 video tag to play the video's I uploaded to dspace. The
  video can be played, but I cannot seek to parts which aren't downloaded.
 
  The command curl -H Range:bytes=16- -I localhost:8080 gives
  Accept-Ranges: bytes back, so tomcat understands content-range. Does
  this mean that the servlet handling the file downloads doesn't implement
  content-range? What other options do I have within dspace to do this or
 will
  it be difficult to implement content-range on servlet level?
 
  Regards,
 
  (This is my second post for the same question, as the first was sent to
  dspace-gene...@lists.sourceforge.net, as the question should be sent
 to this
  mailing list.)
 
 
 --
  Everyone hates slow websites. So do we.
  Make your web apps faster with AppDynamics
  Download AppDynamics Lite for free today:
  http://p.sf.net/sfu/appdyn_d2d_feb
  ___
  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



--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_mar___
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] xmlui updates

2013-03-21 Thread Webshet, Sisay (ILRI)
Hi All,

Iam customizing files item-view.xsl and item-list.xsl in  dsapce 1.8.2
Can someone informs me the location under the source folder where should I put 
these files before redeployment.

Under the installation folder I  have a theme where these changes are expected
Thanks

--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_mar___
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] xmlui updates

2013-03-21 Thread helix84
On Thu, Mar 21, 2013 at 9:16 AM, Webshet, Sisay (ILRI)
s.webs...@cgiar.org wrote:
 Iam customizing files item-view.xsl and item-list.xsl in  dsapce 1.8.2

 Can someone informs me the location under the source folder where should I
 put these files before redeployment.

 Under the installation folder I  have a theme where these changes are
 expected

Hi Sisay,

it is recommended to put your theme directory into the overlay
directory (create any directories that don't exist):

[dspace-source]/dspace/modules/xmlui/src/main/webapp/themes/YourTheme

Where you put the .xsl files under the YourTheme directory depends how
you imported them. E.g. the Mirage theme has them at
Mirage/lib/xsl/aspect/artifactbrowser/item-list.xsl and imports them
like this:
xsl:import href=lib/xsl/aspect/artifactbrowser/item-list.xsl/


Regards,
~~helix84

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

--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_mar
___
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] [SPAM] Customizing Discovery Results Lists

2013-03-21 Thread Kevin Van de Velde
Hi Aaron,

Since Discovery 3.0 adds hit highlighting to the results, separate xsl
templates were created for rendering the discovery result pages. These
templates can be found in a separate xsl file:
themes/dri2xhtml-alt/aspect/artifactbrowser/discovery.xsl.

Hope this helps,

Kind regards,

[image: logo]
Kevin Van de Velde *@mire*
*2888 Loker Avenue East, Suite 315, Carlsbad, CA. 92010*
*Esperantolaan 4, Heverlee 3001, Belgium*
www.atmire.comhttp://atmire.com/website/?q=servicesutm_source=emailfooterutm_medium=emailutm_campaign=kevinvdv


On 15 March 2013 17:22, aaronhelton hel...@un.org wrote:

 I have made some search results customizations in the Mirage theme in
 DSpace
 3.1 to display institution-specific metadata.  Finding and customizing this
 was easy enough, in item-list.xsl; however, I noticed that these
 customizations do not carry over to the result sets in /xmlui/discover.  My
 questions are these: 1) CAN the discover results be customized through the
 theme? and 2) If so, how?



 --
 View this message in context:
 http://dspace.2283337.n4.nabble.com/Customizing-Discovery-Results-Lists-tp4662719.html
 Sent from the DSpace - Tech mailing list archive at Nabble.com.


 --
 Everyone hates slow websites. So do we.
 Make your web apps faster with AppDynamics
 Download AppDynamics Lite for free today:
 http://p.sf.net/sfu/appdyn_d2d_mar
 ___
 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

@mire_web_2.jpg--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_mar___
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] Rough characters

2013-03-21 Thread Webshet, Sisay (ILRI)

Hi All,

Below  is a document’s title  from dspace 
site(http://cgspace.cgiar.org/handle/10568/24701)
But when I exported it in to a csv format it  has some odd character which is 
marked  in red
Can anybody helps me to remove the rough character.

Here is the citation from the exported document
Bett, B., Henning, J., Abdu, P., Okike, I., Poole, J., Young, J., Randolph, 
T.F. and Perry, B.D. 2012. Transmission rate and reproductive number of the 
H5N1 highly pathogenic avian influenza virus during the December 2005–July 
2008 epidemic in Nigeria. Transboundary and Emerging Diseas
Thanks
Sisay
--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_mar___
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] Ant Error

2013-03-21 Thread Drover, Matt
All of a sudden this morning I'm getting this error. Any ideas?

 

[root@mulligan1 dspace-3.0-build]# ant update_configs

Buildfile:
/root/dspace/src/dspace-3.0-src-release/dspace/target/dspace-3.0-build/b
uild.xml

 

prepare_configs:

[mkdir] Created dir:
/root/dspace/src/dspace-3.0-src-release/dspace/target/dspace-3.0-build/c
onfig-temp

 [copy] Copying 1 file to
/root/dspace/src/dspace-3.0-src-release/dspace/target/dspace-3.0-build/c
onfig-temp

 [copy] Copying 106 files to
/root/dspace/src/dspace-3.0-src-release/dspace/target/dspace-3.0-build/c
onfig-temp

 

BUILD FAILED

/root/dspace/src/dspace-3.0-src-release/dspace/target/dspace-3.0-build/b
uild.xml:353: java.lang.NullPointerException

at
org.apache.tools.ant.filters.ExpandProperties.read(ExpandProperties.java
:110)

at
org.apache.tools.ant.filters.BaseFilterReader.read(BaseFilterReader.java
:83)

at java.io.BufferedReader.read1(BufferedReader.java:203)

at java.io.BufferedReader.read(BufferedReader.java:279)

at
org.apache.tools.ant.util.ResourceUtils.copyResource(ResourceUtils.java:
494)

at
org.apache.tools.ant.util.FileUtils.copyFile(FileUtils.java:559)

at
org.apache.tools.ant.taskdefs.Copy.doFileOperations(Copy.java:899)

at org.apache.tools.ant.taskdefs.Copy.execute(Copy.java:567)

at
org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav
a:57)

at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
Impl.java:43)

at java.lang.reflect.Method.invoke(Method.java:601)

at
org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:1
06)

at org.apache.tools.ant.Task.perform(Task.java:348)

at org.apache.tools.ant.Target.execute(Target.java:392)

at org.apache.tools.ant.Target.performTasks(Target.java:413)

at
org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399)

at org.apache.tools.ant.Project.executeTarget(Project.java:1368)

at
org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecut
or.java:41)

at
org.apache.tools.ant.Project.executeTargets(Project.java:1251)

at org.apache.tools.ant.Main.runBuild(Main.java:811)

at org.apache.tools.ant.Main.startAnt(Main.java:217)

at org.apache.tools.ant.launch.Launcher.run(Launcher.java:280)

at org.apache.tools.ant.launch.Launcher.main(Launcher.java:109)

 

Total time: 1 second

 

 

/root/dspace/src/dspace-3.0-src-release/dspace/target/dspace-3.0-build/b
uild.xml:353 contains:

!--

Prepare properly filtered files

--

copy todir=config-temp preservelastmodified=true
overwrite=true failonerror=false

fileset dir=config excludes=dspace.cfg /

filterchain

expandproperties /

/filterchain

/copy

 

 

Matthew Drover
Programmer Consultant

Immersive Technology
Distance Education, Learning and Teaching Support

Memorial University of Newfoundland 




This electronic communication is governed by the terms and conditions at
http://www.mun.ca/cc/policies/electronic_communications_disclaimer_2012.php
--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_mar___
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] Ant Error

2013-03-21 Thread helix84
Hi Matt,

here's something I found:

https://issues.apache.org/bugzilla/show_bug.cgi?id=53626

Do you have the build.properties file? What about ant update, does
that one run correctly?


Regards,
~~helix84

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

--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_mar
___
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] [SPAM] Re: [SPAM] Customizing Discovery Results Lists

2013-03-21 Thread aaronhelton
Kevin,

This does indeed solve the problem.  I've been looking for this for a while
and just couldn't find it, so thank you for pointing it out.

Cheers.



--
View this message in context: 
http://dspace.2283337.n4.nabble.com/Customizing-Discovery-Results-Lists-tp4662719p4662785.html
Sent from the DSpace - Tech mailing list archive at Nabble.com.

--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_mar
___
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] Rough characters

2013-03-21 Thread helix84
Hi Sisay,

it is strange. I tested it on DSpace 3 (demo.dspace.org) and it was
exported just fine. Perhaps that was only a problem on 1.8. I can't
help you except for telling you to try DSpace 3.


Regards,
~~helix84

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

--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_mar
___
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] Alphabetical sorting in Dsicovery 3

2013-03-21 Thread helix84
2013/3/21 Hrafn H. Malmquist hr...@landsbokasafn.is
 The faceted searching in Discovery is unfreindly towards foreign characters.

 The Icelandic letter ð/Ð should be right after D but comes at the end instead.

 Any suggestions?

Hi Hrafn,

I'm not an expert in this area, but this seems to be a problem not
with DSpace as such, but with Solr. I can't tell you the exact steps
but I'll try to point you in the right direction. I consulted this
with Kevin.

You will have to create a custom TYPE and assign it to
dynamicField name=*_sort type=lowerCaseSort indexed=true
stored=true multiValued=false omitNorms=true/
here:
https://github.com/DSpace/DSpace/blob/dspace-3_x/dspace/solr/search/conf/schema.xml#L546

Here is the info about creating a type:
http://wiki.apache.org/solr/UnicodeCollation

After each change of schema, you need to rebuild the discovery index by running
[dspace]/bin/dspace update-discovery-index -b


So you'll have to experiment a bit. Let us know if you solve it. Maybe
there is something we could change in the schema definition we
distribute with DSpace that would also help other languages.

P.S. Say hello to Halldóra for me.

Regards,
~~helix84

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

--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_mar
___
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] Is it possible to display a jpg/png when viewing an item

2013-03-21 Thread Thomas Misilo
An example of this is: 
http://merrick.library.miami.edu/cdm/singleitem/collection/asm0015/id/757/rec/1

I know it isn't DSpace, but I figured I would ask.

I am using 3.0 XMLUI.

Thanks,

Tom

--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_mar___
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] [SPAM] Re: Is it possible to display a jpg/png when viewing an item

2013-03-21 Thread aaronhelton
So I admit I haven't done much digging yet, and I don't know if it's
completely possible, but what's to stop you from putting this kind of thing
into your theme code?  I've seen work by others, which I'm going to be
implementing myself, whereby you take custom actions based on the
bitstream's detected mime-type.  So, for instance, in item-view.xsl, you
test the mime-type, and if it's one of your supported image types, you
display a different block of HTML that includes HTML5 image features like
image panning and zooming, and within that, you either use the thumbnail
generated from filter-media, or you use the full bitstream.  



--
View this message in context: 
http://dspace.2283337.n4.nabble.com/Is-it-possible-to-display-a-jpg-png-when-viewing-an-item-tp4662789p4662791.html
Sent from the DSpace - Tech mailing list archive at Nabble.com.

--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_mar
___
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] xmlui customization

2013-03-21 Thread saurabh
bro thanks for ur helpbt what i need is
i need to remove the author, subject and title from the browse field!




--
View this message in context: 
http://dspace.2283337.n4.nabble.com/xmlui-customization-tp4662706p4662792.html
Sent from the DSpace - Tech mailing list archive at Nabble.com.--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_mar___
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] Rough characters

2013-03-21 Thread Webshet, Sisay (ILRI)
Hi Heliex,

It is fine when you are importing on to dsapce platform. The problem is how to 
make the rough character readable on  csv format.

Thanks for your action

-Original Message-
From: ivan.ma...@gmail.com [mailto:ivan.ma...@gmail.com] On Behalf Of helix84
Sent: Thursday, March 21, 2013 5:06 PM
To: Webshet, Sisay (ILRI)
Cc: dspace-tech@lists.sourceforge.net
Subject: Re: [Dspace-tech] Rough characters

Hi Sisay,

it is strange. I tested it on DSpace 3 (demo.dspace.org) and it was exported 
just fine. Perhaps that was only a problem on 1.8. I can't help you except for 
telling you to try DSpace 3.


Regards,
~~helix84

Compulsory reading: DSpace Mailing List Etiquette 
https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_mar
___
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