[Dspace-tech] Moving item back into workflow

2008-12-08 Thread Mathias Hjelt
Hello

Suppose we have two collections, A and B. For collection B, there's a
submission workflow set up including an Edit Metadata step. 

Next, suppose we want to let a collection administrator move existing items
from item A into collection B - this can be done using the standard Move
Item functionality in DSpace 1.5.1. However, we'd like to have the item pass
through the workflow defined for collection B during the move.

This doesn't seem to be possible in a standard DSpace installation, so I
guess we'd need to do some custom coding here. I would appreciate any
comments on:

- whether this is technically feasible with a *reasonable* programming
effort?
- which classes to start looking at?

Best regards,

Mathias Hjelt
Hanken




--
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] plugins and custom classes in 1.5.x

2008-10-03 Thread Mathias Hjelt
I have a question here -- suppose that only the jspui webapp needs the
class, wouldn't it then be cleaner to put it in the overlay folder (i.e
[dspace-src]/dspace/modules/jspui/ under which you create
java/packagepath/yourclassfile.java), rather than putting it under the
dspace-jspui directory which I suppose is what you suggested?

thanks,
Mathias Hjelt
DHanken 

-Original Message-
From: Diggory Mark [mailto:[EMAIL PROTECTED] 
Sent: den 2 oktober 2008 05:30
To: Jason Stirnaman
Cc: dspace-tech@lists.sourceforge.net
Subject: Re: [Dspace-tech] plugins and custom classes in 1.5.x

Yes, this is a safe place to put such a customization if you want it to be
part of more than one of your webapplications (if it is just one
webapplication that will be using it,  just place it in that webapplications
src/main/java directory).  You will do the following:

1.) Create an api directory
2.) create a api/pom.xml that has a artifactId, groupId and version that
is the same as your current dspace version.
3.) make sure it is also dependent on org.dspace:dspace-api:version

4.) put you code in api/src/main/java
5.) add the api directory to the modules/pom.xml as both a module and a
dependency

when you now build, the api will be included into the modules list for
modules being built and the dependency will make sure it shows up in you
WEB-INF/lib of your compiled webapplications.

Finally, if you want your project to show up in the [dspace.dir]/lib, you'll
want to also add the dependency to the dspace/pom.xml

Don't hesitate to ask any questions if you get hung up on any of this.

Cheers,
Mark

On Oct 1, 2008, at 2:44 PM, Jason Stirnaman wrote:

 Follow up to my question:
 Is
 [dspace-source]/dspace/modules/api/src/main/java/org/dspace/
 authenticate
 the correct place to put a custom authentication method?

 ***
 Can anyone point to good documentation about where to place plugins 
 and custom class files in 1.5.x?  It's not clear from the 1.5.1 
 manual.
 Specifically, in what directory would I place a custom authentication 
 method like the MIT-Special-Groups in 1.4.x?
 Thanks,
 Jason
 --

 Jason Stirnaman
 Digital Projects Librarian/School of Medicine Support A.R. Dykes 
 Library, University of Kansas Medical Center [EMAIL PROTECTED]
 913-588-7319


 --
 --- This SF.Net email is sponsored by the Moblin Your Move Developer's 
 challenge Build the coolest Linux based applications with Moblin SDK  
 win great prizes Grand prize is a trip for two to an Open Source event 
 anywhere in the world 
 http://moblin-contest.org/redirect.php?banner_id=100url=/
 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech


-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great
prizes Grand prize is a trip for two to an Open Source event anywhere in the
world http://moblin-contest.org/redirect.php?banner_id=100url=/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech



-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] FW: Creating add-ons or modifications in 1.5

2008-04-28 Thread Mathias Hjelt
Hello,

I'd still appreciate some comments on this from the DSpace gurus out there..
I can't be the only one left wondering about how to best utilize maven for
managing different types of DSpace customizations?

Best regards
Mathias Hjelt


---Original Mesage---
From: Mathias Hjelt [mailto:[EMAIL PROTECTED] 
Sent: 23. huhtikuuta 2008 9:20
To: 'dspace-tech@lists.sourceforge.net'
Subject: Creating add-ons or modifications in 1.5

Hello,

I’ve been trying to get a grasp of how to port our own add-ons and
customizations made in 1.4.2 to the brave new maven-based world of 1.5. I
read the SimpleAddonMechanism on the wiki, but that document is still sort
of under construction and didn’t make things much clearer.

Could someone with a better understanding of the maven build process suggest
the proper “best practice” development approaches for the following three
scenarios:

Scenario 1: Creating a stand-alone Java application which uses the DSpace
API.

For instance a maintenance application which is to be run using dsrun, i.e.
having the dspace classes on the classpath. Currently I’ve been developing
and building such apps in Eclipse with the entire 1.4.2 project source
included, then copying the resulting custom class or jar file manually to
[dspace]/custom from where I’ve been running them with dsrun. 

Scenario 2: Creating a custom class that should be compiled into the webapp.

For instance a custom plugin for the authentication stack. Currently I’ve
developed these classes with Eclipse, then added the custom source files
into the base [dspace-source] and built the webapp normally using ant.

Scenario 3: Making changes to an existing DSpace class.

Suppose one’s local installation needs a few hacks in an existing Servlet
class. To accomplish this in prior versions, I’ve applied our local
modifications to the existing DSpace source files in [dspace-source] and
then built as normally. 

Any help on how to accomplish the above three scenarios using maven
practices is greatly appreciated!

Best regards

Mathias Hjelt
 


-
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Creating database problem

2008-04-23 Thread Mathias Hjelt
This is how I've done it:

su postgres
createuser -U postgres -d -A -P dspace
exit
su dspace
createdb --password -E UNICODE dspace

-mathias

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Hossein
Hamam
Sent: 23. huhtikuuta 2008 14:42
To: dspace-tech@lists.sourceforge.net
Subject: [Dspace-tech] Creating database problem

Dear All, 

Can someone explain the -A in createuser? 
And using which user should I issue these commands:

createuser -U postgres -d -A -P dspace
createdb -U dspace -E UNICODE dspace

When I su as postgres user, I am able to apply the first command but when I
issue the 2nd command, it gives me the below error:
createdb: could not connect to database postgres: FATAL:  Ident
authentication failed for user dspace

However, if I su as dspace, I am not able to issue the first command, but am
able to issue the 2nd command.

After some research I found that I should edit the file pg_ident.conf.
But what should I edit? Did anyone face a similar problem?

Thank you, 


-
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javao
ne
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


-
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Moving DSpace handle server to new server

2008-03-14 Thread Mathias Hjelt
Whether we'll carry over the hostname to the new server or not depends
on what's most feasible, considering all dependencies. Still trying to
figure out what dependencies were facing.

Can you or anyone confirm that a mere IP address change (i.e. hostname
remains the same but IP changes) does not affect handle configs, while a
change in hostname needs the Handle server to be reconfigured and a new
sitebundle needs to be sent to CNRI?

thanks,

-mathias


-Original Message-
From: Mark Diggory [mailto:[EMAIL PROTECTED] 
Sent: 13. maaliskuuta 2008 19:57
To: [EMAIL PROTECTED]
Cc: Mathias Hjelt; dspace-tech@lists.sourceforge.net
Subject: Re: [Dspace-tech] Moving DSpace  handle server to new server

It really depends on if your changing the hostname/domain as well.  
Are you going to carry the hostname along to the new server as a  
virtualhost?

-Mark

On Mar 13, 2008, at 2:30 AM, Robin Taylor wrote:

 Unfortunately I believe that moving to a new hostname/IP does  
 require you to
 notify CNRI. Although when we did it they were very helpful and  
 made the
 change exactly when requested. There are also some references in at  
 least
 one of the files in the handle-server directory to the IP addess
 (config.dct). I suspect I just edited this manually.

 One other wee thing, do you need to move the source files ? They  
 are not
 used by the running web application so you could just stick them  
 somewhere
 else for reference eg CVS or SVN.

 Cheers, Robin.


 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On Behalf Of  
 Mathias
 Hjelt
 Sent: 13 March 2008 08:55
 To: dspace-tech@lists.sourceforge.net
 Subject: [Dspace-tech] Moving DSpace  handle server to new server

 We're planning to move our DSpace production environment to a new  
 server.
 (This may or may not involve upgrading from 1.4.2 to 1.5 at the  
 same time,
 but that's a different story altogether.)

 As far as I can see, the easiest way to migrate DSpace from one  
 server to
 another is simply copying the dspace source and install directories  
 from the
 old server to matching locations on the new server, and populate  
 Postgres on
 the new server with the contents of a pg_dump from the old server.  
 Right?

 Now, my main concern is the Handle server, mainly because setting  
 it up was
 a bit hairy (docs didn't really align well with the real-world
 process) and my personal installation notes are quite vague (stupid  
 of me --
 everything else is documented down to the last bit.)

 So, will the Handle server migrate just as easily as the rest of  
 DSpace?
 What if the host name and/or IP address of the instance changes --  
 will I
 need to reconfigure the Handle server somehow, and/or send  
 configuration
 updates to CNRI? (After two years of DSpace administration, I must  
 admit I
 still have no clue about how the Handle server communicates with  
 DSpace and
 CNRI... missing the big picture
 *and* the hairy details.)

 Any suggestions are welcome!

 best regards

 Mathias Hjelt
 DHANKEN


 --

 ---
 This SF.net email is sponsored by: Microsoft Defy all challenges.
 Microsoft(R) Visual Studio 2008.
 http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech



 --

 ---
 This SF.net email is sponsored by: Microsoft
 Defy all challenges. Microsoft(R) Visual Studio 2008.
 http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech


-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] Moving DSpace handle server to new server

2008-03-13 Thread Mathias Hjelt
We're planning to move our DSpace production environment to a new
server. (This may or may not involve upgrading from 1.4.2 to 1.5 at the
same time, but that's a different story altogether.) 

As far as I can see, the easiest way to migrate DSpace from one server
to another is simply copying the dspace source and install directories
from the old server to matching locations on the new server, and
populate Postgres on the new server with the contents of a pg_dump from
the old server. Right? 

Now, my main concern is the Handle server, mainly because setting it up
was a bit hairy (docs didn't really align well with the real-world
process) and my personal installation notes are quite vague (stupid of
me -- everything else is documented down to the last bit.)

So, will the Handle server migrate just as easily as the rest of DSpace?
What if the host name and/or IP address of the instance changes -- will
I need to reconfigure the Handle server somehow, and/or send
configuration updates to CNRI? (After two years of DSpace
administration, I must admit I still have no clue about how the Handle
server communicates with DSpace and CNRI... missing the big picture
*and* the hairy details.)

Any suggestions are welcome!

best regards

Mathias Hjelt
DHANKEN


-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Forcing HTTP for everything except login

2008-03-13 Thread Mathias Hjelt
Jayan,

 

I can't see how HTTPS would affect OAI-PMH as long as your Tomcat is
configured with both HTTP and HTTPS connectors. You'll get problems only
if you disable the plain HTTP connector altogether (OAI-PMH needs to run
over plain HTTP as far as I know)

 

-mathias

 

 

From: Jayan Chirayath Kurian [mailto:[EMAIL PROTECTED] 
Sent: 11. maaliskuuta 2008 12:49
To: Mathias Hjelt; dspace-tech@lists.sourceforge.net
Subject: RE: [Dspace-tech] Forcing HTTP for everything except login

 

Hello,

I too had experienced the same redirection issue. Have not started using
HTTPS since I am not sure whether this will have an impact on using
OAI-PMH. Please comment. 

 



From: [EMAIL PROTECTED] on behalf of Mathias
Hjelt
Sent: Tue 3/11/2008 6:43 PM
To: dspace-tech@lists.sourceforge.net
Subject: [Dspace-tech] Forcing HTTP for everything except login

Hello

Using DSpace 1.4.2 and Tomcat5, I enabled HTTPS for the password-related
pages/servlets by following the instructions at
http://wiki.dspace.org/index.php/ServletSecurity. This works fairly
well, i.e. the user is automatically redirected to HTTPS while logging
in, and after successful authentication he somehow gets redirected back
to plain HTTP.

However, in some situations the user gets stuck on the https site
(which causes an unnecessary burden on the server). E.g. if an
authenticated user clicks on Edit Profile (/profile) servlet, he's
redirected to HTTPS and never gets back to HTTP.

Does anyone have a neat and easy solution to this? Or an explanation of
how the redirecting-back-to-http-after-logging-in is implemented?

(I know that this issue could be avoided by doing the entire SSL thing
in Apache running a mod_jk connector as a front-end for Tomcat, but I'd
like to keep the setup nice and clean -- which means leaving Apache out
of the game.)

Best regards

Mathias Hjelt




-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Accidently drop table in postgres

2008-02-28 Thread Mathias Hjelt
I assume you’re asking this because you don’t have a backup of the database, so 
I won’t suggest using that to restore.. :)

 

First of all, make sure you DON’T run postgres’ vacuum on the database, second, 
make a copy of the pgdata folder just in case. I believe that deleted database 
items are not physically erased from postgres’ internal data storage (typically 
the pgdata folder) until you do a vacuum. Some eight years ago I accidentally 
deleted a large amount of data from a postgres database but was able to recover 
it somehow, but I just can’t remember how. Try a google search..

 

I believe you can’t recreate the database contents from the assetstore, as the 
assetstore only contains bitstreams and not metadata.

 

good luck,

 

Mathias Hjelt

 

 

 

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of ROHAZNA BINTI 
WAHAB
Sent: 28. helmikuuta 2008 10:33
To: dspace-tech@lists.sourceforge.net
Subject: [Dspace-tech] Accidently drop table in postgres

 

Hi ..

Can someone help me?.. I accidently drop / deleted dspace databased .. I need 
an advised on:

1. Is there any way to recover the data?
2. I still have physical files in assetstore folder. How to use that file back?

i'm using dspace version 1.4.2. Tq in advanced


Regards,

Rohazna Wahab
Pegawai Teknologi Maklumat
Pusat Teknologi Maklumat  Komunikasi
Universiti Malaysia Perlis

Tel : 049798280
Fax : 049798227


-- 
This message has been scanned for viruses and 
dangerous content by MailScanner http://www.unimap.edu.my/ , and is 
believed to be clean. 

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Illegal argument exception

2008-01-24 Thread Mathias Hjelt
 In the last few days I've been getting errors like this:
 
 -- URL Was: http://deepblue.lib.umich.edu/dspace/handle/2027.42/31692
[..]
 Exception:
 java.lang.IllegalArgumentException: 2 Dec 2007 03:08:59 GMT at

org.apache.catalina.connector.HttpRequestBase.getDateHeader(HttpRequestB
 ase.java:860)

 My guess (and it is only a guess!) is that the date format being sent
by
 the crawler is incorrect, so Tomcat burps and spits it out.

We've also seen these since a few days back. HandleServlet.java does
this when the exception strikes:

long modSince = request.getDateHeader(If-Modified-Since);

So what happens is that the crawler is using an invalid
if-modified-since parameter in the http request. 

Now, our Tomcat doesn't seem to be creating any access logs (shouldn't
it?) so I can't check the source IP of this request. 

One odd thing is that the URL Was: section in the error mail I get is
missing the port number. I.e it shows
http://hostname/dspace/handle/xxx/yyy rather than
http://hostname:port/dspace/handle/xxx/yyy which is the only way our
DSpace can be acccessed since it's not listening to port 80. Probably
just a small bug in request.getRequestURL().toString() used by
storeOriginalURL but that's not very comforting..

best regards

Mathias Hjelt



-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] Best practices for scripted metadata modifications

2007-09-11 Thread Mathias Hjelt
We have a few metadata maintenance related tasks (e.g. scan through the
metadata of items changed since last run and make sure the metadata
complies to certain rules) that we want to automate with scheduled
tasks. As I see it we have the following options:

- shell / perl scripts that use psql and finish by running index-all
- standalone java applications that use jdbc to modify database contents
- java applications based on the DSpace API

I guess using the API would be the safest way to access the metadata,
but I'm wondering if it's overkill for operations that could easily be
carried out with a small number of relatively simple SQL statements in a
script. On the other hand, bypassing the API and tweaking database
contents manually carries the risk of screwing stuff up unintentionally,
unless one's 100% sure about the scripts.. Any thoughts about this?

Some sample code for how to use the API would also come in handy, if
someone happens to have something they want to share. 

Best regards

Mathias Hjelt


-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Any definitive guide to setting up handle server?(Dan Scott)

2007-09-09 Thread Mathias Hjelt
Thank you all for your Handle server setup tips. I think I got it all
set up now (just waiting for the firewall to be configured properly). I
created a new site bundle file and sent it to the Handle admin staff.
However: I'm still uncertain about whether the preferred way would've
been to opt for no encryption at all (Would you like to encrypt your
private key?(y/n): n), or to go for encryption BUT with an empty
passphrase. Any insights on this?

The problems didn't end there, however. When the Handle server started,
it bound itself only to IPv6 ports, not to regular IPv4 so in effect
it was still not reachable. The Handle staff quickly posted me a
solution to this, which was to modify start-handle-server and add
-Djava.net.preferIPv4Stack=true to the command line. That could also be
in the docs, even though IPv6 isn't very commonplace..

Best regards

Mathias Hjelt



-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Clive
Gould
Sent: 7. syyskuuta 2007 22:14
To: dspace-tech@lists.sourceforge.net
Subject: Re: [Dspace-tech] Any definitive guide to setting up handle
server?(Dan Scott)

Hi

Have a look at http://www.linuxtraining.org.uk/blogger.html

For my experiences getting the handle server working.

Good luck

Clive



-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now   http://get.splunk.com/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] Editing detailed metadata of an item during workflow

2007-08-19 Thread Mathias Hjelt
Hi,
 
Due to limitations of what you can do simply by modifying
input-forms.xml, we'll need to have someone make slight modifications to
the metadata of each submitted item after the regular submission process
is completed. Such modifications include editing the language code of
certain metadata fields etc.

Now, once an item has been accepted and made publicly available these
edits can easily be done via the Edit Item page
(http://.../dspace/tools/edit-item). However, to my surprise it does not
seem possible to edit meta data at this detailed level while the
submitted item is still in the workflow pipeline!

Even if there's an edit metadata workflow step defined for the
collection, this only allows the editing user to change metadata through
the means of the regular input form, NOT in the required low-level
fashion of the Edit Item page. Is there any easy workaround to this,
allowing an editor to touch up the metadata before accepting an item for
public access?

best regards

Mathias Hjelt
Swedish School of Economics and Business Administration

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now   http://get.splunk.com/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] Affiliation per author

2007-08-13 Thread Mathias Hjelt
Hello,
 
Does anyone have an elegant solution for allowing submitting users to
specify the affiliation of each author of, say, a journal article? I'm
sure this must be a rather common requirement for DSpace
implementations, yet I have not found a straight-forward way of
implementing this.
 
One solution I'm thinking about is putting the authors and their
affiliations in numbered metadata fields instead of repeating the
dc.contributor.author field. E.g something like this:
 
dc.contributor.author1 = Author, Albert
dc.contributor.author2 = Researcher, Roger
dc.contributor.affiliation1 = Universal University 
dc.contributor.affiliation2 = Specific School

Then I'd put in non-repeated fields for these in the input form, and
have them all indexed as Author. I guess this would be functional but
not very elegant. Especially since it grows very hairy if one wants to
allow for a larger number of authors per item, say five..

Any other suggestions?

Thanks in advance,

Mathias Hjelt
Swedish School of Economics and Business Administration

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now   http://get.splunk.com/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] Language flags not used from item template

2007-06-12 Thread Mathias Hjelt
I have discovered something that I believe is a bug, or then there's
something I simply don't get: language flags assigned to metadata fields
in an item template seem to be ignored completely.

How to reproduce (tested this with dspace 1.4.2):
 
1) Create an item template for a collection
2) In the template, assign a default value to Title for example, and set
the language for this field to something else than your default language
3) Start submitting to the new collection: the default Title from the
template shows up, all is well so far.. 
4) Review the metadata of the submitted entry. Your default Title is
still there, but the language flag is now set to whatever you have
defined in dspace.cfg/default.language! If default.language is not set,
the Title field will not have any language definition at all.

So to me it appears that the default.language parameter overrides the
item template languages, even when default.language is undefined.

Any thoughts on this? Bug or feature? Any workaround?

best regards

Mathias Hjelt
HANKEN

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] Input forms - how to support multiple languages for one field

2007-06-11 Thread Mathias Hjelt
I have a question regarding customization of the submission input forms.
Our requirement is that the submitting user should be able to enter the
title of a document in two languages of his own choice, say English and
German.
 
How do I accomplish this? Is it possible to add a Language dropdown next
to specific fields in the submission form? Or is there some other simple
solution to this? (I'm familiar with input-forms.xml but I haven't found
a way to add a language qualifier to arbitrary fields..)
 
Thanks in advance,
 
Mathias Hjelt
Swedish School of Economics and Business Administration
 
 

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech