Jennifer Whalan | 1 Jun 2011 02:07
Picon
Picon
Favicon

Re: xmlui.general.dspace_home & metadata element="title" questions

Well, starting to feel rather defeated.

At http://dspacedev.nt.gov.au/, ended up doing a complete vanilla install, without any of our
customisations (except for the dspace.cfg). Have also deleted the cocoon cache. But as you can see, the
home page still ends up as the Community List.

Does anyone have any other suggestions, or noticed this on a vanilla install? I'm not sure what other things
could be cached somewhere that could be causing this sort of behaviour.

Thanks
Jennifer 

Jennifer Whalan
Systems Support Officer | Innovation & Access
Northern Territory Library 'Celebrating 30 Years'
Department of Natural Resources, Environment, The Arts and Sport
Northern Territory Government 

Phone:  (08) 8922 0752
Fax:    (08) 8922 0722
Email:  jennifer.whalan@...
Web:    www.ntl.nt.gov.au

The information contained in this message and any attachments may be confidential information and may be
subject to legal privilege, public interest or legal profession privilege. If you are not the intended
recipient, any use, disclosure or copying of this message or any attachments is unauthorised. If you have
received this document in error, please advise the sender. No representation or warranty is given that
attached files are free from viruses or other defects. The recipient assumes all responsibility for any
loss or damage resulting directly or indirectly from the use of any attached files.

(Continue reading)

Andrea Schweer | 1 Jun 2011 02:53
Picon
Picon
Favicon

Re: xmlui.general.dspace_home & metadata element="title" questions

Hi Jennifer,

On 01/06/11 12:07, Jennifer Whalan wrote:
> At http://dspacedev.nt.gov.au/, ended up doing a complete vanilla
> install, without any of our customisations (except for the
> dspace.cfg). Have also deleted the cocoon cache. But as you can see,
> the home page still ends up as the Community List.
> 
> Does anyone have any other suggestions, or noticed this on a vanilla
> install? I'm not sure what other things could be cached somewhere
> that could be causing this sort of behaviour.

Not a suggestion unfortunately -- but I just checked and I have the same
problem on a vanilla 1.7.0 install that just has a few changes in
dspace.cfg. The server isn't publicly accessible, but yes it does say
"Community List" in the page title and the breadcrumb trail says DSpace
Home > Community List.

cheers,
Andrea

--

-- 
Andrea Schweer
IRR Technical Specialist, ITS Information Systems
The University of Waikato, Hamilton, New Zealand

------------------------------------------------------------------------------
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. Data protection magic?
(Continue reading)

dhaivat dave | 1 Jun 2011 10:20
Picon

Need Help for Dspace Rest API

Hi,


I am trying to get the data from dspace using REST Api...I am able to GET Data related communities,Collection and so on..
But when i am trying to create new Collection using POST Data it gives me syntax error on tomcat...
I am using the following page as guidance..

Can you have an idea about how do i post data for creating the collection or community...?

Thanks

Dhaivat Dave
------------------------------------------------------------------------------
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. Data protection magic?
Nope - It's vRanger. Get your free trial download today. 
http://p.sf.net/sfu/quest-sfdev2dev
------------------------------------------------------------------------------
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. Data protection magic?
Nope - It's vRanger. Get your free trial download today. 
http://p.sf.net/sfu/quest-sfdev2dev
Bojan Suzic | 1 Jun 2011 10:31
Picon

Re: Need Help for Dspace Rest API

Hi Dave,

can you post the detailed request you have made? Are you using json or xml?

Bojan

> I am trying to get the data from dspace using REST Api...I am able to
> GET Data related communities,Collection and so on..
> But when i am trying to create new Collection using POST Data it gives
> me syntax error on tomcat...
> I am using the following page as guidance..
> https://wiki.duraspace.org/display/DSPACE/REST+API#RESTAPI-rcodes
>
> Can you have an idea about how do i post data for creating the
> collection or community...?
>
> Thanks
>
> Dhaivat Dave

------------------------------------------------------------------------------
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. Data protection magic?
Nope - It's vRanger. Get your free trial download today. 
http://p.sf.net/sfu/quest-sfdev2dev
dhaivat dave | 1 Jun 2011 10:39
Picon

Re: Need Help for Dspace Rest API

Hi Bojan,


I am using Xml ..i have attached a java file which sends the request to REST API and get the response ...


Dhaivat
Attachment (RestTest.java): application/octet-stream, 2145 bytes
------------------------------------------------------------------------------
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. Data protection magic?
Nope - It's vRanger. Get your free trial download today. 
http://p.sf.net/sfu/quest-sfdev2dev
------------------------------------------------------------------------------
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. Data protection magic?
Nope - It's vRanger. Get your free trial download today. 
http://p.sf.net/sfu/quest-sfdev2dev
Bojan Suzic | 1 Jun 2011 11:16
Picon

Re: Need Help for Dspace Rest API


Hi Dhaivat,

I tested it now, there is no input to the script provided. Only xml and 
json are supported.
Later in the day I will try to provide an example how to make a post/put 
request.

Regards
Bojan

> I am using Xml ..i have attached a java file which sends the request to
> REST API and get the response ...
>
>
> Dhaivat

------------------------------------------------------------------------------
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. Data protection magic?
Nope - It's vRanger. Get your free trial download today. 
http://p.sf.net/sfu/quest-sfdev2dev
Bram Luyten | 1 Jun 2011 11:33
Picon
Gravatar

Today: Free Discovery online seminar

Tune in on our UStream Channel at 10AM EDT (4PM GMT+2) for a free, one hour seminar on configuration of DSpace Discovery, the new faceted search and browse engine. We have tackled yesterday's connection issues with a much stronger upload speed, so we're in for smooth sailing this time.

We will tackle following topics:

1. Introduction

In the introduction, we will briefly talk about the differences between discovery and regular search/browse and highlight some minor changes between Discovery in DSpace 1.7.0 and DSpace 1.7.1

2. Hiding metadata from discovery

By default, most of the metadata (actually all of them with the exception of a few provenance fields) are indexed in Discovery with the aim of producing search results. In case you want to keep some metadata fields entirely private, we'll show you how to achieve this.

3. Configuring different fields in the auto-complete drop-down

The Discovery Search pane feature a dropdown and a search box, in which entered values are auto-completed against values from specific metadata fields. We will show you how you can include additional values in the dropdown, so they can be used for auto completion.

4. Discovery Browse: Creating new facets

Out of the box, Discovery comes with facets for Author, Subject and Date issued. We will give a step by step example of how you create a facet for an additional metadata value.

5. Special case: Creating a new date value facet

Elaborating on the example from 4. we will show you the special case of adding a new date value facet.

6. Future work discussion

In the context of DSpace 1.8, Discovery is very much work in process, with some new developments in the pipeline. We're very much looking forward to what you expect from this feature.

View this seminar online at: http://www.ustream.tv/channel/dspace-webinar

with kindest regards,

Bram Luyten - Art Lowel - Kevin Van de Velde

<at> mire

Esperantolaan 4 - 3001 Heverlee - Belgium
2888 Loker Avenue East, Suite 305 - Carlsbad, CA 92010 - USA

atmire.com - Institutional Repository Solutions



------------------------------------------------------------------------------
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. Data protection magic?
Nope - It's vRanger. Get your free trial download today. 
http://p.sf.net/sfu/quest-sfdev2dev
------------------------------------------------------------------------------
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. Data protection magic?
Nope - It's vRanger. Get your free trial download today. 
http://p.sf.net/sfu/quest-sfdev2dev
Alexandre Magaz Graça | 1 Jun 2011 11:52
Favicon

Looking for XMLUI translations

Hello,

I'm looking for the Catalan translation for XMLUI but I can't find it. 
The documentation[1] doesn't point to any place to download them, the 
wiki[2] suggests to check out the full DSpace SVN only to get the 
language packs (!) or to get them from the SourceForge download section, 
but I can only see old JSPUI Messages.properties there.

Please, could someone point me to the right place?

[1] 
http://www.dspace.org/1_7_1Documentation/XMLUI%20Configuration%20and%20Customization.html#XMLUIConfigurationandCustomization-MultilingualSupport
[2] 
https://wiki.duraspace.org/display/DSPACE/I18nSupport#I18nSupport-LanguagepacksnowstoredandmanagedinSVN

Thanks,
Àlex

------------------------------------------------------------------------------
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. Data protection magic?
Nope - It's vRanger. Get your free trial download today. 
http://p.sf.net/sfu/quest-sfdev2dev
Peter Dietz | 1 Jun 2011 16:59
Picon
Gravatar

Re: Need Help for Dspace Rest API

Also,


The test code is expecting a HTTP 200 (OK) result for everything. Thats fine for a GET, but when you create something 201 (Created) is the usual response. So you can either make the test smarter so that when you create something it expects a 201, or to not throw errors for anything 20x.
Peter Dietz



On Wed, Jun 1, 2011 at 5:16 AM, Bojan Suzic <bojan.suzic-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:

Hi Dhaivat,

I tested it now, there is no input to the script provided. Only xml and
json are supported.
Later in the day I will try to provide an example how to make a post/put
request.

Regards
Bojan


> I am using Xml ..i have attached a java file which sends the request to
> REST API and get the response ...
>
>
> Dhaivat


------------------------------------------------------------------------------
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. Data protection magic?
Nope - It's vRanger. Get your free trial download today.
http://p.sf.net/sfu/quest-sfdev2dev
_______________________________________________
DSpace-tech mailing list
DSpace-tech-5NWGOfrQmnd4wTydcyPnfg@public.gmane.orgceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech

------------------------------------------------------------------------------
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. Data protection magic?
Nope - It's vRanger. Get your free trial download today. 
http://p.sf.net/sfu/quest-sfdev2dev
------------------------------------------------------------------------------
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. Data protection magic?
Nope - It's vRanger. Get your free trial download today. 
http://p.sf.net/sfu/quest-sfdev2dev
Jennifer Whitney | 1 Jun 2011 17:30
Picon

Re: Where should personalized themes live?

Hi Mark,

Most of what we've changed in existing aspects has been very straight-forward.  I'm reluctant to add or customize essential information (contacts, feedback forms, help pages, etc.) in the theme layer.  I'd prefer this information to be available should we need to change themes or revert to a default.   Maybe that's over-cautious.

What's been more difficult is working out how to manage our local code.  Threads like this & Mark W.' s point, in a previous reply, about pluggables being developed outside the DSpace tree & configured in as needed, have been helpful -- we're relatively new to DSpace & have limited experience with Java.  

We haven't yet upgraded to 1.7 but I don't anticipate much grief, since our mods are simple & can be added back in as/where needed, post-upgrade, to the broken-out browse & search components. 

Thanks again,

Jen Whitney
Electronic Text Centre, UNB Libraries
University of New Brunswick
jwhitney-kQW2Dzt44JA@public.gmane.org

On 2011-05-31, at 2:50 PM, Mark Diggory wrote:

Jennifer,

On Mon, May 30, 2011 at 8:17 AM, Jennifer Whitney <jwhitney-kQW2Dzt44JA@public.gmane.org> wrote:
Bit late to the party but I thought I'd share our approach for keeping XMLUI customizations separated from DSpace source.  Recipe #1 has worked well for us, so far, when we've needed to modify 1.6.2: 

https://wiki.duraspace.org/display/DSPACE/BuildCookbook

So, for example, we've cloned the vanilla ArtifactBrowser aspect in our project:

myrepo-xmlui/myrepo-xmlui-api/src/main/resources/aspects/MyArtifactBrowser

... and modified the sitemap.xmap, as needed, to point to classes in our projects, which mirror the structures of DSpace projects in the source release.  We add dependencies on our projects to the relevant POMs, build & deploy as usual.   

Yes, this is fine.  We do it as well (and as MarkW points out, this project can live outside the dspace/modules directory), we generally make that division when dealing with packaging more that one dspace instance off the same addon codebase, for instance in a consortia setting, where the same set of features need to be deployed on multiple dspaces, but there need to also be local customizations maintained to each instance (dspace/modules/...) as well.

 what would be interesting is to analyze how upgrades now impact your work.  For instance, I can say we've been reworking parts of the ArtifactBrowser aspect to break out the Browse and Search Components and to make it possible to truly drop either of those two features in favor of turning on Discovery. Has this impacted your addon?  Ideally, it shouldn't have.

Likewise, I would be curious about what were the changes you sought out to do to ArtifactBrowser, knowing what those look like would inform us as to how to improve the parts of the codebase that can be replaced locally in the manner you are doing.
 

I think, since we're working in our own projects, that we'd avoid the kind of Maven repository contamination discussed below (something that didn't occur to me, previously).

You wouldn't need to worry about it because you are releasing your customizations as your own addon to DSpace. Well done.

Best,
Mark
 
--
Mark R. Diggory
<at> mire - www.atmire.com
2888 Loker Avenue East - Suite 305 - Carlsbad - CA - 92010
Esperantolaan 4 - Heverlee 3001 - Belgium


------------------------------------------------------------------------------
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. Data protection magic?
Nope - It's vRanger. Get your free trial download today. 
http://p.sf.net/sfu/quest-sfdev2dev
------------------------------------------------------------------------------
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. Data protection magic?
Nope - It's vRanger. Get your free trial download today. 
http://p.sf.net/sfu/quest-sfdev2dev

Gmane