[Dspace-tech] OAI output item header

2012-08-14 Thread Jacob Andersson
Hi.

We're running 1.8.2 with XMLUI.

I'm having trouble finding where I can define the item header in the XML output 
for OAI-PMH harvesting. I've worked with the crosswalk XSLT files but in these 
I can't find any reference to the headers.

This is a snippet of the XML-file:

record
header
identifieroai:dspace.mah.se:2043/619/identifier
datestamp2011-08-23T08:58:59Z/datestamp
setSpechdl_2043_616/setSpec

-- Here is where I'd like to insert some text --

/header
metadata
.lots of stuff that I know how to change.
/metadata
/record


(more of a sample XML-file is here: 
http://dspace.mah.se/oai/request?verb=ListRecordsmetadataPrefix=oai_dcset=hdl_2043_616)

Any help appreciated,

Jacob Andersson
Librarian
Malmö University
Library and IT / Digital Information Services
205 06 Malmö
Sweden
jacob.anders...@mah.se
+46-(0)40-665 8387



--
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] Generating a list of bitstream URLs

2012-08-14 Thread George S Kozak
Hi...

I am not sure if this has been addressed before, but I would like to generate a 
list of bitstream URLS for certain collections in DSpace.


For instance, an item:   http://ecommons.library.cornell.edu/handle/1813/29648 
has a bitstream: Brutsaert_Parlange_Symposium_Photo_Album_10Aug12Reduced.pdf 
with a URL of   
/bitstream/1813/29648/2/Brutsaert_Parlange_Symposium_Photo_Album_10Aug12Reduced.pdfview-source:http://ecommons.library.cornell.edu/bitstream/1813/29648/2/Brutsaert_Parlange_Symposium_Photo_Album_10Aug12Reduced.pdf

I have SQL scripts that will get me the handles for an item and the bitstream 
names, so, I can almost build the  URL to the bitstream.  The only missing 
piece for me is the bitstream number (2, 3, etc.).   Is there a way from 
the SQL tables to determine this?

George Kozak
Digital Library Specialist
Cornell University Library Information Technologies (CUL-IT)
501 Olin Library
Cornell University
Ithaca, NY 14853
607-255-8924

--
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] Generating a list of bitstream URLs

2012-08-14 Thread helix84
On Tue, Aug 14, 2012 at 2:29 PM, George S Kozak g...@cornell.edu wrote:
 I have SQL scripts that will get me the handles for an item and the
 bitstream names, so, I can almost build the  URL to the bitstream.  The only
 missing piece for me is the bitstream number (“2”, “3”, etc.).   Is there a
 way from the SQL tables to determine this?

Hi George,

it's the sequence_id column in the bitstream table. Will you manage
it from here?

Regards,
~~helix84

--
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] Generating a list of bitstream URLs

2012-08-14 Thread George S Kozak
Helix84:

Thanks!  I should have recognized that, but for some reason, it slipped past 
me!  

George Kozak
Digital Library Specialist
Cornell University Library Information Technologies (CUL-IT)
501 Olin Library
Cornell University
Ithaca, NY 14853
607-255-8924

-Original Message-
From: ivan.ma...@gmail.com [mailto:ivan.ma...@gmail.com] On Behalf Of helix84
Sent: Tuesday, August 14, 2012 8:38 AM
To: George S Kozak
Cc: dspace-tech@lists.sourceforge.net
Subject: Re: [Dspace-tech] Generating a list of bitstream URLs

On Tue, Aug 14, 2012 at 2:29 PM, George S Kozak g...@cornell.edu wrote:
 I have SQL scripts that will get me the handles for an item and the 
 bitstream names, so, I can almost build the  URL to the bitstream.  The only
 missing piece for me is the bitstream number (“2”, “3”, etc.).   Is there a
 way from the SQL tables to determine this?

Hi George,

it's the sequence_id column in the bitstream table. Will you manage it from 
here?

Regards,
~~helix84
--
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] OAI output item header

2012-08-14 Thread helix84
Hi Jacob,

the header generation is buried in the OAICat library [1] which DSpace
uses for this. It's not a simple XSLT transformation there, you would
need to modify some Java code of OAICat, rebuild OAICat, update the
oaicat dependency in DSpace and rebuild DSpace.

However, there's now OAI 2.0 based on the XOAI library, which will
most likely replace the old oai webapp in DSpace 3.0. OAI 2.0 can do
this simply by an XSLT transformation. You can also get it as an addon
for DSpace 1.8 [2], which you can deploy on your existing DSpace
instance, even side-by-side with the old oai. For more details, see
[3].

So let us know which route you decide to take and if you need any more help.

[1] http://code.google.com/p/oaicat/source/checkout
[2] http://www.lyncode.com/dspace/addons/xoai/
[3] https://jira.duraspace.org/browse/DS-1202

Regards,
~~helix84

--
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] Mirage in 1.8

2012-08-14 Thread Savage, Karen R.
I upgraded our instance of dspace to 1.8 yesterday. I've incorporated our 
changes to the mirage theme into the new version, but I find that my item view 
pages aren't displaying correctly (summary view). Instead of seeing my altered 
list of clauses, I'm seeing the default (I have restarted tomcat since making 
the changes).

Any ideas?

Thanks,

--
Karen Savage
Baylor University Libraries
Electronic Library
Library Systems
karen_sav...@baylor.edu
(254) 710-3275

--
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] Mirage in 1.8

2012-08-14 Thread helix84
Hi Karen,

try clearing the Cocoon cache:

https://wiki.duraspace.org/display/DSPACE/TechnicalFaq#TechnicalFaq-ClearingCocoon%28XMLUI%29cache

Regards,
~~helix84

--
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] Help suppressing output tagged [search] to catalina.out

2012-08-14 Thread Patrick Rynhart
Hi,

We are running DSpace v1.8.1 and are having a problem whereby a large
amount of output (approximately 400MB per day) is being written to
catalina.out.  A sample line is as follows:

INFO: [search] webapp=/solr path=/select
params={sort=score+descwt=javabinrows=10version=2start=0q=*:*fq=subject_filter:adélie/+penguin/+genetics/%257C/%257C/%257CAdélie/+penguin/+geneticsfq=subject_filter:organisational/+discourse/+analysis/%257C/%257C/%257COrganisational/+discourse/+analysisfq=dateIssued.year:[2010+TO+2011]fq=subject_filter:apteryx/+owenii/%257C/%257C/%257CApteryx/+oweniifq=dateIssued.year:2010fq=subject_filter:limb/+development/%257C/%257C/%257CLimb/+development}
hits=2 status=0 QTime=1

Here's the output of ~10sec capture: http://pastebin.com/UKwdLGYx

Our immediate question (given that our /var/log partition is filling
up), is:

How can we suppress the above lines ?  We don't really want to turn off
all DSpace INFO messages, so is there any way to target just the above
INFO messages ?

If there isn't, what's the correct way to disable INFO logging.  In
log4j.properties, I tried changing:

log4j.rootCategory=INFO, A1
log4j.logger.org.dspace=INFO, A1

to

log4j.rootCategory=OFF, A1
log4j.logger.org.dspace=OFF, A1


But this results in the following error messages upon restart:

log4j:WARN No appenders could be found for logger
(org.dspace.servicemanager.DSpaceKernelInit).
log4j:WARN Please initialize the log4j system properly.

and it doesn't suppress the problematic output in any case.

Also, why are there so many searches going on ?  Is our site being
crawled ?  If so, how can we establish (and restrict) this ? We first
become aware of the problem when /var/log filled up - but don't think
this used to happen.

Many Thanks,

Patrick


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