[Dspace-tech] Send Harvested Items to Workflow

2014-09-15 Thread Hayden Young
I have a collection which is harvesting from another DSpace archive. The 
requirement is to send harvested items to workflow until they are 
checked and published.

How is this achieved?

Cheers


Hayden

--
Want excitement?
Manually upgrade your production database.
When you want reliability, choose Perforce
Perforce version control. Predictably reliable.
http://pubads.g.doubleclick.net/gampad/clk?id=157508191iu=/4140/ostg.clktrk
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette


[Dspace-tech] Extract (Unnecessary) metadata with Harvested Items

2014-09-15 Thread Hayden Young
When I harvest from another DSpace instance I am getting additional 
metadata information attached to the item. These include 
dc.date.updated, dc.identifier, etc. Is it possible to configure the 
harvester to not add these extra metadata values?

Cheers


Hayden

--
Want excitement?
Manually upgrade your production database.
When you want reliability, choose Perforce
Perforce version control. Predictably reliable.
http://pubads.g.doubleclick.net/gampad/clk?id=157508191iu=/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-devel] DSpace 5: Dates and Features

2014-09-11 Thread Hayden Young
What is the current situation on the Jersey REST API bundled with DSpace 
5 in regards to the additional endpoints documented at 
https://wiki.duraspace.org/display/DSPACE/REST+API.


We are attempting to support the Jersey REST API for existing production 
DSpace instances by using the documented endpoints, in particular 
bitstream retrieval and writing back to the DSpace archive.


Additionally, what is the current status on alternative user 
authentication mechanisms in Jersey REST? The documentation discusses 
username/password being passed as part of the url although I believe 
there was discussion around other authentication functions being 
implemented.


Cheers


Hayden
email. hay...@knowledgearc.com
web. http://knowledgearc.com, http://knowledgearc.org

On 10/09/14 23:10, Peter Dietz wrote:


Greetings from the DSpace 5.0 Release Team!


We have another exciting release of DSpace in the works that has been 
growing steadily over the past few months. Many contributors have been 
busy adding new features and improvements to DSpace. This speaks 
volumes to the maturity, stability, and future of DSpace, that as the 
software project approaches its 12th year, we're still going strong. 
Read on for ways to help contribute, and find out the new features in 
DSpace 5.



The full release schedule is here:

https://wiki.duraspace.org/display/DSPACE/DSpace+Release+5.0+Status


October 6: Deadline for Feature Pull Requests

In plain English, October 6 is the last day you may submit new 
features for acceptance into DSpace 5.0. If you are working on a new 
feature for DSpace, we urge you to prepare a Pull Request now. Getting 
your work visible early as a Pull Request allows others to review, and 
help steer your contribution to inclusion in the next release.



Here’s how:

https://wiki.duraspace.org/display/DSPACE/Code+Contribution+Guidelines


Other Important Dates:

October 31 5.beta-1 - Release Candidate 1

November 03-14 Testathon (mark your calendar)

November 20 5.beta-2 - Release Candidate 2

December (mid)DSpace 5.0 Release


Of course, this also means we have a large pile of pull requests which 
need review, and other features that have been contributed but should 
still receive plenty of testing. We’d like to take a moment to call a 
few of those out, as they represent features we know are important to 
the community. If any of these features “speak to you” please consider 
pitching in with the review and testing work.



The complete list of pull requests is here:

https://github.com/dspace/dspace/pulls


Six great new features in DSpace 5

We couldn't choose just 5 great new features in DSpace 5, here's six 
great features you should take a look at:



DS-1461/DSPR#591 Batch Import Items from ZIP through UI

https://github.com/dspace/dspace/pull/591


DS-1582/DSPR#629 Metadata for all DSpace objects (not just items)

https://github.com/dspace/dspace/pull/629


DS-2061/DSPR#568 Linked Open Data for DSpace

https://github.com/dspace/dspace/pull/568


DS-2049/PR#612 ORCID Integration

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


DS-2052/PR#587 Mirage2 Responsive Theme

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


DS-2108/PR#615 Google Analytics Statistics viewer (page views and 
downloads)


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


There are also many more great proposals for DSpace 5. The status page 
https://wiki.duraspace.org/display/DSPACE/DSpace+Release+5.0+Statushas 
a full listing of things that we hope would make it in, contributions 
welcome. Lastly, we are still looking for more people to join the 
Release Team. Responsibilities include attending weekly developer 
meetings, reviewing pull requests, and ensuring requests get proper 
feedback and testing.


Peter Dietz
Longsight
www.longsight.com http://www.longsight.com
pe...@longsight.com mailto:pe...@longsight.com
p: 740-599-5005 x809


--
Want excitement?
Manually upgrade your production database.
When you want reliability, choose Perforce
Perforce version control. Predictably reliable.
http://pubads.g.doubleclick.net/gampad/clk?id=157508191iu=/4140/ostg.clktrk


___
Dspace-devel mailing list
dspace-de...@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-devel


--
Want excitement?
Manually upgrade your production database.
When you want reliability, choose Perforce
Perforce version control. Predictably reliable.
http://pubads.g.doubleclick.net/gampad/clk?id=157508191iu=/4140/ostg.clktrk___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

[Dspace-tech] Postgresql remaining connection slots are reserved for non-replication superuser connections during record import

2013-12-30 Thread Hayden Young
I'm getting an error when I try to import a record into DSpace 3.x:

Exception: FATAL: remaining connection slots are reserved for 
non-replication superuser connections
org.postgresql.util.PSQLException: FATAL: remaining connection slots are 
reserved for non-replication superuser connections
 at 
org.postgresql.core.v3.ConnectionFactoryImpl.readStartupMessages(ConnectionFactoryImpl.java:471)
 at 
org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(ConnectionFactoryImpl.java:112)
 at 
org.postgresql.core.ConnectionFactory.openConnection(ConnectionFactory.java:66)
 at 
org.postgresql.jdbc2.AbstractJdbc2Connection.init(AbstractJdbc2Connection.java:125)
 at 
org.postgresql.jdbc3.AbstractJdbc3Connection.init(AbstractJdbc3Connection.java:30)
 at 
org.postgresql.jdbc3g.AbstractJdbc3gConnection.init(AbstractJdbc3gConnection.java:22)
 at 
org.postgresql.jdbc4.AbstractJdbc4Connection.init(AbstractJdbc4Connection.java:32)
 at org.postgresql.jdbc4.Jdbc4Connection.init(Jdbc4Connection.java:24)
 at org.postgresql.Driver.makeConnection(Driver.java:393)
 at org.postgresql.Driver.connect(Driver.java:267)
 at java.sql.DriverManager.getConnection(DriverManager.java:579)
 at java.sql.DriverManager.getConnection(DriverManager.java:221)
 at 
org.apache.commons.dbcp.DriverManagerConnectionFactory.createConnection(DriverManagerConnectionFactory.java:75)
 at 
org.apache.commons.dbcp.PoolableConnectionFactory.makeObject(PoolableConnectionFactory.java:582)
 at 
org.apache.commons.pool.impl.GenericObjectPool.borrowObject(GenericObjectPool.java:974)
 at 
org.apache.commons.dbcp.PoolingDataSource.getConnection(PoolingDataSource.java:106)
 at 
org.dspace.storage.rdbms.DatabaseManager.getConnection(DatabaseManager.java:588)
 at org.dspace.core.Context.init(Context.java:90)
 at org.dspace.app.itemimport.ItemImport.main(ItemImport.java:430)
 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)


My command is:

  ./dspace import --test -a -e haydenyo...@wijiti.com -c 123456789/40 -s 
/tmp/ -z item_export_2013_Dec_30_1_103.zip -m /tmp/mapfile

The number of max connections is set to 128 in dspace.cfg. This is just 
a demo instance of DSpace so there shouldn't be much going on there. I 
could increase the number of connections but 128 seems high considering 
hardly anyone accesses this instance (I'm the first person to use it in 
2 weeks).

Any help much appreciated.

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


[Dspace-tech] dspace import cmd not encoding utf-8 file names correctly

2013-12-30 Thread Hayden Young
I am trying to export a record from one dspace instance to another.

Using the export cmd line tool, I have successfully exported a record 
but upon opening the resulting zip file I notice that the file name has 
invalid characters where some non-english characters have been used.

Example:

Using:

# ./dspace export -t ITEM -z 123456789_391.zip -d /tmp/ -i 123456789/391 
-n 1

I am able to export the record successfully, but the bitstream file 
called Masterthesis_Midtgård.pdf gets renamed to 
Masterthesis_Midtg├еrd.pdf (note the pipe/dash symbol).

My machine's locale settings are all UTF-8:

# echo $LANG
en_US.UTF-8

# cat /etc/default/locale
LANG=en_US.UTF-8

# locale -a
C
C.UTF-8
en_AG
en_AG.utf8
en_AU.utf8
en_BW.utf8
en_CA.utf8
en_DK.utf8
en_GB.utf8
en_HK.utf8
en_IE.utf8
en_IN
en_IN.utf8
en_NG
en_NG.utf8
en_NZ.utf8
en_PH.utf8
en_SG.utf8
en_US.utf8
en_ZA.utf8
en_ZM
en_ZM.utf8
en_ZW.utf8
POSIX

I've even tried overriding the JAVA_OPTS variable to no avail:

# export JAVA_OPTS=-Xmx512M -Xms64M -Dfile.encoding=UTF-8
# ./dspace export -t ITEM -z 123456789_391.zip -d /tmp/ -i 123456789/391 
-n 1

I can access the file Masterthesis_Midtgård.pdf within XMLUI and via the 
REST API so I don't think it is a Tomcat issue.

Any help much appreciated.

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

[Dspace-tech] Importing a Custom Schema from the Command line

2013-07-01 Thread Hayden Young
I'm using DSpace 3.x and am interested to know if there is a way to 
import a registry from the command line.

I believe in 1.5 there was:

./dsrun org.dspace.adminster.SchemaImporter -f custom-types.xml

but this no longer seems to be available.

I did try:

./dspace dsrun org.dspace.adminster.SchemaImporter -f custom-types.xml

but got a class not found error.

Any help much appreciated as I would prefer not to have to load the 
custom registry by hand using the UI.

Thanks

-- 
Hayden Young
Managing Director
Wijiti Pty Ltd
p. +61 (0) 8 6398 5010
e. haydenyo...@wijiti.com
w. www.wijiti.com
vcard. www.wijiti.com/vcard/haydenyoung.vcf

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


--
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] Importing a Custom Schema from the Command line

2013-07-01 Thread Hayden Young
Okay looks like:

./dspace registry-loader -dc custom-types.xml

solved my problem.

On 02/07/13 02:49, Hayden Young wrote:
 I'm using DSpace 3.x and am interested to know if there is a way to 
 import a registry from the command line.

 I believe in 1.5 there was:

 ./dsrun org.dspace.adminster.SchemaImporter -f custom-types.xml

 but this no longer seems to be available.

 I did try:

 ./dspace dsrun org.dspace.adminster.SchemaImporter -f custom-types.xml

 but got a class not found error.

 Any help much appreciated as I would prefer not to have to load the 
 custom registry by hand using the UI.

 Thanks


-- 
Hayden Young
Managing Director
Wijiti Pty Ltd
p. +61 (0) 8 6398 5010
e. haydenyo...@wijiti.com
w. www.wijiti.com
vcard. www.wijiti.com/vcard/haydenyoung.vcf

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


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


[Dspace-tech] DSpace REST API

2013-05-08 Thread Hayden Young
Wijiti has released the REST API for DSpace 1.8 and 3.0.

The latest update includes new features such as the ability to add new 
items and delete existing items and bitstreams. Please note that the 
item create feature requires a modification to the core DSpace code; 
full details will be provided on the JSpace wiki page shortly with 
another mailing list post to follow the when it is ready.

Details, downloads and documentation are available at 
https://jspace.atlassian.net/wiki/display/DSPACEAPI.

-- 
Hayden Young
Managing Director
Wijiti Pty Ltd
p. +61 (0) 8 6398 5010
e. haydenyo...@wijiti.com
w. www.wijiti.com
vcard. www.wijiti.com/vcard/haydenyoung.vcf

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


--
Learn Graph Databases - Download FREE O'Reilly Book
Graph Databases is the definitive new guide to graph databases and 
their applications. This 200-page book is written by three acclaimed 
leaders in the field. The early access version is available now. 
Download your free book today! http://p.sf.net/sfu/neotech_d2d_may
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette


[Dspace-tech] Browsing Solr statistics in xmlui interface

2013-02-11 Thread Hayden Young
I have set up Solr statistics for my XMLUI-based DSpace 1.8 instance. I 
can browse the statistics by accessing Solr directly 
(http://.../select?q=*:*...) but I am unable to browse the stats from 
the web interface. If I go to /statistics-home I get some very general 
Total Visits information with about 9 results, if I go to /statistics I 
get No reports available (I believe this is the old statistics reporter).

Therefore, I'm wondering, is there some way to access more thorough 
statistics via the XMLUI? In particular, I'm after number of bitstreams 
downloaded.

Any help much appreciated.

Cheers

-- 
Hayden Young
Managing Director
Wijiti Pty Ltd
p. +61 (0) 8 6398 5010
e. haydenyo...@wijiti.com
w. www.wijiti.com
vcard. www.wijiti.com/vcard/haydenyoung.vcf

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


--
Free Next-Gen Firewall Hardware Offer
Buy your Sophos next-gen firewall before the end March 2013 
and get the hardware for free! Learn more.
http://p.sf.net/sfu/sophos-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


[Dspace-tech] Some users can bypass review, some can't

2012-10-18 Thread Hayden Young
I have a customer who requires most of their contributors' submissions 
to pass through the review process prior to being archived. However, 
there is a group of contributors who can submit items directly into the 
archive (i.e. it doesn't need to be submitted to the review pool).

I'm not sure how to implement this in DSpace. Is such setup possible, 
and, if so, how would I set this up?

Cheers


Hayden

-- 
Hayden Young
Managing Director
Wijiti Pty Ltd
p. +61 (0) 8 6398 5010
e. haydenyo...@wijiti.com
w. www.wijiti.com
vcard. www.wijiti.com/vcard/haydenyoung.vcf

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


--
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] Some users can bypass review, some can't

2012-10-18 Thread Hayden Young
Thanks helix84, I will give this a try. I'm wondering if I could use the 
wildcard access control to remove edit access to these users if I 
adopted your approach.

Thanks again


Hayden

On 18/10/12 20:57, helix84 wrote:
 On Thu, Oct 18, 2012 at 2:51 PM, Hayden Young haydenyo...@wijiti.com wrote:
 I have a customer who requires most of their contributors' submissions
 to pass through the review process prior to being archived. However,
 there is a group of contributors who can submit items directly into the
 archive (i.e. it doesn't need to be submitted to the review pool).

 I'm not sure how to implement this in DSpace. Is such setup possible,
 and, if so, how would I set this up?
 Hi Hayden,

 the approach that comes to me naturally is to make a group of
 collection admins and put those epersons there. They would also have
 permanent edit access to items in that collection, which might be
 undesirable (they could edit each other's items).

 Maybe there's also another approach I'm not familiar with.

 Regards,
 ~~helix84

-- 
Hayden Young
Managing Director
Wijiti Pty Ltd
p. +61 (0) 8 6398 5010
e. haydenyo...@wijiti.com
w. www.wijiti.com
vcard. www.wijiti.com/vcard/haydenyoung.vcf

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


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


[Dspace-tech] DSpace REST API Showcase

2012-10-08 Thread Hayden Young
For anyone interested in integrating DSpace with other applications.

A brief case study of an integration between Joomla and DSpace using the 
DSpace REST API (https://github.com/wijiti/dspace-rest-api):

http://www.wijiti.com/saber

Features include:
- Full integration of DSpace communities/collections, items and assets 
using the OSS Joomla extension JSpace,
- Index and search of DSpace items and assets using both the REST API 
and the OSS Joomla extension JSolr,
- Latest Items / Most Popular Items using JSpace modules and the DSpace 
REST API,
- Project portals for displaying related assets and items in the archive 
to site users.

A link to the live site is available at the end of the above case study 
page.

Cheers


Hayden

-- 
Hayden Young
Managing Director
Wijiti Pty Ltd
p. +61 (0) 8 6398 5010
e. haydenyo...@wijiti.com
w. www.wijiti.com
vcard. www.wijiti.com/vcard/haydenyoung.vcf

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


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


[Dspace-tech] Purging thumbnails and previews created using filter-media

2012-09-27 Thread Hayden Young
We have been using filter-media to create previews and thumbnails but 
have recently decided to use a different mechanism to generate these files.

We are able to stop creating previews for newly archived items but is 
there a way to purge previews and thumbnails from existing items?

Cheers

-- 
Hayden Young
Managing Director
Wijiti Pty Ltd
p. +61 (0) 8 6398 5010
e. haydenyo...@wijiti.com
w. www.wijiti.com
vcard. www.wijiti.com/vcard/haydenyoung.vcf

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


--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://ad.doubleclick.net/clk;258768047;13503038;j?
http://info.appdynamics.com/FreeJavaPerformanceDownload.html
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] DSpace REST API

2012-07-17 Thread Hayden Young

Hi Gary

Good to hear you got it working.

Hi Peter

Yes, there should be separate count endpoints for endpoints such as 
/items and /communities (E.g. /items/count and /communities/count). I'm 
working on a CMS-based UI for DSpace but haven't had time to revisit the 
Github-based API; I'm hoping to revisit in the next 4 - 6 weeks when 
things quieten down and will test these endpoints thoroughly. I will 
also update the documentation (it is currently missing docs for sort 
parameters from the various list endpoints).


Cheers


Hayden

On 17/07/12 08:51, Gary Browne wrote:


Hi Peter,

Somehow I missed that reply -- great, that did the trick!

Thanks a lot,

Gary

*From:*Peter Dietz [mailto:pdiet...@gmail.com]
*Sent:* Tuesday, 17 July 2012 12:56 AM
*To:* Gary Browne
*Cc:* dspace-tech Tech
*Subject:* Re: [Dspace-tech] DSpace REST API

Hi Gary,

Regarding fixing your 500 error, see my previous response for how to 
fix it. Either my catalina.log or dspace.log (I forget which) was 
saying that I had my database config settings wrong instead of my 
/dspace/config/dspace.cfg, it was looking for a 
/devel/dspace/config/dspace.cfg.


Also, I think you are supposed to run create_integration_test_db.sh 
https://github.com/hedtek/dspace-rest/blob/master/create_integration_test_db.sh


==

I did spend a little bit of time trying to build some type of client 
user interface based off of REST. I couldn't decide if there was a 
best language/framework for doing this easily, so I just started 
playing with Play! Framework to make some HTTP requests to the API. It 
was fairly easy to get started, and it has pre-included support for 
parsing JSON.


A few bugs perhaps... ?

The documentation says there is a method to get the count of the 
number of total collections. 
https://jspace.atlassian.net/wiki/display/DSPACEAPI/GET_collections_count


However, accessing that endpoint didn't seem to do anything, except 
for error out that it didn't exist.


http://localhost:8080/rest/collections/count.xml

Same with communities/count.xml

When trying to dig deeper, and get the count number of items in a 
collection, I also ran into issues.


collections/:id:/items/count.format

just gave me the same data as

collections/:id:/items.format

If anyone has any app they've written to help test the REST API then 
I'd be interested in it. (I'm thinking more an app the resembles a 
DSpace user interface, then a Unit test). I started to look at the 
GSOC 2011 Rest Client, so I suppose that could be something to look at.


Peter Dietz


On Mon, Jul 16, 2012 at 12:58 AM, Gary Browne 
gary.bro...@sydney.edu.au mailto:gary.bro...@sydney.edu.au wrote:


Hi Hayden,

Yes, like helix84 said, I can get a .war output that way which unpacks 
ok under Tomcat. But I'm new to REST and need some pointers on how to 
test it.


What I started with was issuing URIs to a browser (just manually 
entering them):


http://$dev-server/rest/

This results in a describe page being displayed. Promising, I 
thought. Let's try one of the entities. When I clicked on communities 
or communities (xml), once again I get describe pages displaying in 
the browser. Great.


Now if I try something like:

http://$dev-server/rest/communities

I get a blank page. The catalina log is attached. Would you have any 
idea what's going on here?


I even tried a simple curl script in PHP and didn't get any errors, 
but also produced a blank page output.



Thanks a lot,
Gary



 -Original Message-
 From: Hayden Young [mailto:haydenyo...@wijiti.com 
mailto:haydenyo...@wijiti.com]


 Sent: Wednesday, 11 July 2012 4:17 PM
 To: dspace-tech@lists.sourceforge.net 
mailto:dspace-tech@lists.sourceforge.net

 Subject: Re: [Dspace-tech] DSpace REST API


 Hi Gary

 Please try changing the following line in your pom.xml from:

 version1.8.1/version

 to:

 version1.8.2/version

 and see if that solves your issue.

 Cheers


 Hayden

 On 10/07/12 09:55, Gary Browne wrote:
  Hi Hayden,
 
  I'm keen to try this out, however I am unable to install it - 
should it run ok

 on 1.8.2?
 
  On building (mvn package), I get the following error:
 
  [INFO] Unable to find resource 'org.dspace:dspace-rest:war:1.0' in
  repository central (http://repo1.maven.org/maven2) [INFO]
  --
  --
  [ERROR] BUILD ERROR
  [INFO]
  --
  --
  [INFO] Failed to resolve artifact.
 
  Missing:
  --
  1) org.dspace:dspace-rest:war:1.0
 
 Try downloading the file manually from the project website.
 
 Then, install it using the command:
 mvn install:install-file -DgroupId=org.dspace
  -DartifactId=dspace-rest -Dversion=1.0 -Dpackaging=war
  -Dfile=/path/to/file
 
 Alternatively, if you host your own repository you can deploy 
the file

 there:
 mvn deploy:deploy-file -DgroupId=org.dspace
  -DartifactId=dspace-rest -Dversion=1.0 -Dpackaging=war

Re: [Dspace-tech] DSpace REST API

2012-07-11 Thread Hayden Young
 by: org.apache.maven.project.InvalidProjectModelException:
 Failed to validate POM for project org.dspace.modules:rest at
 /home/dspace/svn/DSpace/dspace/modules/rest/pom.xml
   at 
 org.apache.maven.project.DefaultMavenProjectBuilder.processProjectLogic(DefaultMavenProjectBuilder.java:1077)
   at 
 org.apache.maven.project.DefaultMavenProjectBuilder.buildInternal(DefaultMavenProjectBuilder.java:880)
   at 
 org.apache.maven.project.DefaultMavenProjectBuilder.buildFromSourceFileInternal(DefaultMavenProjectBuilder.java:508)
   at 
 org.apache.maven.project.DefaultMavenProjectBuilder.build(DefaultMavenProjectBuilder.java:200)
   at org.apache.maven.DefaultMaven.getProject(DefaultMaven.java:604)
   at org.apache.maven.DefaultMaven.collectProjects(DefaultMaven.java:487)
   at org.apache.maven.DefaultMaven.collectProjects(DefaultMaven.java:560)
   at org.apache.maven.DefaultMaven.collectProjects(DefaultMaven.java:560)
   at org.apache.maven.DefaultMaven.collectProjects(DefaultMaven.java:560)
   at org.apache.maven.DefaultMaven.getProjects(DefaultMaven.java:391)
   ... 12 more

 which I fixed by adding version1.0/version to
 /home/dspace/svn/DSpace/dspace/modules/rest/pom.xml

 3) Then I get a build error like Gary described in dspace-tech, but
 [dspace-src]/dspace-rest/target/dspace-rest-1.8.1.war is present, so
 when I copy it manually to the webapps directory and set up a context
 for it, it works.

 4) I see references to DSpace 1.8.1 during the build, but it works
 fine with 1.8.2 and HEAD.

 5) When deploying as a module, location of dspace.cfg in
 src/main/webapp/WEB-INF/web.xml also has to be edited (otherwise it
 defaults to /deve/dspace/config.dspace.cfg), but this is not mentioned
 in the documentation

 6) /rest/users.xml without authentication lists user information which
 could be considered sensitive.

 My environment:

 $ java -version
 java version 1.6.0_18
 OpenJDK Runtime Environment (IcedTea6 1.8.13) (6b18-1.8.13-0+squeeze2)
 OpenJDK 64-Bit Server VM (build 14.0-b16, mixed mode)

 $ mvn --version
 Apache Maven 2.2.1 (rdebian-4)
 Java version: 1.6.0_18
 Java home: /usr/lib/jvm/java-6-openjdk/jre
 Default locale: en_US, platform encoding: UTF-8
 OS name: linux version: 2.6.32-5-amd64 arch: amd64 Family: unix

-- 
Hayden Young
Managing Director
Wijiti Pty Ltd
p. +61 (0) 8 6398 5010
e. haydenyo...@wijiti.com
w. www.wijiti.com
vcard. www.wijiti.com/vcard/haydenyoung.vcf

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




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


Re: [Dspace-tech] DSpace REST API

2012-07-11 Thread Hayden Young
Good news. We'll update the documentation.

Thanks


Hayden

On 11/07/12 00:09, Ben Sheaff wrote:
 I got it to work but in pom.xml it looks like you have assumed that the 
 folder dspace-rest has been copied into the source folder of dspace.

 You have hard coded:

  parent
  artifactIddspace-parent/artifactId
  groupIdorg.dspace/groupId
  version1.8.1/version
  relativePath../relativePath
  /parent

 So for me I fixed the relative path and changed the version to 1.7.1, I then 
 got build successful.

 Thanks,
 Ben

 -Original Message-
 From: helix84 [mailto:heli...@centrum.sk]
 Sent: July-10-12 4:22 AM
 To: Hayden Young
 Cc: dspace-tech@lists.sourceforge.net; DSpace Developer List
 Subject: Re: [Dspace-tech] DSpace REST API

 Hi Hayden,
 I was trying to build it both as a webapp and as a module just to test it. 
 Here are my notes and observations so far:

 1) Here's what I got after I ran mvn package for the first time building as a 
 webapp:

 Downloading: 
 http://source.sakaiproject.org/maven2//org/dspace/dspace-api/1.8.1/dspace-api-1.8.1.pom
 [INFO] Unable to find resource 'org.dspace:dspace-api:pom:1.8.1' in 
 repository sakaiproject repository
 (http://source.sakaiproject.org/maven2/)
 Downloading: 
 http://repo1.maven.org/maven2/org/dspace/dspace-api/1.8.1/dspace-api-1.8.1.pom
 8K downloaded  (dspace-api-1.8.1.pom)
 Downloading: 
 http://source.sakaiproject.org/maven2//org/sakaiproject/entitybus/entitybus-api/1.0.8/entitybus-api-1.0.8.pom
 636b downloaded  (entitybus-api-1.0.8.pom) [WARNING] *** CHECKSUM FAILED - 
 Checksum failed on download: local = 
 'b66699e72d4c9e4203ec8b9ae7a0a7877a64680a'; remote = 
 '7d1242d3a967c5291f1af8ea8501248a61ccda6c' - RETRYING
 Downloading: 
 http://source.sakaiproject.org/maven2//org/sakaiproject/entitybus/entitybus-api/1.0.8/entitybus-api-1.0.8.pom
 636b downloaded  (entitybus-api-1.0.8.pom) [WARNING] *** CHECKSUM FAILED - 
 Checksum failed on download: local = 
 'b66699e72d4c9e4203ec8b9ae7a0a7877a64680a'; remote = 
 '7d1242d3a967c5291f1af8ea8501248a61ccda6c' - IGNORING
 Downloading: 
 http://source.sakaiproject.org/maven2//org/sakaiproject/entitybus/1.0.8/entitybus-1.0.8.pom
 2K downloaded  (entitybus-1.0.8.pom)
 [WARNING] *** CHECKSUM FAILED - Checksum failed on download: local = 
 '88beff8c430ca7e9de493ba8da1435c2f0816fb6'; remote = 
 '5455299acc1383eac8c19391da3ea7624470dc24' - RETRYING
 Downloading: 
 http://source.sakaiproject.org/maven2//org/sakaiproject/entitybus/1.0.8/entitybus-1.0.8.pom
 2K downloaded  (entitybus-1.0.8.pom)
 [WARNING] *** CHECKSUM FAILED - Checksum failed on download: local = 
 '88beff8c430ca7e9de493ba8da1435c2f0816fb6'; remote = 
 '5455299acc1383eac8c19391da3ea7624470dc24' - IGNORING
 Downloading: 
 http://source.sakaiproject.org/maven2//org/sakaiproject/entitybus/entitybus-impl/1.0.8/entitybus-impl-1.0.8.pom
 955b downloaded  (entitybus-impl-1.0.8.pom) [WARNING] *** CHECKSUM FAILED - 
 Checksum failed on download: local = 
 'c9b46df256025d1030549d7038d559733d4041d4'; remote = 
 '76f6e7c61a137b830fdb2334bd4030df237434ef' - RETRYING
 Downloading: 
 http://source.sakaiproject.org/maven2//org/sakaiproject/entitybus/entitybus-impl/1.0.8/entitybus-impl-1.0.8.pom
 955b downloaded  (entitybus-impl-1.0.8.pom) [WARNING] *** CHECKSUM FAILED - 
 Checksum failed on download: local = 
 'c9b46df256025d1030549d7038d559733d4041d4'; remote = 
 '76f6e7c61a137b830fdb2334bd4030df237434ef' - IGNORING
 Downloading: 
 http://source.sakaiproject.org/maven2//org/sakaiproject/entitybus/entitybus-utils/1.0.8/entitybus-utils-1.0.8.pom
 746b downloaded  (entitybus-utils-1.0.8.pom)

 (It built correctly, I'm just pointing out the checksum mismatches)

 2) When I tried to build it as a module (with DSpace git master branch), I 
 got this:

 [ERROR] FATAL ERROR
 [INFO] 
 
 [INFO] Error building POM (may not be this project's POM).


 Project ID: org.dspace.modules:rest
 POM Location: /home/dspace/svn/DSpace/dspace/modules/rest/pom.xml
 Validation Messages:

  [0]  'dependencies.dependency.version' is missing for 
 org.dspace:dspace-rest:war


 Reason: Failed to validate POM for project org.dspace.modules:rest at 
 /home/dspace/svn/DSpace/dspace/modules/rest/pom.xml


 [INFO] 
 
 [INFO] Trace
 org.apache.maven.reactor.MavenExecutionException: Failed to validate POM for 
 project org.dspace.modules:rest at 
 /home/dspace/svn/DSpace/dspace/modules/rest/pom.xml
   at org.apache.maven.DefaultMaven.getProjects(DefaultMaven.java:404)
   at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:272)
   at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:138)
   at org.apache.maven.cli.MavenCli.main(MavenCli.java:362)
   at 
 org.apache.maven.cli.compat.CompatibleMain.main(CompatibleMain.java:60)
   at sun.reflect.NativeMethodAccessorImpl.invoke0

Re: [Dspace-tech] DSpace REST API

2012-07-11 Thread Hayden Young
Hi Gary

Please try changing the following line in your pom.xml from:

version1.8.1/version

to:

version1.8.2/version

and see if that solves your issue.

Cheers


Hayden

On 10/07/12 09:55, Gary Browne wrote:
 Hi Hayden,

 I'm keen to try this out, however I am unable to install it - should it run 
 ok on 1.8.2?

 On building (mvn package), I get the following error:

 [INFO] Unable to find resource 'org.dspace:dspace-rest:war:1.0' in repository 
 central (http://repo1.maven.org/maven2)
 [INFO] 
 
 [ERROR] BUILD ERROR
 [INFO] 
 
 [INFO] Failed to resolve artifact.

 Missing:
 --
 1) org.dspace:dspace-rest:war:1.0

Try downloading the file manually from the project website.

Then, install it using the command:
mvn install:install-file -DgroupId=org.dspace -DartifactId=dspace-rest 
 -Dversion=1.0 -Dpackaging=war -Dfile=/path/to/file

Alternatively, if you host your own repository you can deploy the file 
 there:
mvn deploy:deploy-file -DgroupId=org.dspace -DartifactId=dspace-rest 
 -Dversion=1.0 -Dpackaging=war -Dfile=/path/to/file -Durl=[url] 
 -DrepositoryId=[id]

Path to dependency:
  1) org.dspace.modules:rest:war:1.8.1
  2) org.dspace:dspace-rest:war:1.0

 --
 1 required artifact is missing.

 for artifact:
org.dspace.modules:rest:war:1.8.1

 from the specified remote repositories:
central (http://repo1.maven.org/maven2),
sonatype-nexus-snapshots 
 (https://oss.sonatype.org/content/repositories/snapshots)

 I'm not clear on what I should do next, are you able to help please?

 Thanks a lot,
 Gary

 -Original Message-
 From: Hayden Young [mailto:haydenyo...@wijiti.com]
 Sent: Tuesday, 10 July 2012 5:32 AM
 To: dspace-tech@lists.sourceforge.net; DSpace Developer List
 Subject: [Dspace-tech] DSpace REST API

 After several months of development, Wijiti is pleased to contribute this
 reworked version of the REST API for DSpace 1.8.x.

 Details and documentation are available at https://jspace.atlassian.net/ and
 all code is freely available via Github, the link of which is in the
 documentation.

 Enjoy.

 --
 Hayden Young
 Managing Director
 Wijiti Pty Ltd
 p. +61 (0) 8 6398 5010
 e. haydenyo...@wijiti.com
 w. www.wijiti.com
 vcard. www.wijiti.com/vcard/haydenyoung.vcf

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


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

-- 
Hayden Young
Managing Director
Wijiti Pty Ltd
p. +61 (0) 8 6398 5010
e. haydenyo...@wijiti.com
w. www.wijiti.com
vcard. www.wijiti.com/vcard/haydenyoung.vcf

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




--
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] DSpace REST API

2012-07-09 Thread Hayden Young
After several months of development, Wijiti is pleased to contribute 
this reworked version of the REST API for DSpace 1.8.x.

Details and documentation are available at https://jspace.atlassian.net/ 
and all code is freely available via Github, the link of which is in the 
documentation.

Enjoy.

-- 
Hayden Young
Managing Director
Wijiti Pty Ltd
p. +61 (0) 8 6398 5010
e. haydenyo...@wijiti.com
w. www.wijiti.com
vcard. www.wijiti.com/vcard/haydenyoung.vcf

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


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


[Dspace-tech] Login/Logout/Timed out messages to the UI

2012-06-04 Thread Hayden Young

Hi

We have a request to integrate messages to notify the user that they 
have logged in/logged out or whether their session has timed out and 
they need to log back in again.


The three cases put to us are listed below:

 * Login successfully - Hi {nametag}, you have successfully logged into
   the repository.
 * Logout - You have logged out of the repository.
 * Have been logged out, for being inactive -   For security reasons,
   you have been logged out because you were in active.

Is this possible with the XMLUI?

Cheers


Hayden

--
Hayden Young
Managing Director
Wijiti Pty Ltd
p. +61 (0) 08 6398 5010
e. haydenyo...@wijiti.com
w. www.wijiti.com
vcard. www.wijiti.com/vcard/haydenyoung.vcf

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

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


[Dspace-tech] Custom Discovery Search - Most Popular

2012-05-14 Thread Hayden Young
I have dspace discovery configured and functioning correctly and both 
statistics and search can be accessed locally on my dspace server. Next, 
I would like to write a couple of custom solr queries with one in 
particular; a most popular query which retrieves a list of the top 10 
items with the most views.

Is this possible with discovery, and, if so, how would it look?

Cheers


Hayden

-- 
Hayden Young
Managing Director
Wijiti Pty Ltd
p. +61 (0) 08 6398 5010
e. haydenyo...@wijiti.com
w. www.wijiti.com
vcard. www.wijiti.com/vcard/haydenyoung.vcf

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


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


Re: [Dspace-tech] Custom Discovery Search - Most Popular

2012-05-14 Thread Hayden Young
Hi helix84, thanks for your reply.

Could the solr query which generates the statistics on the View 
Statistics page be modified to return the 10 most visited items in the 
repository?

cheers


Hayden

On 14/05/12 22:40, helix84 wrote:
 On Mon, May 14, 2012 at 3:34 PM, Hayden Younghaydenyo...@wijiti.com  wrote:
 I have dspace discovery configured and functioning correctly and both
 statistics and search can be accessed locally on my dspace server. Next,
 I would like to write a couple of custom solr queries with one in
 particular; a most popular query which retrieves a list of the top 10
 items with the most views.

 Is this possible with discovery, and, if so, how would it look?
 Hi Hayden,

 it can be as easy as writing a SOLR query into the DSspace search
 field, which will produce a regular search results page. You can then
 take the URL with the query and link to it. That should be sufficient
 for top 10 items. Or do you think you'll need to customize the
 display, too?

 Regards,
 ~~helix84

-- 
Hayden Young
Managing Director
Wijiti Pty Ltd
p. +61 (0) 08 6398 5010
e. haydenyo...@wijiti.com
w. www.wijiti.com
vcard. www.wijiti.com/vcard/haydenyoung.vcf

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


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


[Dspace-tech] Workflow items and new workflow reviewers

2012-02-29 Thread Hayden Young
I have created a group called Reviewers and have assigned it, via a 
collection's access rules, to the Accept/Reject/Edit metadata role, then 
assigned a user to this Reviewers group. Users have then submitted new 
items which are now in workflow ready for reviewer.

Now with many workflow items awaiting review, I need to assign new users 
to my Reviewers group to address the back log but when assigned, they 
cannot see any items in the workflow. However, what I have noticed is 
that they can see items for reviewer that were submitted after they were 
added to the Reviewers group.

Is there some way new reviewers can access workflow items that were 
created before they were assigned to the Reviewers group?

Cheers

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

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


--
Virtualization  Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Workflow items and new workflow reviewers

2012-02-29 Thread Hayden Young
Thanks Brian.

I'll keep an eye out on the jira ticket.

Yeah further testing revealed the same resubmit solution.

Cheers


Hayden

On 29/02/12 23:46, Brian Freels-Stendel wrote:
 Hi Hayden,

 This is a known issue:  https://jira.duraspace.org/browse/DS-457.  The only 
 way I know to make items available to new reviewers is to reject and resubmit 
 them.

 B--

 On 2/29/2012 at 7:40 AM, in message4f4e38fb.7030...@wijiti.com, Hayden 
 Young
 haydenyo...@wijiti.com  wrote:
 I have created a group called Reviewers and have assigned it, via a
 collection's access rules, to the Accept/Reject/Edit metadata role, then
 assigned a user to this Reviewers group. Users have then submitted new
 items which are now in workflow ready for reviewer.

 Now with many workflow items awaiting review, I need to assign new users
 to my Reviewers group to address the back log but when assigned, they
 cannot see any items in the workflow. However, what I have noticed is
 that they can see items for reviewer that were submitted after they were
 added to the Reviewers group.

 Is there some way new reviewers can access workflow items that were
 created before they were assigned to the Reviewers group?

 Cheers

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

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


--
Virtualization  Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] REST API - Create a root community

2011-10-15 Thread Hayden Young
Is it possible to create a root or top level community using the 
existing DSpace REST API plugin, and, if so, what url should I be using.

Cheers

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

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


--
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2d-oct
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] REST API for DSpace

2011-06-08 Thread Hayden Young
Thanks Bojan

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

Cheers


Hayden

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

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

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

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

 It can be further received through

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

 So that is the way logos are handled.


 I will look also at the other questions you asked.

 Regards
 Bojan




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


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

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

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


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


Re: [Dspace-tech] Bitstream Relationships in REST API

2011-06-06 Thread Hayden Young

Hi Peter

Thanks for the clarification and the find original method; I already had 
code to carry out a similar function and have modified it to more 
closely match the DSpace functionality.


My assumption was that a bundle would encompass all variations of an 
asset; original, thumb, preview, but perhaps my understanding of what a 
bundle actually represents is wrong.


Thanks again


Hayden

On 07/06/11 03:21, Peter Dietz wrote:

Hi Hayden,

There is a simple method where you can ask a THUMBNAIL bundle 
bitstream for the ORIGINAL bitstream that it is related to.

Bitstream findOriginalBitstream(Item item, Bitstream derived)

Its good that there is a simple method to call, however, its 
implementation reveals how fragile the relationship between bitstreams is.
dspace-api: 
https://github.com/DSpace/DSpace/blob/master/dspace-api/src/main/java/org/dspace/content/packager/AbstractMETSDisseminator.java#L1259


Additionally it is replicated in XMLUI: 
https://github.com/DSpace/DSpace/blob/master/dspace-xmlui/dspace-xmlui-api/src/main/java/org/dspace/app/xmlui/objectmanager/ItemAdapter.java#L925



Thus, to relate between the ORIGINAL full sized bitstream paris.jpg 
and the derived THUMBNAIL bitstream paris.jpg.jpg, there's no 
bitstream-group or intelligent parent/child relationship going on 
other than the filenames being similar. In the implementation of the 
findOriginal method, the filenames are identical except for the final 
four characters, which could be .png, .jpg, .txt.




Peter Dietz



On Fri, Jun 3, 2011 at 10:15 AM, Hayden Young haydenyo...@wijiti.com 
mailto:haydenyo...@wijiti.com wrote:


I have a script which displays an item and its associated bitstreams.

What I would like to do is only list the originals with thumbnails
displayed next to image originals. Additionally each original
would have
a preview link so that branded previews could be viewed where
available.

Using /items/{id}.json returns an item, its bitstreams and bundles but
looking at the output I cannot see how to associate an original
with its
thumbnail and preview. While this isn't a problem with an item
that has
one PNG bitstream it becomes impossible to associate a thumbnail and
preview when there are multiple assets.

Therefore, how do I associate an original with its thumbnail and
preview?

Cheers


Hayden

--
Hayden Young
Managing Director
Wijiti Pty Ltd
p. +61 (0) 8 6102 1198 tel:%2B61%20%280%29%208%206102%201198
m. +61 (0) 405 520 778 tel:%2B61%20%280%29%20405%20520%20778
e. haydenyo...@wijiti.com mailto:haydenyo...@wijiti.com
w. www.wijiti.com http://www.wijiti.com
vcard. www.wijiti.com/vcard/haydenyoung.vcf
http://www.wijiti.com/vcard/haydenyoung.vcf

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



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




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

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

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


[Dspace-tech] Bitstream Relationships in REST API

2011-06-03 Thread Hayden Young
I have a script which displays an item and its associated bitstreams.

What I would like to do is only list the originals with thumbnails 
displayed next to image originals. Additionally each original would have 
a preview link so that branded previews could be viewed where available.

Using /items/{id}.json returns an item, its bitstreams and bundles but 
looking at the output I cannot see how to associate an original with its 
thumbnail and preview. While this isn't a problem with an item that has 
one PNG bitstream it becomes impossible to associate a thumbnail and 
preview when there are multiple assets.

Therefore, how do I associate an original with its thumbnail and preview?

Cheers


Hayden

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

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


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


Re: [Dspace-tech] REST API for DSpace

2011-05-30 Thread Hayden Young
Peter your patch has worked for me thanks.

The next issue seems to be with search; I get the same error when 
executing most searches (although not all).

For example, the following search succeeds:

http://www.wijiti.com:8080/i/testing/rest/search.xml?query=geisha

but most searches don't:

http://www.wijiti.com:8080/i/testing/rest/search.xml?query=example

The error I receive is:

type Status report

message Failure processing entity request (/search.xml): null

description The server encountered an internal error (Failure processing 
entity request (/search.xml): null) that prevented it from fulfilling 
this request.

I see no errors in any of the logs (catalina, localhost or dspace.log).

Could this problem be related?

Cheers


Hayden

On 05/05/11 05:48, Bojan Suzic wrote:
 Hi Peter,


 I was looking at the DSpace REST API module today, and I too had errors
 with getting null when viewing something like:
 http://localhost:8080/restapi/communities/213.xml
 ...
 Attached is my patch for fixing that. https://gist.github.com/952058
 (I'd prefer not sending files to the mailing list, also I didn't see
 where the rest bug tracker is).
 thank you for the pointing to this issue.


 Also, Bojan, I'd like to clean up the getting-started wiki page to
 make it easier to use the rest api. I had to change a few things to get
 it going. i.e. change 1.6.0-SNAPSHOT to 1.7.1. And I ran it as a module
 connected to my normal dspace code, so I'd like to add how to run it as
 a module.
 Also thanks for this part too, and for explanations entered and cleaning
 it out. I will add these changes to the repository.

 Also anyone is welcome to put his suggestions/changes/improvements on
 the wiki page, that's why it exists.


 Regards
 Bojan

 --
 WhatsUp Gold - Download Free Network Management Software
 The most intuitive, comprehensive, and cost-effective network
 management toolset available today.  Delivers lowest initial
 acquisition cost and overall TCO of any competing solution.
 http://p.sf.net/sfu/whatsupgold-sd
 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech

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

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


--
vRanger cuts backup time in half-while increasing security.
With the market-leading solution for virtual backup and recovery, 
you get blazing-fast, flexible, and affordable data protection.
Download your free trial now. 
http://p.sf.net/sfu/quest-d2dcopy1
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Custom Browse By not always showing

2011-05-23 Thread Hayden Young

I was able to find a solution to my issue.

Anyone else who is experiencing this issue it is a tomcat cache problem.

To resolve, clear tomcat's application cache directory:

E.g.

rm -Rf /var/lib/tomcat6/work/Catalina/localhost/my_web_app/cache-dir

Cheers


Hayden

On 15/05/11 15:39, Hayden Young wrote:
Could you please provide any examples of this functionality working? I 
would be interested to see what is possible.


On 15/05/11 14:07, Ajay Parikh wrote:

yes i have a solution but you have to pay for tha same

Dr Ajay Parikh
Dept. of Computer Sc.
Gujarat Vidyapith,
Ahmedabad -380014
Gujarat - INDIA
M- 919426587062



Please do not print this email unless it is absolutely necessary. 
Spread environmental awareness.





On Sat, May 14, 2011 at 8:22 PM, Hayden Young haydenyo...@wijiti.com 
mailto:haydenyo...@wijiti.com wrote:


I have created a custom meta data field, custom.my.field, which I
would
like to provide a Browse By entry for in the Browse By menu.

I have added my custom meta data field using webui.browse.index.n
and,
if any items in a collection have any records, then the Browse by
menu
shows my custom.my.field. However, if the collection does not contain
any records or if I am on the home page or another Browse By
page, then
the menu item does not show.

Is there a way to configure DSpace to show my custom Browse By
menu on
all pages?

Cheers


Hayden

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

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



--
Achieve unprecedented app performance and reliability
What every C/C++ and Fortran developer should know.
Learn how Intel has extended the reach of its next-generation tools
to help boost performance applications - inlcuding clusters.
http://p.sf.net/sfu/intel-dev2devmay
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
mailto:DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech




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

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


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

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

--
What Every C/C++ and Fortran developer Should Know!
Read this article and learn how Intel has extended the reach of its 
next-generation tools to help Windows* and Linux* C/C++ and Fortran 
developers boost performance applications - including clusters. 
http://p.sf.net/sfu/intel-dev2devmay___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Custom Browse By not always showing

2011-05-15 Thread Hayden Young
Could you please provide any examples of this functionality working? I 
would be interested to see what is possible.


On 15/05/11 14:07, Ajay Parikh wrote:

yes i have a solution but you have to pay for tha same

Dr Ajay Parikh
Dept. of Computer Sc.
Gujarat Vidyapith,
Ahmedabad -380014
Gujarat - INDIA
M- 919426587062



Please do not print this email unless it is absolutely necessary. 
Spread environmental awareness.





On Sat, May 14, 2011 at 8:22 PM, Hayden Young haydenyo...@wijiti.com 
mailto:haydenyo...@wijiti.com wrote:


I have created a custom meta data field, custom.my.field, which I
would
like to provide a Browse By entry for in the Browse By menu.

I have added my custom meta data field using webui.browse.index.n and,
if any items in a collection have any records, then the Browse by menu
shows my custom.my.field. However, if the collection does not contain
any records or if I am on the home page or another Browse By page,
then
the menu item does not show.

Is there a way to configure DSpace to show my custom Browse By menu on
all pages?

Cheers


Hayden

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

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



--
Achieve unprecedented app performance and reliability
What every C/C++ and Fortran developer should know.
Learn how Intel has extended the reach of its next-generation tools
to help boost performance applications - inlcuding clusters.
http://p.sf.net/sfu/intel-dev2devmay
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
mailto:DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech




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

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

--
Achieve unprecedented app performance and reliability
What every C/C++ and Fortran developer should know.
Learn how Intel has extended the reach of its next-generation tools
to help boost performance applications - inlcuding clusters.
http://p.sf.net/sfu/intel-dev2devmay___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] custom metadata deletion question

2011-03-31 Thread Hayden Young

Hi

I had a similar problem and it turned out I still had custom metadata 
hanging around in one my records.


You could dump your metadata out of DSpace and search the exported 
metadata to check that all your custom field values have been deleted.


ItemExport is a good tool for exporting from the command line:

/path/to/dspace/bin/dspace dsrun org.dspace.app.itemexport.ItemExport -h

or you can export from the DSpace UI by selecting a collection then 
selecting export metadata from the context menu.


There's also a batch editing tool by Stuart Lewis floating around as 
well which (I think) allows you to edit metadata from a CSV file.


Cheers


Hayden

On 01/04/11 04:40, Paul Go wrote:


We need to delete the some custom metadata that was created. We 
believe that we have deleted all the spots where that metadata was 
referenced, yet when attempting to delete the entire schema, this 
message is returned:


org.postgresql.util.PSQLException: ERROR: update or delete on
table metadatafieldregistry violates foreign key constraint
metadatavalue_metadata_field_id_fkey on table metadatavalue

Detail: Key (metadata_field_id)=(72) is still referenced from
table metadatavalue.


How can we delete this entirely?

Thanks!

Paul Go

Systems Librarian /
Library Technology Manager
Paul V. Galvin Library
35 West 33rd Street
Chicago, IL  60616
312.567.7997
p...@iit.edu mailto:p...@iit.edu


--
Create and publish websites with WebMatrix
Use the most popular FREE web apps or write code yourself;
WebMatrix provides all the features you need to develop and
publish your website. http://p.sf.net/sfu/ms-webmatrix-sf


___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


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

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

--
Create and publish websites with WebMatrix
Use the most popular FREE web apps or write code yourself; 
WebMatrix provides all the features you need to develop and 
publish your website. http://p.sf.net/sfu/ms-webmatrix-sf
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] sitemap.xmap Documentation

2011-02-02 Thread Hayden Young
We're working through a customization for the DSpace XMLUI and were 
wondering if there is any documentation regarding sitemap.xmap 
configuration. In particular, we are trying to modify the DSpace 
submission process by integrating a multi-file upload applet into the 
file upload step, but the applet does not send the files to the server 
using the HTML form post.

We are running DSpace 1.7.0.

Cheers

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

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


--
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
February 28th, so secure your free ArcSight Logger TODAY! 
http://p.sf.net/sfu/arcsight-sfd2d
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] License Compatibility

2010-11-02 Thread Hayden Young
We are carrying out some custom development on our DSpace installation 
and I would like to confirm some open source licensing issues:

It is my understanding that if I wish to license changes to any core 
development I need to choose either the BSD license or a BSD-compatible 
license. However, if I develop a 3rd party extension, I can license it 
under the Gnu GPL. Is this correct or do I need to adopt the 
BSD-compatible license for my 3rd party extension as well? What is the 
impact if my extension uses the DSpace API?

Cheers


Hayden

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

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


--
Nokia and ATT present the 2010 Calling All Innovators-North America contest
Create new apps  games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] messages.properties in hindi

2010-10-27 Thread Hayden Young
You'll need to use a program called native2ascii to convert your 
properties files back to unencoded utf8. Alternatively, you could use a 
gui tool such as TongueTied or Eclipse's property file editor to convert 
the properties file into a text readable format for editing.


Hope this helps.

Cheers


Hayden

On 27/10/10 16:59, Hardik Mishra wrote:

Hi Everyone

I want to use  hindi lables for dpsace 1.5.2

I am using win xp

i have configured webui.supported.locale  and it shows me hindi option 
in browser.


I have created Messages.rtf file with an UTF-8 editor and then save as 
it as Messages_hi.text

as UTF-8

So Now if i open this file with any editor Hindi fonts persists.

Then i have created a Messages_hi.properties file with UTF-8 encoding.

I am pasting all text from unicode text file to properties file.

When i open Messages_hi.properties file with notepad it works fine but 
with any other editor like

wordpad, or dreamweaver.  Values for keys gets garbled.

So, dspace also displays garbled values.

Any help would be appreciated




Thanks   Regards
Hardik Mishra
Software Engineer
Webinito Networks

Give a man a fish, and you feed him for a day. Teach a man to catch 
fish and you feed him for a lifetime.



--
Nokia and ATT present the 2010 Calling All Innovators-North America contest
Create new apps  games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store
http://p.sf.net/sfu/nokia-dev2dev


___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
   


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

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

--
Nokia and ATT present the 2010 Calling All Innovators-North America contest
Create new apps  games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] SRW/U server problems

2010-07-23 Thread Hayden Young
Hi Ralph

Did you get access to a DSpace instance? If not, I can probably spin up 
one of my Amazon instances for you to test on over the weekend.

Let me know.

Cheers


Hayden

On 23/07/10 01:51, LeVan,Ralph wrote:
 My preference is to work on the oclcsrw version and find a mechanism to 
 synchronize that with a DSpace copy.

 Ralph


 -Original Message-
 From: ivan.ma...@gmail.com [mailto:ivan.ma...@gmail.com] On Behalf Of
 helix84
 Sent: Thursday, July 22, 2010 11:23 AM
 To: LeVan,Ralph
 Cc: dspace-tech
 Subject: Re: [Dspace-tech] SRW/U server problems

 On Thu, Jul 22, 2010 at 17:14, LeVan,Ralphle...@oclc.org  wrote:
  
 Please include me in that conversation.

 I'd really like to get you guys running on my latest code.  I've made
 significant enhancements to support Linked Data and think you'd like to
 have them.

 But, I have a problem.  I don't run a DSpace instance myself and
 installing one just for testing purposes had gotten way too complicated.
 Is there someone out there that runs a test DSpace that would be willing
 to give me a logon to their server so I could test new SRW releases?

 Yes, I could do that. I'll look into it tomorrow. Installing DSpace is
 not a problem for me, installing SRW is, so you would have to play
 with that.

 Which SRW server are you developing? The OCLC one? Or the dspace-srw
 module?

 Regards,
 ~~helix84
  
 --
 This SF.net email is sponsored by Sprint
 What will you do first with EVO, the first 4G phone?
 Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech


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

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


--
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] v1.6 updating dspace.cfg?

2010-07-07 Thread Hayden Young
Hi

If you update the config file using ant, make sure you specify the flag 
overwrite=true; E.g.

ant update_configs -Doverwrite=true

If you don't specify this, the new config file will be written to 
dspace.cfg.new.

Cheers


Hayden

On 06/07/10 21:31, Michael White wrote:
 Hi,

 I just installed a vanilla DSpace 1.6.2 and had it running in the most basic 
 way (i.e. just updating the basic config with the info required to get it up 
 and running, before the application was built using “ant fresh_install”). I 
 had the application responding at http://dspacedev.stir.ac.uk:8080/jspui/ and 
 was able to log on using my newly created admin account, but didn’t do 
 anything to the system (in terms of setting up Communities and Collections 
 etc).

 The next thing I tried to do was to make a minor config change (just a simple 
 change to “dspace.name”) in order to test the process of making config 
 changes and getting them into DSpace 1.6 . . .

 Unfortunately, despite banging my head against it for quite a while I’ve not 
 been able to incorporate this simple change into DSpace :-(

 Following the manual, I made the change to dspace.cfg in 
 [dspace-source]/dspace/config

 As the user running Tomcat, I did the following:

 cd /usr/src/dspace-1.6.2-src-release/dspace/target/dspace-1.6.2-build.dir
 ant update_configs

 - and expected this to update the config file in [dspace]/dspace/config, 
 however, when I check this file, it is still the old version (i.e. doesn't 
 contain the updated dspace.name value) . . .

 I see that there are 2 new files in the [dspace]/config directory – 
 dspace.cfg.default and dspace.cfg.new, but neither of these contains the 
 updated value for dspace.name that appears in the config file in 
 [dspace-source]/dspace/config . . .

 I've checked permissions (always the first place to start ;-) ), and 
 everything appears to be owned by my tomcat user, so I don't think that is 
 the issue . . .

 Have I misunderstood the process? Or perhaps I’m doing something wrong?

 Any pointers, hints, or tips welcome :-)

 Cheers,

 Mike

 Michael White
 eLearning Developer
 eLearning Liaison  Development (eLD)
 3V3a, Cottrell
 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.is.stir.ac.uk/aboutis/teams/aldt/eld.php





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

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


--
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Messages.properties customisation

2010-07-07 Thread Hayden Young
Hi

Try deploying your properties files straight to your dspace instance to 
see if they are working correctly;

1. /var/lib/tomcat6/webapps/dspace/jspui/webapps/jspui/WEB-INF/classes 
(change the path to your unpacked dspace war path)

2. Restart tomcat

You could also check that the correct properties files are being 
deployed by checking the above path.

Cheers


Hayden

On 07/07/10 23:19, Michael White wrote:
 Hi folks,

 I'm trying to edit some items in Messages.properties (and add some new ones) 
 for a new v1.6 development instance but I'm struggling to understand how to 
 get my updated Messages.properties file picked up by DSpace.

 I've done this in v1.4 before without problems, but I'm new to 1.6 and 
 struggling to get this to work. I've been through the manual and searched the 
 archives but nothing I'm trying is working so far - hopefully someone will be 
 able to see what I'm doing wrong and point me in the right direction!

 If I'm understanding correctly, I should:

 - put my updated Messages.properties file here: 
 /usr/src/dspace-1.6.2-src-release/dspace/modules/jspui/src/main/resources

 - cd /usr/src/dspace-1.6.2-src-release/dspace/

 - run mvn package

 - cd /usr/src/dspace-1.6.2-src-release/dspace/target/dspace-1.6.2-build.dir

 - run ant -Dconfig=/usr/local/dspace/config/dspace.cfg update

 - stop tomcat, redeploy my WAR files, start tomcat

 However, after doing this, I don't see the modified text on the screen, and 
 I'm still seeing the placeholder labels, such as 
 ???metadata.dc.citation.peerreviewed???, all over the place (even though I've 
 now defined these in Messages.properties).

 I've also tried making the changes to Messages.properties directly at 
 /usr/src/dspace-1.6.2-src-release/dspace-api/src/main/resources/Messages.properties
  (and rebuilding/redeploying), but to no avail.

 I have successfully modified some jsps using a local copy in 
 /usr/src/dspace-1.6.2-src-release/dspace/modules/jspui/src/main/webapp, so I 
 know that the mvn, ant, redeploy procedure works in general.

 Am I doing anything obviously wrong? If not, then are there any other 
 gotchas that I might be falling foul of?

 Any assistance very welcome!

 Cheers,

 Mike

 Michael White
 eLearning Developer
 eLearning Liaison  Development (eLD)
 3V3a, Cottrell
 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.is.stir.ac.uk/aboutis/teams/aldt/eld.php





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

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


--
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Force inclusion of collection id into uri

2010-05-25 Thread Hayden Young
We developed something along the lines of what was outlined in this post;

http://old.nabble.com/How-change-uri-handle-from-http:--hdl.handle.net--to-http:--myip-in-all-items-td24832113.html

Cheers


Hayden

On 25/05/10 17:14, Carlos Alonso Vega wrote:
 Hi all,

   Is there any way of forcing the inclusion the id of collections into
 dspace uris (ie http://dspacehome/handle/collection/item) ?

 TIA

 Carlos


 --

 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech


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

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


--

___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Batch import metadata help needed

2010-05-24 Thread Hayden Young

Hi Renata

I agree with Allen; you will be able to find some existing tools that 
can be found in various locations on the web but you will need to mix it 
with some custom development. We have carried out a few conversions and 
have found that there is never an out-of-the-box solution due to the 
idiosyncrasies of the source data.


We converted about 25,000 records for the Royal Naval Museum who had 
data in CSV. The procedures we took;


- Converted the CSV to Excel XML,
- Developed a crosswalk for Excel XML to Dublin Core. The crosswalk 
script built the Dublin Core metadata and assets into a package which 
DSpace could easily ingest,
- Used the DSpace command line import tool to import the DC assets into 
DSpace.


We open sourced the crosswalk scripts which you are welcome to use; it 
is available at http://www.sourceforge.net/projects/dcmetatoolkit. The 
scripts are rudimentary but they will hopefully assist you.


Cheers


Hayden

On 25/05/10 11:36, Allen Lam wrote:

Hi Renata,

It seems you are missing one important step before batch import: to 
rewrite your csv file into xml files in dublin core format.


There are existing tools to generate the needed xml files from some 
sources.
These tools sometimes are called converters, transformers, crosswalks, 
or csv2dc, etc. Do some searching.
As the tools are pre-built, they may or may not fully meet your 
requirement.


If in-house programmers are available writing a custom-made one is not 
too difficult, and gives perfect results.


Also remember that the xml files and other associated files needs to 
be put in suitable folders in a rigidly defined structure. Consult the 
dspace manual about this requirement.


Regards,
Allen Lam.
HKU Hub Administrator, http://hub.hku.hk



On 2010-05-25 8:24 AM, Renata Dyer wrote:

Dear dspace-tech list;
I am new to the dspace world and need some basic help.

This is what I am trying to do:
I have exported over a 1000 records from the library management 
system into a csv format and would like to batch import these records 
(no attachments here) into the dspace.


I found some documents on the wiki but I seem to miss the initial 
starting point.


I have created the collection and the fields that will match the 
fields in my csv file.
Then after creating a collection I go to the Import metadata and 
select the file to load it - but I got the error message:

*An unknown error has occurred*

I just have a feeling that I am missing the crucial step; do I need 
to have a separate plug-in installed?


We are on Dspace 1.6.0.

Sorry for asking a stupid question but I thought this would be a very 
time-consuming investigation for me while being an easy answer for an 
expert.


If anyone has done something similar I would appreciate if you could 
share your procedures.


Many thanks,


*Renata Dyer*
Manager, Systems and Electronic Services
High Court of Australia Library http://www.hcourt.gov.au/library.html
Canberra, ACT 2604
ph: 02 6270 6916


--

   



___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
   



--

   



___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
   


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

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

--

___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] tomcat as service

2010-05-03 Thread Hayden Young
How did you install Tomcat? Via yum? If so, there should already be a 
startup script in /etc/init.d and you should be able to start restart 
Tomcat by executing a command such as;


service tomcat restart

I haven't used redhat for a while but I think once it has been installed 
you may have to configure it to start on bootup using something like;


chkconfig tomcat on

Cheers


Hayden

On 03/05/10 15:56, Raj K Bhardwaj wrote:

Dear members,
We are using Fedora 4 and Dspace 1.4.2 , could anyone suggest how to 
configure tomcat as service so that everytime i start system tomcat 
start automatically.

regards
Raj Kumar Bhardwaj

--



--
   



___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
   


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

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

--
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] Create communities and collections programmatically

2010-04-13 Thread Hayden Young
We are in the process of converting records for importation into DSpace.

The records are stored in a directory structure that exactly matches our 
communities and collections hierarchy and we have a script to prepare 
the records for conversion and importation.

We would also like our conversion scripts to build the communities and 
collections by reading the directory hierarchy and creating the 
corresponding communities and collections. Are there any scripts or 
methods for doing this?

Cheers


Hayden

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

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


--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Create communities and collections programmatically

2010-04-13 Thread Hayden Young
Great, thanks for the guidance Stuart.

On 13/04/10 18:22, Stuart Lewis wrote:
 Hi Hilton,

 Tim Donohue has been doing some work in this area. He'll be able to explain 
 it better than I, but the code he has been working on is available at:

 - http://scm.dspace.org/trac/dspace/browser/sandbox/aip-external-1_6-prototype

 Details can be found at:

   - http://jira.dspace.org/jira/browse/DS-466
   - 
 http://www.fedora-commons.org/confluence/display/DSPACE/AipBackupRestorePrototype

 Thanks,


 Stuart Lewis
 IT Innovations Analyst and Developer
 Te Tumu Herenga The University of Auckland Library
 Auckland Mail Centre, Private Bag 92019, Auckland 1142, New Zealand
 Ph: +64 (0)9 373 7599 x81928
 http://www.library.auckland.ac.nz/


 On 13/04/2010, at 10:17 PM, Hilton Gibson wrote:


 Hi Stuart

 Will it be able to export with DSpace version 1.6.1 ?
 That would be very useful for backups !
 Also would it be able to export the users and permissions per 
 collection/bitstream ?

 Cheers

 hg.

 On 13 April 2010 12:01, Stuart Lewiss.le...@auckland.ac.nz  wrote:
 Hi Hayden,

  
 We are in the process of converting records for importation into DSpace.

 We would also like our conversion scripts to build the communities and
 collections by reading the directory hierarchy and creating the
 corresponding communities and collections. Are there any scripts or
 methods for doing this?

 The 'StructBuilder' will do this for you:

   - http://www.dspace.org/1_6_0Documentation/ch08.html#N15738

 Thanks,


 Stuart Lewis
 IT Innovations Analyst and Developer
 Te Tumu Herenga The University of Auckland Library
 Auckland Mail Centre, Private Bag 92019, Auckland 1142, New Zealand
 Ph: +64 (0)9 373 7599 x81928
 http://www.library.auckland.ac.nz/


 --
 Download Intel#174; Parallel Studio Eval
 Try the new software tools for yourself. Speed compiling, find bugs
 proactively, and fine-tune applications for parallel performance.
 See why Intel Parallel Studio got high marks during beta.
 http://p.sf.net/sfu/intel-sw-dev
 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech



 -- 
 Systems Administrator
 Library and Information Services
 Stellenbosch University

 http://www.sun.ac.za
 http://library.sun.ac.za
 http://scholar.sun.ac.za
 http://ubuntu.sun.ac.za
  



 --
 Download Intel#174; Parallel Studio Eval
 Try the new software tools for yourself. Speed compiling, find bugs
 proactively, and fine-tune applications for parallel performance.
 See why Intel Parallel Studio got high marks during beta.
 http://p.sf.net/sfu/intel-sw-dev
 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech


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

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


--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Where is Messages_LOCALE.properties ?

2010-04-13 Thread Hayden Young
Probably the most up-to-date generic language property files are located 
in the DSpace language module source control.

http://scm.dspace.org/svn/repo/modules/dspace-api-lang/trunk/src/main/resources/.

If you already have a DSpace instance deployed, implmenting a new 
language properties file is simply a matter of dropping it into 
/path/to/your/repository/webapps/jspui/WEB-INF/classes.

Cheers


Hayden

On 14/04/10 03:29, Panyarak Ngamsritragul wrote:
 I am now in the state of implementing DSpace 1.6 to our service.  There
 are a few modifications I would like to make to Messages.properties file.
 For English language, this can be done with difficulty.  But for some
 other languages, I just could not locate the files!  In the manual page
 139 it is said that those file are in (for example Thai version)
 [dspace-source]/dspace/modules/jspui/src/main/resources/Messages_th.properties

 But there is no such file!

 I search the entire source package using command
 find [dspace-source] -iname Messages_*

 I could find related files for xmlui, but not for jspui...
 And more over, there is no message_th.xml for xmlui too.

 Can anyone tell me where I can find these related files and where should I
 really put them before I build and deploy the application ?

 Thanks

 Panyarak Ngamsritragul
 Prince of Songkla University.



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

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


--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Where is Messages_LOCALE.properties ?

2010-04-13 Thread Hayden Young

 Where are those different language messages
 from?  Does the system read them directly from
 http://scm.dspace.org/svn/repo/modules/dspace-api-lang/trunk/src/main/resources
 ?
You'll need to download the properties files from the languages module 
to your DSpace installation's webapps/jspui/WEB-INF/classes directory 
first. It may also require a restart of your Tomcat server.

The messages files are already encoded but you can use various tools to 
make modifications to the file.

The quickest is to run the native2ascii command line tool against the 
encoded properties files, make the changes you need, then encode them 
back to ascii using the same tool.

Alternatively, there are a number of good gui and webui tools available 
for bulk editing. One integrates into Eclipse and is available at 
http://sourceforge.net/projects/eclipse-rbe/. Another, which we use, is 
TongueTied, http://code.google.com/p/tongue-tied/. It takes a little to 
set up but it provides really good online management of properties files 
and doesn't require your translators have Java running on their machines.

Hope this helps.

Cheers


Hayden

On 14/04/10 12:36, Panyarak Ngamsritragul wrote:
 Thanks Hayden,

 I set the supportin locales in dspace.cfg to be something like this:
 webui.supported.locales = en, th, ja

 And then deployed the DSpace.  There is no problem to have them switch
 between each locales.  But I found it very tricky because the
 Messages_LOCALE.properties files are not anywhere in DSpace paths!

 I took a look at /path/to/my/repository/webapps/jspui/WEB-INF/classes, it
 is just an empty directory!  Where are those different language messages
 from?  Does the system read them directly from
 http://scm.dspace.org/svn/repo/modules/dspace-api-lang/trunk/src/main/resources
 ?

 One more thing, I downloaded the Messages_th.properties, and
 Messages_ja.properties in order to make some necessary modifications.  But
 they are in something like native codes.  Is there some tools we can
 convert them to human readable form.  Sorry if this is a too basic
 question.  If possible the instruction should be included as comments in
 the files.

 Panyarak Ngamsritragul
 Prince of Songkla University.

 On Wed, 14 Apr 2010, Hayden Young wrote:


 Probably the most up-to-date generic language property files are located
 in the DSpace language module source control.

 http://scm.dspace.org/svn/repo/modules/dspace-api-lang/trunk/src/main/resources/.

 If you already have a DSpace instance deployed, implmenting a new
 language properties file is simply a matter of dropping it into
 /path/to/your/repository/webapps/jspui/WEB-INF/classes.

 Cheers


 Hayden

 On 14/04/10 03:29, Panyarak Ngamsritragul wrote:
  
 I am now in the state of implementing DSpace 1.6 to our service.  There
 are a few modifications I would like to make to Messages.properties file.
 For English language, this can be done with difficulty.  But for some
 other languages, I just could not locate the files!  In the manual page
 139 it is said that those file are in (for example Thai version)
 [dspace-source]/dspace/modules/jspui/src/main/resources/Messages_th.properties

 But there is no such file!

 I search the entire source package using command
  find [dspace-source] -iname Messages_*

 I could find related files for xmlui, but not for jspui...
 And more over, there is no message_th.xml for xmlui too.

 Can anyone tell me where I can find these related files and where should I
 really put them before I build and deploy the application ?

 Thanks

 Panyarak Ngamsritragul
 Prince of Songkla University.



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

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


 --
 Download Intel#174; Parallel Studio Eval
 Try the new software tools for yourself. Speed compiling, find bugs
 proactively, and fine-tune applications for parallel performance.
 See why Intel Parallel Studio got high marks during beta.
 http://p.sf.net/sfu/intel-sw-dev
 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech

 -- 
 This message has been scanned for viruses and
 dangerous content by MailScanner, and is
 believed to be clean.

  


-- 
Hayden Young
Managing Director
Wijiti Pty Ltd
p. +61 (0) 8 6102 1198
m. +61 (0) 405 520 778
e

Re: [Dspace-tech] Non-DC Import

2010-04-05 Thread Hayden Young
-dev


___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
   


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

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

--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Dspace Thumbnails

2010-03-29 Thread Hayden Young

Hi Lewatle

Is filter-media creating your thumbnails? If you've already run it, try 
it again with the --filter flag.


Cheers


Hayden

On 29/03/10 14:51, Lewatle Phaladi wrote:


Hi Hayden

Sorry for taking so long to respond.

Below is the copy of my theme section from ./config/xmlui.xconfig file

themes

!-- Example configuration --

!-- theme name=Test Theme 1 handle=123456789/1 
path=theme1//--


!-- theme name=Test Theme 2 regex=community-list 
path=theme2// --


!-- Default theme --

theme name=Default Reference Theme regex=.* path=Reference/ /

!-- Classic theme, inspired by the JSP UI --

!-- theme name=Classic regex=.* path=Classic/ / --

!-- Table based browse display --

!-- theme name=Table Theme regex=.* path=TableTheme/ / --

/themes

I never done any changes at all to this file.

Regards,

Lewatle

*From:* Hayden Young [mailto:haydenyo...@wijiti.com]
*Sent:* 26 March 2010 05:09 PM
*To:* Lewatle Phaladi
*Cc:* DSpace
*Subject:* Re: [Dspace-tech] Dspace Thumbnails

What does your themes/themes section look like?

Also, when you run filter-media, are thumbnails being created? Look 
for image files ending with extensions such as png.jpg.


On 26/03/10 21:09, Lewatle Phaladi wrote:

What do I have to type inside the file ./config/xmlui.xconf's

Please give step by step

*From:* Hayden Young [mailto:haydenyo...@wijiti.com]
*Sent:* 26 March 2010 02:58 PM
*To:* Lewatle Phaladi
*Cc:* DSpace
*Subject:* Re: [Dspace-tech] Dspace Thumbnails

Ah, okay. You'll need to make some changes to your layout or try a 
different theme as the XMLUI controls thumbnail display and not the 
config file.


Check out the ./config/xmlui.xconf's themes section if you want to 
change the theme.


On 26/03/10 20:43, Lewatle Phaladi wrote:

I am running XMLUI

*From:* Hayden Young [mailto:haydenyo...@wijiti.com]
*Sent:* 26 March 2010 02:42 PM
*To:* Lewatle Phaladi
*Cc:* dspace-tech@lists.sourceforge.net 
mailto:dspace-tech@lists.sourceforge.net

*Subject:* Re: [Dspace-tech] Dspace Thumbnails

Are you running JSP or XMLUI?

On 26/03/10 20:16, Lewatle Phaladi wrote:

Hi Hayden and Dspace Team

No changes I can see on web browser.

Below is what I have done inside dspace.cfg and I then run 
filter-media in my dspace bin directory and also restarted tomcat.


Please sent me copy of your configuration files where you setup  only 
thumbnails part and steps that I may be jumping .


Regards,

Lewatle

# Settings for Thumbnail creation #

# whether to display thumbnails on browse and search results pages (1.2+)

# If you have customised the Browse columnlist, then you must also

# include a 'thumbnail' column in your configuration (1.5+)

# (This configuration is not used by XMLUI.  To show thumbnails in the

#  XMLUI, you just need to create a theme which displays them)

#changed from false to true

webui.browse.thumbnail.show = true

# max dimensions of the browse/search thumbs. Must be = 
thumbnail.maxwidth


# and thumbnail.maxheight. Only need to be set if required to be 
smaller than


# dimension of thumbnails generated by mediafilter (1.2+)

webui.browse.thumbnail.maxheight = 80

webui.browse.thumbnail.maxwidth = 80

# whether to display the thumb against each bitstream (1.2+)

# (This configuration is not used by XMLUI.  To show thumbnails in the

#  XMLUI, you just need to create a theme which displays them)

webui.item.thumbnail.show = true

# where should clicking on a thumbnail from browse/search take the user

# Only values currently supported are item and bitstream

webui.browse.thumbnail.linkbehaviour = item

# maximum width and height of generated thumbnails

thumbnail.maxwidth  80

thumbnail.maxheight 80

*From:* Lewatle Phaladi [mailto:lewatle.phal...@wits.ac.za]
*Sent:* 26 March 2010 11:47 AM
*To:* Hayden Young; dspace-tech@lists.sourceforge.net 
mailto:dspace-tech@lists.sourceforge.net

*Subject:* Re: [Dspace-tech] Dspace Thumbnails

Hi Hayden and Dspace Team

I am now running filter-media as my files in a repo are many I am 
still waiting for the command to finish its task, I will indicate if 
anything is working as expected or not.


Regards,

Lewatle

*From:* Hayden Young [mailto:haydenyo...@wijiti.com]
*Sent:* 26 March 2010 11:00 AM
*To:* dspace-tech@lists.sourceforge.net 
mailto:dspace-tech@lists.sourceforge.net

*Subject:* Re: [Dspace-tech] Dspace Thumbnails

Try running filter-media, it is located in your dspace bin directory.

Cheers


Hayden

On 26/03/10 16:38, Lewatle Phaladi wrote:

Hi All

I want to setup thumbnails to our institutional repository, I done 
some changes in dspace.cfg file but I can’t see the results on the 
browser, can anyone who have setup thumbnails on dspace assist.


Regarsd,

Lewatle

This communication is intended for the addressee only. It is 
confidential. If you have received this communication in error, please 
notify us immediately and destroy the original message. You may not 
copy or disseminate this communication without the permission of the 
University

Re: [Dspace-tech] [Dspace-general] DSpace RESTful API

2010-03-26 Thread Hayden Young

Hi Bojan

What are your plans for maintaining the rest project? I'm happy to help 
out where I can, I'm not a Java programmer by trade but I can have my 
Java programmers review code and add/update source when/where required.


I understand you've had problems with testing in the past, and while our 
current rest requirements are certainly not taxing, they should provide 
a good real-world test of the module as we begin to rely more on rest to 
interrogate DSpace data. Additionally, our implementations will be 
released under an open source license so others can build upon our code 
if they wish (or at least use it as an example and implement their own).


One area I can help with is documentation, whether it is code examples 
in a wiki or proofing source descriptions.


Cheers


Hayden

On 26/03/10 03:39, Stuart Lewis wrote:

Hi Bojan,

   

I have tested it and resolved issues/errors found at this time, however,
I think this code hasn't been checked or tested extensively by community
so this contributed to the fact that the code is not yet included in the
distribution. During development we issued several calls on the dev list
asking for feature suggestions etc but not much interest has been raised.
 

Unfortunately that is one of the joys / pains of being a community developed 
open source project. The amount of effort that we have varies considerably over 
time, as do people's interest.

However, a year on, there is a lot more interest from a larger group of people 
to see a RESTful API for DSpace, so we would love to see it developed to a 
point where we can include it as part of the core product. So I suspect this 
year there will likely be a lot more interest from the community and wider 
mentoring group. We're also likely to request less GSoC students this year, as 
we recognize that we have perhaps spread ourselves too thinly in the past, and 
we're actively recruiting more mentors to ensure that there is a small team of 
mentors for each project rather than just one or two.


   

Anyways, I was thinking to apply to GSoC/DSpace again. If there is
interest and need in community (mentors, new ideas wrt additional
requirements/changes/...) I could continue with this code or apply for
other subproject.
 

Speaking purely for myself, although I'm sure others would agree, we'd love to 
have you apply again, and carry on with the project. The timing of GSoC is 
likely going to fit well with our next release (1.7), so we can actively work 
towards getting the project included as part of that. If the API itself gets 
finished earlier than the end of GSoC, it would be good to start writing some 
example applications that make use of the API, or rewrite some current 
components that would be better broken away from talking to the dspace-api core 
directly, and go via the API.

Thanks,


Stuart Lewis
IT Innovations Analyst and Developer
Te Tumu Herenga The University of Auckland Library
Auckland Mail Centre, Private Bag 92019, Auckland 1142, New Zealand
Ph: 64 9 373-7599 x81928
http://www.library.auckland.ac.nz/

   


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

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

attachment: haydenyoung.vcf--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Dspace Thumbnails

2010-03-26 Thread Hayden Young

Try running filter-media, it is located in your dspace bin directory.

Cheers


Hayden

On 26/03/10 16:38, Lewatle Phaladi wrote:


Hi All

I want to setup thumbnails to our institutional repository, I done 
some changes in dspace.cfg file but I can’t see the results on the 
browser, can anyone who have setup thumbnails on dspace assist.


Regarsd,

Lewatle

This communication is intended for the addressee only. It is 
confidential. If you have received this communication in error, please 
notify us immediately and destroy the original message. You may not 
copy or disseminate this communication without the permission of the 
University. Only authorized signatories are competent to enter into 
agreements on behalf of the University and recipients are thus advised 
that the content of this message may not be legally binding on the 
University and may contain the personal views and opinions of the 
author, which are not necessarily the views and opinions of The 
University of the Witwatersrand, Johannesburg. All agreements between 
the University and outsiders are subject to South African Law unless 
the University agrees in writing to the contrary.



--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev


___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
   


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

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

attachment: haydenyoung.vcf--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Dspace Thumbnails

2010-03-26 Thread Hayden Young

Are you running JSP or XMLUI?

On 26/03/10 20:16, Lewatle Phaladi wrote:


Hi Hayden and Dspace Team

No changes I can see on web browser.

Below is what I have done inside dspace.cfg and I then run 
filter-media in my dspace bin directory and also restarted tomcat.


Please sent me copy of your configuration files where you setup  only 
thumbnails part and steps that I may be jumping .


Regards,

Lewatle

# Settings for Thumbnail creation #

# whether to display thumbnails on browse and search results pages (1.2+)

# If you have customised the Browse columnlist, then you must also

# include a 'thumbnail' column in your configuration (1.5+)

# (This configuration is not used by XMLUI.  To show thumbnails in the

#  XMLUI, you just need to create a theme which displays them)

#changed from false to true

webui.browse.thumbnail.show = true

# max dimensions of the browse/search thumbs. Must be = 
thumbnail.maxwidth


# and thumbnail.maxheight. Only need to be set if required to be 
smaller than


# dimension of thumbnails generated by mediafilter (1.2+)

webui.browse.thumbnail.maxheight = 80

webui.browse.thumbnail.maxwidth = 80

# whether to display the thumb against each bitstream (1.2+)

# (This configuration is not used by XMLUI.  To show thumbnails in the

#  XMLUI, you just need to create a theme which displays them)

webui.item.thumbnail.show = true

# where should clicking on a thumbnail from browse/search take the user

# Only values currently supported are item and bitstream

webui.browse.thumbnail.linkbehaviour = item

# maximum width and height of generated thumbnails

thumbnail.maxwidth  80

thumbnail.maxheight 80

*From:* Lewatle Phaladi [mailto:lewatle.phal...@wits.ac.za]
*Sent:* 26 March 2010 11:47 AM
*To:* Hayden Young; dspace-tech@lists.sourceforge.net
*Subject:* Re: [Dspace-tech] Dspace Thumbnails

Hi Hayden and Dspace Team

I am now running filter-media as my files in a repo are many I am 
still waiting for the command to finish its task, I will indicate if 
anything is working as expected or not.


Regards,

Lewatle

*From:* Hayden Young [mailto:haydenyo...@wijiti.com]
*Sent:* 26 March 2010 11:00 AM
*To:* dspace-tech@lists.sourceforge.net
*Subject:* Re: [Dspace-tech] Dspace Thumbnails

Try running filter-media, it is located in your dspace bin directory.

Cheers


Hayden

On 26/03/10 16:38, Lewatle Phaladi wrote:

Hi All

I want to setup thumbnails to our institutional repository, I done 
some changes in dspace.cfg file but I can’t see the results on the 
browser, can anyone who have setup thumbnails on dspace assist.


Regarsd,

Lewatle

This communication is intended for the addressee only. It is 
confidential. If you have received this communication in error, please 
notify us immediately and destroy the original message. You may not 
copy or disseminate this communication without the permission of the 
University. Only authorized signatories are competent to enter into 
agreements on behalf of the University and recipients are thus advised 
that the content of this message may not be legally binding on the 
University and may contain the personal views and opinions of the 
author, which are not necessarily the views and opinions of The 
University of the Witwatersrand, Johannesburg. All agreements between 
the University and outsiders are subject to South African Law unless 
the University agrees in writing to the contrary.


  
  
--

Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
  
  
___

DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net  mailto:DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
   


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

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

This communication is intended for the addressee only. It is 
confidential. If you have received this communication in error, please 
notify us immediately and destroy the original message. You may not 
copy or disseminate this communication without the permission of the 
University. Only authorized

Re: [Dspace-tech] Dspace Thumbnails

2010-03-26 Thread Hayden Young
Ah, okay. You'll need to make some changes to your layout or try a 
different theme as the XMLUI controls thumbnail display and not the 
config file.


Check out the ./config/xmlui.xconf's themes section if you want to 
change the theme.


On 26/03/10 20:43, Lewatle Phaladi wrote:


I am running XMLUI

*From:* Hayden Young [mailto:haydenyo...@wijiti.com]
*Sent:* 26 March 2010 02:42 PM
*To:* Lewatle Phaladi
*Cc:* dspace-tech@lists.sourceforge.net
*Subject:* Re: [Dspace-tech] Dspace Thumbnails

Are you running JSP or XMLUI?

On 26/03/10 20:16, Lewatle Phaladi wrote:

Hi Hayden and Dspace Team

No changes I can see on web browser.

Below is what I have done inside dspace.cfg and I then run 
filter-media in my dspace bin directory and also restarted tomcat.


Please sent me copy of your configuration files where you setup  only 
thumbnails part and steps that I may be jumping .


Regards,

Lewatle

# Settings for Thumbnail creation #

# whether to display thumbnails on browse and search results pages (1.2+)

# If you have customised the Browse columnlist, then you must also

# include a 'thumbnail' column in your configuration (1.5+)

# (This configuration is not used by XMLUI.  To show thumbnails in the

#  XMLUI, you just need to create a theme which displays them)

#changed from false to true

webui.browse.thumbnail.show = true

# max dimensions of the browse/search thumbs. Must be = 
thumbnail.maxwidth


# and thumbnail.maxheight. Only need to be set if required to be 
smaller than


# dimension of thumbnails generated by mediafilter (1.2+)

webui.browse.thumbnail.maxheight = 80

webui.browse.thumbnail.maxwidth = 80

# whether to display the thumb against each bitstream (1.2+)

# (This configuration is not used by XMLUI.  To show thumbnails in the

#  XMLUI, you just need to create a theme which displays them)

webui.item.thumbnail.show = true

# where should clicking on a thumbnail from browse/search take the user

# Only values currently supported are item and bitstream

webui.browse.thumbnail.linkbehaviour = item

# maximum width and height of generated thumbnails

thumbnail.maxwidth  80

thumbnail.maxheight 80

*From:* Lewatle Phaladi [mailto:lewatle.phal...@wits.ac.za]
*Sent:* 26 March 2010 11:47 AM
*To:* Hayden Young; dspace-tech@lists.sourceforge.net 
mailto:dspace-tech@lists.sourceforge.net

*Subject:* Re: [Dspace-tech] Dspace Thumbnails

Hi Hayden and Dspace Team

I am now running filter-media as my files in a repo are many I am 
still waiting for the command to finish its task, I will indicate if 
anything is working as expected or not.


Regards,

Lewatle

*From:* Hayden Young [mailto:haydenyo...@wijiti.com]
*Sent:* 26 March 2010 11:00 AM
*To:* dspace-tech@lists.sourceforge.net 
mailto:dspace-tech@lists.sourceforge.net

*Subject:* Re: [Dspace-tech] Dspace Thumbnails

Try running filter-media, it is located in your dspace bin directory.

Cheers


Hayden

On 26/03/10 16:38, Lewatle Phaladi wrote:

Hi All

I want to setup thumbnails to our institutional repository, I done 
some changes in dspace.cfg file but I can’t see the results on the 
browser, can anyone who have setup thumbnails on dspace assist.


Regarsd,

Lewatle

This communication is intended for the addressee only. It is 
confidential. If you have received this communication in error, please 
notify us immediately and destroy the original message. You may not 
copy or disseminate this communication without the permission of the 
University. Only authorized signatories are competent to enter into 
agreements on behalf of the University and recipients are thus advised 
that the content of this message may not be legally binding on the 
University and may contain the personal views and opinions of the 
author, which are not necessarily the views and opinions of The 
University of the Witwatersrand, Johannesburg. All agreements between 
the University and outsiders are subject to South African Law unless 
the University agrees in writing to the contrary.


  
  
--

Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
  
  
___

DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net  mailto:DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
   


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

This e-mail and any attachments are intended for the addressee(s) only and may 
be confidential. They may contain legally privileged

Re: [Dspace-tech] Dspace Thumbnails

2010-03-26 Thread Hayden Young

What does your themes/themes section look like?

Also, when you run filter-media, are thumbnails being created? Look for 
image files ending with extensions such as png.jpg.


On 26/03/10 21:09, Lewatle Phaladi wrote:


What do I have to type inside the file ./config/xmlui.xconf's

Please give step by step

*From:* Hayden Young [mailto:haydenyo...@wijiti.com]
*Sent:* 26 March 2010 02:58 PM
*To:* Lewatle Phaladi
*Cc:* DSpace
*Subject:* Re: [Dspace-tech] Dspace Thumbnails

Ah, okay. You'll need to make some changes to your layout or try a 
different theme as the XMLUI controls thumbnail display and not the 
config file.


Check out the ./config/xmlui.xconf's themes section if you want to 
change the theme.


On 26/03/10 20:43, Lewatle Phaladi wrote:

I am running XMLUI

*From:* Hayden Young [mailto:haydenyo...@wijiti.com]
*Sent:* 26 March 2010 02:42 PM
*To:* Lewatle Phaladi
*Cc:* dspace-tech@lists.sourceforge.net 
mailto:dspace-tech@lists.sourceforge.net

*Subject:* Re: [Dspace-tech] Dspace Thumbnails

Are you running JSP or XMLUI?

On 26/03/10 20:16, Lewatle Phaladi wrote:

Hi Hayden and Dspace Team

No changes I can see on web browser.

Below is what I have done inside dspace.cfg and I then run 
filter-media in my dspace bin directory and also restarted tomcat.


Please sent me copy of your configuration files where you setup  only 
thumbnails part and steps that I may be jumping .


Regards,

Lewatle

# Settings for Thumbnail creation #

# whether to display thumbnails on browse and search results pages (1.2+)

# If you have customised the Browse columnlist, then you must also

# include a 'thumbnail' column in your configuration (1.5+)

# (This configuration is not used by XMLUI.  To show thumbnails in the

#  XMLUI, you just need to create a theme which displays them)

#changed from false to true

webui.browse.thumbnail.show = true

# max dimensions of the browse/search thumbs. Must be = 
thumbnail.maxwidth


# and thumbnail.maxheight. Only need to be set if required to be 
smaller than


# dimension of thumbnails generated by mediafilter (1.2+)

webui.browse.thumbnail.maxheight = 80

webui.browse.thumbnail.maxwidth = 80

# whether to display the thumb against each bitstream (1.2+)

# (This configuration is not used by XMLUI.  To show thumbnails in the

#  XMLUI, you just need to create a theme which displays them)

webui.item.thumbnail.show = true

# where should clicking on a thumbnail from browse/search take the user

# Only values currently supported are item and bitstream

webui.browse.thumbnail.linkbehaviour = item

# maximum width and height of generated thumbnails

thumbnail.maxwidth  80

thumbnail.maxheight 80

*From:* Lewatle Phaladi [mailto:lewatle.phal...@wits.ac.za]
*Sent:* 26 March 2010 11:47 AM
*To:* Hayden Young; dspace-tech@lists.sourceforge.net 
mailto:dspace-tech@lists.sourceforge.net

*Subject:* Re: [Dspace-tech] Dspace Thumbnails

Hi Hayden and Dspace Team

I am now running filter-media as my files in a repo are many I am 
still waiting for the command to finish its task, I will indicate if 
anything is working as expected or not.


Regards,

Lewatle

*From:* Hayden Young [mailto:haydenyo...@wijiti.com]
*Sent:* 26 March 2010 11:00 AM
*To:* dspace-tech@lists.sourceforge.net 
mailto:dspace-tech@lists.sourceforge.net

*Subject:* Re: [Dspace-tech] Dspace Thumbnails

Try running filter-media, it is located in your dspace bin directory.

Cheers


Hayden

On 26/03/10 16:38, Lewatle Phaladi wrote:

Hi All

I want to setup thumbnails to our institutional repository, I done 
some changes in dspace.cfg file but I can’t see the results on the 
browser, can anyone who have setup thumbnails on dspace assist.


Regarsd,

Lewatle

This communication is intended for the addressee only. It is 
confidential. If you have received this communication in error, please 
notify us immediately and destroy the original message. You may not 
copy or disseminate this communication without the permission of the 
University. Only authorized signatories are competent to enter into 
agreements on behalf of the University and recipients are thus advised 
that the content of this message may not be legally binding on the 
University and may contain the personal views and opinions of the 
author, which are not necessarily the views and opinions of The 
University of the Witwatersrand, Johannesburg. All agreements between 
the University and outsiders are subject to South African Law unless 
the University agrees in writing to the contrary.


  
  
--

Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
  
  
___

DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net

Re: [Dspace-tech] [Dspace-general] DSpace RESTful API

2010-03-24 Thread Hayden Young

Hi Stuart

Thanks for the reply.

Is there a maintainer who we could submit any patches to in the 
meantime? Also, I've been discussing with Michael Guthrie a possible 
mentoring role for this development. I can contact you about this in the 
near future if you would like to discuss further.


Cheers


Hayden

On 23/03/10 04:04, Stuart Lewis wrote:

Hi Hayden,

   

I was reading the DSpace GSOC wiki and noticed the 2009 REST project.
Does anybody know how far along this is and whether there is anything
that usable such as modules or even some source code?
 

Code is available from here:

  
-http://scm.dspace.org/trac/dspace/browser/modules/rest/branches/dspace-rest-1.x/

I'm not entirely sure about the exact state the code is in, but it would great 
if we could find a 2010 GSoC student to take this as a starting point, complete 
the work, and create some demos using the API.

Thanks,


Stuart Lewis
IT Innovations Analyst and Developer
Te Tumu Herenga The University of Auckland Library
Auckland Mail Centre, Private Bag 92019, Auckland 1142, New Zealand
Ph: 64 9 373-7599 x81928
http://www.library.auckland.ac.nz/

   



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

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

attachment: haydenyoung.vcf--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] [Dspace-general] DSpace RESTful API

2010-03-24 Thread Hayden Young

Hi Stuart

We'll certainly opt-in for maintaining it, although our Java programmer 
is snowed under at the moment so reviews may be slow.


For our own selfish reasons :-) we would like to start updating it over 
April, our main interests in it being the ability to retrieve 
information about communities, collections and authors.


Feel free to contact me privately if you would like to discuss svn 
access for reviews and code changes.


Cheers


Hayden

On 25/03/10 03:45, Stuart Lewis wrote:

Hi Hayden,

There is no one currently looking after that code, but if a volunteer came 
along who would like to, that would be great! :)

We're happy to open up parts of the SVN tree (such as where the REST API 
project is now) to people who want to maintain parts of the non-core code, so 
we can facilitate everything that needs to be done for someone interested in 
looking after it and bringing it to a stage where it can be incorporated into 
the main DSpace core.

If we can get a GSoC project to work on it, then we'll certainly be looking for 
a small team of mentors to steer the project to ensure that it performs in a 
way that suits all of our differing needs, so your input would be most welcome.

Thanks,


Stuart Lewis
IT Innovations Analyst and Developer
Te Tumu Herenga The University of Auckland Library
Auckland Mail Centre, Private Bag 92019, Auckland 1142, New Zealand
Ph: 64 9 373-7599 x81928
http://www.library.auckland.ac.nz/


On 25/03/2010, at 12:08 AM, Hayden Young wrote:

   

Hi Stuart

Thanks for the reply.

Is there a maintainer who we could submit any patches to in the
meantime? Also, I've been discussing with Michael Guthrie a possible
mentoring role for this development. I can contact you about this in the
near future if you would like to discuss further.

Cheers


Hayden

On 23/03/10 04:04, Stuart Lewis wrote:
 

Hi Hayden,


   

I was reading the DSpace GSOC wiki and noticed the 2009 REST project.
Does anybody know how far along this is and whether there is anything
that usable such as modules or even some source code?

 

Code is available from here:

  
-http://scm.dspace.org/trac/dspace/browser/modules/rest/branches/dspace-rest-1.x/

I'm not entirely sure about the exact state the code is in, but it would great 
if we could find a 2010 GSoC student to take this as a starting point, complete 
the work, and create some demos using the API.

Thanks,


Stuart Lewis
IT Innovations Analyst and Developer
Te Tumu Herenga The University of Auckland Library
Auckland Mail Centre, Private Bag 92019, Auckland 1142, New Zealand
Ph: 64 9 373-7599 x81928
http://www.library.auckland.ac.nz/


   


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

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

haydenyoung.vcf
 

Stuart Lewis
IT Innovations Analyst and Developer
Te Tumu Herenga The University of Auckland Library
Auckland Mail Centre, Private Bag 92019, Auckland 1142, New Zealand
Ph: 64 9 373-7599 x81928
http://www.library.auckland.ac.nz/

   


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

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

attachment: haydenyoung.vcf--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech