Re: [Dspace-tech] XMLUI, javascript and IE

2009-06-26 Thread mikan.d.dspace listmail
This is a known IE6 bug, which (as far as I know) is caused pretty
much by what Jennifer already guessed.

-Mika


2009/6/26 Jennifer Whalan jennifer.wha...@nt.gov.au:
 Thanks to all who responded to this. Mika's fix solved the problem, by
 setting the height of the div only in the style-ie css (adding it to the
 other style sheets doubled up the space where the image is placed).

 My guess is that IE6 doesn't calculate the size of the div to the size of
 the image in the div, but other browsers do not have this problem.



 Thanks
 Jennifer





 Jennifer Whalan
 Territory Stories Administrator
 Innovation  Access, Northern Territory Library
 Department of Natural Resources, Environment, The Arts and Sport
 Northern Territory Government

 Phone:  (08) 8922 0757
 Fax:    (08) 8922 0722
 Email:  jennifer.wha...@nt.gov.au
 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.

 
 From: Gary Browne [mailto:g.bro...@library.usyd.edu.au]
 Sent: Friday, 26 June 2009 9:19 AM
 To: DSpace-tech@lists.sourceforge.net
 Subject: Re: [Dspace-tech] XMLUI, javascript and IE

 Hi Jennifer,

 Could this be part of the problem as well?

 http://remysharp.com/2007/02/10/ie-7-breaks-getelementbyid/

 He says that the bug affects both IE6 and IE7.

 I'd be interested to hear whether Mika's fix worked too.

 # Mika, if you're fix worked, could you explain why setting the div height
 works?

 Thanks
 Gary


 Gary Browne
 Development Programmer
 Library IT Services
 University of Sydney
 ph: 9351-5946


 
 From: Jennifer Whalan [mailto:jennifer.wha...@nt.gov.au]
 Sent: Thursday, 25 June 2009 5:04 PM
 To: dspace-tech@lists.sourceforge.net
 Subject: [Dspace-tech] XMLUI, javascript and IE

 Realising that this is outside the scope of dspace, we have a problem
 related to a javascript for our xmlui on ie. The following code we find
 works perfectly in firefox, but does not display the background image in ie
 (specifically IE6, just tested in IE7 and 8 and it works fine). This is a
 script to display a random background image on the load of the page.

 The code is:

    div class=TSbannerImg id=TSbannerImg
 script
  maximumBannerImages = 12;
  bannerNumber = Math.floor(Math.random()*maximumBannerImages);
  document.getElementById('TSbannerImg').style.backgroundImage =
 'url(/themes/TerritoryStories/images/random/ts_MidImg'+bannerNumber+'.jpg)';
 /script
    /div

 and in the css:

 .TSbannerImg {
  background-image: url(../images/random/ts_MidImg1.jpg);
  background-repeat: no-repeat;
  padding-top: 150px;
 }

 If anybody would be able to give a hint about this, it would be greatly
 appreciated.


 Thanks
 Jennifer Whalan


 Jennifer Whalan
 Territory Stories Administrator
 Innovation  Access, Northern Territory Library
 Department of Natural Resources, Environment, The Arts and Sport
 Northern Territory Government

 Phone:  (08) 8922 0757
 Fax:    (08) 8922 0722
 Email:  jennifer.wha...@nt.gov.au
 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.

 --

 ___
 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


Re: [Dspace-tech] Advanced search URL

2009-06-26 Thread Colin Prince
Hi Dorothea,

Thanks, I'll try that; it should work and I can't think of anything else.

Colin


 -Original Message-
 From: Dorothea Salo [mailto:dorothea.s...@gmail.com]
 Sent: Friday, June 26, 2009 09:37
 To: dspace-tech@lists.sourceforge.net
 Subject: Re: [Dspace-tech] Advanced search URL
 
 On Fri, Jun 26, 2009 at 8:20 AM, Colin Princecolin.pri...@utoronto.ca
 wrote:
  Thanks. I guess I'm asking from a more programmatic point of view.
 
  Where in the metadata (or elsewhere) can the theme find out the
 containing community?
 
 The breadcrumb trail, I fancy. The XPath is a little annoying:
 /meta/pageMeta/trail[position() = last() -2] should do it. (The last
 trail element is for the item. The next-to-last is for the
 collection. The second-to-last should be the containing community.) If
 you need the handle, then you want /meta/pageMeta/trail[position() =
 last() -2]/@target, probably minus the initial handle/.
 
 This is... kinda hacky, I admit, but it should work.
 
 Dorothea
 
 --
 Dorothea Salods...@library.wisc.edu
 Digital Repository Librarian  AIM: mindsatuw
 University of Wisconsin
 Rm 218, Memorial Library
 (608) 262-5493
 
 ---
 ---
 ___
 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


Re: [Dspace-tech] Batch Upload - blank mapfile

2009-06-26 Thread Jason Stirnaman
It's probably not finding your source directory.  If you're using the
long command form, then you should state
--source=/path/to/folder_item.
Also, in 1.5.x you no longer have to use dsrun. You can use
dspace/bin/import instead.
-- 



 On 6/25/2009 at 11:16 PM, in message
734462.81563...@web31813.mail.mud.yahoo.com, Suvarsha W. Minj
suvarsh...@yahoo.com wrote:

 Jason,
 
 This is the command: from the dsapce/bin directory
 
 ./dsrun org.dspace.app.itemimport.ItemImport --add
--eperson=ad...@xyz.com 
 --collection=123456789/34 --source /path/to/folder_item 
 --mapfile=2009062578.ingest.map
 
 --- On Thu, 6/25/09, Jason Stirnaman jstirna...@kumc.edu wrote:
 
 From: Jason Stirnaman jstirna...@kumc.edu
 Subject: Re: [Dspace-tech] Batch Upload - blank mapfile
 To: dspace-tech@lists.sourceforge.net, Suvarsha W. Minj 
 suvarsh...@yahoo.com
 Date: Thursday, June 25, 2009, 11:02 AM
 Suvarsha,
 What commands are you sending?
 
  Or is this a 
  DSpace Ver. 1.5.2 bug?
 
 I've been using the item importer in 1.5.2 and it works as
 you'd
 expect.
 
 Regards,
 
 Jason
 -- 
 
 
 
  On 6/25/2009 at 9:50 AM, in message
 722824.90929...@web31811.mail.mud.yahoo.com,
 Suvarsha W. Minj
 suvarsh...@yahoo.com
 wrote:
 
  Hello everyone,
  
  We are trying to batch upload files into DSpace ver.
 1.5.2
  
  The command is going through with the following
 output:
  -
  Destination collections:
  Owning  Collection: Images Collection
  Adding items from directory: /path/to/folder/
  Generating mapfile: 2009062578.ingest.map
  -
  
  Though it does not show errors, the import does not
 seem to be
 complete. It 
  does not show in the collection. And from what I read
 on forums the
 output 
  should show much more if import is successful. 
  
  The source folder seems fine too - containing the file
 to be
 imported, the 
  metadata xml file and the 'contents' file.
  
  The mapfile generated is blank. Is DSpace having
 trouble generating a
 
  handle? (It works however with the normal browser
 uploading). Or is
 this a 
  DSpace Ver. 1.5.2 bug? Any ideas to help resolve this
 issue? 
  
  Thanks,
  
  Suvarsha
  
  

  
 

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


Re: [Dspace-tech] Installation of Dspace

2009-06-26 Thread Jason Stirnaman
Hi, Will!  The DSpace manual for version 1.5.2 is actually quite strong
in the installation area. The manual can be found in the source release
(which you don't really want) or at
http://www.dspace.org/1_5_2Documentation/DSpace-Manual.pdf
We're running on Solaris, though the instructions should suit just
about any 'nix platform I think.

Jason
-- 



 On 6/25/2009 at 1:23 PM, in message
24187643.p...@talk.nabble.com, williamw
willi...@rider.edu wrote:

 Hello, I have been searching all over on how to install DSpace onto
solaris
 and i cant
 seem to find out how, as in i mean how to install what into what
directory
 and what directory's i need to make and where, ive been on the dspace
wiki
 and that didn't really help me all that much, and i guess it doesn't
help
 all that much that i am new to Linux so i don't really know how to
install
 things all that great, i was wondering if anyone would take the time
to help
 me?
 
 Thank you!
 
 -Will

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


[Dspace-tech] Batch Upload - blank mapfile

2009-06-26 Thread Yureshwar Dspace
Hi jason,

I have already tried with the command you have told for the batch import.
But still its not showing. I have exported one item from the repository via
web browser and the same exported file i have imported. But still its not
showing in the web browser. I have raised this as a bug in the dspace bugs
issue page. You can find that in here
http://jira.dspace.org/jira/browse/DS-237

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