Re: [Dspace-tech] OAI-PMH data provider 2.0 not persistent?

2015-03-05 Thread João Melo
Hi Ondřej,

you are absolutely right.
Logically speaking withdrawn = !in_archive (which makes me wonder how
useful this two flags are).
Which is something I wrongly assumed which makes it an unexpected
feature/bug.

Thanks for pointing it out.
Regards,
Joao


On 5 March 2015 at 16:26, Ondřej Košarko kosa...@ufal.mff.cuni.cz wrote:

 But can an item be both withdrawn  in_archive? I believe it isn't so
 https://github.com/DSpace/DSpace/blob/master/dspace-api/src/main/java/org/dspace/content/Item.java#L1149

 2015-03-05 16:58 GMT+01:00 João Melo jm...@lyncode.com:

 Hi Ondřej

 item table contains two fields withdrawn and in_archive.

 in_archive - Find out if the item is part of the main archive
 withdrawn - Find out if the item was withdrawn

 On 5 March 2015 at 15:50, Ondřej Košarko kosa...@ufal.mff.cuni.cz
 wrote:

 Hey,
 but the indexAll() does not select the withdrawn items
 https://github.com/DSpace/DSpace/blob/master/dspace-oai/src/main/java/org/dspace/xoai/app/XOAI.java#L191

 2015-03-05 16:31 GMT+01:00 João Melo jm...@lyncode.com:

 Hi Kristian,

 I cannot see how your description matches the implementation.
 From the implementation withdrawn items are indexed.


 https://github.com/DSpace/DSpace/blob/master/dspace-oai/src/main/java/org/dspace/xoai/app/XOAI.java#L248

 The only way withdrawn items can disappear from the list is due to
 usage of virtual contexts (driver/openaire).
 Is that your scenario?

 On 5 March 2015 at 15:13, Kristian Roberto Salcedo 
 k.r.salc...@ub.uio.no wrote:

 Hi Ivan,

 Thank you for answering so swiftly.
 But are you saying that this part of the documentation

 https://wiki.duraspace.org/pages/viewpage.action?pageId=45548245#OAI-PMHDataProvider2.0(Internals)-Deletions
 is incorrect and that Dspace only supports deletions transiently?
 If so, wouldn’t it mean that all who harvest us would have to perform
 complete harvests every time in order to keep track of changes in our
 repository unless we create custom solutions in order to reveal deleted
 status?

 regards,
 Kristian

 -Original Message-
 From: ivan.ma...@gmail.com [mailto:ivan.ma...@gmail.com] On Behalf Of
 helix84
 Sent: Thursday, March 05, 2015 3:46 PM
 To: Kristian Roberto Salcedo
 Cc: dspace-tech@lists.sourceforge.net; João Melo
 Subject: Re: [Dspace-tech] OAI-PMH data provider 2.0 not persistent?
 
 Hi Kristian,
 
 I think you're right that the declared
 deletedRecordpersistent/deletedRecord doesn't match how DSpace
 behaves. I filed a Jira issue and created a pull request to change
 the declared
 status to deletedRecordtransient/deletedRecord.
 
 https://jira.duraspace.org/browse/DS-2491
 
 
 Regards,
 ~~helix84
 
 Compulsory reading: DSpace Mailing List Etiquette
 https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
 
 
 On Thu, Mar 5, 2015 at 2:52 PM, Kristian Roberto Salcedo
 k.r.salc...@ub.uio.no wrote:
  Hi all,
 
  In Dspace 4.2 we are currently seeing that our OAI feeds are not
 being
 persistent as per these definitions when it comes to deleted
 (withdrawn)
 items:
 
  http://www.openarchives.org/OAI/openarchivesprotocol.html#deletion
 
 https://wiki.duraspace.org/pages/viewpage.action?pageId=34640887#OAI-
 P
  MHDataProvider2.0(Internals)-Deletions
 
  Withdrawn items do not get the header status=deleted as they
 should,
 like in this example:
 
 
 
 http://webservices.itcs.umich.edu/mediawiki/oaibp/index.php/Deleted_Re
  cord_Example_1
 
  Withdrawing an item is not reflected in the OAI entry in any way.
 
  --
 
  This is our Identify page at the moment:
 
  https://www.duo.uio.no/oai/request?verb=Identify
 
  --
 
  I believe we're doing everything right regarding config parameters
 and
 maintenance of the solr oai index.
 
  The only place I can find a persistent-parameter is in this
 config file:
  /www/var/data/dspace/config/oaicat.properties
  which I thought was deprecated, but we still set it just to be sure:
  Identify.deletedRecord=persistent
 
  All other relevant config parameters are set in these two files as
 far as I can
 tell:
 
  /www/var/data/dspace/config/modules/oai.cfg
  /www/var/data/dspace/config/crosswalks/oai/description.xml
 
  We are running the oai import -o command nightly.
 
  --
 
  The only way we've found to remove withdrawn items from the OAI
 feed is
 by running a complete re-indexing of the oai solr index:
 
  /www/var/data/dspace/bin/dspace oai import -c
 
  with a subsequent
 
  /www/var/data/dspace/bin/dspace oai clean-cache
 
  This removes a withdrawn item:
 
  https://www.duo.uio.no/handle/10852/42670
 
  completely from the feed:
 
 
 https://www.duo.uio.no/oai/request?verb=GetRecordmetadataPrefix=oai
 _d
  cidentifier=oai:localhost:10852/42670
 
  which is not what we want...
 
  --
 
 
  Is anyone else experiencing the same problem?
 
  Maybe I've missed

Re: [Dspace-tech] OAI-PMH data provider 2.0 not persistent?

2015-03-05 Thread João Melo
Hi Ondřej

item table contains two fields withdrawn and in_archive.

in_archive - Find out if the item is part of the main archive
withdrawn - Find out if the item was withdrawn

On 5 March 2015 at 15:50, Ondřej Košarko kosa...@ufal.mff.cuni.cz wrote:

 Hey,
 but the indexAll() does not select the withdrawn items
 https://github.com/DSpace/DSpace/blob/master/dspace-oai/src/main/java/org/dspace/xoai/app/XOAI.java#L191

 2015-03-05 16:31 GMT+01:00 João Melo jm...@lyncode.com:

 Hi Kristian,

 I cannot see how your description matches the implementation.
 From the implementation withdrawn items are indexed.


 https://github.com/DSpace/DSpace/blob/master/dspace-oai/src/main/java/org/dspace/xoai/app/XOAI.java#L248

 The only way withdrawn items can disappear from the list is due to usage
 of virtual contexts (driver/openaire).
 Is that your scenario?

 On 5 March 2015 at 15:13, Kristian Roberto Salcedo k.r.salc...@ub.uio.no
  wrote:

 Hi Ivan,

 Thank you for answering so swiftly.
 But are you saying that this part of the documentation

 https://wiki.duraspace.org/pages/viewpage.action?pageId=45548245#OAI-PMHDataProvider2.0(Internals)-Deletions
 is incorrect and that Dspace only supports deletions transiently?
 If so, wouldn’t it mean that all who harvest us would have to perform
 complete harvests every time in order to keep track of changes in our
 repository unless we create custom solutions in order to reveal deleted
 status?

 regards,
 Kristian

 -Original Message-
 From: ivan.ma...@gmail.com [mailto:ivan.ma...@gmail.com] On Behalf Of
 helix84
 Sent: Thursday, March 05, 2015 3:46 PM
 To: Kristian Roberto Salcedo
 Cc: dspace-tech@lists.sourceforge.net; João Melo
 Subject: Re: [Dspace-tech] OAI-PMH data provider 2.0 not persistent?
 
 Hi Kristian,
 
 I think you're right that the declared
 deletedRecordpersistent/deletedRecord doesn't match how DSpace
 behaves. I filed a Jira issue and created a pull request to change the
 declared
 status to deletedRecordtransient/deletedRecord.
 
 https://jira.duraspace.org/browse/DS-2491
 
 
 Regards,
 ~~helix84
 
 Compulsory reading: DSpace Mailing List Etiquette
 https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
 
 
 On Thu, Mar 5, 2015 at 2:52 PM, Kristian Roberto Salcedo
 k.r.salc...@ub.uio.no wrote:
  Hi all,
 
  In Dspace 4.2 we are currently seeing that our OAI feeds are not being
 persistent as per these definitions when it comes to deleted (withdrawn)
 items:
 
  http://www.openarchives.org/OAI/openarchivesprotocol.html#deletion
  https://wiki.duraspace.org/pages/viewpage.action?pageId=34640887#OAI-
 P
  MHDataProvider2.0(Internals)-Deletions
 
  Withdrawn items do not get the header status=deleted as they should,
 like in this example:
 
 
 http://webservices.itcs.umich.edu/mediawiki/oaibp/index.php/Deleted_Re
  cord_Example_1
 
  Withdrawing an item is not reflected in the OAI entry in any way.
 
  --
 
  This is our Identify page at the moment:
 
  https://www.duo.uio.no/oai/request?verb=Identify
 
  --
 
  I believe we're doing everything right regarding config parameters and
 maintenance of the solr oai index.
 
  The only place I can find a persistent-parameter is in this config
 file:
  /www/var/data/dspace/config/oaicat.properties
  which I thought was deprecated, but we still set it just to be sure:
  Identify.deletedRecord=persistent
 
  All other relevant config parameters are set in these two files as
 far as I can
 tell:
 
  /www/var/data/dspace/config/modules/oai.cfg
  /www/var/data/dspace/config/crosswalks/oai/description.xml
 
  We are running the oai import -o command nightly.
 
  --
 
  The only way we've found to remove withdrawn items from the OAI feed
 is
 by running a complete re-indexing of the oai solr index:
 
  /www/var/data/dspace/bin/dspace oai import -c
 
  with a subsequent
 
  /www/var/data/dspace/bin/dspace oai clean-cache
 
  This removes a withdrawn item:
 
  https://www.duo.uio.no/handle/10852/42670
 
  completely from the feed:
 
 
 https://www.duo.uio.no/oai/request?verb=GetRecordmetadataPrefix=oai
 _d
  cidentifier=oai:localhost:10852/42670
 
  which is not what we want...
 
  --
 
 
  Is anyone else experiencing the same problem?
 
  Maybe I've missed something - If this actually works differently than
 we
 expect or has been addressed in OAI 2.1, please let me know.
 
 
  regards,
  Kristian Salcedo
  Universitetet of Oslo Library
  Department of digital services
 
 
  --
   Dive into the World of Parallel Programming The Go Parallel
  Website, sponsored by Intel and developed in partnership with Slashdot
  Media, is your hub for all things parallel software development, from
  weekly thought leadership blogs to news, videos, case studies,
  tutorials

Re: [Dspace-tech] OAI-PMH data provider 2.0 not persistent?

2015-03-05 Thread João Melo
Hi Kristian,

I cannot see how your description matches the implementation.
From the implementation withdrawn items are indexed.

https://github.com/DSpace/DSpace/blob/master/dspace-oai/src/main/java/org/dspace/xoai/app/XOAI.java#L248

The only way withdrawn items can disappear from the list is due to usage of
virtual contexts (driver/openaire).
Is that your scenario?

On 5 March 2015 at 15:13, Kristian Roberto Salcedo k.r.salc...@ub.uio.no
wrote:

 Hi Ivan,

 Thank you for answering so swiftly.
 But are you saying that this part of the documentation

 https://wiki.duraspace.org/pages/viewpage.action?pageId=45548245#OAI-PMHDataProvider2.0(Internals)-Deletions
 is incorrect and that Dspace only supports deletions transiently?
 If so, wouldn’t it mean that all who harvest us would have to perform
 complete harvests every time in order to keep track of changes in our
 repository unless we create custom solutions in order to reveal deleted
 status?

 regards,
 Kristian

 -Original Message-
 From: ivan.ma...@gmail.com [mailto:ivan.ma...@gmail.com] On Behalf Of
 helix84
 Sent: Thursday, March 05, 2015 3:46 PM
 To: Kristian Roberto Salcedo
 Cc: dspace-tech@lists.sourceforge.net; João Melo
 Subject: Re: [Dspace-tech] OAI-PMH data provider 2.0 not persistent?
 
 Hi Kristian,
 
 I think you're right that the declared
 deletedRecordpersistent/deletedRecord doesn't match how DSpace
 behaves. I filed a Jira issue and created a pull request to change the
 declared
 status to deletedRecordtransient/deletedRecord.
 
 https://jira.duraspace.org/browse/DS-2491
 
 
 Regards,
 ~~helix84
 
 Compulsory reading: DSpace Mailing List Etiquette
 https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
 
 
 On Thu, Mar 5, 2015 at 2:52 PM, Kristian Roberto Salcedo
 k.r.salc...@ub.uio.no wrote:
  Hi all,
 
  In Dspace 4.2 we are currently seeing that our OAI feeds are not being
 persistent as per these definitions when it comes to deleted (withdrawn)
 items:
 
  http://www.openarchives.org/OAI/openarchivesprotocol.html#deletion
  https://wiki.duraspace.org/pages/viewpage.action?pageId=34640887#OAI-
 P
  MHDataProvider2.0(Internals)-Deletions
 
  Withdrawn items do not get the header status=deleted as they should,
 like in this example:
 
 
 http://webservices.itcs.umich.edu/mediawiki/oaibp/index.php/Deleted_Re
  cord_Example_1
 
  Withdrawing an item is not reflected in the OAI entry in any way.
 
  --
 
  This is our Identify page at the moment:
 
  https://www.duo.uio.no/oai/request?verb=Identify
 
  --
 
  I believe we're doing everything right regarding config parameters and
 maintenance of the solr oai index.
 
  The only place I can find a persistent-parameter is in this config
 file:
  /www/var/data/dspace/config/oaicat.properties
  which I thought was deprecated, but we still set it just to be sure:
  Identify.deletedRecord=persistent
 
  All other relevant config parameters are set in these two files as far
 as I can
 tell:
 
  /www/var/data/dspace/config/modules/oai.cfg
  /www/var/data/dspace/config/crosswalks/oai/description.xml
 
  We are running the oai import -o command nightly.
 
  --
 
  The only way we've found to remove withdrawn items from the OAI feed is
 by running a complete re-indexing of the oai solr index:
 
  /www/var/data/dspace/bin/dspace oai import -c
 
  with a subsequent
 
  /www/var/data/dspace/bin/dspace oai clean-cache
 
  This removes a withdrawn item:
 
  https://www.duo.uio.no/handle/10852/42670
 
  completely from the feed:
 
 
 https://www.duo.uio.no/oai/request?verb=GetRecordmetadataPrefix=oai
 _d
  cidentifier=oai:localhost:10852/42670
 
  which is not what we want...
 
  --
 
 
  Is anyone else experiencing the same problem?
 
  Maybe I've missed something - If this actually works differently than we
 expect or has been addressed in OAI 2.1, please let me know.
 
 
  regards,
  Kristian Salcedo
  Universitetet of Oslo Library
  Department of digital services
 
 
  --
   Dive into the World of Parallel Programming The Go Parallel
  Website, sponsored by Intel and developed in partnership with Slashdot
  Media, is your hub for all things parallel software development, from
  weekly thought leadership blogs to news, videos, case studies,
  tutorials and more. Take a look and join the conversation now.
  http://goparallel.sourceforge.net/
  ___
  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

--
Dive into the World of Parallel Programming The Go Parallel

Re: [Dspace-tech] OAI import via UI or automatically

2015-02-17 Thread João Melo
Hi Andre,

no, currently, there is no way to do that by the UI.

Regards,
Joao

On 17 February 2015 at 10:08, Andre Gomes ago...@itclinical.com wrote:

 Hi,

 The only way to import the items to OAI is by the command line
 'dspace/bin/dspace oai import'?

 This cannot be done automatically when adding an item via JSPUI or
 XMLUI?

 Or cannot be done via JSPUI or XMLUI?

 Thanks is advance for your help.

 André



 --
 Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
 from Actuate! Instantly Supercharge Your Business Reports and Dashboards
 with Interactivity, Sharing, Native Excel Exports, App Integration  more
 Get technology previously reserved for billion-dollar corporations, FREE

 http://pubads.g.doubleclick.net/gampad/clk?id=190641631iu=/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
--
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration  more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=190641631iu=/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] Change context oai

2015-02-04 Thread João Melo
Hi . .,

I am assuming you're using DSpace v3 or more. The configuration you pointed
out is only used by oai to reference back the oai interface.
In order to change the path oai webapp is watching on, you should change
tomcat (if you are using tomcat).
So it really depends on the application container you have and how is it
configured.

If you seek further help, please, explain what web application container
you use (ex.: tomcat) and how is it configured.

On 4 February 2015 at 12:50, . . alsap...@hotmail.es wrote:

 Hi, I have deployed the oai context and works properly, but I need to change
 the URL of http: //.com/aoi to something like this http: //
 .com/_oai

 I have placed in /tomcat/webapps one _aoi.war file, and I added in
 the file oai.cfg line: dspace.baseUrl dspace.oai.url =
 ${dspace.baseUrl}/_oai

 but it does not work properly.

 Any suggestions?


 --
 Dive into the World of Parallel Programming. The Go Parallel Website,
 sponsored by Intel and developed in partnership with Slashdot Media, is
 your
 hub for all things parallel software development, from weekly thought
 leadership blogs to news, videos, case studies, tutorials and more. Take a
 look and join the conversation now. http://goparallel.sourceforge.net/
 ___
 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

--
Dive into the World of Parallel Programming. The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net/___
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 giving incorrect server name for bitstreams

2015-01-08 Thread João Melo
Hi Fred,

look at the following thread
http://dspace.2283337.n4.nabble.com/OAI-2-0-localhost-bitstream-issue-td4675878.html
It might help.

On 8 January 2015 at 14:15, Fred Edwards fred.edwa...@smu.ca wrote:

  Hey folks,



 Server config:

 Dspace v4.2

 Postgresql

 Sun Java



 Does anyone know where the server name is located in config files or db
 that is used to construct URLs for bitstreams for OAI requests



 I originally built dspace using a temporary server name and that name
 seems to have gotten stuck (?)



 I’ve tried searching, especially in OAI related config files, but have had
 no luck…



 I’ve also did a dump of the database to an SQL file and searched it but
 likewise found no indications of the old server name



 The offending block looks like this in an xoai record dump:



 element name=bundle

 field name=nameORIGINAL/field

 element name=bitstreams

 element name=bitstream

 field name=name$.pdf/field

 field name=originalName$.pdf/field

 field name=formatapplication/pdf/field

 field name=size1928382/field

 field name=url
 http://.server.com/xmlui/bitstream/01/25536/1/$.pdf/field





 .server.com should actually be .server.com



 This doesn’t seem to show up anywhere else and certainly hasn’t caused any
 issue with the web pages and links to a records bitstream there.



 In any case, if anyone can help it’d be much appreciated!



 thanks













 














 --
 Dive into the World of Parallel Programming! The Go Parallel Website,
 sponsored by Intel and developed in partnership with Slashdot Media, is
 your
 hub for all things parallel software development, from weekly thought
 leadership blogs to news, videos, case studies, tutorials and more. Take a
 look and join the conversation now. http://goparallel.sourceforge.net
 ___
 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

--
Dive into the World of Parallel Programming! The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net___
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] XOAI ORE filename encoding

2015-01-05 Thread João Melo
Hi German,

check if your tomcat configuration is using UTF-8.
Look at this post
https://blog.oio.de/2010/12/31/solving-tomcat-encoding-problems-in-utf-8-webapps/

On 5 January 2015 at 16:10, Germán Biozzoli germanbiozz...@gmail.com
wrote:

 Hi Hilton  helix

 Hilton, I agree completely about the normalization for the filenames, but
 it's a repository with geographically distributed contributors and it's
 designing its guidelines for deposit. I will recommend this normalization,
 it looks like the URL that you sent could be a very good recommendation.

 Helix, you're right. The encoding is OK. I'll see then the OAIHarvester,
 because it's giving an exception when tries to receive this file (without
 any special character is working OK).

 Regards  thanks
 German

 2015-01-05 12:44 GMT-03:00 helix84 heli...@centrum.sk:

 Hi Germán,

 I'm not sure I see your problem.

 The %C3%B1 sequence is the correct encoding for the ñ character and
 this should work just fine.

 If, OTOH, you're referring to the link not working as a whole, it will
 be because in the source repository you didn't configure the
 repository host name (bitstream.baseUrl in
 [dspace]/config/modules/oai.cfg).


 Regards,
 ~~helix84

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




 --
 Dive into the World of Parallel Programming! The Go Parallel Website,
 sponsored by Intel and developed in partnership with Slashdot Media, is
 your
 hub for all things parallel software development, from weekly thought
 leadership blogs to news, videos, case studies, tutorials and more. Take a
 look and join the conversation now. http://goparallel.sourceforge.net
 ___
 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

--
Dive into the World of Parallel Programming! The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net___
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] XOAI problem with qdc

2014-12-29 Thread João Melo
Hi German,

just a quick heads up on this. The QDC xsl definition was actually wrong,
there was no root element. The exception being thrown was due to the
invalid xml generated.

You can easily fix the issue by replacing the qdc.xsl file by the following
one https://gist.github.com/lyncodev/a384da4cefc751158315

Regards,
Joao

On 29 December 2014 at 09:49, helix84 heli...@centrum.sk wrote:

 I was able to confirm the bug and I created a Jira issue. For further
 conversation, please watch the issue:

 https://jira.duraspace.org/browse/DS-2386


 Regards,
 ~~helix84

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


 --
 Dive into the World of Parallel Programming! The Go Parallel Website,
 sponsored by Intel and developed in partnership with Slashdot Media, is
 your
 hub for all things parallel software development, from weekly thought
 leadership blogs to news, videos, case studies, tutorials and more. Take a
 look and join the conversation now. http://goparallel.sourceforge.net
 ___
 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

--
Dive into the World of Parallel Programming! The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net___
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] XOAI problem with qdc

2014-12-29 Thread João Melo
Hi German,

that is another issue already fixed on master (unbounded xml).

https://github.com/DSpace/DSpace/pull/813

This might work, but I am not 100% confident.
Try to build your local dspace by changing the xoai dependency:

- Go to dspace-oai/pom.xml
- Search for xoai.version3.2.7/xoai.version
- Replace it with xoai.version3.2.9/xoai.version

Then the usual build steps 'mvn clean package'  'ant update_webapps'

On 29 December 2014 at 15:35, Germán Biozzoli germanbiozz...@gmail.com
wrote:

 Dear João

 Thanks! Now it's working OK, at least does not appear the 500 error and
 the xsl is correctly applied from server side.

 One more doubt: I'm trying to harvest from an older production instance
 (3.2 version). It says in both cases (oai_dc and qdc)  that the prefix
 oai_dc and qdc are not bound. Exactly the error is:

 Running: a harvest cycle on 855
 Initializing the harvester... Looking up by id: 855, parsed as '855', in
 context: org.dspace.core.Context@18e609b
 success.
 Harvest started...
 [Fatal Error] :1:1180: The prefix qdc for element qdc:qualifieddc is
 not bound.
 org.xml.sax.SAXParseException: The prefix qdc for element
 qdc:qualifieddc is not bound.
 at org.apache.xerces.parsers.DOMParser.parse(Unknown Source)
 at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown
 Source)

 But it looks that the root element has the appropiate namespace bounded,
 isn't it?


 qdc:qualifieddc xmlns:qdc=http://dspace.org/qualifieddc/;
 xmlns:dc=http://purl.org/dc/elements/1.1/;
 xmlns:dcterms=http://purl.org/dc/terms/;
 xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; xsi:schemaLocation=
 http://purl.org/dc/elements/1.1/
 http://dublincore.org/schemas/xmls/qdc/2006/01/06/dc.xsd
 http://purl.org/dc/terms/
 http://dublincore.org/schemas/xmls/qdc/2006/01/06/dcterms.xsd
 http://dspace.org/qualifieddc/
 http://www.ukoln.ac.uk/metadata/dcmi/xmlschema/qualifieddc.xsd;

 Any (other) idea?
 Regards  thanks again
 Germán



 2014-12-29 9:06 GMT-03:00 João Melo jm...@lyncode.com:

 Hi German,

 just a quick heads up on this. The QDC xsl definition was actually wrong,
 there was no root element. The exception being thrown was due to the
 invalid xml generated.

 You can easily fix the issue by replacing the qdc.xsl file by the
 following one https://gist.github.com/lyncodev/a384da4cefc751158315

 Regards,
 Joao

 On 29 December 2014 at 09:49, helix84 heli...@centrum.sk wrote:

 I was able to confirm the bug and I created a Jira issue. For further
 conversation, please watch the issue:

 https://jira.duraspace.org/browse/DS-2386


 Regards,
 ~~helix84

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


 --
 Dive into the World of Parallel Programming! The Go Parallel Website,
 sponsored by Intel and developed in partnership with Slashdot Media, is
 your
 hub for all things parallel software development, from weekly thought
 leadership blogs to news, videos, case studies, tutorials and more. Take
 a
 look and join the conversation now. http://goparallel.sourceforge.net
 ___
 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




--
Dive into the World of Parallel Programming! The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net___
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 2.0 localhost/bitstream issue

2014-12-15 Thread João Melo
Hi Tim,

(ignore my previous reply)

from what you describe seems like the problem could be related with the
index phase. In terms of troubleshooting make sure:

- The DSpace script is pointing to the exact same configuration file as the
DSpace/OAI WebApp instance is.
- The property bitstream.baseUrl property on dspace/config/modules/oai.cfg
is pointing to the base url you're using.

Regards,
Joao

On 15 December 2014 at 16:27, João Melo jm...@lyncode.com wrote:

 Hi Tim,

 from what you describe seems like the problem could be related with either
 the index phase. In terms of troubleshooting make sure:

 - The DSpace script is pointing to the exact same configuration file as
 the DSpace/OAI WebApp instance is.
 - Make sure the property bitstream.baseUrl property
 on dspace/config/modules/oai.cfg is pointing to the base url you're using.

 Regards,
 Joao

 On 15 December 2014 at 16:04, Tim Au Yeung y...@ucalgary.ca wrote:

  This is the confusing part on my end of things — the config file is set
 for the new URL. The correct URL shows up as a the permanent URL on the
 item page and in the e-mail sent when the item is submitted. I’ve cleaned
 the OAI cache and emptied and reimported the items and restarted the server
 several times. The only place localhost shows up in the config file is for
 the DB connection and mail host connection (which are correct).

  Tim

   From: Alexander Wong amd...@gmail.com
 Date: Mon, 15 Dec 2014 11:25:14 +0800
 To: dspace-tech dspace-tech@lists.sourceforge.net
 Subject: Re: [Dspace-tech] OAI 2.0 localhost/bitstream issue

  Dear Tim,

  Have you tried to look at dspace.cfg? It should be following the URL
 you set at dspace.cfg.

  Regards,
 Alexander Wong

  Systems Librarian, HK PolyU Library

 On Fri, Dec 12, 2014 at 5:27 AM, Tim Au Yeung y...@ucalgary.ca wrote:

  Hi all,

  We’ve been doing an upgrade and left the canonical URL as localhost
 while in development on our test server. We’re testing the other functions
 now and set the canonical URL to the machine’s IP address. Everything seems
 to work (DSpace sends e-mails with the correct URL and the correct
 persistent URL shows up in the item listing) but the bitstream URL for the
 OAI server continues to display localhost:8080 for the bitstream URL field.
 We cleared the OAI Solr index and re-imported the items as well as clearing
 the cache. Any suggestions on what else to try?

  Thanks,
 Tim


 --
 Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
 from Actuate! Instantly Supercharge Your Business Reports and Dashboards
 with Interactivity, Sharing, Native Excel Exports, App Integration  more
 Get technology previously reserved for billion-dollar corporations, FREE

 http://pubads.g.doubleclick.net/gampad/clk?id=164703151iu=/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

  
 --
 Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server from
 Actuate! Instantly Supercharge Your Business Reports and Dashboards with
 Interactivity, Sharing, Native Excel Exports, App Integration  more Get
 technology previously reserved for billion-dollar corporations, FREE
 http://pubads.g.doubleclick.net/gampad/clk?id=164703151iu=/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


 --
 Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
 from Actuate! Instantly Supercharge Your Business Reports and Dashboards
 with Interactivity, Sharing, Native Excel Exports, App Integration  more
 Get technology previously reserved for billion-dollar corporations, FREE

 http://pubads.g.doubleclick.net/gampad/clk?id=164703151iu=/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


--
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration  more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=164703151iu=/4140

Re: [Dspace-tech] OAI problems, with Dspace 5.0 Snapshot

2014-06-24 Thread João Melo
Hi Robin,

yes, those namespaces should be in the output and are, currently, missing.
That's a bug, a major bug.

I'm going to take care of that one. I'm going to create a jira issue to
track this one.



On 24 June 2014 23:27, Robin Harper robin.har...@barnet.com.au wrote:

  Forgive me if this should really go into dspace-devel

  I am having problems with OAI, and unspecified errors if I try and
 harvest from the 5.0-snapshot dspace I am using.

  Using a browser to query the OAI all looks well (although different from
 the demo.dspace) until I send a command like this.

  /oai/request?verb=ListRecordsmetadataPrefix=oai_dcset=col_11003_2946

  Then I get in the browser (firefox)

   XML Parsing Error: prefix not bound to a namespace
 Location:
 http://dspace.barnet.com.au:8080/oai/request?verb=ListRecordsmetadataPrefix=oai_dcset=col_11003_2946
 Line Number 1, Column 707:

   (Safari just fails quietly.)

  I *think* the problem is that I am missing some headers:

  Before each record I have

  metadataoai_dc:dc 
 xsi:schemaLocation=http://www.openarchives.org/OAI/2.0/oai_dc/ 
 http://www.openarchives.org/OAI/2.0/oai_dc.xsd;dc:titleSome 
 title/dc:title

 But I think there should be more there for instance demo.dspace has

  metadataoai_dc:dc xmlns:oai_dc=
 http://www.openarchives.org/OAI/2.0/oai_dc/; xmlns:doc=
 http://www.lyncode.com/xoai; xmlns:xsi=
 http://www.w3.org/2001/XMLSchema-instance; xmlns:dc=
 http://purl.org/dc/elements/1.1/; xsi:schemaLocation=
 http://www.openarchives.org/OAI/2.0/oai_dc/
 http://www.openarchives.org/OAI/2.0/oai_dc.xsd;

  I can probably fix this - if its the right problem, but just wondered if
 it was a known problem with a known fix? I may be misreading it, but none
 of the pull requests in the jira appear to be on point.

  Thanks

  Robin



 --
 Open source business process management suite built on Java and Eclipse
 Turn processes into business applications with Bonita BPM Community Edition
 Quickly connect people, data, and systems into organized workflows
 Winner of BOSSIE, CODIE, OW2 and Gartner awards
 http://p.sf.net/sfu/Bonitasoft
 ___
 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

--
Open source business process management suite built on Java and Eclipse
Turn processes into business applications with Bonita BPM Community Edition
Quickly connect people, data, and systems into organized workflows
Winner of BOSSIE, CODIE, OW2 and Gartner awards
http://p.sf.net/sfu/Bonitasoft___
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 OAI-PMH harvesting

2014-05-15 Thread João Melo
Hi Guillermo,

This might be a question for the OJS community. I do not know how its
OAI-PMH interface works.

From the Dspace point of view if the item appears in the list again it will
be updated.

So you just need to make sure OJS OAI-PMH interface works properly in this
situations.

From my mobile
On 15 May 2014 16:29, Guillermo Esteban Murillo Goussen mem...@gmail.com
wrote:

 Hi folks, some questions about harvesting updated items:

 Supose there's an item in DSpace, harvested from OJS, with the title:

  JAVA Programming 101

 Then, the item at OJS changes its title to:

 Java Programming 101

 The automatic harvesting is on, so the next month when DSpace harvests
 from OJS:

 1- The new title qualifes as an update so the item will be harvested
 again?
 2- If it is harvested again, will it create a new record at Dspace or will
 overwrite the pre-existing item?

 Thanks,

 Guillermo Murillo Goussen
 www.kerwa.ucr.ac.cr

 --
 La pureza del alma no se pierde sin consentimiento


 --
 Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
 Instantly run your Selenium tests across 300+ browser/OS combos.
 Get unparalleled scalability from the best Selenium testing platform
 available
 Simple to use. Nothing to install. Get started now for free.
 http://p.sf.net/sfu/SauceLabs
 ___
 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

--
Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
Instantly run your Selenium tests across 300+ browser/OS combos.
Get unparalleled scalability from the best Selenium testing platform available
Simple to use. Nothing to install. Get started now for free.
http://p.sf.net/sfu/SauceLabs___
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 harvesting and validation with Open Archives validation

2014-04-17 Thread João Melo
Hi David,

Looks like a caching issue. Have you upated your dspace? Or is this a fresh
install? Clean the OAI cache, it should fix it.

Let me know if it worked for you

From my mobile
On 17 Apr 2014 14:04, Schuster, David dschus...@mail.twu.edu wrote:

  That is very odd...  I'm running Dspace 4.1, on Debian, postgresql.  What
 is the demo running on?



 David Schuster

 Texas Woman's University

 Director of Library Information Technology  Technical Support

 Phone: 940-898-3909

 dschus...@twu.edu



 [image: Description: emailsignature]



 *From:* bluy...@gmail.com [mailto:bluy...@gmail.com] *On Behalf Of *Bram
 Luyten
 *Sent:* Thursday, April 17, 2014 6:43 AM
 *To:* Schuster, David
 *Cc:* dspace-tech@lists.sourceforge.net
 *Subject:* Re: [Dspace-tech] OAI harvesting and validation with Open
 Archives validation



 Hi David,



 interesting challenge.



 So far I didn't succeed in reproducing this problem on demo.dspace.org.
 The following query does return the result with exactly this modified date:




 http://demo.dspace.org/oai/request?verb=ListRecordsfrom=2014-04-16T11:13:35Zuntil=2014-04-16T11:13:35ZmetadataPrefix=oai_dc



 Trying this on your own server with a different item also returns a result:




 http://poar.twu.edu/oai/request?verb=ListRecordsfrom=2014-02-04T08:01:23Zuntil=2014-02-04T08:01:23ZmetadataPrefix=oai_dc



 So I'm puzzled by what you're seeing for the item you reported.



 rgds



 Bram



 --

 [image: logo]

 *Bram Luyten* +1 202 684 6365
 *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=braml




 On Wed, Apr 16, 2014 at 7:17 PM, Schuster, David dschus...@mail.twu.edu
 wrote:

 I am trying to validate my system with Open Archives with OAI, but am
 getting the following error.



 Complete log available at

 http://www.openarchives.org/Register/ValidateSite?log=15723


 ..

 Unfortunately your repository did not validate at version 2.0 of the
 OAI-PMH according to our OAI protocol conformance tester. The errors
 received during testing are listed below.



 [1] ListRecords response gave a noRecordsMatch error when it should have
 included at least the record with identifier oai:poar.twu.edu:11274/73.
 The from and until parameters of the request were set to the datestamp of
 this record (2014-02-04T08:00:52Z). The from and until parameters are
 inclusive, see protocol spec section 2.7.1. The message included in the
 error response

 was: 'No matches for the query'

 SUMMARY:

 Total exceptions improperly handled: 1 out of 15 Total error count: 1



 When I investigate this particular error, my system isn't providing
 anything back in this range, but if you move the seconds apart one it will
 locate the appropriate resource, just not the one edited at that specific
 second.



 Test validation that fails


 http://poar.twu.edu/oai/request?verb=ListRecordsfrom=2014-02-04T08:00:52Zuntil=2014-02-04T08:00:52ZmetadataPrefix=oai_dc



 Retrieves appropriate document:


 http://poar.twu.edu/oai/request?verb=ListRecordsfrom=2014-02-04T08:00:51Zuntil=2014-02-04T08:00:52ZmetadataPrefix=oai_dc



 So is there a way to modify the OAI request to be between or equals?



 David Schuster

 Texas Woman's University

 Director of Library Information Technology  Technical Support

 Phone: 940-898-3909

 dschus...@twu.edu



 [image: Description: emailsignature]





 --
 Learn Graph Databases - Download FREE O'Reilly Book
 Graph Databases is the definitive new guide to graph databases and their
 applications. Written by three acclaimed leaders in the field,
 this first edition is now available. Download your free book today!
 http://p.sf.net/sfu/NeoTech
 ___
 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




 --
 Learn Graph Databases - Download FREE O'Reilly Book
 Graph Databases is the definitive new guide to graph databases and their
 applications. Written by three acclaimed leaders in the field,
 this first edition is now available. Download your free book today!
 http://p.sf.net/sfu/NeoTech
 ___
 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

inline: image001.png--
Learn Graph Databases - Download FREE O'Reilly Book
Graph Databases is the 

Re: [Dspace-tech] XOAI No Matches for the query error

2014-02-04 Thread João Melo
Hi Hilton,

Anything in the logs? Any exception being thrown?
On 4 Feb 2014 08:19, Hilton Gibson hilton.gib...@gmail.com wrote:

 PS: When using the METS, then records are displayed. This is the URL used:
 http://repository.sun.ac.za/oai/request?verb=ListRecordsmetadataPrefix=mets
 and
 http://repository.sun.ac.za/oai/request?verb=ListIdentifiersmetadataPrefix=mets

 The repository.sun.ac.za server is only available on-campus.

 Cheers

 hg

 *Hilton Gibson*
 Ubuntu Linux Systems Administrator
 JS Gericke Library
 Room 1025D
 Stellenbosch University
 Private Bag X5036
 Stellenbosch
 7599
 South Africa

 Tel: +27 21 808 4100 | Cell: +27 84 646 4758
 http://scholar.sun.ac.za
 http://bit.ly/goodir
 http://library.sun.ac.za
 http://za.linkedin.com/in/hiltongibson


 On 3 February 2014 18:56, Hilton Gibson hilton.gib...@gmail.com wrote:

 Hi All

 See attached [1] for screenshot, when attempting:
 http://repository.sun.ac.za/oai/request?verb=ListRecordsmetadataPrefix=oai_dc

 ==System==
 DSpace 3.2, Ubuntu 12.04

 ==Problem==
 See screenshot

 ==Remedies Attempted==
 1. Did full import using: /home/dspace/bin/dspace oai import -o -v -c
 2. Did full cache clean.
 3. Rechecked oai.cfg file. See attached [2]
 4. Did various rebuilds, no luck.

 Any help appreciated.

 Cheers

 *Hilton Gibson*
 Ubuntu Linux Systems Administrator
 JS Gericke Library
 Room 1025D
 Stellenbosch University
 Private Bag X5036
 Stellenbosch
 7599
 South Africa

 Tel: +27 21 808 4100 | Cell: +27 84 646 4758
 http://scholar.sun.ac.za
 http://bit.ly/goodir
 http://library.sun.ac.za
 http://za.linkedin.com/in/hiltongibson




 --
 Managing the Performance of Cloud-Based Applications
 Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
 Read the Whitepaper.

 http://pubads.g.doubleclick.net/gampad/clk?id=121051231iu=/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

--
Managing the Performance of Cloud-Based Applications
Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
Read the Whitepaper.
http://pubads.g.doubleclick.net/gampad/clk?id=121051231iu=/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] {Disarmed} OAI: sets through metadata?

2014-01-30 Thread João Melo
Hi,

OAI-ORE will work with OAI Extended.
The OAI Extended add-on doesn't affects the OAI functionality at all, it
just adds an extra layer in front of the processed OAI result,
hiding/modifying the retrieved results.
The add-on and more useful information could be found in the RCAAP project
pagehttp://projeto.rcaap.pt/index.php/lang-pt/consultar-recursos-de-apoio/remository?func=fileinfoid=344
.

I should warn you that OAI Extended is unscalable, if you have a large
repository (1 items) I strongly advise to start thinking about
upgrading the DSpace version.


On 30 January 2014 12:59, helix84 heli...@centrum.sk wrote:

 On Thu, Jan 30, 2014 at 1:42 PM, M. Àngels Pulido
 m.angels.pul...@uvic.cat wrote:
  I have only one question. This addon also works if this institution is
 harvesting our data with OAI-ORE, not OAI-PMH?

 Yes, this is supported even out of the box:
 http://dspace.uvic.cat:/oai/request?verb=ListMetadataFormats
 http://dspace.uvic.cat:/xmlui/metadata/handle/10854/2217/ore.xml


 Regards,
 ~~helix84

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


 --
 WatchGuard Dimension instantly turns raw network data into actionable
 security intelligence. It gives you real-time visual feedback on key
 security issues and trends.  Skip the complicated setup - simply import
 a virtual appliance and go from zero to informed in seconds.

 http://pubads.g.doubleclick.net/gampad/clk?id=123612991iu=/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




-- 
Thanks, João Melo (My Portfolio http://www.lyncode.com/m/jmelo/)
DSpace Department
*Lyncode*: Official
websitehttp://www.google.com/url?q=http%3A%2F%2Fwww.lyncode.com%2Fsa=Dsntz=1usg=AFrqEzdV8iS6rMxflxnn138XReuRfUG3OQ
[image: Follow us on
Facebook]http://www.google.com/url?q=http%3A%2F%2Ftwitter.com%2Flyncodesa=Dsntz=1usg=AFrqEzeDuT3ZqMW5uVIA8AoxtTtAeiCX3Q
http://www.google.com/url?q=http%3A%2F%2Fwww.facebook.com%2Flyncodesa=Dsntz=1usg=AFrqEzcWXjHa3gKBGLsNVxktapxkiWDnww
--
WatchGuard Dimension instantly turns raw network data into actionable 
security intelligence. It gives you real-time visual feedback on key
security issues and trends.  Skip the complicated setup - simply import
a virtual appliance and go from zero to informed in seconds.
http://pubads.g.doubleclick.net/gampad/clk?id=123612991iu=/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] Why are my items not available via the OAI-PMH Data Provider ?

2014-01-26 Thread João Melo
Hi Patrick,

try to run bin/dspace oai clean-cache. Does the problem persists?


On 26 January 2014 07:13, Patrick Rynhart p.rynh...@massey.ac.nz wrote:

 On 15/01/2014 11:26 p.m., helix84 wrote:
  Hi Patrick,
 
  which exact DSpace version are you running? It seems you're running
  3.x or 4.x. I see two possibilities:
 
  1) you didn't run [dspace]/bin/oai import, see [1]
  2) if it's not 1) and you're on DSpace 3.x you may have encountered
  the OAI timezone bug (I think it was [2]). In this case upgrade to 4.0
  should resolve the issue.
 
  [1]
 https://wiki.duraspace.org/display/DSDOC3x/OAI+2.0+Server#OAI2.0Server-ScheduledTasks
  [2] https://jira.duraspace.org/browse/DS-1445

 Hi all,

 Thank you for your replies.

 Firstly, I hadn't run the dspace oai import command (either by hand or
 via a cronjob), so thanks for picking up on this.  However, upon doing
 so, I'm still running into an issue that I'm not sure how to resolve.
 The server is running a clean install of DSpace v3.2 and only contains a
 small number of (test) items.

 The first anomaly is that not all of our collections are being
 displayed.  Our Community list (via the DSpace UI) is at:

 http://tur-ds-darkdev1.massey.ac.nz:8080/community-list

 As an example, the Collection Test Collection - OPEN (with handle
 123456789/20) isn't showing up in the OAI Server at:

 http://tur-ds-darkdev1.massey.ac.nz:8080/oai/request?verb=ListSets

 Below is the full output of /usr/local/dspace/bin/dspace oai import -o
 -v -c (which I have run by hand at the time of writing this message).
 I note that the set (with handle 123456789/20) isn't listed in the
 output below - should it be ?  If so, how can I troubleshoot this
 problem ?  (Note that the item at
 http://tur-ds-darkdev1.massey.ac.nz:8080/handle/123456789/21 is within
 the collection 123456789/20 - the item itself 123456789/21 is being
 indexed, but the set it is in (123456789/20) appears not to be.)

 Thanks again,

 Patrick

 Output:

   INFO [main] (DSpaceKernelInit.java:52) - Created new kernel:

 DSpaceKernel:org.dspace:name=0d220f39-e9db-43b7-8cd2-28ac2f2b7286,type=DSpaceKernel:lastLoad=null:loadTime=0:running=false:kernel=null
   INFO [main] (ConfigurationManager.java:1224) - Loading from
 classloader: file:/usr/local/dspace/config/dspace.cfg
   INFO [main] (ConfigurationManager.java:1224) - Using dspace provided
 log configuration (log.init.config)
   INFO [main] (ConfigurationManager.java:1224) - Loading:
 /usr/local/dspace/config/log4j.properties
 OAI 2.0 manager action started
 Clearing index
 Index cleared
 Using full import.
 Full import
 Item with handle 123456789/9 indexed
 Item with handle 123456789/3 indexed
 Item with handle 123456789/4 indexed
 Item with handle 123456789/5 indexed
 Item with handle 123456789/6 indexed
 Item with handle 123456789/13 indexed
 Item with handle 123456789/21 indexed
 Item with handle 123456789/22 indexed
 Item with handle 123456789/8 indexed
 Item with handle 123456789/23 indexed
 Item with handle 123456789/14 indexed
 Item with handle 123456789/15 indexed
 Item with handle 123456789/16 indexed
 Item with handle 123456789/17 indexed
 Item with handle 123456789/18 indexed
 Item with handle 123456789/11 indexed
 Item with handle 123456789/19 indexed
 Item with handle 123456789/10 indexed
 Item with handle 123456789/12 indexed
 Total: 19 items
 Optimizing Index
 Index optimized
 OAI 2.0 manager action ended. It took 3 seconds.


 
 
  Regards,
  ~~helix84
 
  Compulsory reading: DSpace Mailing List Etiquette
  https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
 
 
 --
  CenturyLink Cloud: The Leader in Enterprise Cloud Services.
  Learn Why More Businesses Are Choosing CenturyLink Cloud For
  Critical Workloads, Development Environments  Everything In Between.
  Get a Quote or Start a Free Trial Today.
 
 http://pubads.g.doubleclick.net/gampad/clk?id=119420431iu=/4140/ostg.clktrk
 




 --
 CenturyLink Cloud: The Leader in Enterprise Cloud Services.
 Learn Why More Businesses Are Choosing CenturyLink Cloud For
 Critical Workloads, Development Environments  Everything In Between.
 Get a Quote or Start a Free Trial Today.

 http://pubads.g.doubleclick.net/gampad/clk?id=119420431iu=/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




-- 
Thanks, João Melo (My Portfolio http://www.lyncode.com/m/jmelo/)
DSpace Department
*Lyncode*: Official
websitehttp://www.google.com/url?q=http%3A%2F%2Fwww.lyncode.com%2Fsa=Dsntz=1usg=AFrqEzdV8iS6rMxflxnn138XReuRfUG3OQ
[image: Follow us on
Facebook]http://www.google.com/url?q=http%3A%2F%2Ftwitter.com%2Flyncodesa=Dsntz=1usg

Re: [Dspace-tech] Driver and Openaire sets under request URL

2013-11-28 Thread João Melo
Hi Ruiz,

I've already had some discussion around that issue.

Yes, it's possible to have those sets available in the default request
context.
However, the Driver and OpenAIRE projects have specific guidelines witch
force OAI data providers to exposed data values in a distinct fashion way
when compared with the default DSpace responses. For example, the Driver
guidelines demand for a different date format, also there are some
mandatory prefixes for the dc.type and dc.rights. When it comes to OpenAIRE
there are some subtle differences against the default and Driver responses
too.

So, again, you could have this sets defined in the default context, but is
that what you really want?
If you want so, within the definition of the set (xoai.xml) it's possible
to declare the list of associated filters, which would be the same defined
in the driver and openaire contexts respectively.
If you need further help, just ask, is just a configuration change.



On 28 November 2013 09:12, RUIZ MORENO, ROBERT robert.r...@upf.edu wrote:

 Hi everyone,

 I'm using DSpace 3.1 XMLUI.

 I'm experimenting with the new xoai OAI 2.0 implementation.

 As I've seen, now the implementation is DRIVER and OPENAIRE compliant, and
 thus exists three availables url's:

 http://oai-url/request
 http://oai-url/driver
 http://oai-url/openaire

 Driver generates driver set and, openaire generates ec_fundedresources
 set, but those sets only are available under driver and openaire url's,
 respectively, but not under request url.

 My wish is that driver and openaire sets were available under
 request url.

 How can accomplish that feature?

 Thanks in advance.

 Robert Ruiz





 --
 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=84349351iu=/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




-- 
Thanks, João Melo (My Portfolio http://www.lyncode.com/m/jmelo/)
DSpace Department
*Lyncode*: Official
websitehttp://www.google.com/url?q=http%3A%2F%2Fwww.lyncode.com%2Fsa=Dsntz=1usg=AFrqEzdV8iS6rMxflxnn138XReuRfUG3OQ
[image: Follow us on
Facebook]http://www.google.com/url?q=http%3A%2F%2Ftwitter.com%2Flyncodesa=Dsntz=1usg=AFrqEzeDuT3ZqMW5uVIA8AoxtTtAeiCX3Q
http://www.google.com/url?q=http%3A%2F%2Fwww.facebook.com%2Flyncodesa=Dsntz=1usg=AFrqEzcWXjHa3gKBGLsNVxktapxkiWDnww
--
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=84349351iu=/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 v3 and uketd_dc OAI?

2013-10-30 Thread João Melo
+Etiquette
 


 --
 The University of Stirling has been ranked in the top 12 of UK
 universities for graduate employment*.
 94% of our 2012 graduates were in work and/or further study within six
 months of graduation.
 *The Telegraph
 The University of Stirling is a charity registered in Scotland, number SC
 011159.


 --
 Android is increasing in popularity, but the open development platform that
 developers love is also attractive to malware creators. Download this white
 paper to learn more about secure code signing practices that can help keep
 Android apps secure.
 http://pubads.g.doubleclick.net/gampad/clk?id=65839951iu=/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




-- 
Thanks, João Melo (My Portfolio http://www.lyncode.com/m/jmelo/)
DSpace Department
*Lyncode*: Official
websitehttp://www.google.com/url?q=http%3A%2F%2Fwww.lyncode.com%2Fsa=Dsntz=1usg=AFrqEzdV8iS6rMxflxnn138XReuRfUG3OQ
[image: Follow us on
Facebook]http://www.google.com/url?q=http%3A%2F%2Ftwitter.com%2Flyncodesa=Dsntz=1usg=AFrqEzeDuT3ZqMW5uVIA8AoxtTtAeiCX3Q
http://www.google.com/url?q=http%3A%2F%2Fwww.facebook.com%2Flyncodesa=Dsntz=1usg=AFrqEzcWXjHa3gKBGLsNVxktapxkiWDnww
--
Android is increasing in popularity, but the open development platform that
developers love is also attractive to malware creators. Download this white
paper to learn more about secure code signing practices that can help keep
Android apps secure.
http://pubads.g.doubleclick.net/gampad/clk?id=65839951iu=/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 v3 and uketd_dc OAI?

2013-10-30 Thread João Melo
Because, there are 2 possible solutions, and the solution depends on what
makes sense :) - yeh! It makes sense to make sense.

*1. Filtering and Metadata Format tied*

This solution associates to the Format definition a Filter, so then, for
this specific Schema/Format, only a subset of items would be shown.
You may want to look at the following example.

https://gist.github.com/lyncodev/7232812

Basically, it specifies a Filter within the Format, so then you could query
the OAI interface with something like:

http://*hostname*:*port*/oai/request?verb=ListRecordsmetadataPrefix=*
uketd_dc*

*2. Filtering and Metadata Format decoupled*

This solution decouples the Item Selection phase from the Formatting phase.
It requires a 2 steps:

1 - Configure one specific set (or context) to select only Thesis items.
2 - Modify the uketd_dc format accordingly.

So then it would be possible to query the OAI interface for thesis items
using that format. Something like: http://*hostname*:*port*
/oai/request?verb=ListRecordsset=*thesis*metadataPrefix=*uketd_dc*


On 30 October 2013 13:07, João Melo jm...@lyncode.com wrote:

 Hi Michael,

 *My understanding is that this is in dc.type - I'm currently liaising
 with a number of other DSpace users that participate in the EThOS service
 (the primary consumers of uketd_dc metadata) as there may well be more than
 one value - I'm hoping though that all the different variations will, at
 the very least, all contain the word Thesis, so my first question is to
 ask if you know if it is possible to use pattern matching to carry out the
 filtering in xoai.xsl? I am intending to investigate this further, I just
 haven't got to it yet, but if anyone knows the answer it would be helpful
 at this stage!*

 Just a simple question. Makes sense to use uketd_dc schema for non-thesis
 types?



 On 30 October 2013 11:51, Michael White michael.wh...@stir.ac.uk wrote:

 Hi,

  Please, file a new Jira issue for this:

 With apologies for the delay getting around to it, but I have now done
 this: https://jira.duraspace.org/i#browse/DS-1740 - this is my first
 time adding a JIRA ticket, so I hope everything is OK, but feel free to let
 me know or change anything if not :-)

- the output is not limited to only Theses
 
  What metadata field and value(s) in DSpace specifies that the item is a
 thesis?

 My understanding is that this is in dc.type - I'm currently liaising with
 a number of other DSpace users that participate in the EThOS service (the
 primary consumers of uketd_dc metadata) as there may well be more than one
 value - I'm hoping though that all the different variations will, at the
 very least, all contain the word Thesis, so my first question is to ask
 if you know if it is possible to use pattern matching to carry out the
 filtering in xoai.xsl? I am intending to investigate this further, I just
 haven't got to it yet, but if anyone knows the answer it would be helpful
 at this stage!

 In terms of dc.type - I've also noted an issue with this attribute - it
 looks to me like any dc.type or dc.type.* attributes are being concatenated
 into a single dc.type attribute before the data reaches the uketd_dc
 crosswalk (? Please correct me if I'm wrong!)  - I don't think this
 behaviour is correct in uketd_dc as there are a couple of qualified dc.type
 attributes that are mapped to their own uketd_dc elements, so I'm hoping
 that it will be possible to prevent this behaviour when generating uketd_dc
 OAI metadata (again, not had a chance to look myself yet, but will!)?

  Please, provide the mapping of DSpace fields to uketd_dc fields (this
 will be
  an update to uketd_dc.xsl).

 I am currently working on this specification, which is nearly complete,
 and liaising with other institutions to ensure that the specified mapping
 is as generic as possible and so will work for the majority of institutions
 out of the box - alongside this I'm also creating a uketd_dc.xsl
 crosswalk that implements that specification, and, once complete, hopefully
 the folk from EThOS will be able to validate the output for us.

 I'm hoping that all this will only take a couple of weeks to sort out
 (other work commitments allowing), but that may, of course, be a bit
 optimistic :-)

 I hope that covers where I'm currently at and what I'm hoping to achieve,
 but of course, if anyone has any questions, comments, or concerns (or any
 pointers for any of the issues noted above), or if you are interested in
 participating in the specification/testing of this crosswalk (and haven't
 been in touch so far), then please don't hesitate to get back to me.

 Regards,

 Mike


 Michael White
 eLearning Liaison and Development (eLD)
 Information Services
 S8, Library
 University of Stirling
 Stirling SCOTLAND
 FK9 4LA
 Email: michael.wh...@stir.ac.uk
 Tel: +44 (0) 1786 466877
 Fax: +44 (0) 1786 466880
 http://www.stir.ac.uk/is/staff/about/teams/aldt/#eld


  -Original Message-
  From: ivan.ma...@gmail.com

Re: [Dspace-tech] DSpace v3 and uketd_dc OAI?

2013-10-30 Thread João Melo
Hi Micheal,

you could provide multiple fields do be checked, let's say (for example):

Filter id=thesisFilter

Classorg.dspace.xoai.filter.DSpaceAtLeastOneMetadataFilter/Class
Parameter key=field
Valuedc.type/Value
/Parameter
Parameter key=operator
Valuecontains/Value
/Parameter
Parameter key=value
Valuethesis/Value
/Parameter
/Filter





On 30 October 2013 14:37, Michael White michael.wh...@stir.ac.uk wrote:

 Hi Paul,

  * EThOS does expect *only* theses to be exposed using uketd_dc via
 OAI-PMH
  * '1. Filtering and Metadata Format tied' is the preferred solution in
 this instance

 Many thanks for the confirmation/clarification - and, thanks to the fully
 formed example provided by João Melo (cheers!), I now have this working in
 my v3 DEV repository - i.e. I'm now providing (pretty good, although not
 yet perfect) uketd_dc for the theses only  via
 http://dspace3.stir.ac.uk/oai/request?verb=ListRecordsmetadataPrefix=uketd_dc:-)

 The next problem is dis-aggregating the dc.type.* attributes - I'm about
 to start investigating this, but if anyone has any pointers as to where to
 look (is this code or configuration?) that would be very helpful.

 Cheers,

 Mike

 Michael White
 eLearning Liaison and Development (eLD)
 Information Services
 S8, Library
 University of Stirling
 Stirling SCOTLAND
 FK9 4LA
 Email: michael.wh...@stir.ac.uk
 Tel: +44 (0) 1786 466877
 Fax: +44 (0) 1786 466880
 http://www.stir.ac.uk/is/staff/about/teams/aldt/#eld


  -Original Message-
  From: Needham, Paul [mailto:p.a.need...@cranfield.ac.uk]
  Sent: 30 October 2013 14:10
  To: Michael White; João Melo
  Cc: dspace-tech@lists.sourceforge.net
  Subject: RE: [Dspace-tech] DSpace v3 and uketd_dc OAI?
 
  Hi Mike
 
  Just to confirm:
 
  * EThOS does expect *only* theses to be exposed using uketd_dc via OAI-
  PMH
  * '1. Filtering and Metadata Format tied' is the preferred solution in
 this
  instance
 
  Cheers
  Paul
 
  -Original Message-
  From: Michael White [mailto:michael.wh...@stir.ac.uk]
  Sent: 30 October 2013 13:50
  To: João Melo
  Cc: dspace-tech@lists.sourceforge.net
  Subject: Re: [Dspace-tech] DSpace v3 and uketd_dc OAI?
 
   Because, there are 2 possible solutions, and the solution depends on
   what makes sense :)
 
  Many thanks for these pointers, that's really helpful, and all makes
 sense (on
  first reading anyway) ;-)
 
  My first though is that the first approach is probably what we want in
 this
  instance, so I take a look at the example and see how far I get!
 
  Thanks again, much appreciated.
 
  Mike
 
  Michael White
  eLearning Liaison and Development (eLD)
  Information Services
  S8, Library
  University of Stirling
  Stirling SCOTLAND
  FK9 4LA
  Email: michael.wh...@stir.ac.uk
  Tel: +44 (0) 1786 466877
  Fax: +44 (0) 1786 466880
  http://www.stir.ac.uk/is/staff/about/teams/aldt/#eld
 

 --
 The University of Stirling has been ranked in the top 12 of UK
 universities for graduate employment*.
 94% of our 2012 graduates were in work and/or further study within six
 months of graduation.
 *The Telegraph
 The University of Stirling is a charity registered in Scotland, number SC
 011159.




-- 
Thanks, João Melo (My Portfolio http://www.lyncode.com/m/jmelo/)
DSpace Department
*Lyncode*: Official
websitehttp://www.google.com/url?q=http%3A%2F%2Fwww.lyncode.com%2Fsa=Dsntz=1usg=AFrqEzdV8iS6rMxflxnn138XReuRfUG3OQ
[image: Follow us on
Facebook]http://www.google.com/url?q=http%3A%2F%2Ftwitter.com%2Flyncodesa=Dsntz=1usg=AFrqEzeDuT3ZqMW5uVIA8AoxtTtAeiCX3Q
http://www.google.com/url?q=http%3A%2F%2Fwww.facebook.com%2Flyncodesa=Dsntz=1usg=AFrqEzcWXjHa3gKBGLsNVxktapxkiWDnww
--
Android is increasing in popularity, but the open development platform that
developers love is also attractive to malware creators. Download this white
paper to learn more about secure code signing practices that can help keep
Android apps secure.
http://pubads.g.doubleclick.net/gampad/clk?id=65839951iu=/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 v3 and uketd_dc OAI?

2013-10-30 Thread João Melo
Filter id=thesisFilter

Classorg.dspace.xoai.filter.DSpaceAtLeastOneMetadataFilter/Class
Parameter key=field

Valuedc.type/Value

Valuedc.type.other/Value

/Parameter
Parameter key=operator
Valuecontains/Value
/Parameter
Parameter key=value
Valuethesis/Value
/Parameter
/Filter



On 30 October 2013 15:42, João Melo jm...@lyncode.com wrote:

 Hi Micheal,

 you could provide multiple fields do be checked, let's say (for example):

 Filter id=thesisFilter
   
 Classorg.dspace.xoai.filter.DSpaceAtLeastOneMetadataFilter/Class

   Parameter key=field
   Valuedc.type/Value
   /Parameter
   Parameter key=operator
   Valuecontains/Value
   /Parameter
   Parameter key=value
   Valuethesis/Value
   /Parameter
   /Filter





 On 30 October 2013 14:37, Michael White michael.wh...@stir.ac.uk wrote:

 Hi Paul,

  * EThOS does expect *only* theses to be exposed using uketd_dc via
 OAI-PMH
  * '1. Filtering and Metadata Format tied' is the preferred solution in
 this instance

 Many thanks for the confirmation/clarification - and, thanks to the fully
 formed example provided by João Melo (cheers!), I now have this working in
 my v3 DEV repository - i.e. I'm now providing (pretty good, although not
 yet perfect) uketd_dc for the theses only  via
 http://dspace3.stir.ac.uk/oai/request?verb=ListRecordsmetadataPrefix=uketd_dc:-)

 The next problem is dis-aggregating the dc.type.* attributes - I'm about
 to start investigating this, but if anyone has any pointers as to where to
 look (is this code or configuration?) that would be very helpful.

 Cheers,

 Mike

 Michael White
 eLearning Liaison and Development (eLD)
 Information Services
 S8, Library
 University of Stirling
 Stirling SCOTLAND
 FK9 4LA
 Email: michael.wh...@stir.ac.uk
 Tel: +44 (0) 1786 466877
 Fax: +44 (0) 1786 466880
 http://www.stir.ac.uk/is/staff/about/teams/aldt/#eld


  -Original Message-
  From: Needham, Paul [mailto:p.a.need...@cranfield.ac.uk]
  Sent: 30 October 2013 14:10
  To: Michael White; João Melo
  Cc: dspace-tech@lists.sourceforge.net
  Subject: RE: [Dspace-tech] DSpace v3 and uketd_dc OAI?
 
  Hi Mike
 
  Just to confirm:
 
  * EThOS does expect *only* theses to be exposed using uketd_dc via OAI-
  PMH
  * '1. Filtering and Metadata Format tied' is the preferred solution in
 this
  instance
 
  Cheers
  Paul
 
  -Original Message-
  From: Michael White [mailto:michael.wh...@stir.ac.uk]
  Sent: 30 October 2013 13:50
  To: João Melo
  Cc: dspace-tech@lists.sourceforge.net
  Subject: Re: [Dspace-tech] DSpace v3 and uketd_dc OAI?
 
   Because, there are 2 possible solutions, and the solution depends on
   what makes sense :)
 
  Many thanks for these pointers, that's really helpful, and all makes
 sense (on
  first reading anyway) ;-)
 
  My first though is that the first approach is probably what we want in
 this
  instance, so I take a look at the example and see how far I get!
 
  Thanks again, much appreciated.
 
  Mike
 
  Michael White
  eLearning Liaison and Development (eLD)
  Information Services
  S8, Library
  University of Stirling
  Stirling SCOTLAND
  FK9 4LA
  Email: michael.wh...@stir.ac.uk
  Tel: +44 (0) 1786 466877
  Fax: +44 (0) 1786 466880
  http://www.stir.ac.uk/is/staff/about/teams/aldt/#eld
 

 --
 The University of Stirling has been ranked in the top 12 of UK
 universities for graduate employment*.
 94% of our 2012 graduates were in work and/or further study within six
 months of graduation.
 *The Telegraph
 The University of Stirling is a charity registered in Scotland, number SC
 011159.




 --
 Thanks, João Melo (My Portfolio http://www.lyncode.com/m/jmelo/)
 DSpace Department
 *Lyncode*: Official 
 websitehttp://www.google.com/url?q=http%3A%2F%2Fwww.lyncode.com%2Fsa=Dsntz=1usg=AFrqEzdV8iS6rMxflxnn138XReuRfUG3OQ
 [image: Follow us on 
 Facebook]http://www.google.com/url?q=http%3A%2F%2Ftwitter.com%2Flyncodesa=Dsntz=1usg=AFrqEzeDuT3ZqMW5uVIA8AoxtTtAeiCX3Q
 http://www.google.com/url?q=http%3A%2F%2Fwww.facebook.com%2Flyncodesa=Dsntz=1usg=AFrqEzcWXjHa3gKBGLsNVxktapxkiWDnww




-- 
Thanks, João Melo (My Portfolio http://www.lyncode.com/m/jmelo/)
DSpace Department
*Lyncode*: Official
websitehttp://www.google.com/url?q=http%3A%2F%2Fwww.lyncode.com%2Fsa=Dsntz=1usg=AFrqEzdV8iS6rMxflxnn138XReuRfUG3OQ
[image: Follow us on
Facebook]http://www.google.com/url?q=http%3A%2F%2Ftwitter.com%2Flyncodesa=Dsntz=1usg=AFrqEzeDuT3ZqMW5uVIA8AoxtTtAeiCX3Q
http://www.google.com/url?q=http%3A%2F%2Fwww.facebook.com%2Flyncodesa=Dsntz=1usg=AFrqEzcWXjHa3gKBGLsNVxktapxkiWDnww
--
Android is increasing

Re: [Dspace-tech] DSpace v3 and uketd_dc OAI?

2013-10-30 Thread João Melo
Sorry Micheal,

I was checking, looks like this functionality (multiple fields) ins't
implemented in DSpace v3, it will be available for v4 - currently under
development.


On 30 October 2013 15:42, João Melo jm...@lyncode.com wrote:

   Filter id=thesisFilter
   
 Classorg.dspace.xoai.filter.DSpaceAtLeastOneMetadataFilter/Class

   Parameter key=field

   Valuedc.type/Value

   Valuedc.type.other/Value

 /Parameter
 Parameter key=operator
  Valuecontains/Value
 /Parameter
  Parameter key=value
  Valuethesis/Value
 /Parameter
  /Filter



 On 30 October 2013 15:42, João Melo jm...@lyncode.com wrote:

 Hi Micheal,

 you could provide multiple fields do be checked, let's say (for example):

 Filter id=thesisFilter

  
 Classorg.dspace.xoai.filter.DSpaceAtLeastOneMetadataFilter/Class

  Parameter key=field
  Valuedc.type/Value
  /Parameter
  Parameter key=operator
  Valuecontains/Value
  /Parameter
  Parameter key=value
  Valuethesis/Value
  /Parameter
  /Filter





 On 30 October 2013 14:37, Michael White michael.wh...@stir.ac.uk wrote:

 Hi Paul,

  * EThOS does expect *only* theses to be exposed using uketd_dc via
 OAI-PMH
  * '1. Filtering and Metadata Format tied' is the preferred solution in
 this instance

 Many thanks for the confirmation/clarification - and, thanks to the
 fully formed example provided by João Melo (cheers!), I now have this
 working in my v3 DEV repository - i.e. I'm now providing (pretty good,
 although not yet perfect) uketd_dc for the theses only  via
 http://dspace3.stir.ac.uk/oai/request?verb=ListRecordsmetadataPrefix=uketd_dc:-)

 The next problem is dis-aggregating the dc.type.* attributes - I'm about
 to start investigating this, but if anyone has any pointers as to where to
 look (is this code or configuration?) that would be very helpful.

 Cheers,

 Mike

 Michael White
 eLearning Liaison and Development (eLD)
 Information Services
 S8, Library
 University of Stirling
 Stirling SCOTLAND
 FK9 4LA
 Email: michael.wh...@stir.ac.uk
 Tel: +44 (0) 1786 466877
 Fax: +44 (0) 1786 466880
 http://www.stir.ac.uk/is/staff/about/teams/aldt/#eld


  -Original Message-
  From: Needham, Paul [mailto:p.a.need...@cranfield.ac.uk]
  Sent: 30 October 2013 14:10
  To: Michael White; João Melo
  Cc: dspace-tech@lists.sourceforge.net
  Subject: RE: [Dspace-tech] DSpace v3 and uketd_dc OAI?
 
  Hi Mike
 
  Just to confirm:
 
  * EThOS does expect *only* theses to be exposed using uketd_dc via OAI-
  PMH
  * '1. Filtering and Metadata Format tied' is the preferred solution in
 this
  instance
 
  Cheers
  Paul
 
  -Original Message-
  From: Michael White [mailto:michael.wh...@stir.ac.uk]
  Sent: 30 October 2013 13:50
  To: João Melo
  Cc: dspace-tech@lists.sourceforge.net
  Subject: Re: [Dspace-tech] DSpace v3 and uketd_dc OAI?
 
   Because, there are 2 possible solutions, and the solution depends on
   what makes sense :)
 
  Many thanks for these pointers, that's really helpful, and all makes
 sense (on
  first reading anyway) ;-)
 
  My first though is that the first approach is probably what we want in
 this
  instance, so I take a look at the example and see how far I get!
 
  Thanks again, much appreciated.
 
  Mike
 
  Michael White
  eLearning Liaison and Development (eLD)
  Information Services
  S8, Library
  University of Stirling
  Stirling SCOTLAND
  FK9 4LA
  Email: michael.wh...@stir.ac.uk
  Tel: +44 (0) 1786 466877
  Fax: +44 (0) 1786 466880
  http://www.stir.ac.uk/is/staff/about/teams/aldt/#eld
 

 --
 The University of Stirling has been ranked in the top 12 of UK
 universities for graduate employment*.
 94% of our 2012 graduates were in work and/or further study within six
 months of graduation.
 *The Telegraph
 The University of Stirling is a charity registered in Scotland, number
 SC 011159.




 --
  Thanks, João Melo (My Portfolio http://www.lyncode.com/m/jmelo/)
 DSpace Department
 *Lyncode*: Official 
 websitehttp://www.google.com/url?q=http%3A%2F%2Fwww.lyncode.com%2Fsa=Dsntz=1usg=AFrqEzdV8iS6rMxflxnn138XReuRfUG3OQ
 [image: Follow us on 
 Facebook]http://www.google.com/url?q=http%3A%2F%2Ftwitter.com%2Flyncodesa=Dsntz=1usg=AFrqEzeDuT3ZqMW5uVIA8AoxtTtAeiCX3Q
 http://www.google.com/url?q=http%3A%2F%2Fwww.facebook.com%2Flyncodesa=Dsntz=1usg=AFrqEzcWXjHa3gKBGLsNVxktapxkiWDnww




 --
 Thanks, João Melo (My Portfolio http://www.lyncode.com/m/jmelo/)
 DSpace Department
 *Lyncode*: Official 
 websitehttp://www.google.com/url?q=http%3A%2F%2Fwww.lyncode.com%2Fsa=Dsntz=1usg=AFrqEzdV8iS6rMxflxnn138XReuRfUG3OQ
 [image: Follow us on 
 Facebook]http://www.google.com/url?q=http%3A%2F%2Ftwitter.com%2Flyncodesa=Dsntz=1usg

Re: [Dspace-tech] DSpace 3.2 needs JDK 1.7 for OAI functionality?

2013-08-07 Thread João Melo
Hi, i've managed it in order to use JDK 6 instead of JDK 7.
XOAI 3.0.0 release is now building on jdk 6.


On 29 July 2013 19:45, Sam Ottenhoff ottenh...@longsight.com wrote:

 DSpace 3.x documentation seems JDK-agnostic, it points to using Oracle or
 OpenJDK, version 6 or 7:

   https://wiki.duraspace.org/display/DSDOC3x/Installation

 But the new OAI module seems to depend on running Tomcat using JDK 7.
  Here is the commit I see that targeted JDK 1.7 and effectively dropped
 support for JDK 6:


 https://github.com/lyncode/xoai/commit/a25cf93b1861608d8ed2d52b224b243fb0aca511

 Am I mis-reading this?  Is JDK 7 a requirement to run DSpace 3.2+?

 Here is the stack trace I observed:

 Caused by: java.lang.UnsupportedClassVersionError:
 com/lyncode/xoai/dataprovider/exceptions/ConfigurationException :
 Unsupported major.minor version 51.0 (unable to load class
 com.lyncode.xoai.dataprovider.exceptions.ConfigurationException)
 at
 org.apache.catalina.loader.WebappClassLoader.findClassInternal(WebappClassLoader.java:2892)


 Thanks,
 Sam


 --
 Get your SQL database under version control now!
 Version control is standard for application code, but databases havent
 caught up. So what steps can you take to put your SQL databases under
 version control? Why should you start doing it? Read more to find out.
 http://pubads.g.doubleclick.net/gampad/clk?id=49501711iu=/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




-- 
Thanks, João Melo (My Portfolio http://www.lyncode.com/m/jmelo/)
DSpace Department
*Lyncode*: Official
websitehttp://www.google.com/url?q=http%3A%2F%2Fwww.lyncode.com%2Fsa=Dsntz=1usg=AFrqEzdV8iS6rMxflxnn138XReuRfUG3OQ
[image: Follow us on
Facebook]http://www.google.com/url?q=http%3A%2F%2Ftwitter.com%2Flyncodesa=Dsntz=1usg=AFrqEzeDuT3ZqMW5uVIA8AoxtTtAeiCX3Q
http://www.google.com/url?q=http%3A%2F%2Fwww.facebook.com%2Flyncodesa=Dsntz=1usg=AFrqEzcWXjHa3gKBGLsNVxktapxkiWDnww
--
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with 2% overhead. 
Download for free and get started troubleshooting in minutes. 
http://pubads.g.doubleclick.net/gampad/clk?id=48897031iu=/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 configuration Properties

2013-07-18 Thread João Melo
Hi,

granularity configuration isn't possible at the moment, as it is hard coded
(as one could see [1]).
However, it is possible by replacing
dspace-oai/main/java/org/dspace/xoai/data/DSpaceIdentify.java by  [2].

Edit dspace/config/modules/oai.cfg and add a new configuration value:

# Possible granularities: day or second
granularity = day

NOTE: As the OAI-PMH guidelines define there are only two possible
granularities (Day and Second).

[1]
https://github.com/DSpace/DSpace/blob/master/dspace-oai/src/main/java/org/dspace/xoai/data/DSpaceIdentify.java
[2] https://gist.github.com/lyncodev/6028563


On 18 July 2013 09:48, helix84 heli...@centrum.sk wrote:

 Hi Emilio,

 On Thu, Jul 18, 2013 at 9:48 AM, emilio lorenzo elore...@arvo.es wrote:
  AbstractCatalog.secondsToLive=86401
  AbstractCatalog.granularity=-MM-DDThh:mm:ssZ

 I believe these two options can't be configured in the new OAI.
 According to description [1] of these properties in OAICat (the old
 OAI library), the first one determines how long resumptionTokens are
 valid. In XOAI, these are implemented differently and you can't
 control that.
 In any case, the OAI-PMH specification leaves it up to the application
 what the meaning of resumptionTokens is, so your harvester shouldn't
 rely on this.

 I don't think you can control granularity in XOAI configuration (it's
 either days or seconds [2]), but if you really need to modify this,
 grep the source of XOAI [3].

  Identify.repositoryName=${dspace.name}
  Identify.adminEmail=${mail.admin}
  Identify.earliestDatestamp=2001-01-01T00:00:00Z
  Identify.deletedRecord=persistent

 This feature wasn't implemented in DSpace 3.0 or 3.1, but it will
 actually be part of 4.0 and also 3.2, due to be released next week. If
 you need the patch now, see [4].

 [1] http://pubserv.oclc.org/oaicat/jars/docs/properties.html
 [2] https://github.com/lyncode/xoai/blob/master/schemas/oai-pmh.xsd#L275
 [3] https://github.com/lyncode/xoai
 [4] https://jira.duraspace.org/browse/DS-1479


 Regards,
 ~~helix84

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




-- 
Thanks, João Melo (My Portfolio http://www.lyncode.com/m/jmelo/)
DSpace Department
*Lyncode*: Official
websitehttp://www.google.com/url?q=http%3A%2F%2Fwww.lyncode.com%2Fsa=Dsntz=1usg=AFrqEzdV8iS6rMxflxnn138XReuRfUG3OQ
[image: Follow us on
Facebook]http://www.google.com/url?q=http%3A%2F%2Ftwitter.com%2Flyncodesa=Dsntz=1usg=AFrqEzeDuT3ZqMW5uVIA8AoxtTtAeiCX3Q
http://www.google.com/url?q=http%3A%2F%2Fwww.facebook.com%2Flyncodesa=Dsntz=1usg=AFrqEzcWXjHa3gKBGLsNVxktapxkiWDnww
--
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] catalina.out - HEYYY

2013-07-01 Thread João Melo
Yes, my mistake.


On 1 July 2013 15:14, Tim Donohue tdono...@duraspace.org wrote:

 It looks like that HE is a mistake.  It's likely someone was
 debugging code and accidentally left that line in. It can be ignored, as it
 is harmless.

 In case others are wondering, it is in the 'dspace-oai' codebase:
 https://github.com/DSpace/**DSpace/blob/**a0714564b78134d7b1dc2e32105aea**
 3e38ffdbb3/dspace-oai/src/**main/java/org/dspace/xoai/**
 filter/DateUntilFilter.java#**L48https://github.com/DSpace/DSpace/blob/a0714564b78134d7b1dc2e32105aea3e38ffdbb3/dspace-oai/src/main/java/org/dspace/xoai/filter/DateUntilFilter.java#L48

 It looks like it accidentally got into the codebase during this commit:
 https://github.com/DSpace/**DSpace/commit/**d6cf7b540104fdacd946115576142e
 **d14a1dc14a#L3R48https://github.com/DSpace/DSpace/commit/d6cf7b540104fdacd946115576142ed14a1dc14a#L3R48

 Thanks for notifying us about the debug statement.  We obviously don't
 mean to be writing HE into your logs :)  We'll get it cleaned up.

 - Tim


 On 6/30/2013 9:59 PM, ad...@unhas.ac.id wrote:

   Dear All,
   I have messages like this on my Catalina.out
   can somebody kindly explain what is the line with HE means???

   --**--
   INFO: [statistics] Registered new searcher Searcher@4c018a6c main
   Jul 01, 2013 8:30:07 AM org.apache.solr.search.**SolrIndexSearcher
 close
   INFO: Closing Searcher@574f879e main
   fieldValueCache{lookups=0,**hits=0,hitratio=0.00,inserts=**
 0,evictions=0,size=0,**warmupTime=0,cumulative_**lookups=0,cumula$
   filterCache{lookups=0,hits=0,**hitratio=0.00,inserts=0,**
 evictions=0,size=0,warmupTime=**0,cumulative_lookups=0,**cumulative$
   queryResultCache{lookups=0,**hits=0,hitratio=0.00,inserts=**
 0,evictions=0,size=0,**warmupTime=0,cumulative_**lookups=2,cumul$
   documentCache{lookups=0,hits=**0,hitratio=0.00,inserts=0,**
 evictions=0,size=0,warmupTime=**0,cumulative_lookups=0,**cumulati$
   Jul 01, 2013 8:41:54 AM org.apache.solr.core.**SolrDeletionPolicy
 onInit
   INFO: SolrDeletionPolicy.onInit: commits:num=1

   commit{dir=/usr/local/dspace/**solr/statistics/data/index,**
 segFN=segments_1xi,version=**1368514545243,generation=2502,**fil$
   Jul 01, 2013 8:41:54 AM org.apache.solr.core.**SolrDeletionPolicy
   updateCommits
   INFO: newest commit = 1368514545243
   Jul 01, 2013 8:41:54 AM
   org.apache.solr.update.**processor.LogUpdateProcessor finish
   INFO: {add=[(null)]} 0 18
   Jul 01, 2013 8:41:54 AM org.apache.solr.core.SolrCore execute
   INFO: [statistics] webapp=/solr path=/update
   params={wt=javabinversion=2} status=0 QTime=18
   Jul 01, 2013 8:41:54 AM org.apache.solr.core.SolrCore execute
   INFO: [search] webapp=/solr path=/select
   params={mlt.minwl=5mlt.fl=dc.**title_mlt,dc.contributor.**
 author_mlt,dc.creator_mlt,dc$
   2013-06-15T03:47:52.000Z
   HE
   2013-07-01T03:42:52.999Z
   Jul 01, 2013 8:44:10 AM org.apache.solr.core.SolrCore execute
   INFO: [oai] webapp=/solr path=/select
   params={sort=item.id+asc**start=0q=((item.lastmodified:**
 [2013\-06\-15T03\:47\:52.000Z+**T$
   2013-06-15T03:47:52.000Z
   HE
   2013-07-01T03:42:52.999Z
   Jul 01, 2013 8:44:44 AM org.apache.solr.core.SolrCore execute
   INFO: [oai] webapp=/solr path=/select
   params={sort=item.id+asc**start=100q=((item.**
 lastmodified:[2013\-06\-15T03\**:47\:52.000Z$
   Jul 01, 2013 8:45:06 AM
   org.apache.solr.update.**processor.LogUpdateProcessor finish
   INFO: {add=[(null)]} 0 5
   Jul 01, 2013 8:45:06 AM org.apache.solr.core.SolrCore execute
   INFO: [statistics] webapp=/solr path=/update
   params={wt=javabinversion=2} status=0 QTime=5
   2013-06-15T03:47:52.000Z
   HE
   2013-07-01T03:42:52.999Z
   Jul 01, 2013 8:45:17 AM org.apache.solr.core.SolrCore execute
   --**---

   TIA
   AdyWP

 
 Powered by PTIK UNHAS ~ http://unhas.ac.id/


 --**--**
 --
 This SF.net email is sponsored by Windows:

 Build for Windows Store.

 http://p.sf.net/sfu/windows-**dev2devhttp://p.sf.net/sfu/windows-dev2dev
 __**_
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.**net DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/**lists/listinfo/dspace-techhttps://lists.sourceforge.net/lists/listinfo/dspace-tech
 List Etiquette: https://wiki.duraspace.org/**display/DSPACE/Mailing+List+
 **Etiquettehttps://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette




-- 
Thanks, João Melo (My Portfolio http://www.lyncode.com/m/jmelo/)
DSpace Department
*Lyncode*: Official
websitehttp://www.google.com/url?q=http%3A%2F%2Fwww.lyncode.com%2Fsa=Dsntz=1usg=AFrqEzdV8iS6rMxflxnn138XReuRfUG3OQ
[image: Follow us on
Facebook]http://www.google.com/url?q=http%3A%2F%2Ftwitter.com%2Flyncodesa=Dsntz=1usg=AFrqEzeDuT3ZqMW5uVIA8AoxtTtAeiCX3Q
http://www.google.com

Re: [Dspace-tech] Dspace items not being displayed in ROAR

2013-06-19 Thread João Melo
Hi Remi,

are you using the default source (solr)? Or the database?
The documentation is available here:
https://wiki.duraspace.org/display/DSDOC3x/OAI


On 19 June 2013 15:13, remi asare remi.as...@gmail.com wrote:

 Hi guys,

 I've registered the DSpace web site i'm working on in ROAR but the number
 of items i submitted in DSpace are not displayed in ROAR. Is there any
 configuration i should do? Thanks in advance


 --
 This SF.net email is sponsored by Windows:

 Build for Windows Store.

 http://p.sf.net/sfu/windows-dev2dev
 ___
 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




-- 
Thanks, João Melo (My Portfolio http://www.lyncode.com/m/jmelo/)
DSpace Department
*Lyncode*: Official
websitehttp://www.google.com/url?q=http%3A%2F%2Fwww.lyncode.com%2Fsa=Dsntz=1usg=AFrqEzdV8iS6rMxflxnn138XReuRfUG3OQ
[image: Follow us on
Facebook]http://www.google.com/url?q=http%3A%2F%2Ftwitter.com%2Flyncodesa=Dsntz=1usg=AFrqEzeDuT3ZqMW5uVIA8AoxtTtAeiCX3Q
http://www.google.com/url?q=http%3A%2F%2Fwww.facebook.com%2Flyncodesa=Dsntz=1usg=AFrqEzcWXjHa3gKBGLsNVxktapxkiWDnww
--
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev___
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] Unsuccessful OAI Harvesting

2013-06-07 Thread João Melo
Hi Elvi,

the demo.dspace.org OAI Data provider also has this bug. I've requested
your OAI interface
http://repository.seafdec.org.ph/oai/request?verb=ListRecordsmetadataPrefix=qdc
and
it seems the XSL I sent you isn't in use. Are you sure you replaced at the
right place?


On 5 June 2013 17:27, Nemiz, Elvi esne...@seafdec.org.ph wrote:

 Dear João,

 I still got the same results. I followed step 1, submitted a sample item
 and after accepting it I changed the content source from standard dspace
 collection to harvesting. Restarted the OAI-PMH source and executed oai
 import clean-cache command. I wonder if this only affects dspace 3.x since
 I also got the same results if I changed the OAI Provider to
 http://demo.dspace.org/oai/request?


 On Thu, Jun 6, 2013 at 12:05 AM, João Melo jm...@lyncode.com wrote:

 *3rd step -  Run the dspace oai clean-cache command


 On 5 June 2013 16:37, João Melo jm...@lyncode.com wrote:

 Elvi,

 try the following procedure:

 1. Remove the OAI-PMH configuration from your collection, save it as a
 normal collection and then configure the OAI-PMH source again (so then it
 will run the process from the start).

 2. Restart the OAI-PMH server - the server which is the OAI-PMH source
 (just restart/reload tomcat).

 The import command:

 The -c flag will remove all previously indexed records. It's not
 recommended to add this flag (it was made available only to manual use of
 the indexing operation - special ocasiation which must index everything
 again).



 On 5 June 2013 16:31, Nemiz, Elvi esne...@seafdec.org.ph wrote:

 Hello João,

 I tested the qdc.xsl and harvesting is still unsuccessful. By the way,
 even if I selected simple dublin core or DIM as the Metadata format, I
 still got the Last Harvest Result: OAI server did not contain any updates,
 etc. Checking inside the /var/oai/requests directory, I still have
 the error code=noRecordsMatchNo matches for the query/error message.
 Also as noted by helix, how often should I run import oai -c if running it
 nightly is not recommended?

 Thanks for looking at this issue.

 Regards,
 Elvi


 On Wed, Jun 5, 2013 at 7:59 PM, João Melo jm...@lyncode.com wrote:

 Sending a new version with a tiny change (just for validation
 purposes).




 On 5 June 2013 12:50, João Melo jm...@lyncode.com wrote:

 Elvi,

 could you test the qdc.xsl sent in attachment?
 Replace the dspace/config/crosswalks/oai/metadataFormats/qdc.xsl
 file by this one.

 Thanks


 On 5 June 2013 12:29, João Melo jm...@lyncode.com wrote:

 Hi Elvi,

 from my analysis, the QDC crosswalk is expecting a root element
 named qualifieddc, in fact, the current DSpace OAI (service) doesn't
 exposes it. To fix this it's only required to change the qdc xslt 
 crosswalk
 (configuration file). However, I'm going to take a deeper look at it, I
 think I am able to come up with a solution in few days.


 On 5 June 2013 10:44, Nemiz, Elvi esne...@seafdec.org.ph wrote:

 Dear All,

 I'm wondering if someone from dspace-tech list have actually
 harvested items from demo.dspace.org? Please see the end of this
 thread:
 http://dspace.2283337.n4.nabble.com/Harvesting-OAI-ORE-via-XMLUI-interface-v2-td4664539.htmlif
  there's something I have missed. Also, I can't harvest from our
 production server to my test server. I am running a scheduled task of
 dspace oai import -c -o every night in our production server running
 dspace 3.0. I have a fresh install of dspace 3.1 for my test server 
 and I
 have no luck harvesting from our production server. I am asking this
 because a collection administrator of another repository told me that 
 their
 submitters were submitting items to their repository manually (this
 includes downloading our bitstreams and uploading them which can 
 easily be
 done by setting Harvesting Options to Harvest metadata and references 
 to
 bitstreams). So I advised her to just harvest content from our 
 repository
 via OAI and now I found out that I can't even harvest from our own
 repository. If someone can test harvest our repository, please inform 
 me if
 you are successful and what steps do I have to take to harvest
 successfully. Please also advice what configurations do I have to set 
 to
 our production server so that our content can be harvested 
 successfully.
 Here's our repository's specific sets:
 http://repository.seafdec.org.ph/oai/request?verb=ListSets.

 Thanks in advance and regards,
 elvi




-- 
Thanks, João Melo (My Portfolio http://www.lyncode.com/m/jmelo/)
DSpace Department
*Lyncode*: Official
websitehttp://www.google.com/url?q=http%3A%2F%2Fwww.lyncode.com%2Fsa=Dsntz=1usg=AFrqEzdV8iS6rMxflxnn138XReuRfUG3OQ
[image: Follow us on
Facebook]http://www.google.com/url?q=http%3A%2F%2Ftwitter.com%2Flyncodesa=Dsntz=1usg=AFrqEzeDuT3ZqMW5uVIA8AoxtTtAeiCX3Q
http://www.google.com/url?q=http%3A%2F%2Fwww.facebook.com%2Flyncodesa=Dsntz=1usg=AFrqEzcWXjHa3gKBGLsNVxktapxkiWDnww
--
How

Re: [Dspace-tech] Unsuccessful OAI Harvesting

2013-06-05 Thread João Melo
Elvi,

try the following procedure:

1. Remove the OAI-PMH configuration from your collection, save it as a
normal collection and then configure the OAI-PMH source again (so then it
will run the process from the start).

2. Restart the OAI-PMH server - the server which is the OAI-PMH source
(just restart/reload tomcat).

The import command:

The -c flag will remove all previously indexed records. It's not
recommended to add this flag (it was made available only to manual use of
the indexing operation - special ocasiation which must index everything
again).



On 5 June 2013 16:31, Nemiz, Elvi esne...@seafdec.org.ph wrote:

 Hello João,

 I tested the qdc.xsl and harvesting is still unsuccessful. By the way,
 even if I selected simple dublin core or DIM as the Metadata format, I
 still got the Last Harvest Result: OAI server did not contain any updates,
 etc. Checking inside the /var/oai/requests directory, I still have
 the error code=noRecordsMatchNo matches for the query/error message.
 Also as noted by helix, how often should I run import oai -c if running it
 nightly is not recommended?

 Thanks for looking at this issue.

 Regards,
 Elvi


 On Wed, Jun 5, 2013 at 7:59 PM, João Melo jm...@lyncode.com wrote:

 Sending a new version with a tiny change (just for validation purposes).




 On 5 June 2013 12:50, João Melo jm...@lyncode.com wrote:

 Elvi,

 could you test the qdc.xsl sent in attachment?
 Replace the dspace/config/crosswalks/oai/metadataFormats/qdc.xsl file
 by this one.

 Thanks


 On 5 June 2013 12:29, João Melo jm...@lyncode.com wrote:

 Hi Elvi,

 from my analysis, the QDC crosswalk is expecting a root element named
 qualifieddc, in fact, the current DSpace OAI (service) doesn't exposes it.
 To fix this it's only required to change the qdc xslt crosswalk
 (configuration file). However, I'm going to take a deeper look at it, I
 think I am able to come up with a solution in few days.


 On 5 June 2013 10:44, Nemiz, Elvi esne...@seafdec.org.ph wrote:

 Dear All,

 I'm wondering if someone from dspace-tech list have actually harvested
 items from demo.dspace.org? Please see the end of this thread:
 http://dspace.2283337.n4.nabble.com/Harvesting-OAI-ORE-via-XMLUI-interface-v2-td4664539.htmlif
  there's something I have missed. Also, I can't harvest from our
 production server to my test server. I am running a scheduled task of
 dspace oai import -c -o every night in our production server running
 dspace 3.0. I have a fresh install of dspace 3.1 for my test server and I
 have no luck harvesting from our production server. I am asking this
 because a collection administrator of another repository told me that 
 their
 submitters were submitting items to their repository manually (this
 includes downloading our bitstreams and uploading them which can easily be
 done by setting Harvesting Options to Harvest metadata and references to
 bitstreams). So I advised her to just harvest content from our repository
 via OAI and now I found out that I can't even harvest from our own
 repository. If someone can test harvest our repository, please inform me 
 if
 you are successful and what steps do I have to take to harvest
 successfully. Please also advice what configurations do I have to set to
 our production server so that our content can be harvested successfully.
 Here's our repository's specific sets:
 http://repository.seafdec.org.ph/oai/request?verb=ListSets.

 Thanks in advance and regards,
 elvi




-- 
Thanks, João Melo (My Portfolio http://www.lyncode.com/m/jmelo/)
DSpace Department
*Lyncode*: Official
websitehttp://www.google.com/url?q=http%3A%2F%2Fwww.lyncode.com%2Fsa=Dsntz=1usg=AFrqEzdV8iS6rMxflxnn138XReuRfUG3OQ
[image: Follow us on
Facebook]http://www.google.com/url?q=http%3A%2F%2Ftwitter.com%2Flyncodesa=Dsntz=1usg=AFrqEzeDuT3ZqMW5uVIA8AoxtTtAeiCX3Q
http://www.google.com/url?q=http%3A%2F%2Fwww.facebook.com%2Flyncodesa=Dsntz=1usg=AFrqEzcWXjHa3gKBGLsNVxktapxkiWDnww
--
How ServiceNow helps IT people transform IT departments:
1. A cloud service to automate IT design, transition and operations
2. Dashboards that offer high-level views of enterprise services
3. A single system of record for all IT processes
http://p.sf.net/sfu/servicenow-d2d-j___
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] validation error

2013-05-30 Thread João Melo
Hi Ady,

the problem was already mentioned, it's a bug related with the server
timezone.
The issue is solved and is waiting for a new release version from a third
party library.


On 30 May 2013 11:51, Ady Wahyudi Paundu ad...@unhas.ac.id wrote:

 hi all,

 i try to register my repository at openarchives.org, but cannot pass its
 validation test with this one error:

 ListRecords response gave a noRecordsMatch error when it should have
 included at least the record with identifier oai:repository:123456789/17.
 The from and until parameters of the request were set to the datestamp of
 this record (2011-08-10T18:14:12Z). The from and until parameters are
 inclusive, see protocol spec section 2.7.1. The message included in the
 error response was: 'No matches for the query'

 how could i fix this error?

 best regards,
 adywp

 
 Powered by PTIK UNHAS ~ http://unhas.ac.id/



 --
 Introducing AppDynamics Lite, a free troubleshooting tool for Java/.NET
 Get 100% visibility into your production application - at no cost.
 Code-level diagnostics for performance bottlenecks with 2% overhead
 Download for free and get started troubleshooting in minutes.
 http://p.sf.net/sfu/appdyn_d2d_ap1
 ___
 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




-- 
Thanks, João Melo (My Portfolio http://www.lyncode.com/m/jmelo/)
DSpace Department
*Lyncode*: Official
websitehttp://www.google.com/url?q=http%3A%2F%2Fwww.lyncode.com%2Fsa=Dsntz=1usg=AFrqEzdV8iS6rMxflxnn138XReuRfUG3OQ
[image: Follow us on
Facebook]http://www.google.com/url?q=http%3A%2F%2Ftwitter.com%2Flyncodesa=Dsntz=1usg=AFrqEzeDuT3ZqMW5uVIA8AoxtTtAeiCX3Q
http://www.google.com/url?q=http%3A%2F%2Fwww.facebook.com%2Flyncodesa=Dsntz=1usg=AFrqEzcWXjHa3gKBGLsNVxktapxkiWDnww
--
Introducing AppDynamics Lite, a free troubleshooting tool for Java/.NET
Get 100% visibility into your production application - at no cost.
Code-level diagnostics for performance bottlenecks with 2% overhead
Download for free and get started troubleshooting in minutes.
http://p.sf.net/sfu/appdyn_d2d_ap1___
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] forbidden oai import

2013-05-30 Thread João Melo
Hi Ady,

this exception is thrown whenever the OAI indexer is trying to access some
SOLR server which replies with a HTTP 403 Forbidden error.

The request:
http://repository.unhas.ac.id/solr/oai/update?wt=javabinversion=2
If you try to access it, it will, in fact, return a 403 error.

It shouldn't work at all (never), it's weird watching it happening after a
while.
 I'm not able to figure it out what is happening, it could be an
infrastructure problem (firewall, url redirects, url rewrites...)



On 30 May 2013 13:07, Ady Wahyudi Paundu ad...@unhas.ac.id wrote:

 hi all, another question,

 i ran [dspace]/bin/dspace oai import -c -o
 it went successfully up until 3600 items, then it show forbidden error:

 ...
 3300 items imported so far...
 3400 items imported so far...
 3500 items imported so far...
 3600 items imported so far...
 org.apache.solr.common.SolrException: Forbidden

 Forbidden

 request:
 http://repository.unhas.ac.id/solr/oai/update?wt=javabinversion=2
  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.AbstractUpdateRequest.process(AbstractUpdateRequest.java:105)
  at org.apache.solr.client.solrj.SolrServer.add(SolrServer.java:64)
  at org.dspace.xoai.app.XOAI.index(XOAI.java:229)
  at org.dspace.xoai.app.XOAI.indexAll(XOAI.java:210)
  at org.dspace.xoai.app.XOAI.index(XOAI.java:128)
  at org.dspace.xoai.app.XOAI.main(XOAI.java:439)
  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  at

 sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
  at

 sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  at java.lang.reflect.Method.invoke(Method.java:601)
  at
 org.dspace.app.launcher.ScriptLauncher.main(ScriptLauncher.java:183)
 ...

 what went wrong?

 additional info:
 both in  [dspace]/config/modules/discovery.cfg and
 [dspace]/config/modules/solr-statistics.cfg, i set the server attribut
 to http://localhost/solr/

 another thing: why it just went error at somewhere around 3600?

 best regards,
 adywp

 
 Powered by PTIK UNHAS ~ http://unhas.ac.id/



 --
 Introducing AppDynamics Lite, a free troubleshooting tool for Java/.NET
 Get 100% visibility into your production application - at no cost.
 Code-level diagnostics for performance bottlenecks with 2% overhead
 Download for free and get started troubleshooting in minutes.
 http://p.sf.net/sfu/appdyn_d2d_ap1
 ___
 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




-- 
Thanks, João Melo (My Portfolio http://www.lyncode.com/m/jmelo/)
DSpace Department
*Lyncode*: Official
websitehttp://www.google.com/url?q=http%3A%2F%2Fwww.lyncode.com%2Fsa=Dsntz=1usg=AFrqEzdV8iS6rMxflxnn138XReuRfUG3OQ
[image: Follow us on
Facebook]http://www.google.com/url?q=http%3A%2F%2Ftwitter.com%2Flyncodesa=Dsntz=1usg=AFrqEzeDuT3ZqMW5uVIA8AoxtTtAeiCX3Q
http://www.google.com/url?q=http%3A%2F%2Fwww.facebook.com%2Flyncodesa=Dsntz=1usg=AFrqEzcWXjHa3gKBGLsNVxktapxkiWDnww
--
Introducing AppDynamics Lite, a free troubleshooting tool for Java/.NET
Get 100% visibility into your production application - at no cost.
Code-level diagnostics for performance bottlenecks with 2% overhead
Download for free and get started troubleshooting in minutes.
http://p.sf.net/sfu/appdyn_d2d_ap1___
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

2013-04-11 Thread João Melo
Hi Jose,

all filters are inclusive filters (they are used to include items, not to
exclude them). That is, using that filter XOAI will show those items
with RESTRICTED
on dc.rights.restrict.

If you find it too hard to implement, we do offer XOAI specific project
configuration services, more info at the signature.

Best regards,
João Melo


On 11 April 2013 20:24, Jose Blanco blan...@umich.edu wrote:

 helix84,

 I'm trying to restrict some items from appearing in oai and it's not quite
 working. This is the filter I added to the xoai.xml:

 Filter id=driveraccessFilter2

 Classorg.dspace.xoai.filter.DSpaceAtLeastOneMetadataFilter/Class
 Parameter key=field
 Valuedc.rights.restrict/Value
 /Parameter
 Parameter key=operator
 Valuecontains/Value
 /Parameter
 Parameter key=value
 ValueRESTRICTED/Value
 /Parameter
 /Filter


 On Mon, Apr 8, 2013 at 11:58 AM, Jose Blanco blan...@umich.edu wrote:

 Great.  Thank you!


 On Mon, Apr 8, 2013 at 11:54 AM, helix84 heli...@centrum.sk wrote:

 On Mon, Apr 8, 2013 at 5:33 PM, Jose Blanco blan...@umich.edu wrote:
  1.  In the old oai we used to put the dc values associated with a
 particular
  format in crosswalks dir (say we wanted to add a particular dc value,
 or
  remove one from the response).  I think in this version of oai, if we
 want
  to change anything from the out-of-the-box, we go to
  crosswalks/oai/metadataFormats and change the xsl, right?

 That's correct. You will also need to run [dspace]/bin/dspace oai
 clean-cache to get rid of the pre-cached OAI responses.

  2.  I'm going to try using the solr instance for oai in production, if
 the
  oai setup hiccups or I have to stop it because performance is bad on
 our
  instance, this will not mess-up the solr index used by our instance,
 right?

 If you mean your Solr index used by Discovery, then no it will have no
 effect. Discovery uses a Solr core (Solr terminology for index) called
 search. OAI uses its own core called oai.

 If you interrupt oai import -c or oai import, you should be simply
 able to resume where you left of by running oai import.

 Generally speaking, if something goes horribly wrong, either with the
 search or oai core, it is trivial (although time-consuming) to
 recreate them from the DB. The only data you don't want to lose is the
 statistics core (if you're using Solr statistics).

  3.  Presently when a search/browse is done against solr, items that
 have
  READ access to a particular group will not be exposed, unless the user
 is a
  member of that group.  So I would expect that users of oai would fall
 under
  the Anonymous category and so no items with READ permission set to a
 group
  should be exposed in oai.  This may be a question for Mark Diggory, but
  wanted to check if you knew the answer.

 No, I don't think OAI 2.0 respects that and I'm not sure the old OAI
 did, either. Moreover, it doesn't respect items marked as private
 (discoverable=false) because private items and the new OAI were 3.0
 features developed in parallel, so they don't work together just yet.

 But it is relatively simple to configure a filter in XOAI
 configuration which will filter out items based on any metadata value.
 Read more here:

 https://wiki.duraspace.org/display/DSDOC3x/OAI+2.0+Server


 Regards,
 ~~helix84

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





 --
 Precog is a next-generation analytics platform capable of advanced
 analytics on semi-structured data. The platform includes APIs for building
 apps and a phenomenal toolset for data science. Developers can use
 our toolset for easy data analysis  visualization. Get a free account!
 http://www2.precog.com/precogplatform/slashdotnewsletter
 ___
 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




-- 
Thanks, João Melo (My Portfolio http://www.lyncode.com/m/jmelo/)
DSpace Department
*Lyncode*: Official
websitehttp://www.google.com/url?q=http%3A%2F%2Fwww.lyncode.com%2Fsa=Dsntz=1usg=AFrqEzdV8iS6rMxflxnn138XReuRfUG3OQ
[image: Follow us on
Facebook]http://www.google.com/url?q=http%3A%2F%2Ftwitter.com%2Flyncodesa=Dsntz=1usg=AFrqEzeDuT3ZqMW5uVIA8AoxtTtAeiCX3Q
http://www.google.com/url?q=http%3A%2F%2Fwww.facebook.com%2Flyncodesa=Dsntz=1usg=AFrqEzcWXjHa3gKBGLsNVxktapxkiWDnww
--
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our

Re: [Dspace-tech] OAI: xoai.cfg OAI manager

2013-03-26 Thread João Melo
Hi Emilio,

you'll need to change the datasource first (at the configuration file).


On 26 March 2013 17:17, emilio lorenzo elore...@arvo.es wrote:

 **
 Hi João,
 Sorry, I didn´t explain well the problem with the command.
 The oai command exists, but I cant find the actions:

- compile-items  *
*
- erase-compiled-items  * *

 it just has* import* and *clean-cache* options

 Emilio



 El 26/03/2013 18:07, João Melo escribió:

 Hi Emilio,

  the documentation was incorrect (it's now corrected). The file is in
 [dspace]/config/modules/oai.cfg.
 About the command, have you tried bin/dspace oai action?


 On 26 March 2013 16:54, emilio lorenzo elore...@arvo.es wrote:

  Hi,
 In the 3.x documentation (
 https://wiki.duraspace.org/display/DSDOC3x/OAI+2.0+Server)  there are
 some references to xoai.cfg and some others to the oai/xoai CLI command


  Using Database

 OAI 2.0 could also work using the database for querying. To configure
 that one must change the [dspace]/config/modules/xoai.cfg file,
 specifically the storage parameter, setting it to database. This
 decreases performance significantly and likely has no other benefits than
 leaving out Solr as a dependency.
 OAI Manager (Database Data Source)

 OAI manager is a utility that allows one to do some administrative
 operations with OAI. You can call it from the command line using the dspace
 launcher:

 I can´t find the command neither the xoai.cfg...  I suppose these
 features aren´t included in 3.1 code, are they?

 regards
 Emilio




 --



 --
 Own the Future-Intelreg; Level Up Game Demo Contest 2013
 Rise to greatness in Intel's independent game demo contest.
 Compete for recognition, cash, and the chance to get your game
 on Steam. $5K grand prize plus 10 genre and skill prizes.
 Submit your demo by 6/6/13. http://p.sf.net/sfu/intel_levelupd2d
 ___
 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




  --
Thanks, João Melo (My Portfolio http://www.lyncode.com/m/jmelo/)
 DSpace Department
 *Lyncode*: Official 
 websitehttp://www.google.com/url?q=http%3A%2F%2Fwww.lyncode.com%2Fsa=Dsntz=1usg=AFrqEzdV8iS6rMxflxnn138XReuRfUG3OQ
  [image: Follow us on 
 Facebook]http://www.google.com/url?q=http%3A%2F%2Ftwitter.com%2Flyncodesa=Dsntz=1usg=AFrqEzeDuT3ZqMW5uVIA8AoxtTtAeiCX3Q
 http://www.google.com/url?q=http%3A%2F%2Fwww.facebook.com%2Flyncodesa=Dsntz=1usg=AFrqEzcWXjHa3gKBGLsNVxktapxkiWDnww




-- 
Thanks, João Melo (My Portfolio http://www.lyncode.com/m/jmelo/)
DSpace Department
*Lyncode*: Official
websitehttp://www.google.com/url?q=http%3A%2F%2Fwww.lyncode.com%2Fsa=Dsntz=1usg=AFrqEzdV8iS6rMxflxnn138XReuRfUG3OQ
[image: Follow us on
Facebook]http://www.google.com/url?q=http%3A%2F%2Ftwitter.com%2Flyncodesa=Dsntz=1usg=AFrqEzeDuT3ZqMW5uVIA8AoxtTtAeiCX3Q
http://www.google.com/url?q=http%3A%2F%2Fwww.facebook.com%2Flyncodesa=Dsntz=1usg=AFrqEzcWXjHa3gKBGLsNVxktapxkiWDnww
--
Own the Future-Intelreg; Level Up Game Demo Contest 2013
Rise to greatness in Intel's independent game demo contest.
Compete for recognition, cash, and the chance to get your game 
on Steam. $5K grand prize plus 10 genre and skill prizes. 
Submit your demo by 6/6/13. http://p.sf.net/sfu/intel_levelupd2d___
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: xoai.cfg OAI manager

2013-03-26 Thread João Melo
Hi Emilio,

the documentation was incorrect (it's now corrected). The file is in
[dspace]/config/modules/oai.cfg.
About the command, have you tried bin/dspace oai action?


On 26 March 2013 16:54, emilio lorenzo elore...@arvo.es wrote:

 **
 Hi,
 In the 3.x documentation (
 https://wiki.duraspace.org/display/DSDOC3x/OAI+2.0+Server)  there are
 some references to xoai.cfg and some others to the oai/xoai CLI command


  Using Database

 OAI 2.0 could also work using the database for querying. To configure that
 one must change the [dspace]/config/modules/xoai.cfg file, specifically
 the storage parameter, setting it to database. This decreases
 performance significantly and likely has no other benefits than leaving out
 Solr as a dependency.
 OAI Manager (Database Data Source)

 OAI manager is a utility that allows one to do some administrative
 operations with OAI. You can call it from the command line using the dspace
 launcher:

 I can´t find the command neither the xoai.cfg...  I suppose these features
 aren´t included in 3.1 code, are they?

 regards
 Emilio




 --



 --
 Own the Future-Intelreg; Level Up Game Demo Contest 2013
 Rise to greatness in Intel's independent game demo contest.
 Compete for recognition, cash, and the chance to get your game
 on Steam. $5K grand prize plus 10 genre and skill prizes.
 Submit your demo by 6/6/13. http://p.sf.net/sfu/intel_levelupd2d
 ___
 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




-- 
Thanks, João Melo (My Portfolio http://www.lyncode.com/m/jmelo/)
DSpace Department
*Lyncode*: Official
websitehttp://www.google.com/url?q=http%3A%2F%2Fwww.lyncode.com%2Fsa=Dsntz=1usg=AFrqEzdV8iS6rMxflxnn138XReuRfUG3OQ
[image: Follow us on
Facebook]http://www.google.com/url?q=http%3A%2F%2Ftwitter.com%2Flyncodesa=Dsntz=1usg=AFrqEzeDuT3ZqMW5uVIA8AoxtTtAeiCX3Q
http://www.google.com/url?q=http%3A%2F%2Fwww.facebook.com%2Flyncodesa=Dsntz=1usg=AFrqEzcWXjHa3gKBGLsNVxktapxkiWDnww
--
Own the Future-Intelreg; Level Up Game Demo Contest 2013
Rise to greatness in Intel's independent game demo contest.
Compete for recognition, cash, and the chance to get your game 
on Steam. $5K grand prize plus 10 genre and skill prizes. 
Submit your demo by 6/6/13. http://p.sf.net/sfu/intel_levelupd2d___
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] Fwd: dspace 3.x OAI-PMH help

2013-03-10 Thread João Melo
Dear Mckeane,

please always add the dspace-tech list as CC.
At the harvest configured collection what is the status message (Last
Harvest Result)?


On 7 March 2013 21:46, Mckeane Thomas mckeane.tho...@gmail.com wrote:

 yes I rebuild dspace and ran $ bin/dspace oai clean-cache and is still
 getting the same message:
 OAI server did not contain any updates



 On Thu, Mar 7, 2013 at 10:20 AM, João Melo jm...@lyncode.com wrote:

 Hi Mckeane,

 did you rebuild DSpace and cleared the cache at the server side?

 $ bin/dspace oai clean-cache


 On 7 March 2013 14:44, helix84 heli...@centrum.sk wrote:

  -- Forwarded message --
 From: Mckeane Thomas mckeane.tho...@gmail.com
 Date: Thu, Mar 7, 2013 at 3:40 PM
 Subject: Re: [Dspace-tech] dspace 3.x OAI-PMH help
 To: Ivan Masár heli...@centrum.sk


 Yes I did apply the patch and  am still getting the same and I am
 still unable to harvest from a collection. i am still getting the
 message:

 OAI server did not contain any updates

 On Wed, Mar 6, 2013 at 12:13 PM, helix84 heli...@centrum.sk wrote:
 
 
  On Mar 6, 2013 5:56 PM, Mckeane Thomas mckeane.tho...@gmail.com
 wrote:
   I haven't been able to harvest any items at all from the dspace 3.1
 installation.
 
  Thomas, did you also apply Joao's patch on the server side?


 --
 Symantec Endpoint Protection 12 positioned as A LEADER in The Forrester
 Wave(TM): Endpoint Security, Q1 2013 and remains a good choice in the
 endpoint security space. For insight on selecting the right partner to
 tackle endpoint security challenges, access the full report.
 http://p.sf.net/sfu/symantec-dev2dev
 ___
 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




 --
 Thanks, João Melo (My Portfolio http://www.lyncode.com/m/jmelo/)
 DSpace Department
 *Lyncode*: Official 
 websitehttp://www.google.com/url?q=http%3A%2F%2Fwww.lyncode.com%2Fsa=Dsntz=1usg=AFrqEzdV8iS6rMxflxnn138XReuRfUG3OQ
 [image: Follow us on 
 Facebook]http://www.google.com/url?q=http%3A%2F%2Ftwitter.com%2Flyncodesa=Dsntz=1usg=AFrqEzeDuT3ZqMW5uVIA8AoxtTtAeiCX3Q
 http://www.google.com/url?q=http%3A%2F%2Fwww.facebook.com%2Flyncodesa=Dsntz=1usg=AFrqEzcWXjHa3gKBGLsNVxktapxkiWDnww





-- 
Thanks, João Melo (My Portfolio http://www.lyncode.com/m/jmelo/)
DSpace Department
*Lyncode*: Official
websitehttp://www.google.com/url?q=http%3A%2F%2Fwww.lyncode.com%2Fsa=Dsntz=1usg=AFrqEzdV8iS6rMxflxnn138XReuRfUG3OQ
[image: Follow us on
Facebook]http://www.google.com/url?q=http%3A%2F%2Ftwitter.com%2Flyncodesa=Dsntz=1usg=AFrqEzeDuT3ZqMW5uVIA8AoxtTtAeiCX3Q
http://www.google.com/url?q=http%3A%2F%2Fwww.facebook.com%2Flyncodesa=Dsntz=1usg=AFrqEzcWXjHa3gKBGLsNVxktapxkiWDnww
--
Symantec Endpoint Protection 12 positioned as A LEADER in The Forrester  
Wave(TM): Endpoint Security, Q1 2013 and remains a good choice in the  
endpoint security space. For insight on selecting the right partner to 
tackle endpoint security challenges, access the full report. 
http://p.sf.net/sfu/symantec-dev2dev___
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] Fwd: dspace 3.x OAI-PMH help

2013-03-07 Thread João Melo
Hi Mckeane,

did you rebuild DSpace and cleared the cache at the server side?

$ bin/dspace oai clean-cache


On 7 March 2013 14:44, helix84 heli...@centrum.sk wrote:

 -- Forwarded message --
 From: Mckeane Thomas mckeane.tho...@gmail.com
 Date: Thu, Mar 7, 2013 at 3:40 PM
 Subject: Re: [Dspace-tech] dspace 3.x OAI-PMH help
 To: Ivan Masár heli...@centrum.sk


 Yes I did apply the patch and  am still getting the same and I am
 still unable to harvest from a collection. i am still getting the
 message:

 OAI server did not contain any updates

 On Wed, Mar 6, 2013 at 12:13 PM, helix84 heli...@centrum.sk wrote:
 
 
  On Mar 6, 2013 5:56 PM, Mckeane Thomas mckeane.tho...@gmail.com
 wrote:
   I haven't been able to harvest any items at all from the dspace 3.1
 installation.
 
  Thomas, did you also apply Joao's patch on the server side?


 --
 Symantec Endpoint Protection 12 positioned as A LEADER in The Forrester
 Wave(TM): Endpoint Security, Q1 2013 and remains a good choice in the
 endpoint security space. For insight on selecting the right partner to
 tackle endpoint security challenges, access the full report.
 http://p.sf.net/sfu/symantec-dev2dev
 ___
 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




-- 
Thanks, João Melo (My Portfolio http://www.lyncode.com/m/jmelo/)
DSpace Department
*Lyncode*: Official
websitehttp://www.google.com/url?q=http%3A%2F%2Fwww.lyncode.com%2Fsa=Dsntz=1usg=AFrqEzdV8iS6rMxflxnn138XReuRfUG3OQ
[image: Follow us on
Facebook]http://www.google.com/url?q=http%3A%2F%2Ftwitter.com%2Flyncodesa=Dsntz=1usg=AFrqEzeDuT3ZqMW5uVIA8AoxtTtAeiCX3Q
http://www.google.com/url?q=http%3A%2F%2Fwww.facebook.com%2Flyncodesa=Dsntz=1usg=AFrqEzcWXjHa3gKBGLsNVxktapxkiWDnww
--
Symantec Endpoint Protection 12 positioned as A LEADER in The Forrester  
Wave(TM): Endpoint Security, Q1 2013 and remains a good choice in the  
endpoint security space. For insight on selecting the right partner to 
tackle endpoint security challenges, access the full report. 
http://p.sf.net/sfu/symantec-dev2dev___
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 3.x OAI-PMH help

2013-03-06 Thread João Melo
Hi Mckeane and Ivan,

i think we must create a jira issue to this problem as i think it is a bug.
It happens we defining a set together with from/until parameters.

For exameple:

http://demo.dspace.org/oai/request?verb=ListRecordsuntil=2013-02-07T14:01:24ZmetadataPrefix=oai_dcset=com_10673_23


On 6 March 2013 10:20, helix84 heli...@centrum.sk wrote:

 I'm not sure if I made it clear - oai import has to be run on the
 DSpace 3.x OAI server side, not on the harvester side.


 Regards,
 ~~helix84

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


 --
 Symantec Endpoint Protection 12 positioned as A LEADER in The Forrester
 Wave(TM): Endpoint Security, Q1 2013 and remains a good choice in the
 endpoint security space. For insight on selecting the right partner to
 tackle endpoint security challenges, access the full report.
 http://p.sf.net/sfu/symantec-dev2dev
 ___
 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




-- 
Thanks, João Melo (My Portfolio http://www.lyncode.com/m/jmelo/)
DSpace Department
*Lyncode*: Official
websitehttp://www.google.com/url?q=http%3A%2F%2Fwww.lyncode.com%2Fsa=Dsntz=1usg=AFrqEzdV8iS6rMxflxnn138XReuRfUG3OQ
[image: Follow us on
Facebook]http://www.google.com/url?q=http%3A%2F%2Ftwitter.com%2Flyncodesa=Dsntz=1usg=AFrqEzeDuT3ZqMW5uVIA8AoxtTtAeiCX3Q
http://www.google.com/url?q=http%3A%2F%2Fwww.facebook.com%2Flyncodesa=Dsntz=1usg=AFrqEzcWXjHa3gKBGLsNVxktapxkiWDnww
--
Symantec Endpoint Protection 12 positioned as A LEADER in The Forrester  
Wave(TM): Endpoint Security, Q1 2013 and remains a good choice in the  
endpoint security space. For insight on selecting the right partner to 
tackle endpoint security challenges, access the full report. 
http://p.sf.net/sfu/symantec-dev2dev___
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 3.x OAI-PMH help

2013-03-06 Thread João Melo
Hi again,

i've created a jura issue: https://jira.duraspace.org/browse/DS-1507


On 6 March 2013 11:30, João Melo jm...@lyncode.com wrote:

 Hi Mckeane and Ivan,

 i think we must create a jira issue to this problem as i think it is a bug.
 It happens we defining a set together with from/until parameters.

 For exameple:


 http://demo.dspace.org/oai/request?verb=ListRecordsuntil=2013-02-07T14:01:24ZmetadataPrefix=oai_dcset=com_10673_23


 On 6 March 2013 10:20, helix84 heli...@centrum.sk wrote:

 I'm not sure if I made it clear - oai import has to be run on the
 DSpace 3.x OAI server side, not on the harvester side.


 Regards,
 ~~helix84

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


 --
 Symantec Endpoint Protection 12 positioned as A LEADER in The Forrester
 Wave(TM): Endpoint Security, Q1 2013 and remains a good choice in the
 endpoint security space. For insight on selecting the right partner to
 tackle endpoint security challenges, access the full report.
 http://p.sf.net/sfu/symantec-dev2dev
 ___
 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




 --
 Thanks, João Melo (My Portfolio http://www.lyncode.com/m/jmelo/)
 DSpace Department
 *Lyncode*: Official 
 websitehttp://www.google.com/url?q=http%3A%2F%2Fwww.lyncode.com%2Fsa=Dsntz=1usg=AFrqEzdV8iS6rMxflxnn138XReuRfUG3OQ
 [image: Follow us on 
 Facebook]http://www.google.com/url?q=http%3A%2F%2Ftwitter.com%2Flyncodesa=Dsntz=1usg=AFrqEzeDuT3ZqMW5uVIA8AoxtTtAeiCX3Q
 http://www.google.com/url?q=http%3A%2F%2Fwww.facebook.com%2Flyncodesa=Dsntz=1usg=AFrqEzcWXjHa3gKBGLsNVxktapxkiWDnww




-- 
Thanks, João Melo (My Portfolio http://www.lyncode.com/m/jmelo/)
DSpace Department
*Lyncode*: Official
websitehttp://www.google.com/url?q=http%3A%2F%2Fwww.lyncode.com%2Fsa=Dsntz=1usg=AFrqEzdV8iS6rMxflxnn138XReuRfUG3OQ
[image: Follow us on
Facebook]http://www.google.com/url?q=http%3A%2F%2Ftwitter.com%2Flyncodesa=Dsntz=1usg=AFrqEzeDuT3ZqMW5uVIA8AoxtTtAeiCX3Q
http://www.google.com/url?q=http%3A%2F%2Fwww.facebook.com%2Flyncodesa=Dsntz=1usg=AFrqEzcWXjHa3gKBGLsNVxktapxkiWDnww
--
Symantec Endpoint Protection 12 positioned as A LEADER in The Forrester  
Wave(TM): Endpoint Security, Q1 2013 and remains a good choice in the  
endpoint security space. For insight on selecting the right partner to 
tackle endpoint security challenges, access the full report. 
http://p.sf.net/sfu/symantec-dev2dev___
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] Metadata Formats

2013-03-06 Thread João Melo
Hi Matt,

i think the issue is related with missing configuration values.
Please look at the following jira issue:
https://jira.duraspace.org/browse/DS-1461


On 6 March 2013 15:07, Drover, Matt mattdro...@mun.ca wrote:

 Hi, I'm trying to setup harvesting and under the Content Source of a
 collection, my Metadata Format drop down is empty, and as such, preventing
 my changes from saving on this tab. Any ideas?

 ** **

 *Matthew Drover
 *Programmer Consultant

 Immersive Technology
 Distance Education, Learning and Teaching Support



 

 This electronic communication is governed by the terms and conditions at
 http://www.mun.ca/cc/policies/electronic_communications_disclaimer_2012.php


 --
 Symantec Endpoint Protection 12 positioned as A LEADER in The Forrester
 Wave(TM): Endpoint Security, Q1 2013 and remains a good choice in the
 endpoint security space. For insight on selecting the right partner to
 tackle endpoint security challenges, access the full report.
 http://p.sf.net/sfu/symantec-dev2dev
 ___
 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




-- 
Thanks, João Melo (My Portfolio http://www.lyncode.com/m/jmelo/)
DSpace Department
*Lyncode*: Official
websitehttp://www.google.com/url?q=http%3A%2F%2Fwww.lyncode.com%2Fsa=Dsntz=1usg=AFrqEzdV8iS6rMxflxnn138XReuRfUG3OQ
[image: Follow us on
Facebook]http://www.google.com/url?q=http%3A%2F%2Ftwitter.com%2Flyncodesa=Dsntz=1usg=AFrqEzeDuT3ZqMW5uVIA8AoxtTtAeiCX3Q
http://www.google.com/url?q=http%3A%2F%2Fwww.facebook.com%2Flyncodesa=Dsntz=1usg=AFrqEzcWXjHa3gKBGLsNVxktapxkiWDnww
--
Symantec Endpoint Protection 12 positioned as A LEADER in The Forrester  
Wave(TM): Endpoint Security, Q1 2013 and remains a good choice in the  
endpoint security space. For insight on selecting the right partner to 
tackle endpoint security challenges, access the full report. 
http://p.sf.net/sfu/symantec-dev2dev___
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] [KE1019161] Import/Editing Items in DSpace and evaluating the existence with an other value then the internal document ID

2013-03-03 Thread João Melo
Hi Marco,

this functionality isn't implemented.


On 1 March 2013 14:43, marco.we...@kesslernetworks.de wrote:

 Hi all,

 is there a way to import or edit items in dspace and check it the item
 exists on a value like that is not the internal document id?

 A bit more to explain what i will do...
 I have a database which will be filled from to external sources.
 At the the one of the sources writing new data to this database, the
 database will export the new or changed data into a CSV file.
 In this CSV there is a column called UUID which will be imported as
 dc.identfier.uuid field in dspace.
 Now what can i do to dont import every changed data as new item?
 I wish to check if a item in dspace exists with that UUID because i
 don't know the internal document ID nor the handle.

 Is that possible with an import function of dspace or do i have to
 write a script that do this kind of check against the database?


 Best regards, Marco


 --
 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




-- 
Thanks, João Melo (My Portfolio http://www.lyncode.com/m/jmelo/)
DSpace Department
*Lyncode*: Official
websitehttp://www.google.com/url?q=http%3A%2F%2Fwww.lyncode.com%2Fsa=Dsntz=1usg=AFrqEzdV8iS6rMxflxnn138XReuRfUG3OQ
[image: Follow us on
Facebook]http://www.google.com/url?q=http%3A%2F%2Ftwitter.com%2Flyncodesa=Dsntz=1usg=AFrqEzeDuT3ZqMW5uVIA8AoxtTtAeiCX3Q
http://www.google.com/url?q=http%3A%2F%2Fwww.facebook.com%2Flyncodesa=Dsntz=1usg=AFrqEzcWXjHa3gKBGLsNVxktapxkiWDnww
--
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

Re: [Dspace-tech] [KE1019161] datestamp in UTC for OAI

2013-02-22 Thread João Melo
This issue is solved. I'm currently waiting for some review in order to
publish a new version of the XOAI library. Marco, if you're available to
test it, please, make the following steps:

$ git clone https://github.com/lyncode/xoai.git
$ cd xoai
$ mvn install

Then build your dspace after applying this change (
https://github.com/lyncode/DSpace/commit/8415c4b41dc7d725a0b39d33bc50f4ada4bc5de9
).


On 22 February 2013 11:39, helix84 heli...@centrum.sk wrote:

 On Fri, Feb 22, 2013 at 11:39 AM,  marco.we...@kesslernetworks.de wrote:
  I saw that the item it self has the right time value in the field
  dc.date.accessioned maybe i can use that value in the XSL?
  Next question, which XSL is building the header?

 The header is not built using XSLT, it's produced by the xoai library:

 https://github.com/lyncode/xoai

 This is so to prevent you from accidentally breaking conformance to
 the OAI-PMH specification.

 Sorry I couldn't be of more immediate help.


 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_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




-- 
Thanks, João Melo (My Portfolio http://www.lyncode.com/m/jmelo/)
DSpace Department
*Lyncode*: Official
websitehttp://www.google.com/url?q=http%3A%2F%2Fwww.lyncode.com%2Fsa=Dsntz=1usg=AFrqEzdV8iS6rMxflxnn138XReuRfUG3OQ
[image: Follow us on
Facebook]http://www.google.com/url?q=http%3A%2F%2Ftwitter.com%2Flyncodesa=Dsntz=1usg=AFrqEzeDuT3ZqMW5uVIA8AoxtTtAeiCX3Q
http://www.google.com/url?q=http%3A%2F%2Fwww.facebook.com%2Flyncodesa=Dsntz=1usg=AFrqEzcWXjHa3gKBGLsNVxktapxkiWDnww
--
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

Re: [Dspace-tech] [KE1019161] datestamp in UTC for OAI

2013-02-22 Thread João Melo
Hi Marco,

thank you too for testing it.


On 22 February 2013 14:22, marco.we...@kesslernetworks.de wrote:

 **

 Hi Joao, Ivan and Helix,


 thank you very much for that amazing support you giving to us!

 It works, i unzipped the xoai, did a mvn install, than mvn -U clean
 package, an ant upate, copied back my configurations and now i get the item
 with that time i expected!

 Thats all done on my development server, and after verifying it i copied
 it over to my production system and there it works too.

 I'll now give these system to the DNB (German national bibliothec) and i
 hope they now will accept my OAI interface.



 Thank you, Marco





 Am 22.02.2013 13:28, schrieb João Melo:

 Hi Marco,

 zip attached.


  I'm not completely sure, but you might need to update the xoai version
 in dspace-oai/pom.xml to correspond to the one you'll have built.

 You don't need to modify the pom.xml




 On 22 February 2013 12:22, helix84 heli...@centrum.sk wrote:

 On Fri, Feb 22, 2013 at 1:17 PM, marco.we...@kesslernetworks.de wrote:
  sorry but i can't connect to git from this network here ;)

 You can also use http, https is not necessary.

  Can i use the zip provided there https://github.com/lyncode/xoai ?
 
  I think that is the same or?

 Yes. It's the same.

  Does it matter where i unpack that zip?

 Not at all, it's just source.

  Can you shortly explain what happen by executing mvn install?

 You build the source and create a .jar. This is the the xoai library,
 which is a dependency of the oai module in DSpace. It will be stored
 in your local maven repository in ~/.m2 and the new version will be
 used when you rebuild DSpace.

 I'm not completely sure, but you might need to update the xoai version
 in dspace-oai/pom.xml to correspond to the one you'll have built.


 Regards,
 ~~helix84

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




 --
Thanks, João Melo (My Portfolio http://www.lyncode.com/m/jmelo/)
 DSpace Department
 *Lyncode*: Official 
 websitehttp://www.google.com/url?q=http%3A%2F%2Fwww.lyncode.com%2Fsa=Dsntz=1usg=AFrqEzdV8iS6rMxflxnn138XReuRfUG3OQ
  [image: Follow us on 
 Facebook]http://www.google.com/url?q=http%3A%2F%2Ftwitter.com%2Flyncodesa=Dsntz=1usg=AFrqEzeDuT3ZqMW5uVIA8AoxtTtAeiCX3Q
 http://www.google.com/url?q=http%3A%2F%2Fwww.facebook.com%2Flyncodesa=Dsntz=1usg=AFrqEzcWXjHa3gKBGLsNVxktapxkiWDnww







-- 
Thanks, João Melo (My Portfolio http://www.lyncode.com/m/jmelo/)
DSpace Department
*Lyncode*: Official
websitehttp://www.google.com/url?q=http%3A%2F%2Fwww.lyncode.com%2Fsa=Dsntz=1usg=AFrqEzdV8iS6rMxflxnn138XReuRfUG3OQ
[image: Follow us on
Facebook]http://www.google.com/url?q=http%3A%2F%2Ftwitter.com%2Flyncodesa=Dsntz=1usg=AFrqEzeDuT3ZqMW5uVIA8AoxtTtAeiCX3Q
http://www.google.com/url?q=http%3A%2F%2Fwww.facebook.com%2Flyncodesa=Dsntz=1usg=AFrqEzcWXjHa3gKBGLsNVxktapxkiWDnww
--
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

Re: [Dspace-tech] Modify/Add additional OAI Identify Description elements

2013-02-05 Thread João Melo
Hi Tim and Kevin,

as the initial purpose of this new OAI module was (also) to guarantee 100%
backward compatibility, in the following weeks i'll pull for this change
(configurable description).

PS - It would be better to create a jira issue.


On 5 February 2013 18:40, Tim Donohue tdono...@duraspace.org wrote:

 Hi Kevin,

 Yes, I misunderstood.  I now see what you mean..

 It looks like, unfortunately, in both DSpace 3.0 and 3.1 this Identify
 response description value is hardcoded.  It's actually not the DSpace
 source code itself, but rather in the com.lyncode.xoai library that
 DSpace uses. This library's source is not distributed with DSpace, but is
 available on GitHub.

 Here's the exact place where the Description value is hardcoded:
 https://github.com/lyncode/**xoai/blob/master/src/main/**
 java/com/lyncode/xoai/**dataprovider/OAIDataProvider.**java#L105https://github.com/lyncode/xoai/blob/master/src/main/java/com/lyncode/xoai/dataprovider/OAIDataProvider.java#L105

 It's then used later on at:
 https://github.com/lyncode/**xoai/blob/master/src/main/**
 java/com/lyncode/xoai/**dataprovider/OAIDataProvider.**java#L298https://github.com/lyncode/xoai/blob/master/src/main/java/com/lyncode/xoai/dataprovider/OAIDataProvider.java#L298

 I've copied in João Melo from Lyncode, to see if he has any ideas on how
 best to either override this default value, or possibly make it
 configurable. (It's also possible this could be something we could try to
 fix in a future 3.2 release. But, as of yet, we don't have a 3.2 release
 scheduled, as we're still waiting to see what additional bugs / issues may
 be reported in 3.0 or 3.1)

 - Tim


 On 2/5/2013 11:35 AM, Kevin Beswick wrote:

 Hi Tim,

 Thanks for the reply. I don't think this is what I'm looking for though
 - as per the requirements of Theses Canada, the description element must
 be included in the OAI-PMH Identify response. Currently, the default
 value of the description element that I get when making an Identify
 request from the following address -
 http://biblio-dev.laurentian.**ca:8080/dspace-oai/request?**verb=Identifyhttp://biblio-dev.laurentian.ca:8080/dspace-oai/request?verb=Identify-
  is:

 description
 XOAIDescription 
 xmlns=http://www.lyncode.com/**XOAIConfigurationhttp://www.lyncode.com/XOAIConfiguration
 XOAI:
 OAI-PMH Java Toolkit/XOAIDescription
 /description

 Basically I am looking to change the value of that description element,
 or add a second one. From my understanding, the output received from
 issuing an Identify request does not depend on any particular crosswalk.

 Thanks,
 Kevin


 On Tue, Feb 5, 2013 at 12:00 PM, Tim Donohue tdono...@duraspace.org
 mailto:tdono...@duraspace.org** wrote:

 Hi Kevin,

 To add or change the OAI-PMH elements in the new DSpace 3.x OAI
 interface (aka XOAI), you can just modify the proper crosswalk.

 XOAI uses a variety of metadataFormat crosswalks which all exist in:

 [dspace]/config/crosswalks/__**oai/metadataFormats/


 In this case, it sounds like you just want to add an element to the
 default oai_dc metadata format.  To do so, you'd modify the
 oai_dc.xsl in the above folder:

 https://github.com/DSpace/__**DSpace/blob/master/dspace/__**
 config/crosswalks/oai/__**metadataFormats/oai_dc.xslhttps://github.com/DSpace/__DSpace/blob/master/dspace/__config/crosswalks/oai/__metadataFormats/oai_dc.xsl

 https://github.com/DSpace/**DSpace/blob/master/dspace/**
 config/crosswalks/oai/**metadataFormats/oai_dc.xslhttps://github.com/DSpace/DSpace/blob/master/dspace/config/crosswalks/oai/metadataFormats/oai_dc.xsl
 

 In this case, you'd likely want to add a new dc:decription
 element into the body of the oai_dc:dc element (starting on line
 #22).

 If you needed to modify any of the other OAI-PMH metadata formats,
 they all have similar XSLTs in that metadataFormat/ folder.

 Some additional information regarding how XOAI uses these various
 metadataFormat XSLTs is available at:
 
 https://wiki.duraspace.org/__**display/DSDOC3x/OAI+2.0+Serverhttps://wiki.duraspace.org/__display/DSDOC3x/OAI+2.0+Server

 
 https://wiki.duraspace.org/**display/DSDOC3x/OAI+2.0+Serverhttps://wiki.duraspace.org/display/DSDOC3x/OAI+2.0+Server
 **

 Let us know if you have any other questions.

 - Tim


 On 2/5/2013 9:49 AM, Kevin Beswick wrote:

 Hi,

 We are in the process of upgrading from DSpace 1.8.2 - 3.0. We
 currently participate in a national ETD harvesting program (Theses
 Canada), and one of their requirements in order to harvest our
 content
 is that we must include a description element that contains
 specific
 information in our OAI identify response (detailed here:
 http://www.collectionscanada._**_gc.ca/thesescanada/027007-__**
 9200-e.html#a13 http://gc.ca/thesescanada/027007-__9200-e.html#a13
 http://www.collectionscanada.**gc.ca/thesescanada

Re: [Dspace-tech] How do I share solr statistics server between two dspace servers?

2013-01-24 Thread João Melo
Hi Michael,

if losing statistical data isn't critical i think the first solution would
be enough. The second solution would work, as a tweak to achieve solr
server redundancy, however with very bad performance. It's possible to
implement a better redundant solution using the SolrReplication feature
with a couple of code  configuration changes, but i think that it wouldn't
worth the effort.

It would be better to focus the effort upgrading DSpace in order to use the
most recent Solr Cloud feature (Solr 4.1 -
http://wiki.apache.org/solr/SolrCloud). About the upgrade, from what i
know, Solr 3.5 indexes are readable from 4.1, however DSpace uses SolrJ
Client v3.6 which is incompatible with the newly Solr Cloud features,
basically it will only require code changes (and minor schema changes) -
indexes will not require upgrade.



On 25 January 2013 01:37, helix84 heli...@centrum.sk wrote:

 Hi Michael,

 I'm glad you managed to get it working and that you reported back on your
 progress. Also, when you feel you have added something extra that others
 could use, you're welcome send the patch to our Jira. Howtos are also very
 welcome for our wiki! I don't think we have anything on redundancy yet. And
 the Solr page I wrote could use improvements in many places!

 Regarding the best solution for Solr availability, I would recommend you
 to run a separate Solr server if you can. There's nothing specific about
 the embedded Solr in DSpace - just copy over the statistics core (both conf
 and data), point DSpace(s) to it and you're good to go. The DSpace specific
 things are described by schema.xml, which lives in the core's conf
 directory. Just mind Solr versions, DSpace 3.0 contains Solr 3.5.0.

 Even if you don't have a machine to spare, you could always run 2 tomcat
 instances on one server to keep Solr safe in case DSpace crashes or locks
 up its Tomcat instance (usually because of memory exhaustion). If you want
 to go even further, Solr is designed so that it can be made redundant (see
 eg. [1] or [2]).

 [1] http://wiki.apache.org/solr/CollectionDistribution
 [2] http://wiki.apache.org/solr/SolrReplication


 Regards,
 ~~helix84

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



 --
 Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
 MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
 with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
 MVPs and experts. ON SALE this month only -- learn more at:
 http://p.sf.net/sfu/learnnow-d2d
 ___
 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




-- 
Thanks, João Melo (My Portfolio http://www.lyncode.com/m/jmelo/)
DSpace Department
*Lyncode*: Official
websitehttp://www.google.com/url?q=http%3A%2F%2Fwww.lyncode.com%2Fsa=Dsntz=1usg=AFrqEzdV8iS6rMxflxnn138XReuRfUG3OQ
[image: Follow us on
Facebook]http://www.google.com/url?q=http%3A%2F%2Ftwitter.com%2Flyncodesa=Dsntz=1usg=AFrqEzeDuT3ZqMW5uVIA8AoxtTtAeiCX3Q
http://www.google.com/url?q=http%3A%2F%2Fwww.facebook.com%2Flyncodesa=Dsntz=1usg=AFrqEzcWXjHa3gKBGLsNVxktapxkiWDnww
--
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. ON SALE this month only -- learn more at:
http://p.sf.net/sfu/learnnow-d2d___
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] Accessing Metadata via OAI

2013-01-22 Thread João Melo
On 22 January 2013 13:19, Joachim Bingel bin...@ids-mannheim.de wrote:

 org.apache.solr.common.SolrException: Bad Request


Hi Joachim,

your log information is too short. Please, look at the Solr log for the
full stack trace.


-- 
Thanks, João Melo (My Portfolio http://www.lyncode.com/m/jmelo/)
DSpace Department
*Lyncode*: Official
websitehttp://www.google.com/url?q=http%3A%2F%2Fwww.lyncode.com%2Fsa=Dsntz=1usg=AFrqEzdV8iS6rMxflxnn138XReuRfUG3OQ
[image: Follow us on
Facebook]http://www.google.com/url?q=http%3A%2F%2Ftwitter.com%2Flyncodesa=Dsntz=1usg=AFrqEzeDuT3ZqMW5uVIA8AoxtTtAeiCX3Q
http://www.google.com/url?q=http%3A%2F%2Fwww.facebook.com%2Flyncodesa=Dsntz=1usg=AFrqEzcWXjHa3gKBGLsNVxktapxkiWDnww
--
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. ON SALE this month only -- learn more at:
http://p.sf.net/sfu/learnnow-d2d___
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] [KE1019161] Get record from OAI with a individual identifier

2013-01-22 Thread João Melo
Hi Marco,

about the rest-api (we use https://github.com/wijiti/dspace-rest-api), it
lacks of documentation, if you are willing to use it, i've uploaded a short
manual, look at:

http://lyncode.github.com/dspace-rest-api/

Any doubt, please, feel free to question, it may help improving it.

On 22 January 2013 08:05, helix84 heli...@centrum.sk wrote:

 On Tue, Jan 22, 2013 at 9:01 AM, marco.we...@kesslernetworks.de wrote:
  Other idea, is it possible to use the solr search server to get what i
  want?

 Yes! Please, read my first email.


 Regards,
 ~~helix84

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




-- 
Thanks, João Melo (My Portfolio http://www.lyncode.com/m/jmelo/)
DSpace Department
*Lyncode*: Official
websitehttp://www.google.com/url?q=http%3A%2F%2Fwww.lyncode.com%2Fsa=Dsntz=1usg=AFrqEzdV8iS6rMxflxnn138XReuRfUG3OQ
[image: Follow us on
Facebook]http://www.google.com/url?q=http%3A%2F%2Ftwitter.com%2Flyncodesa=Dsntz=1usg=AFrqEzeDuT3ZqMW5uVIA8AoxtTtAeiCX3Q
http://www.google.com/url?q=http%3A%2F%2Fwww.facebook.com%2Flyncodesa=Dsntz=1usg=AFrqEzcWXjHa3gKBGLsNVxktapxkiWDnww
--
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. ON SALE this month only -- learn more at:
http://p.sf.net/sfu/learnnow-d2d___
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] Accessing Metadata via OAI

2013-01-22 Thread João Melo
Hi Joachim,

looks like there are items without handle, resulting in the above
exception. Is that possible?


On 22 January 2013 16:21, Joachim Bingel bin...@ids-mannheim.de wrote:

  Thanks João,

 the Solr query returns:

  response
   lst name=responseHeader
  int name=status0/int
 int name=QTime1/int
  lst name=params
  str name=sortitem.id asc/str
 str name=qitem.handle:10932/00-0166-14DE-96C0-2701-9/str
  /lst
   /lst
  result name=response numFound=0 start=0/
  /response

 which means Solr still has not found the item. I've set the logging level
 to FINEST and [dspace]/bin/dspace oai import gives me:

 Jan 22, 2013 5:16:42 PM org.apache.solr.core.SolrCore execute
 INFO: [oai] webapp=/solr path=/select
 params={fl=item.lastmodifiedsort=item.lastmodified+desc,item.id+ascq=*:*wt=javabinrows=1version=2}
 hits=1 status=0 QTime=0
 Jan 22, 2013 5:16:43 PM
 org.apache.solr.update.processor.LogUpdateProcessor processAdd
 FINE: add (null)
 Jan 22, 2013 5:16:43 PM
 org.apache.solr.update.processor.LogUpdateProcessor finish
 INFO: {add=[(null)]} 0 14
 Jan 22, 2013 5:16:43 PM org.apache.solr.common.SolrException log
 SEVERE: org.apache.solr.common.SolrException: [doc=null] missing required
 field: item.handle
 at
 org.apache.solr.update.DocumentBuilder.toDocument(DocumentBuilder.java:346)
 at
 org.apache.solr.update.processor.RunUpdateProcessor.processAdd(RunUpdateProcessorFactory.java:60)
 at
 org.apache.solr.update.processor.LogUpdateProcessor.processAdd(LogUpdateProcessorFactory.java:115)
 at
 org.apache.solr.handler.XMLLoader.processUpdate(XMLLoader.java:158)
 at org.apache.solr.handler.XMLLoader.load(XMLLoader.java:79)
 at
 org.apache.solr.handler.ContentStreamHandlerBase.handleRequestBody(ContentStreamHandlerBase.java:58)
 ...


 Does this tell you anything? Note that there is exactly 1 retrieved hit
 which is in accordance with the OAI webapp display, yet there are 31
 documents in the databse.


 On 01/22/2013 05:05 PM, João Melo wrote:

 Hi Joachim,

  you'll need to low your log level to see the full stack trace (you're
 correct the solr log is dumped to catalina.out).
 if you are using the solr server from dspace access to the admin log panel
 (http://localhost:8080/solr/admin/logging - only supports local access).

  But you could also try to query the solr server directly and see the
 output. In your case, try the following query:


 http://localhost:8080/solr/oai/select?sort=item.id+ascq=item.handle:10932/00-0166-14DE-96C0-2701-9

  Any error?



 On 22 January 2013 14:18, Joachim Bingel bin...@ids-mannheim.de wrote:

  Hi João,

 I feel stupid asking this, but where is the solr log? There's no log/
 directory or .log files under [dspace]/solr nor under
 [dspace]/webapps/[oai|solr]. All I've got is what's in the Catalina log:

 Jan 22, 2013 3:04:10 PM org.apache.solr.core.SolrCore execute
 INFO: [oai] webapp=/solr path=/select
 params={sort=item.id+ascq=item.handle:10932/00-0166-14DE-96C0-2701-9wt=javabin
 version=2}
 hits=0 status=0 QTime=0

 This demonstrates how a request for an item with an existing identifier (can 
 be reached in the XMLUI) fails (hits=0).

 Thanks for your help!
 Joachim





 On 01/22/2013 03:05 PM, João Melo wrote:


 On 22 January 2013 13:19, Joachim Bingel bin...@ids-mannheim.de wrote:

 org.apache.solr.common.SolrException: Bad Request


 Hi Joachim,

  your log information is too short. Please, look at the Solr log for the
 full stack trace.


  --
Thanks, João Melo (My Portfolio http://www.lyncode.com/m/jmelo/)
 DSpace Department
 *Lyncode*: Official 
 websitehttp://www.google.com/url?q=http%3A%2F%2Fwww.lyncode.com%2Fsa=Dsntz=1usg=AFrqEzdV8iS6rMxflxnn138XReuRfUG3OQ
  [image: Follow us on 
 Facebook]http://www.google.com/url?q=http%3A%2F%2Ftwitter.com%2Flyncodesa=Dsntz=1usg=AFrqEzeDuT3ZqMW5uVIA8AoxtTtAeiCX3Q
 http://www.google.com/url?q=http%3A%2F%2Fwww.facebook.com%2Flyncodesa=Dsntz=1usg=AFrqEzcWXjHa3gKBGLsNVxktapxkiWDnww



   --
 Joachim Bingel
 Institut für Deutsche Sprache, Zentrale Forschung
 R5, 6-13, 68161 Mannheim+49 - (0)621-1581-456 | http://www.ids-mannheim.de




  --
Thanks, João Melo (My Portfolio http://www.lyncode.com/m/jmelo/)
 DSpace Department
 *Lyncode*: Official 
 websitehttp://www.google.com/url?q=http%3A%2F%2Fwww.lyncode.com%2Fsa=Dsntz=1usg=AFrqEzdV8iS6rMxflxnn138XReuRfUG3OQ
  [image: Follow us on 
 Facebook]http://www.google.com/url?q=http%3A%2F%2Ftwitter.com%2Flyncodesa=Dsntz=1usg=AFrqEzeDuT3ZqMW5uVIA8AoxtTtAeiCX3Q
 http://www.google.com/url?q=http%3A%2F%2Fwww.facebook.com%2Flyncodesa=Dsntz=1usg=AFrqEzcWXjHa3gKBGLsNVxktapxkiWDnww



 --
 Joachim Bingel
 Institut für Deutsche Sprache, Zentrale Forschung
 R5, 6-13, 68161 Mannheim+49 - (0)621-1581-456 | http://www.ids-mannheim.de




-- 
Thanks, João Melo (My Portfolio http://www.lyncode.com/m/jmelo/)
DSpace Department
*Lyncode*: Official
websitehttp://www.google.com/url?q=http%3A%2F%2Fwww.lyncode.com%2Fsa=Dsntz=1usg

Re: [Dspace-tech] [KE1019161] Get record from OAI with a individual identifier

2013-01-21 Thread João Melo
Hi Marco,

sorry for the delay. Unfortunately i've misunderstood, as helix said, it
requires code changes.
But, i would strongly disencourage you, OAI-PMH protocol is not meant to be
used for custom query purposes, you could use some rest-api instead (we are
using and it works fine).

If you have any further questions (about OAI/rest-api), please, feel free
to question.


On 18 January 2013 15:12, marco.we...@kesslernetworks.de wrote:

 Hi Helix,

 thank you for that link. I now new which direction Joao and you are
 thinking of but i can't find a documentation what i have to do.
 Just with the configuration file and the note OAI 2.0 allows you to
 configure following advanced options ... filters i can't understand what
 to do.
 Maybe i'm to stupid to get my gyrus around that, and googling the half day
 doesn't solve it ;)

 Maybe Joao can you explain it to me or give me a hint?


 Regards, Marco


 Am 17.01.2013 13:35, schrieb helix84:

  On Thu, Jan 17, 2013 at 1:18 PM, 
 marco.weiss@kesslernetworks.**demarco.we...@kesslernetworks.de
 wrote:

 yes we are using DSpace 3.0. Can you provide me a hint where i can find
 a documentation of these filters?


 The filters Joao meant are defined and used here:


 https://github.com/DSpace/**DSpace/blob/dspace-3.0/dspace/**
 config/crosswalks/oai/xoai.xmlhttps://github.com/DSpace/DSpace/blob/dspace-3.0/dspace/config/crosswalks/oai/xoai.xml

 I don't know how they allow you to change what identifiers are
 _accepted_ by oai without writing Java code, but of course Joao knows
 better, he wrote the code.


 Regards,
 ~~helix84

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




-- 
Thanks, João Melo (My Portfolio http://www.lyncode.com/m/jmelo/)
DSpace Department
*Lyncode*: Official
websitehttp://www.google.com/url?q=http%3A%2F%2Fwww.lyncode.com%2Fsa=Dsntz=1usg=AFrqEzdV8iS6rMxflxnn138XReuRfUG3OQ
[image: Follow us on
Facebook]http://www.google.com/url?q=http%3A%2F%2Ftwitter.com%2Flyncodesa=Dsntz=1usg=AFrqEzeDuT3ZqMW5uVIA8AoxtTtAeiCX3Q
http://www.google.com/url?q=http%3A%2F%2Fwww.facebook.com%2Flyncodesa=Dsntz=1usg=AFrqEzcWXjHa3gKBGLsNVxktapxkiWDnww
--
Master SQL Server Development, Administration, T-SQL, SSAS, SSIS, SSRS
and more. Get SQL Server skills now (including 2012) with LearnDevNow -
200+ hours of step-by-step video tutorials by Microsoft MVPs and experts.
SALE $99.99 this month only - learn more at:
http://p.sf.net/sfu/learnmore_122512___
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] [KE1019161] Get record from OAI with a individual identifier

2013-01-17 Thread João Melo
Hi marco,

if you are using DSpace 3.0, it's also possible do the same with filters
which don't require code changes, only configuration changes.


On 17 January 2013 10:05, marco.we...@kesslernetworks.de wrote:

 Hope i understand you the right way...
 The only way to get this working is to expand the code?

 Regards, Marco


 Zitat von helix84 heli...@centrum.sk:

  That sounds like a valid use case. I think it might be easy:
 
 
 https://github.com/DSpace/DSpace/blob/dspace-3_x/dspace-oai/src/main/java/org/dspace/xoai/data/DSpaceItem.java#L67
 
 
  Regards,
  ~~helix84
 
  Compulsory reading: DSpace Mailing List Etiquette
  https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette





 --
 Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
 MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
 with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
 MVPs and experts. ON SALE this month only -- learn more at:
 http://p.sf.net/sfu/learnmore_122712
 ___
 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




-- 
Thanks, João Melo (My Portfolio http://www.lyncode.com/m/jmelo/)
DSpace Department
*Lyncode*: Official
websitehttp://www.google.com/url?q=http%3A%2F%2Fwww.lyncode.com%2Fsa=Dsntz=1usg=AFrqEzdV8iS6rMxflxnn138XReuRfUG3OQ
[image: Follow us on
Facebook]http://www.google.com/url?q=http%3A%2F%2Ftwitter.com%2Flyncodesa=Dsntz=1usg=AFrqEzeDuT3ZqMW5uVIA8AoxtTtAeiCX3Q
http://www.google.com/url?q=http%3A%2F%2Fwww.facebook.com%2Flyncodesa=Dsntz=1usg=AFrqEzcWXjHa3gKBGLsNVxktapxkiWDnww
--
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. ON SALE this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122712___
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] ORE error

2013-01-15 Thread João Melo
Hi Alain,

there is a problem with the ore.xsl file (c:/dspace/config/crosswalks/oai/
metadataFormats/ore.xsl).
Replace it by the following one: https://gist.github.com/4539900/download


On 15 January 2013 15:33, Alain Tschanz atsch...@njstatelib.org wrote:

  I’m running DSpace 3 with XMLUI and am trying to use OAI-ORE harvester
 to create a mirror copy of the production server, but I receive the
 following error when I run this command:

 http://[full-URL-to-OAI-PMH]/request?verb=ListRecordsmetadataPrefix=ore**
 **

 ** **

 Any ideas why that is?

 ** **

 [Fatal Error] ore.xsl:22:134: The prefix xsi for attribute
 xsi:schemaLocation

  associated with an element type atom:entry is not bound.

 file:/c:/dspace/config/crosswalks/oai/metadataFormats/ore.xsl; Line #22;
 Column

 #134; org.xml.sax.SAXParseException; systemId:
 file:/c:/dspace/config/crosswalks

 /oai/metadataFormats/ore.xsl; lineNumber: 22; columnNumber: 134; The
 prefix xsi

  for attribute xsi:schemaLocation associated with an element type
 atom:entry

  is not bound.

 Jan 15, 2013 10:24:04 AM org.apache.catalina.core.StandardWrapperValve
 invoke

 SEVERE: Servlet.service() for servlet [oai] in context with path [/oai]
 threw ex

 ception

 java.lang.NullPointerException

 at
 org.apache.xalan.transformer.TransformerImpl.createSerializationHandl

 er(TransformerImpl.java:1178)

 at
 org.apache.xalan.transformer.TransformerImpl.createSerializationHandl

 er(TransformerImpl.java:1060)

 at
 org.apache.xalan.transformer.TransformerImpl.transform(TransformerImp

 l.java:1279)

 at
 org.apache.xalan.transformer.TransformerImpl.transform(TransformerImp

 l.java:1262)

 at
 com.lyncode.xoai.dataprovider.util.XSLTUtils.transform(XSLTUtils.java

 :137)

 at
 com.lyncode.xoai.dataprovider.OAIDataProvider.createRecord(OAIDataPro

 vider.java:696)

 at
 com.lyncode.xoai.dataprovider.OAIDataProvider.build(OAIDataProvider.j

 ava:657)

 at
 com.lyncode.xoai.dataprovider.OAIDataProvider.handle(OAIDataProvider.

 java:195)

 at
 org.dspace.xoai.util.XOAICacheManager.handle(XOAICacheManager.java:21

 9)

 at
 org.dspace.xoai.DSpaceOAIDataProvider.doGet(DSpaceOAIDataProvider.jav

 a:139)

 at javax.servlet.http.HttpServlet.service(HttpServlet.java:621)***
 *

 at javax.servlet.http.HttpServlet.service(HttpServlet.java:728)***
 *

 at
 org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl

 icationFilterChain.java:305)

 at
 org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF

 ilterChain.java:210)

 at
 org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV

 alve.java:222)

 at
 org.apache.catalina.core.StandardContextValve.invoke(StandardContextV

 alve.java:123)

 at
 org.apache.catalina.authenticator.AuthenticatorBase.invoke(Authentica

 torBase.java:472)

 at
 org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j

 ava:171)

 at
 org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j

 ava:99)

 at
 org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:

 936)

 at
 org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal

 ve.java:118)

 at
 org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.jav

 a:407)

 at
 org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp

 11Processor.java:1004)

 at
 org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(

 AbstractProtocol.java:589)

 at
 org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.run(AprEndpoin

 t.java:1822)

 at
 java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.

 java:1110)

 at
 java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor

 .java:603)

 at java.lang.Thread.run(Thread.java:722)

 ** **

 ** **

 Alain Tschanz

 ** **


 --
 Master SQL Server Development, Administration, T-SQL, SSAS, SSIS, SSRS
 and more. Get SQL Server skills now (including 2012) with LearnDevNow -
 200+ hours of step-by-step video tutorials by Microsoft MVPs and experts.
 SALE $99.99 this month only - learn more at:
 http://p.sf.net/sfu/learnmore_122512
 ___
 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




-- 
Thanks, João Melo (My Portfolio http://www.lyncode.com/m/jmelo

Re: [Dspace-tech] OAI validation for Dspace 3.0 failure

2013-01-08 Thread João Melo
Hi Christos,

could you please provide the server timezone? Is it GMT+4?
Seems like it is a date parsing (timezone related) issue.


On 8 January 2013 19:23, Christos Rodosthenous 
christos.rodosthen...@ouc.ac.cy wrote:

  Hi everyone,

 ** **

 I upgraded my Dspace 1.7.2 to 1.8 and finally to 3.0.

 I tried to validate Dspace repository through :

 ** **

 **1)  **http://www.openarchives.org/Register/ValidateSite and

 **2)  **http://validator.oaipmh.com/

 ** **

 The first validator returns an error for:

 *Checking ListRecords response*

 Request: GET
 http://kypseli.ouc.ac.cy/oai/request?verb=ListRecordsfrom=2011-08-17T03:37:12Zuntil=2011-08-17T03:37:12ZmetadataPrefix=oai_dc
 

 [PASS] responseDate has correct format: 2013-01-08T21:11:01Z

 [PASS] Response is well formed

 [FAIL] ListRecords response gave a noRecordsMatch error when it should
 have included at least the record with identifier oai:
 kypseli.ouc.ac.cy:11128/75. The from and until parameters of the request
 were set to the datestamp of this record (2011-08-17T03:37:12Z). The from
 and until parameters are inclusive, see protocol spec section 2.7.1. The
 message included in the error response was: 'No matches for the query'

 I checked this error and it was first reported on
 https://jira.duraspace.org/browse/DS-1311 but it is resolved for Dspace
 3.0

 The second validator returns an error for Content type application/xml.***
 *

 ** **

 Any help is appreciated.

 ** **

 Thank you.

 ** **

 Christos R.


 --
 Master SQL Server Development, Administration, T-SQL, SSAS, SSIS, SSRS
 and more. Get SQL Server skills now (including 2012) with LearnDevNow -
 200+ hours of step-by-step video tutorials by Microsoft MVPs and experts.
 SALE $99.99 this month only - learn more at:
 http://p.sf.net/sfu/learnmore_122512
 ___
 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




-- 
Thanks, João Melo (My Portfolio http://www.lyncode.com/m/jmelo/)
DSpace Department
*Lyncode*: Official
websitehttp://www.google.com/url?q=http%3A%2F%2Fwww.lyncode.com%2Fsa=Dsntz=1usg=AFrqEzdV8iS6rMxflxnn138XReuRfUG3OQ
[image: Follow us on
Facebook]http://www.google.com/url?q=http%3A%2F%2Ftwitter.com%2Flyncodesa=Dsntz=1usg=AFrqEzeDuT3ZqMW5uVIA8AoxtTtAeiCX3Q
http://www.google.com/url?q=http%3A%2F%2Fwww.facebook.com%2Flyncodesa=Dsntz=1usg=AFrqEzcWXjHa3gKBGLsNVxktapxkiWDnww
--
Master Java SE, Java EE, Eclipse, Spring, Hibernate, JavaScript, jQuery
and much more. Keep your Java skills current with LearnJavaNow -
200+ hours of step-by-step video tutorials by Java experts.
SALE $49.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122612 ___
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-devel] Autowired Class cannot use ConfigurationManager

2012-12-18 Thread João Melo
Hi Joachim,

ConfigurationManager requires one to define the precise location of
dspace.cfg file.
So, if you are implementing a webapp you need to add two pieces of
information to the web.xml file:

1. A context parameter (
https://github.com/lyncode/DSpace/blob/springui/dspace-jspui/src/main/webapp/WEB-INF/web.xml#L27
)

2. Add a specific listener (
https://github.com/lyncode/DSpace/blob/springui/dspace-jspui/src/main/webapp/WEB-INF/web.xml#L136
)


On 18 December 2012 15:33, Joachim Bingel bin...@ids-mannheim.de wrote:

 Hi Helix,

 thanks for your help. In debug mode, my class doesn't even get to the
 point where the ConfigurationManager is called, still the earlier posted
 log excerpt (below) tells me that this is the problem.

 I tried to employ the DSpaceConfigurationService, too, but since its
 methods are non-static and I need to read the config values in a static
 initialiser block, it's not useful. :(


 Caused by: java.lang.IllegalStateException: Cannot find dspace.cfg
  at

 org.dspace.core.ConfigurationManager.loadConfig(ConfigurationManager.java:918)
  at

 org.dspace.core.ConfigurationManager.getMutableProperties(ConfigurationManager.java:130)
  at

 org.dspace.core.ConfigurationManager.getProperty(ConfigurationManager.java:175)
  at

 de.mannheim.ids.pid.dspace.IDSIdentifierProvider.clinit(IDSIdentifierProvider.java:65)
  ... 46 more

 Best,
 Joachim

 On 12/18/2012 02:37 PM, helix84 wrote:
  Hi Joachim,
 
  again, this question is better suited for dspace-devel.
 
  Did you look at the log file to see where ConfigurationManager is
  looking for configuration? If it's not there, try adding some println
  debugging to ConfigurationManager.
 
  As an alternative, I noticed ConfigurationService has been the latest
  fashion, can you use it instead of ConfigurationManager?
 
 
  Regards,
  ~~helix84
 
  Compulsory reading: DSpace Mailing List Etiquette
  https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
 


 --
 Joachim Bingel
 Institut für Deutsche Sprache, Zentrale Forschung
 R5, 6-13, 68161 Mannheim
 +49 - (0)621-1581-456 | http://www.ids-mannheim.de



 --
 LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
 Remotely access PCs and mobile devices and provide instant support
 Improve your efficiency, and focus on delivering more value-add services
 Discover what IT Professionals Know. Rescue delivers
 http://p.sf.net/sfu/logmein_12329d2d
 ___
 Dspace-devel mailing list
 dspace-de...@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-devel




-- 
Thanks, João Melo (My Portfolio http://www.lyncode.com/m/jmelo/)
DSpace Department
*Lyncode*: Official
websitehttp://www.google.com/url?q=http%3A%2F%2Fwww.lyncode.com%2Fsa=Dsntz=1usg=AFrqEzdV8iS6rMxflxnn138XReuRfUG3OQ
[image: Follow us on
Facebook]http://www.google.com/url?q=http%3A%2F%2Ftwitter.com%2Flyncodesa=Dsntz=1usg=AFrqEzeDuT3ZqMW5uVIA8AoxtTtAeiCX3Q
http://www.google.com/url?q=http%3A%2F%2Fwww.facebook.com%2Flyncodesa=Dsntz=1usg=AFrqEzcWXjHa3gKBGLsNVxktapxkiWDnww
--
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d___
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] [KE1019161] OAI XML output not well formated

2012-12-14 Thread João Melo
Hi Marco,

that's strange, XOAI.xml indentation is applied to the final XML result. So
if the output coming from the XSL is indented or not doesn't matter.

Are you cleaning OAI cache? Is there any exception being thrown?


On 14 December 2012 12:34, marco.we...@kesslernetworks.de wrote:

 Hi,

 ok that explain it to me why it works with true ;)
 If you put indent=true it's like you did set nothing because its wrong
 Now after deleting indent=true from my xsl and setting
 identation=true in xoai.xml it works

 Doing the same in oai_dc.xsl, deleting indent=yes it, works there too!
 Setting indent=no in oai_dc.xsl gives you furthermore a well
 formatted XML so the xoai.xml overwrites the setting, or?
 Setting indent=yes in oai_dc.xsl gives you bad formatted XML and
 thats strange because if xoai.xml overwrites the xsl setting i'll
 expect a well formatted XML.
 Setting indent=yes in oai_dc.xsl an deleteing identation=true in
 xoai.xml gives you a bad formatted XML.

 So my knowledge in XML is too insufficient to work out what is wrong.
 For me it works with that solution above.

 The question is, should i open a bug report for that for dspace?


 Best regards Marco


 Zitat von helix84 heli...@centrum.sk:

  On Fri, Dec 14, 2012 at 12:01 PM,  marco.we...@kesslernetworks.de
 wrote:
  ok possibly i have a solution. I changed the indent from yes to true see
  following line in my xsl and now i get well formated XML.
 
  That's strange.
 
  http://www.w3.org/XML/2000/04schema-hacking/xslt.xsd
 
  attribute name=indent type=xsl:yesno/
 
  simpleType name=yesno base=NMTOKEN
  enumeration value=yes/
  enumeration value=no/
  /simpleType
 
 
  Regards,
  ~~helix84
 
  Compulsory reading: DSpace Mailing List Etiquette
  https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette





 --
 LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
 Remotely access PCs and mobile devices and provide instant support
 Improve your efficiency, and focus on delivering more value-add services
 Discover what IT Professionals Know. Rescue delivers
 http://p.sf.net/sfu/logmein_12329d2d
 ___
 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




-- 
Thanks, João Melo (My Portfolio http://www.lyncode.com/m/jmelo/)
DSpace Department
*Lyncode*: Official
websitehttp://www.google.com/url?q=http%3A%2F%2Fwww.lyncode.com%2Fsa=Dsntz=1usg=AFrqEzdV8iS6rMxflxnn138XReuRfUG3OQ
[image: Follow us on
Facebook]http://www.google.com/url?q=http%3A%2F%2Ftwitter.com%2Flyncodesa=Dsntz=1usg=AFrqEzeDuT3ZqMW5uVIA8AoxtTtAeiCX3Q
http://www.google.com/url?q=http%3A%2F%2Fwww.facebook.com%2Flyncodesa=Dsntz=1usg=AFrqEzcWXjHa3gKBGLsNVxktapxkiWDnww
--
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d___
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 3.0 - OAI Provider and not show Metadata Format when Harvesting

2012-12-06 Thread João Melo
Yes, it also happens at test-a-thon while trying to setup an harvest based
collection.


On 1 December 2012 01:48, Nguyen Hung Thanh nghungth...@gmail.com wrote:

 Hi all,

 This collection harvests its content from an external source

 Not save OAI Provider and not show Metadata Format

 Block harvesting to collection function




 --
 Keep yourself connected to Go Parallel:
 INSIGHTS What's next for parallel hardware, programming and related areas?
 Interviews and blogs by thought leaders keep you ahead of the curve.
 http://goparallel.sourceforge.net
 ___
 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




-- 
Thanks, João Melo (My Portfolio http://www.lyncode.com/m/jmelo/)
DSpace Department
*Lyncode*: Official
websitehttp://www.google.com/url?q=http%3A%2F%2Fwww.lyncode.com%2Fsa=Dsntz=1usg=AFrqEzdV8iS6rMxflxnn138XReuRfUG3OQ
[image: Follow us on
Facebook]http://www.google.com/url?q=http%3A%2F%2Ftwitter.com%2Flyncodesa=Dsntz=1usg=AFrqEzeDuT3ZqMW5uVIA8AoxtTtAeiCX3Q
http://www.google.com/url?q=http%3A%2F%2Fwww.facebook.com%2Flyncodesa=Dsntz=1usg=AFrqEzcWXjHa3gKBGLsNVxktapxkiWDnww
--
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d___
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] harvesting in dspace 3.0

2012-12-06 Thread João Melo
Hi Mushashu,

this issue is now reported on DSpace Jira.
https://jira.duraspace.org/browse/DS-1415


On 6 December 2012 17:04, Mushashu Mwansa Lumpa mm.lu...@uct.ac.za wrote:

 I am running the latest release of dspace, 3.0. I am unable to set the
 provider for any given collection. Also, the drop down box that lists what
 metadata to use for the harvest is empty. I have looked at the logs and
 there is nothing there that suggest what the problem might be. could it be
 there is some configuration i need to setup? Anyone experienced this?

 attached a screen shot


 -m


 --
 LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
 Remotely access PCs and mobile devices and provide instant support
 Improve your efficiency, and focus on delivering more value-add services
 Discover what IT Professionals Know. Rescue delivers
 http://p.sf.net/sfu/logmein_12329d2d
 ___
 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




-- 
Thanks, João Melo (My Portfolio http://www.lyncode.com/m/jmelo/)
DSpace Department
*Lyncode*: Official
websitehttp://www.google.com/url?q=http%3A%2F%2Fwww.lyncode.com%2Fsa=Dsntz=1usg=AFrqEzdV8iS6rMxflxnn138XReuRfUG3OQ
[image: Follow us on
Facebook]http://www.google.com/url?q=http%3A%2F%2Ftwitter.com%2Flyncodesa=Dsntz=1usg=AFrqEzeDuT3ZqMW5uVIA8AoxtTtAeiCX3Q
http://www.google.com/url?q=http%3A%2F%2Fwww.facebook.com%2Flyncodesa=Dsntz=1usg=AFrqEzcWXjHa3gKBGLsNVxktapxkiWDnww
--
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d___
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] Harvesting items Metadata from a remote dspace, into another

2012-11-29 Thread João Melo
Hi Mckeane,

which DSpace version are you using?
Is it possible to configure/make sure it's working ORE at the remote DSpace?
More information for 1.8.X:

https://wiki.duraspace.org/display/DSDOC18/OAI#OAI-HarvestingfromanotherDSpace



On 27 November 2012 20:36, Mckeane Thomas mckeane.tho...@gmail.com wrote:

 Hello I am trying to Harvest metadata and references to bitstreams from a
 remotely from another dspace instance. However, when I use the Qualified
 Dublin Core and the Dspace Intermediate Metadata I get the following errors
 :

  *The OAI server does not support ORE dissemination
  *The OAI server does not support dissemination in this format

 However, if I use the Simple Dublin Core I get the following error:
 * The OAI server does not support ORE dissemination

 I cant seem to get rid of the errors above,

 harvester.oai.metadataformats.dc =
 http://www.openarchives.org/OAI/2.0/oai_dc/, Simple Dublin Core
 harvester.oai.metadataformats.qdc = http://purl.org/dc/terms/, Qualified
 Dublin Core
 harvester.oai.metadataformats.dim = http://www.dspace.org/xmlns/dspace/dim,
 DSpace Intermediate Metadata

 Below are the metadata formats from the url: http://
 [dspace_site]/oai/request?verb=ListMetadataFormats
 ListMetadataFormats
 -
 metadataFormat
 metadataPrefixoai_dc/metadataPrefix
 schemahttp://www.openarchives.org/OAI/2.0/oai_dc.xsd/schema
 metadataNamespacehttp://www.openarchives.org/OAI/2.0/oai_dc/
 /metadataNamespace
 /metadataFormat
 -
 metadataFormat
 metadataPrefixrdf/metadataPrefix
 schemahttp://www.openarchives.org/OAI/2.0/rdf.xsd/schema
 metadataNamespacehttp://www.openarchives.org/OAI/2.0/rdf/
 /metadataNamespace
 /metadataFormat
 -
 metadataFormat
 metadataPrefixmets/metadataPrefix
 schemahttp://www.loc.gov/standards/mets/mets.xsd/schema
 metadataNamespacehttp://www.loc.gov/METS//metadataNamespace
 /metadataFormat
 /ListMetadataFormats

 Any help would be appreciated,
 Also if I have custom metadata schema/registry is there any way for me to
 retrieve these via OAI_ORE?

 Best Regards,
 --Mckeane Thomas


 --
 Keep yourself connected to Go Parallel:
 DESIGN Expert tips on starting your parallel project right.
 http://goparallel.sourceforge.net
 ___
 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




-- 
Thanks, João Melo (My Portfolio http://www.lyncode.com/m/jmelo/)
DSpace Department
*Lyncode*: Official
websitehttp://www.google.com/url?q=http%3A%2F%2Fwww.lyncode.com%2Fsa=Dsntz=1usg=AFrqEzdV8iS6rMxflxnn138XReuRfUG3OQ
[image: Follow us on
Facebook]http://www.google.com/url?q=http%3A%2F%2Ftwitter.com%2Flyncodesa=Dsntz=1usg=AFrqEzeDuT3ZqMW5uVIA8AoxtTtAeiCX3Q
http://www.google.com/url?q=http%3A%2F%2Fwww.facebook.com%2Flyncodesa=Dsntz=1usg=AFrqEzcWXjHa3gKBGLsNVxktapxkiWDnww
--
Keep yourself connected to Go Parallel: 
VERIFY Test and improve your parallel project with help from experts 
and peers. http://goparallel.sourceforge.net___
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-general] OAI-ORE harvesting

2012-11-29 Thread João Melo
Hi Nguyen,

i'll assume that you're using OAI_DC as schema for exposing that
information from the repository.

By convention OAI_DC schema (simplified DC) establishes that authors must
be exposed as *dc.creator*. However DSpace uses another schema (qualified
DC), which uses *dc.contributor.author* to store author's, blocking this
conversion isn't advisable (and it's only achieved with code changes). But
that isn't the limitation, OAI_DC doesn't supports qualified elements,
basically, it isn't correct to expose qualified elements, like *
dc.contributor.author, *using OAI_DC.

I would recommend to expose metadata using QDC (the same used by DSpace by
default).

Documentation for 1.8.X:
https://wiki.duraspace.org/display/DSDOC18/OAI#OAI-ActivatingAdditionalOAI-PMHCrosswalks

You can also use the XOAI add-on (another OAI interface for DSpace) which
allows you to modify every schema in a simple way (
http://www.lyncode.com/dspace/addons/xoai/). The new DSpace 3.0 is going to
replace the old OAI module by this new one (XOAI).


On 26 November 2012 04:29, Nguyen Hung Thanh nghungth...@gmail.com wrote:

 Hi all,
 Please help me,
 When DSpace haverting, DSpace convert field *dc.contributor.author* to *
 dc.creator*
 How still keep value *dc.contributor.author *field. I don't want to move
 into *dc.creator*

 Thanks

 Nguyen


 --
 Monitor your physical, virtual and cloud infrastructure from a single
 web console. Get in-depth insight into apps, servers, databases, vmware,
 SAP, cloud infrastructure, etc. Download 30-day Free Trial.
 Pricing starts from $795 for 25 servers or applications!
 http://p.sf.net/sfu/zoho_dev2dev_nov
 ___
 Dspace-general mailing list
 dspace-gene...@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-general




-- 
Thanks, João Melo (My Portfolio http://www.lyncode.com/m/jmelo/)
DSpace Department
*Lyncode*: Official
websitehttp://www.google.com/url?q=http%3A%2F%2Fwww.lyncode.com%2Fsa=Dsntz=1usg=AFrqEzdV8iS6rMxflxnn138XReuRfUG3OQ
[image: Follow us on
Facebook]http://www.google.com/url?q=http%3A%2F%2Ftwitter.com%2Flyncodesa=Dsntz=1usg=AFrqEzeDuT3ZqMW5uVIA8AoxtTtAeiCX3Q
http://www.google.com/url?q=http%3A%2F%2Fwww.facebook.com%2Flyncodesa=Dsntz=1usg=AFrqEzcWXjHa3gKBGLsNVxktapxkiWDnww
--
Keep yourself connected to Go Parallel: 
VERIFY Test and improve your parallel project with help from experts 
and peers. http://goparallel.sourceforge.net___
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] Default search order

2012-11-29 Thread João Melo
Hi Germán,

you can only achieve that default behavior (on Search Lucene) with code
changes - at dspace-api/src/main/java/org/dspace/search/DSQuery.java.

You could contact one DSpace service provider which could help you
accomplishing that. Or you could also propose it as a new feature at
https://jira.duraspace.org/browse/DS




On 6 November 2012 13:26, Germán Biozzoli germanbiozz...@gmail.com wrote:

 Hi DSpace list

 I want to modify the default results order in a search. Actually is
 set to Lucene's rank, I suppose. I need to set it to publication date
 descending (that is one of the options, but I don't know how to set it
 as default).

 I'm using JSPUI.

 Thanks for the help
 Germán


 --
 LogMeIn Central: Instant, anywhere, Remote PC access and management.
 Stay in control, update software, and manage PCs from one command center
 Diagnose problems and improve visibility into emerging IT issues
 Automate, monitor and manage. Do more in less time with Central
 http://p.sf.net/sfu/logmein12331_d2d
 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech




-- 
Thanks, João Melo (My Portfolio http://www.lyncode.com/m/jmelo/)
DSpace Department
*Lyncode*: Official
websitehttp://www.google.com/url?q=http%3A%2F%2Fwww.lyncode.com%2Fsa=Dsntz=1usg=AFrqEzdV8iS6rMxflxnn138XReuRfUG3OQ
[image: Follow us on
Facebook]http://www.google.com/url?q=http%3A%2F%2Ftwitter.com%2Flyncodesa=Dsntz=1usg=AFrqEzeDuT3ZqMW5uVIA8AoxtTtAeiCX3Q
http://www.google.com/url?q=http%3A%2F%2Fwww.facebook.com%2Flyncodesa=Dsntz=1usg=AFrqEzcWXjHa3gKBGLsNVxktapxkiWDnww
--
Keep yourself connected to Go Parallel: 
VERIFY Test and improve your parallel project with help from experts 
and peers. http://goparallel.sourceforge.net___
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] Harvest metadata and references - requires ORE support?

2012-11-29 Thread João Melo
Hi Anthony,

this functionality requires code changes. The source
code directory dspace-api/src/main/java/org/dspace/content/crosswalk
contains all crosswalks used to map metadata values into DSpace.

If aren't able to accomplish it by your own, you could contact some DSpace
service provider which could help you accomplishing that. Or you could also
propose it as a new feature at https://jira.duraspace.org/browse/DS.


On 27 November 2012 18:51, Anthony Petryk anthony.pet...@uottawa.ca wrote:

  Hello,

 ** **

 We’re trying to harvest metadata from Hindawi into DSpace via OAI-PMH:
 http://www.hindawi.com/oai-pmh/.  Although the harvest works
 successfully, the harvested items do not contain a (clickable) link back to
 the content.  Because Hindawi does not support ORE, we cannot select
 “Harvest metadata and references to bitstreams” in the harvesting options
 for the collection.  However, the harvested metadata does in fact contain
 the necessary reference, in the dc.identifier field.  See
 http://www.hindawi.com/oai-pmh/oai.aspx?verb=ListRecordsset=ISRN.ZOOLOGY:2011metadataPrefix=oai_dcfor
  an example.
 

 ** **

 What’s the best way to get the DSpace harvester to map this reference to
 the dc.identifier.uri field?  Or is there a reason that this actually
 requires ORE support from the provider?  We’re using DSpace 1.8.2 on a test
 server.

 ** **

 Thanks in advance for your insights.

 ** **

 Anthony


 --
 Monitor your physical, virtual and cloud infrastructure from a single
 web console. Get in-depth insight into apps, servers, databases, vmware,
 SAP, cloud infrastructure, etc. Download 30-day Free Trial.
 Pricing starts from $795 for 25 servers or applications!
 http://p.sf.net/sfu/zoho_dev2dev_nov
 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech




-- 
Thanks, João Melo (My Portfolio http://www.lyncode.com/m/jmelo/)
DSpace Department
*Lyncode*: Official
websitehttp://www.google.com/url?q=http%3A%2F%2Fwww.lyncode.com%2Fsa=Dsntz=1usg=AFrqEzdV8iS6rMxflxnn138XReuRfUG3OQ
[image: Follow us on
Facebook]http://www.google.com/url?q=http%3A%2F%2Ftwitter.com%2Flyncodesa=Dsntz=1usg=AFrqEzeDuT3ZqMW5uVIA8AoxtTtAeiCX3Q
http://www.google.com/url?q=http%3A%2F%2Fwww.facebook.com%2Flyncodesa=Dsntz=1usg=AFrqEzcWXjHa3gKBGLsNVxktapxkiWDnww
--
Keep yourself connected to Go Parallel: 
VERIFY Test and improve your parallel project with help from experts 
and peers. http://goparallel.sourceforge.net___
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] Harvesting items Metadata from a remote dspace, into another

2012-11-29 Thread João Melo
Hi Mckeane,

basically the remote DSpace doesn't have ORE active. You have two options:

- Activate ORE at the remote DSpace
- Harvest metadata only


On 29 November 2012 15:36, Mckeane Thomas mckeane.tho...@gmail.com wrote:

 I am using dspace 1.8.1. I tested at the remote dspace location and when I
 entered the following http://dspace.url/oai/request  at the prompt that
 asked for the OAI provider (The url of the target repository's OAI
 provider service)
 I didn't get any error at that point when I tested the settings.

 But at the section which ask for the Metadata Format I got the following
 errors for both Qualified Dublin Core and the Dspace Intermediate
 Metadata  :

  *The OAI server does not support ORE dissemination
  *The OAI server does not support dissemination in this format

 However, if I use the Simple Dublin Core I get the following error:
 * The OAI server does not support ORE dissemination

 The configuration below was taken from my oai.cfg file:


 harvester.oai.metadataformats.dc =
 http://www.openarchives.org/OAI/2.0/oai_dc/, Simple Dublin Core
 harvester.oai.metadataformats.qdc = http://purl.org/dc/terms/, Qualified
 Dublin Core
 harvester.oai.metadataformats.dim = http://www.dspace.org/xmlns/dspace/dim,
 DSpace Intermediate Metadata


 On Thu, Nov 29, 2012 at 7:35 AM, João Melo jm...@lyncode.com wrote:

 Hi Mckeane,

 which DSpace version are you using?
 Is it possible to configure/make sure it's working ORE at the remote
 DSpace?
 More information for 1.8.X:


 https://wiki.duraspace.org/display/DSDOC18/OAI#OAI-HarvestingfromanotherDSpace



 On 27 November 2012 20:36, Mckeane Thomas mckeane.tho...@gmail.comwrote:

 Hello I am trying to Harvest metadata and references to bitstreams from
 a remotely from another dspace instance. However, when I use the Qualified
 Dublin Core and the Dspace Intermediate Metadata I get the following errors
 :

  *The OAI server does not support ORE dissemination
  *The OAI server does not support dissemination in this format

 However, if I use the Simple Dublin Core I get the following error:
 * The OAI server does not support ORE dissemination

 I cant seem to get rid of the errors above,

 harvester.oai.metadataformats.dc =
 http://www.openarchives.org/OAI/2.0/oai_dc/, Simple Dublin Core
 harvester.oai.metadataformats.qdc = http://purl.org/dc/terms/,
 Qualified Dublin Core
 harvester.oai.metadataformats.dim =
 http://www.dspace.org/xmlns/dspace/dim, DSpace Intermediate Metadata

 Below are the metadata formats from the url: http://
 [dspace_site]/oai/request?verb=ListMetadataFormats
 ListMetadataFormats
 -
 metadataFormat
 metadataPrefixoai_dc/metadataPrefix
 schemahttp://www.openarchives.org/OAI/2.0/oai_dc.xsd/schema
 metadataNamespacehttp://www.openarchives.org/OAI/2.0/oai_dc/
 /metadataNamespace
 /metadataFormat
 -
 metadataFormat
 metadataPrefixrdf/metadataPrefix
 schemahttp://www.openarchives.org/OAI/2.0/rdf.xsd/schema
 metadataNamespacehttp://www.openarchives.org/OAI/2.0/rdf/
 /metadataNamespace
 /metadataFormat
 -
 metadataFormat
 metadataPrefixmets/metadataPrefix
 schemahttp://www.loc.gov/standards/mets/mets.xsd/schema
 metadataNamespacehttp://www.loc.gov/METS//metadataNamespace
 /metadataFormat
 /ListMetadataFormats

 Any help would be appreciated,
 Also if I have custom metadata schema/registry is there any way for me
 to retrieve these via OAI_ORE?

 Best Regards,
 --Mckeane Thomas


 --
 Keep yourself connected to Go Parallel:
 DESIGN Expert tips on starting your parallel project right.
 http://goparallel.sourceforge.net
 ___
 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




 --
 Thanks, João Melo (My Portfolio http://www.lyncode.com/m/jmelo/)
 DSpace Department
 *Lyncode*: Official 
 websitehttp://www.google.com/url?q=http%3A%2F%2Fwww.lyncode.com%2Fsa=Dsntz=1usg=AFrqEzdV8iS6rMxflxnn138XReuRfUG3OQ
 [image: Follow us on 
 Facebook]http://www.google.com/url?q=http%3A%2F%2Ftwitter.com%2Flyncodesa=Dsntz=1usg=AFrqEzeDuT3ZqMW5uVIA8AoxtTtAeiCX3Q
 http://www.google.com/url?q=http%3A%2F%2Fwww.facebook.com%2Flyncodesa=Dsntz=1usg=AFrqEzcWXjHa3gKBGLsNVxktapxkiWDnww





-- 
Thanks, João Melo (My Portfolio http://www.lyncode.com/m/jmelo/)
DSpace Department
*Lyncode*: Official
websitehttp://www.google.com/url?q=http%3A%2F%2Fwww.lyncode.com%2Fsa=Dsntz=1usg=AFrqEzdV8iS6rMxflxnn138XReuRfUG3OQ
[image: Follow us on
Facebook]http://www.google.com/url?q=http%3A%2F%2Ftwitter.com%2Flyncodesa=Dsntz=1usg=AFrqEzeDuT3ZqMW5uVIA8AoxtTtAeiCX3Q
http://www.google.com/url?q=http%3A%2F%2Fwww.facebook.com%2Flyncodesa=Dsntz=1usg=AFrqEzcWXjHa3gKBGLsNVxktapxkiWDnww
--
Keep yourself connected to Go Parallel: 
VERIFY Test

Re: [Dspace-tech] Last-Modified handling

2012-11-29 Thread João Melo
Hi Monika,

the actual DSpace implementation already supports If-Modified-Since http
parameter (checked against versions 1.8+).

There is no Last-Modified neither If-Last-Modified-Since http request
parameters. Please, check the list:
http://en.wikipedia.org/wiki/List_of_HTTP_header_fields


On 29 November 2012 14:10, Monika Mevenkamp mome...@gmail.com wrote:

 João

 We are harvesting content from DSPACE instances into a LOCKSS network for
 preservation purposes. The system is setup to initially fetch content using
 HTTP get requests and  periodically check for updates  using HTTP GET with
 If-Last-Modified-Since.  We were hoping that the DSPACE software would
 support the standard behaviour. This does not appear to be the case.  There
 are two ways to deal with this:

1. change DSPACE to treat  If-Last-Modified-Since in the usual manner
2. cache data, as you say

 I am not a web server guru and would be thankful if you could give me some
 pointers on ow to set caching up correctly for DSPACE instances using
 Apache

 Monika

 ...
 Monika Mevenkamp
 Lead Software Engineer, Educopia Institute / MetaArchive Cooperative

 http://tinyurl.com/mevenkamp


 On Thu, Nov 29, 2012 at 8:45 AM, João Melo jm...@lyncode.com wrote:

 Hi Monika,

 I wasn't able to understand your issue, why are you sending HTTP requests
 with response parameters? They trigger no action from the server, at least
 they would trigger an error.

 I don't know which http server is being used within those request
 examples, but the Expires HTTP header is commonly inactive by default,
 basically the server could use some caching mechanism for subsequent
 responses or not, seems like one of them supports cache, and the other one
 does not.


 On 27 November 2012 17:11, Monika Mevenkamp mome...@gmail.com wrote:

 Looking at several DSPACE instance I see the following behaviour

 wget -S   abitstream
  gets the bistream - shows the last modfified date
 wget -S --header  'Last-Modified of bitstream + 1  day'
 gets the bistream - although the given date is 1 day later than the
 bitstream's last modified

 In one example instance I see an Expires header that matches the current
 time
 In another example Last-Modified doesn't seem to trigger a 'short'
 response even though there is no Expires header

 How can this be fixed ?

 Monika


 Here two actual examples:

 Expires header in response:

 wget -S --header Last-Modified: Mon, 20 Mar 2006 10:14:50 GMT '
 http://ir.library.oregonstate.edu/xmlui/bitstream/handle/1957/1337/SteveStarcevichThesisText.pdf?sequence=1
 '
 --2012-11-27 11:25:01--

 http://ir.library.oregonstate.edu/xmlui/bitstream/handle/1957/1337/SteveStarcevichThesisText.pdf?sequence=1
 Resolving ir.library.oregonstate.edu http://ir.library.oregonstate.edu
 (ir.library.oregonstate.edu http://ir.library.oregonstate.edu)...
 128.193.164.207
 Connecting to ir.library.oregonstate.edu
 http://ir.library.oregonstate.edu (ir.library.oregonstate.edu
 http://ir.library.oregonstate.edu)|128.193.164.207|:80... connected.

 HTTP request sent, awaiting response...
HTTP/1.1 200 OK
Date: Tue, 27 Nov 2012 16:25:01 GMT
Server: Apache/2.2.15 (CentOS)
Set-Cookie: JSESSIONID=185239DA0AE43D7B68997ED7D6E1EA5E; Path=/xmlui
X-Cocoon-Version: 2.2.0
Vary: User-Agent
 *  Last-Modified: Sun, 19 Mar 2006 10:14:50 GMT*
 *  Expires: Tue, 27 Nov 2012 17:25:01 GMT*

Content-Length: 165582
Connection: close
Content-Type: application/pdf
 Length: 165582 (162K) [application/pdf]
 Saving to: `SteveStarcevichThesisText.pdf?sequence=1.1'

 100%[==] 165,582  355K/s   in
 0.5s

 2012-11-27 11:25:02 (355 KB/s) -
 `SteveStarcevichThesisText.pdf?sequence=1.1' saved [165582/165582]


 Example without Expires

 wget -S --header Last-Modified: Thur, 05 Jun 2008 15:48:31 GMT '
 http://archive.nyu.edu/bitstream/2451/27463/2/SSRN-id143108.pdf'
 --2012-11-27 11:30:00--
 http://archive.nyu.edu/bitstream/2451/27463/2/SSRN-id143108.pdf
 Resolving archive.nyu.edu http://archive.nyu.edu (archive.nyu.edu
 http://archive.nyu.edu)... 128.122.108.89 tel:128.122.108.89
 Connecting to archive.nyu.edu http://archive.nyu.edu (archive.nyu.edu
 http://archive.nyu.edu)|128.122.108.89 tel:128.122.108.89|:80...

 connected.
 HTTP request sent, awaiting response...
HTTP/1.1 200 OK
Date: Tue, 27 Nov 2012 16:30:00 GMT
Server: Apache/2.2.9 (Unix) mod_jk/1.2.26 mod_ssl/2.2.9 OpenSSL/0.9.7d
Set-Cookie: JSESSIONID=19AF7C000ED11486D99A8BF7AE7BCC6A; Path=/
 *  Last-Modified: Wed, 04 Jun 2008 15:48:31 GMT*

Content-Length: 426332
Keep-Alive: timeout=5, max=100
Connection: Keep-Alive
Content-Type: application/pdf
 Length: 426332 (416K) [application/pdf]
 Saving to: `SSRN-id143108.pdf.7'

 100%[==] 426,332 2.17M/s   in
 0.2s

 2012-11-27 11:30:00 (2.17 MB/s) - `SSRN-id143108.pdf.7' saved
 [426332/426332]

 ...
 Monika Mevenkamp
 Lead Software

Re: [Dspace-tech] XOAI patch fail

2012-11-23 Thread João Melo
Hi,

i'm going to port the most recent changes (of DSpace 3.0) to XOAI add-on
(for 1.8.2).


On 23 November 2012 23:03, helix84 heli...@centrum.sk wrote:

 Looks like 2 separate problems. What they have in common is that the
 original XOAI which was distributed as a webapp was called xoai.
 When it was accepted into the DSpace repository, Joao renamed it to
 oai. That string is in a lot of places, so it's easy to forget to
 change one or several when you're backporting new versions to make the
 addon.

 On Fri, Nov 23, 2012 at 5:19 PM, Alain Tschanz atsch...@njstatelib.org
 wrote:
  HTTP Status 500 - OAI 2.0 wasn't correctly initialized, please check the
 log for previous errors

 This indicates a problem with path to the configuration file. Look in
 the source to see what it needs (oai/xoai and location of the file).

  DSpace doesn't recognize the command [dspace]/bin/dspace xoai import. It
 seems that the xoai import switch isn't recognized.

 Try [dspace]/bin/dspace oai import


 Regards,
 ~~helix84

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




-- 
Thanks, João Melo (My Portfolio http://www.lyncode.com/m/jmelo/)
DSpace Department
*Lyncode*: Official
websitehttp://www.google.com/url?q=http%3A%2F%2Fwww.lyncode.com%2Fsa=Dsntz=1usg=AFrqEzdV8iS6rMxflxnn138XReuRfUG3OQ
[image: Follow us on
Facebook]http://www.google.com/url?q=http%3A%2F%2Ftwitter.com%2Flyncodesa=Dsntz=1usg=AFrqEzeDuT3ZqMW5uVIA8AoxtTtAeiCX3Q
http://www.google.com/url?q=http%3A%2F%2Fwww.facebook.com%2Flyncodesa=Dsntz=1usg=AFrqEzcWXjHa3gKBGLsNVxktapxkiWDnww
--
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Displaying recent submissions with thumbnails on Home page

2012-11-15 Thread João Melo
Hi Umair,

you could use the University of Minho add-on (
http://projecto.rcaap.pt/index.php/lang-pt/consultar-recursos-de-apoio/remository?func=fileinfoid=330
)
It works with 1.8.2 with almost none modifications.


On 15 November 2012 08:39, helix84 heli...@centrum.sk wrote:

 On Thu, Nov 15, 2012 at 6:13 AM, Umair Kayani ukay...@niftetrust.com
 wrote:
  Yes, in DSpace 3.0 RC3. Also note that I am using jspui pages not xmlui.
 I also want this to be done in DSpace 1.8.2 which of course don't have
 discovery in JSPUI pages. Please reply urgently

 Hi Umair,

 I'm not familiar with JSPUI in detail. But here's the code you need to
 modify:


 https://github.com/DSpace/DSpace/tree/master/dspace-jspui/src/main/java/org/dspace/app/webui/components/

 I was asking about Discovery because in XMLUI, the recent submissions
 code is different depending on whether it's enabled. I don't know if
 it's the same in JSPUI, but watch out for it.


 Regards,
 ~~helix84

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




-- 
Thanks, João Melo (My Portfolio http://www.lyncode.com/m/jmelo/)
DSpace Department
*Lyncode*: Official
websitehttp://www.google.com/url?q=http%3A%2F%2Fwww.lyncode.com%2Fsa=Dsntz=1usg=AFrqEzdV8iS6rMxflxnn138XReuRfUG3OQ
[image: Follow us on
Facebook]http://www.google.com/url?q=http%3A%2F%2Ftwitter.com%2Flyncodesa=Dsntz=1usg=AFrqEzeDuT3ZqMW5uVIA8AoxtTtAeiCX3Q
http://www.google.com/url?q=http%3A%2F%2Fwww.facebook.com%2Flyncodesa=Dsntz=1usg=AFrqEzcWXjHa3gKBGLsNVxktapxkiWDnww
--
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Application Security details of dspace 1.8.2

2012-11-01 Thread João Melo
Hi,

DSpace Eperson password hash:
https://github.com/DSpace/DSpace/blob/master/dspace-api/src/main/java/org/dspace/eperson/PasswordHash.java

Hashing the eperson password for storing purposes only allows one to secure
DSpace against those who have access to the database (mainly, DSpace
administrators).
However deploying DSpace without HTTPS will allow anyone on the local
network to watch all passwords, as they travel as plaintext.

On 1 November 2012 08:24, Umair Kayani ukay...@niftetrust.com wrote:

 Helix, Using SSL was our backup plan. DSpace keeps the hash of the
 password in database so I was wondering at what servlet this change occur.
 If request is going with clear password then it must be converting it to
 match with database password of the user for authentication. I need to know
 that code file or method for my understanding at least. Though I checked
 AuthenticationManager, AuthenticationMethod and eperson code files and
 found nothing there except a hashcode method in eperson code file. Can
 anyone confirm if this is the one which dspace uses to convert plain text
 password to hashcode and then match that hashcode with database hashcode.


 Thanks  Regards
 Umair Kayani

 -Original Message-
 From: ivan.ma...@gmail.com [mailto:ivan.ma...@gmail.com] On Behalf Of
 helix84
 Sent: Wednesday, October 31, 2012 5:26 PM
 To: Umair Kayani
 Cc: dspace-tech@lists.sourceforge.net
 Subject: [?? Probable Spam] Re: [Dspace-tech] Application Security details
 of dspace 1.8.2

 On Wed, Oct 31, 2012 at 1:03 PM, Umair Kayani ukay...@niftetrust.com
 wrote:
  What I want is to make my login password encrypted without deploying
  SSL certificate (without going on to https). What I investigated so
  far is that my password travels in plain text on the network which is
  a security risk. But when I check my password in database it is the
  hash value so I want to know at what point my password calculates its
  hash or verify its hash. Please also let me know what code files are
  involved in all its process

 That's correct, password is sent in plain text over HTTP, which is why
 it's recommended to use HTTPS at least for the login form.

 I have to say that while it's possible to make a system which will encrypt
 the password being sent, that means reimplementing something like TLS,
 which is bound to be a poor reimplementation and is one of the most common
 security mistakes in general. For that reason, I'm not going to give you
 tips how to do it.

 I'm wondering what is the reason why you don't want to use HTTPS.
 Perhaps you don't have a free IP address? The solution is to use SNI
 (Server Name Indication).


 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_sfd2d_oct
 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech




-- 
Thanks, João Melo (My Portfolio http://www.lyncode.com/m/jmelo/)
DSpace Department
*Lyncode*: Official
websitehttp://www.google.com/url?q=http%3A%2F%2Fwww.lyncode.com%2Fsa=Dsntz=1usg=AFrqEzdV8iS6rMxflxnn138XReuRfUG3OQ
[image: Follow us on
Facebook]http://www.google.com/url?q=http%3A%2F%2Ftwitter.com%2Flyncodesa=Dsntz=1usg=AFrqEzeDuT3ZqMW5uVIA8AoxtTtAeiCX3Q
http://www.google.com/url?q=http%3A%2F%2Fwww.facebook.com%2Flyncodesa=Dsntz=1usg=AFrqEzcWXjHa3gKBGLsNVxktapxkiWDnww
--
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_sfd2d_oct___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Autoregister is not working

2012-10-02 Thread João Melo
Hello Sergio,

your DSpace seems to be communicating with the LDAP server, but the
authentication fails with Result = 5 = COMPARE_FALSE.

http://www.centos.org/docs/5/html/CDS/cli/8.0/Configuration_Command_File_Reference-Access_Log_and_Connection_Code_Reference-LDAP_Result_Codes.html

Maybe you are providing a wrong password. The ldap password comparision has
defined in the RFC (
http://tools.ietf.org/html/draft-behera-ldap-password-policy-10#section-9.4)
could answer with that kind of response.

Maybe decreasing the log level could help you.



On 2 October 2012 23:32, Sergio Belkin seb...@gmail.com wrote:



 2012/10/2 Sergio Belkin seb...@gmail.com


 I'm breaking my head against the wall and I haven't found the problem


 Also, there is not a case of users with null mail as I've found googling
 http://www.mail-archive.com/dspace-tech@lists.sourceforge.net/msg18166.html


 Please could you help me?

 Thanks in advance!

 --
 --
 Sergio Belkin  http://www.sergiobelkin.com
 Watch More TV http://sebelk.blogspot.com
 LPIC-2 Certified - http://www.lpi.org


 --
 Don't let slow site performance ruin your business. Deploy New Relic APM
 Deploy New Relic app performance management and know exactly
 what is happening inside your Ruby, Python, PHP, Java, and .NET app
 Try New Relic at no cost today and get our sweet Data Nerd shirt too!
 http://p.sf.net/sfu/newrelic-dev2dev
 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech




-- 
Thanks, João Melo (My Portfolio http://www.lyncode.com/m/jmelo/)
DSpace Department
*Lyncode*: Official
websitehttp://www.google.com/url?q=http%3A%2F%2Fwww.lyncode.com%2Fsa=Dsntz=1usg=AFrqEzdV8iS6rMxflxnn138XReuRfUG3OQ
[image: Follow us on
Facebook]http://www.google.com/url?q=http%3A%2F%2Ftwitter.com%2Flyncodesa=Dsntz=1usg=AFrqEzeDuT3ZqMW5uVIA8AoxtTtAeiCX3Q
http://www.google.com/url?q=http%3A%2F%2Fwww.facebook.com%2Flyncodesa=Dsntz=1usg=AFrqEzcWXjHa3gKBGLsNVxktapxkiWDnww
--
Don't let slow site performance ruin your business. Deploy New Relic APM
Deploy New Relic app performance management and know exactly
what is happening inside your Ruby, Python, PHP, Java, and .NET app
Try New Relic at no cost today and get our sweet Data Nerd shirt too!
http://p.sf.net/sfu/newrelic-dev2dev___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] DSpace IIS Integration

2012-09-26 Thread João Melo
Hi,

a possible solution would be to configure the ISAPI filter in IIS to
communicate with a tomcat instance.

http://tomcat.apache.org/connectors-doc/reference/iis.html

On 26 September 2012 07:48, Lighton Phiri lighton.ph...@gmail.com wrote:

 We are at a point were we would like to open up a DSpace instance to the
 public on the standard HTTP port 80, however, the production server we
 intend to deploy the DSpace instance on runs a Microsoft Internet
 Information Server (IIS) webserver on a Windows 2003 server machine.

 The process of doing this via an Apache Web server is well documented
 [1] but I cannot seem to find anything reliable, with regards to IIS,
 except for some old posts [2,3] that have so far not been very helpful.
 Does anyone know of an easier way of doing this? If there is anyone who
 has managed to do this in the past, are there any notable challenges
 that you faced/currently face? I could really use some advice here.

 [1] https://wiki.duraspace.org/display/DSPACE/DspaceOnStandardPorts
 [2]

 http://sourceforge.net/mailarchive/forum.php?thread_name=20101115142209.GA13645%40IUPUI.Eduforum_name=dspace-tech
 [3]

 http://sourceforge.net/mailarchive/forum.php?thread_name=C3585DF9.229F5%25sdl%40aber.ac.ukforum_name=dspace-tech

 --
 Lighton Phiri
 http://lightonphiri.org



 --
 Live Security Virtual Conference
 Exclusive live event will cover all the ways today's security and
 threat landscape has changed and how IT managers can respond. Discussions
 will include endpoint security, mobile security and the latest in malware
 threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech




-- 
Thanks, João Melo (My Portfolio http://www.lyncode.com/m/jmelo/)
DSpace Department
*Lyncode*: Official
websitehttp://www.google.com/url?q=http%3A%2F%2Fwww.lyncode.com%2Fsa=Dsntz=1usg=AFrqEzdV8iS6rMxflxnn138XReuRfUG3OQ
[image: Follow us on
Facebook]http://www.google.com/url?q=http%3A%2F%2Ftwitter.com%2Flyncodesa=Dsntz=1usg=AFrqEzeDuT3ZqMW5uVIA8AoxtTtAeiCX3Q
http://www.google.com/url?q=http%3A%2F%2Fwww.facebook.com%2Flyncodesa=Dsntz=1usg=AFrqEzcWXjHa3gKBGLsNVxktapxkiWDnww
--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech