[Dspace-tech] Collection home page layout

2011-06-08 Thread Ladislav Kulhanek
Hello everybody.

I try to change home page of collection in xmlui. Standard layout is:

Title
Browse by
collection description
Submit a new item to this collection
Recent Submissions

I want Submit a new item to this collection before collection description.
I have not found xsl template, where to set up it. How to set up it? Thanks.
--
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] dspace 1.7.2 Discovery error

2011-06-08 Thread Ahmed Maher
when i run ./dspace update-discovery-index
command
i have the following error
Exception: Error executing query
org.dspace.discovery.SearchServiceException: Error executing query
at
org.dspace.discovery.SolrServiceImpl.cleanIndex(SolrServiceImpl.java:380)
at org.dspace.discovery.IndexClient.main(IndexClient.java:120)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at
org.dspace.app.launcher.ScriptLauncher.main(ScriptLauncher.java:183)
Caused by: org.apache.solr.client.solrj.SolrServerException: Error executing
query
at
org.apache.solr.client.solrj.request.QueryRequest.process(QueryRequest.java:95)
at
org.apache.solr.client.solrj.SolrServer.query(SolrServer.java:118)
at
org.dspace.discovery.SolrServiceImpl.getSolr(SolrServiceImpl.java:105)
at
org.dspace.discovery.SolrServiceImpl.cleanIndex(SolrServiceImpl.java:353)
... 6 more
Caused by: org.apache.solr.common.SolrException: Not Found

Not Found

request: http://localhost:8080/solr/search/select?q=search.resourcetype:2AND
search.resourceid:1wt=javabinversion=1
at
org.apache.solr.client.solrj.impl.CommonsHttpSolrServer.request(CommonsHttpSolrServer.java:435)
at
org.apache.solr.client.solrj.impl.CommonsHttpSolrServer.request(CommonsHttpSolrServer.java:244)
at
org.apache.solr.client.solrj.request.QueryRequest.process(QueryRequest.java:89)


and , if i try to open solr admin ttp://localhost:8080/solr/admin
this error appears
 HTTP Status 404 - missing core name in path
 __

   type Status report

   message missing core name in path

   description The requested resource (missing core name in path) is not
   available.
 __

  Apache Tomcat/6.0.28
--
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Filter-media for Word docx

2011-06-08 Thread Thornton, Susan M. (LARC-B702)[LITES]
Hi Mark,
 Sorry - is POI a part of DSpace (does it come delivered)?  If not, how 
would I integrate it with DSpace, in terms of the dspace.cfg file parameters?
Thanks,
Sue



Sue Walker-Thornton
Software Developer/Database Administrator
NASA Langley Research Center|LITES Contract
(757) 224-4074



-Original Message-
From: mdigg...@gmail.com [mailto:mdigg...@gmail.com] On Behalf Of Mark Diggory
Sent: Tuesday, June 07, 2011 4:46 PM
To: Thornton, Susan M. (LARC-B702)[LITES]
Cc: richardji...@creighton.edu; dspace-tech@lists.sourceforge.net
Subject: Re: [Dspace-tech] Filter-media for Word docx

Susan,

I'll pipe up here...
I had chatted with Richard offline, Apache POI will eventually support
docx, but it is in its infancy.  You might try upgrading to the latest
poi beta to test docx support on your repository.

http://poi.apache.org/hwpf/index.html

http://search.maven.org/#artifactdetails%7Corg.apache.poi%7Cpoi%7C3.8-beta2%7Cjar

Mark


On Tue, Jun 7, 2011 at 1:42 PM, Thornton, Susan M. (LARC-B702)[LITES]
susan.m.thorn...@nasa.gov wrote:
 Hi Richard,

  Did you ever get an answer on this issue?  I am having the same
 problem.

 Thanks,

 Sue







 Sue Walker-Thornton

 Software Developer/Database Administrator

 NASA Langley Research Center|LITES Contract

 (757) 224-4074





 From: Jizba, Richard [mailto:richardji...@creighton.edu]
 Sent: Tuesday, May 24, 2011 8:25 AM
 To: dspace-tech@lists.sourceforge.net
 Subject: [Dspace-tech] Filter-media for Word docx



 Hello,

 In filter-media the Word Text Extractor does not process docx, but only doc
 files. Is this expected behavior or do I have a problem? In either case,
 what is the solution to processing docx files in filter-media.

 Richard Jizba
 Creighton University

 --
 EditLive Enterprise is the world's most technically advanced content
 authoring tool. Experience the power of Track Changes, Inline Image
 Editing and ensure content is compliant with Accessibility Checking.
 http://p.sf.net/sfu/ephox-dev2dev
 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech





--
Mark R. Diggory
@mire - www.atmire.com
2888 Loker Avenue East - Suite 305 - Carlsbad - CA - 92010
Esperantolaan 4 - Heverlee 3001 - Belgium
--
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Filter-media for Word docx

2011-06-08 Thread Peter Dietz
POI is Apache's project to build a Java library that can interact with
Office Documents.

A version of POI, frozen in time from several releases ago, might be in
DSpace. The older version will support .doc media-filtering, however, if you
want some support for .docx, then you need to upgrade the version for POI in
your pom. Then you'd have to test .docx support. And possibly configure it
to also perform its media filtering on .docx.

I found a relevant thread with some info.
http://dspace.2283337.n4.nabble.com/Dspace-tech-DSpace-Maven-help-request-update-dependency-version-td3287716.html


Peter Dietz



On Wed, Jun 8, 2011 at 10:48 AM, Thornton, Susan M. (LARC-B702)[LITES] 
susan.m.thorn...@nasa.gov wrote:

 Hi Mark,
 Sorry - is POI a part of DSpace (does it come delivered)?  If not,
 how would I integrate it with DSpace, in terms of the dspace.cfg file
 parameters?
 Thanks,
 Sue



 Sue Walker-Thornton
 Software Developer/Database Administrator
 NASA Langley Research Center|LITES Contract
 (757) 224-4074



 -Original Message-
 From: mdigg...@gmail.com [mailto:mdigg...@gmail.com] On Behalf Of Mark
 Diggory
 Sent: Tuesday, June 07, 2011 4:46 PM
 To: Thornton, Susan M. (LARC-B702)[LITES]
 Cc: richardji...@creighton.edu; dspace-tech@lists.sourceforge.net
 Subject: Re: [Dspace-tech] Filter-media for Word docx

 Susan,

 I'll pipe up here...
 I had chatted with Richard offline, Apache POI will eventually support
 docx, but it is in its infancy.  You might try upgrading to the latest
 poi beta to test docx support on your repository.

 http://poi.apache.org/hwpf/index.html


 http://search.maven.org/#artifactdetails%7Corg.apache.poi%7Cpoi%7C3.8-beta2%7Cjar

 Mark


 On Tue, Jun 7, 2011 at 1:42 PM, Thornton, Susan M. (LARC-B702)[LITES]
 susan.m.thorn...@nasa.gov wrote:
  Hi Richard,
 
   Did you ever get an answer on this issue?  I am having the same
  problem.
 
  Thanks,
 
  Sue
 
 
 
 
 
 
 
  Sue Walker-Thornton
 
  Software Developer/Database Administrator
 
  NASA Langley Research Center|LITES Contract
 
  (757) 224-4074
 
 
 
 
 
  From: Jizba, Richard [mailto:richardji...@creighton.edu]
  Sent: Tuesday, May 24, 2011 8:25 AM
  To: dspace-tech@lists.sourceforge.net
  Subject: [Dspace-tech] Filter-media for Word docx
 
 
 
  Hello,
 
  In filter-media the Word Text Extractor does not process docx, but only
 doc
  files. Is this expected behavior or do I have a problem? In either case,
  what is the solution to processing docx files in filter-media.
 
  Richard Jizba
  Creighton University
 
 
 --
  EditLive Enterprise is the world's most technically advanced content
  authoring tool. Experience the power of Track Changes, Inline Image
  Editing and ensure content is compliant with Accessibility Checking.
  http://p.sf.net/sfu/ephox-dev2dev
  ___
  DSpace-tech mailing list
  DSpace-tech@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/dspace-tech
 
 



 --
 Mark R. Diggory
 @mire - www.atmire.com
 2888 Loker Avenue East - Suite 305 - Carlsbad - CA - 92010
 Esperantolaan 4 - Heverlee 3001 - Belgium

 --
 EditLive Enterprise is the world's most technically advanced content
 authoring tool. Experience the power of Track Changes, Inline Image
 Editing and ensure content is compliant with Accessibility Checking.
 http://p.sf.net/sfu/ephox-dev2dev
 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech

--
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] REST API for DSpace

2011-06-08 Thread Hayden Young
Thanks Bojan

I've updated my DSpace's instance's rest code and am able to retrieve 
the logo as you have outlined below.

Cheers


Hayden

On 06/06/11 20:52, Bojan Suzic wrote:
 Hi Hayden,

 For the logo issue you previously mentioned, I have updated the code and
 wiki page info.

 /communities/{id} - returns information about particular community
 /communities/{id}/logo - returns corresponding logo id

 The logo is considered as bitstream, like other bitstreams in the system
 (licence files, item bitstreams..).

 It can be further received through

 /bitstream/{id}/receive - returns binary data about bitstream

 So that is the way logos are handled.


 I will look also at the other questions you asked.

 Regards
 Bojan




 Currently I attempting to display a community's logo using:
   
 http://www.domain.tld/dspace/rest/communities/1/logo
   
 However no logo is output.
   


 --
 Simplify data backup and recovery for your virtual environment with vRanger.
 Installation's a snap, and flexible recovery options mean your data is safe,
 secure and there when you need it. Discover what all the cheering's about.
 Get your free trial download today.
 http://p.sf.net/sfu/quest-dev2dev2
 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech

-- 
Hayden Young
Managing Director
Wijiti Pty Ltd
p. +61 (0) 8 6102 1198
m. +61 (0) 405 520 778
e. haydenyo...@wijiti.com
w. www.wijiti.com
vcard. www.wijiti.com/vcard/haydenyoung.vcf

NOTICE
This e-mail and any attachments are intended for the addressee(s) only and may 
be confidential. They may contain legally privileged or copyright material. You 
should not read, copy, use or disclose them without authorization. If you are 
not the intended recipient please contact the sender as soon as possible by 
return e-mail and then please delete both messages. This notice should not be 
removed.


--
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] How to create submission forms

2011-06-08 Thread Alexandre de Mello Zart
Good morning / afternoon!

 

We have to create different submission forms, according to the type of
item to be uploaded (thesis, books, papers, articles, etc.). I already
modified the input-forms.xml, with the definition of one of these
forms, and associated it with one collection, as described in the
manual. However, after rebuilding our Dspace (version 1.6.2), the form
is still the default form, nothing was modified. 

Is there any other XML file to be modified, or some parameter to change?

 

Thanks in advance.

 

Alexandre Zart

 

--
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] How to create submission forms

2011-06-08 Thread André
Alexandre, are you working with xmlui? There are multiple possible causes
for this problem.

1) Make sure your form-map in the input-forms.xml is really correct

form-map
name-map collection-handle=default form-name=traditional /
name-map collection-handle=123456789/3form-name=foo /
name-map collection-handle=123456789/7form-name=bar /
[. . .]
/form-map

form-definitions
   !-- the standard form --
   form name=traditional
 page number=1
   field
[ . . . ]
   /form

   !-- this form is associated with collection 123456789/3 --
   form name=foo
 page number=1
   field
[ . . . ]
   /form

   !-- this form is associated with collection 123456789/7 --
   form name=bar
 page number=1
   field
[ . . . ]
   /form
[ . . . ]
/form-definitions


2) Are you modifying the correct file? Check whether you're really modifying
[dspace-src]/dspace/config/input-forms.xml
Also check if the owner and permissions of the file are correct (owner must
be the same as the other files in this directory, which usually is dspace;
one could have made a copy of the file as root and renamed it but forgot to
change the owner)


3) Is the build really happening without any errors/warnings?


4) Are you trying to work with locales (eg. input-forms_pt_BR.xml)? As far
as I know, logic for locales isn't implemented for the inputforms yet.


5) We've faced some problems with Tomcat cache. Try stopping tomcat,
cleaning the cache (depends on the version you're using; would probably be:
/var/lib/tomcat6/work/Catalina/localhost/xmlui/cache-dir/). Start tomcat
again, clear your browser cache and reload the page.


Abraços
André



2011/6/8 Alexandre de Mello Zart z...@pucrs.br

 Good morning / afternoon!



 We have to create different submission forms, according to the type of item
 to be uploaded (thesis, books, papers, articles, etc.). I already modified
 the “input-forms.xml”, with the definition of one of these forms, and
 associated it with one collection, as described in the manual. However,
 after rebuilding our Dspace (version 1.6.2), the form is still the default
 form, nothing was modified.

 Is there any other XML file to be modified, or some parameter to change?



 Thanks in advance.



 *Alexandre Zart*




 --
 EditLive Enterprise is the world's most technically advanced content
 authoring tool. Experience the power of Track Changes, Inline Image
 Editing and ensure content is compliant with Accessibility Checking.
 http://p.sf.net/sfu/ephox-dev2dev
 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech


--
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] Metadata advice

2011-06-08 Thread Srijan Deshpande
Hello,

I'm setting up a DSpace repository for our archive of Indian Classical Music. 
I'm currently working on our metadata schema and I have some questions and 
difficulties I need help with.

One of my basic requirements is that each song be treated as an item in DSpace. 
This is because a 'song' (a composition) is the basic tangible unit in this 
music - compositions are taught, studied, written down, exchanged, and 
performed. Invariably, a single traditional composition will have a number of 
different versions, performed by a number of artists. Students of music, 
therefore, will want to search for a traditional composition and will expect to 
find a number of versions of it.

In this situation, I need to know how to represent albums, or recordings of 
live concerts, both of which contain a number of compositions. From my research 
(I'm no metadata expert), this is what I've come up with:
I create a separate item in DSpace for each song in the album
I also create an item for the album
In the album-item, I use the dc.relation.haspart property to enter URIs of each 
song-item
In each song-item, I use the dc.relation.ispartof property to enter the URI of 
the album to which the song belongs

Does this sound right?

We also have handwritten musical scores (notation) of many compositions. Is it 
correct to use the dc.relation.isformatof property to indicate a relationship 
between an recorded composition (audio file) and its musical notation (scanned 
image)? I'd have to use the dc.relation.isformatof property on both items right?
---

Indian music is based on melodic frameworks called 'raagas'. Any composition in 
Indian Classical music is derived from one of the hundreds of raagas. Therefore 
the raaga is an important characteristic of any composition. Would it be 
appropriate to indicate this using a new qualifier for the dc.subject property? 
As in dc.subject.raaga?
Similarly the various rhythms to which the compositions are sung are called 
taalas. Consequently, I should use dc.subject.tala, correct? Also in this case, 
I don't see myself using dc.subject without any qualifiers at all. Is that 
appropriate?
---

The compositions are classified into a number of sub-genres named 'khayal', 
'thumri', 'bhajan' and so on. Which would be more appropriate here: 
dc.coverage.genre or dc.subject.genre? Often, there are also sub-genres, so 
dc.coverage.subgenre?


And one of my biggest problems is: Any performance will have a number of 
artists performing together - a singer, supporting vocalists, instrumentalists, 
percussionists etc. I can list these using dc.contributor with marcrel 
qualifiers, such as dc.contributor.singer, dc.contributor.instrumentalist etc. 
But how do I indicate each contributor's role? How do I show which of the 
contributors is the singer, which is the percussionist and so on?
---

For the languages of the compositions, most are in Dialects of the Hindi 
language. There is a standard language code for Hindi, but there are no codes 
for dialects of hindi. How should I represent these dialects? Or should I stick 
to just showing 'Hindi' as the language of the composition?
---

I know that's a lot of questions to ask in one goany responses will be 
greatly appreciated. 
For anyone who might be interested in finding out more about Indian Classical 
Music and our archive, please take a look at the attached file.

Thanks so very much in advance!
Srijan Deshpande
--
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech