[Dspace-tech] Custom Javascript in Structural.xsl

2009-02-04 Thread mikan.d.dspace listmail
Im trying to add some custom Javscript code for our DSpace 1.5 instances. The problem is though, that when compiling the source I get SAX errors because of '' signs on Javascript code. Should I encode the code somehow or how could I get around this? The line that causes the problem is the

[Dspace-tech] Filtering OAI ListRecords

2009-02-04 Thread Mr Havercamp
I was hoping to retrieve records from DSpace via OAI that match a particular subject (dc.subject). I've reviewed the OAI documentation and was wondering if there is some way of doing this via ListRecords as there does not seem to be a SearchRecords or similar verb. I can filter by set (i.e.

Re: [Dspace-tech] Filtering OAI ListRecords

2009-02-04 Thread Claudia Jürgen
Hi Hayden, if you want to search, use SRW/U. Hope that helps Claudia Jürgen Mr Havercamp schrieb: I was hoping to retrieve records from DSpace via OAI that match a particular subject (dc.subject). I've reviewed the OAI documentation and was wondering if there is some way of doing this

Re: [Dspace-tech] Custom Javascript in Structural.xsl

2009-02-04 Thread mikan.d.dspace listmail
Thanks Adnreas, This seems to fix the problem with '' signs etc. But now Im getting the following Javascript errors. This is strange since the same piece of code works fine in dummy HTML page. Something seems to go wrong when adding JS to XSL. What am I missing here? missing ) after for-loop

Re: [Dspace-tech] Local modifications to DSpace .java programs, in 1.5.1

2009-02-04 Thread Reuben Pasquini
I like to use Mercurial to track our local mods. http://www.selenic.com/mercurial/wiki/ There are some nice tools to support that: http://www.selenic.com/mercurial/wiki/index.cgi/WorkingWithSubversion I just do a simple setup though - keep a few copies of the code around. *.

Re: [Dspace-tech] question about deploying dspace-sword

2009-02-04 Thread Debashree Pati
Thanks Hayden for the reply. I had added the context path for Dspace SWORD user like you've mentioned. And, yes I am able to browse to both jspui and xmlui. Another thing I noticed is that under C:\Program Files\apache-tomcat-6.0.18\work\Catalina\localhost\sword There is only a single file

Re: [Dspace-tech] question about deploying dspace-sword

2009-02-04 Thread Mr Havercamp
No, there should be more files than that. If you look in the sword directory you should see the sub directories META-INF/ and WEB-INF/. What about in oai/ and lni/? Were there any errors during installation? Cheers Hayden Debashree Pati wrote: Thanks Hayden for the reply. I had added the

Re: [Dspace-tech] Custom Javascript in Structural.xsl

2009-02-04 Thread Thomas A McGee
Wouldn't it be more efficient anyway to simply reference an external .js file? Structural.xsl already has an example chunk of code: !-- Add javascipt -- xsl:for-each select=/dri:document/dri:meta/dri:pageMeta/dri:metada...@element='javascript'] script

Re: [Dspace-tech] Custom Javascript in Structural.xsl

2009-02-04 Thread Walker, David
You could just write the Javascript in a seperate .js file and import it into the HTML using a script tag. That would free you from the constraints of XSLT, and makes things cleaner anway. --Dave == David Walker Library Web Services Manager California State University

[Dspace-tech] Using local URIs in place of CNRI Handles

2009-02-04 Thread Schoppet, Chuck
Is there a How to for DSpace 1.5 for running DSpace using local URIs in place of CNRI Handles? I want to use DSpace for a private intranet repository. Chuck Schoppet -- Create and Deploy Rich Internet Apps outside the

Re: [Dspace-tech] question about deploying dspace-sword

2009-02-04 Thread Debashree Pati
Yes, in my [Dspace]/webapps/sword/ there are WEB-INF/ and META-INF/ with contents. Also, the lni/ and oai/ have folders and files. But, [Tomcat]/work/Catalina/localhost/oai is empty. There isn't any lni subdirectory here. I don't remember of any error while installing Tomcat. Shouldn't these

Re: [Dspace-tech] Custom Javascript in Structural.xsl

2009-02-04 Thread Tim Donohue
I'd recommend the separate .js file route. In fact, if you create a separate .js, you can have it load automatically by a simple edit of your Theme's sitemap.xmap file. If you look in that file, you'll see IncludePageMeta sections like this: map:transform type=IncludePageMeta

Re: [Dspace-tech] Custom Javascript in Structural.xsl

2009-02-04 Thread Andreas Geyrecker
Mika, try using a ![CDATA[ ... ]] section for your javascript code. see also http://www.dpawson.co.uk/xsl/sect4/N9745.html Andi 2009/2/4 mikan.d.dspace listmail mikan.dsp...@gmail.com Im trying to add some custom Javscript code for our DSpace 1.5 instances. The problem is though, that when

[Dspace-tech] question about deploying dspace-sword

2009-02-04 Thread Debashree Pati
Hi, The DSpace 1.5 documentation (3.4 Windows Installation - Installation Steps - step 10) states: 10. Browse to either http://localhost:8080/jspui or http://localhost:8080/xmlui. You should see the DSpace home page for either the JSPUI or XMLUI, respectively. What about the dspace-sword

Re: [Dspace-tech] Problems with IP Authentication

2009-02-04 Thread Eric Luhrs
After setting the log level to DEBUG, I was able to verify that users from my subnet are getting added to the on-campus special IPAuth group that I defined dspace.cfg. However, before authentication, the special group is not assigned: 2009-02-04 12:08:57,647 DEBUG

Re: [Dspace-tech] question about deploying dspace-sword

2009-02-04 Thread Mr Havercamp
Debashree Pati wrote: Yes, in my [Dspace]/webapps/sword/ there are WEB-INF/ and META-INF/ with contents. Also, the lni/ and oai/ have folders and files. But, [Tomcat]/work/Catalina/localhost/oai is empty. There isn't any lni subdirectory here. I don't remember of any error while installing

Re: [Dspace-tech] question about deploying dspace-sword

2009-02-04 Thread Debashree Pati
Thank you very much for keeping up with my postings. I decided to do a fresh install of dspace in my linux machine and go from there. Hopefully, things will work well there. If not, I'll be back to posting again. - deb -Original Message- From: Mr Havercamp [mailto:mrhaverc...@gmail.com]

Re: [Dspace-tech] question about deploying dspace-sword

2009-02-04 Thread Mr Havercamp
Sounds good. I can give a bit more assistance for Linux installs as I have never installed dspace on a windows machine. Good luck. Debashree Pati wrote: Thank you very much for keeping up with my postings. I decided to do a fresh install of dspace in my linux machine and go from there.

Re: [Dspace-tech] [Dspace-general] opening a collection to submission to allregistered users

2009-02-04 Thread Kim Shepherd
Hi Wayne, [replying to dspace-tech rather than dspace-general, since it’s a slightly techie answer] It might come down to what pattern matching you can do on e-people to figure out who is a grad student and who isn’t... StackableAuthentication can be made to do some cool stuff... MIT do

Re: [Dspace-tech] question about deploying dspace-sword

2009-02-04 Thread Mr Havercamp
I can confirm that renaming dspace-sword to sword fixes the 404 not available error. Kim Shepherd wrote: Hi Deb, In addition to the other suggestions give here, I would make sure you are using either jspui or xmlui as the ROOT webapp in your Tomcat installation. This causes less problems

[Dspace-tech] Dspace ports Firewall

2009-02-04 Thread Jewel
I am wanting to create some IPSec rules for Dspace. Regarding the handle I know I need to have ports 8000 and 2541 open but to what extent? Do both need to be open going in and out and is there a way to limit these on what they are listening to? -- JM

Re: [Dspace-tech] Local modifications to DSpace .java programs, in 1.5.1

2009-02-04 Thread Thornton, Susan M. (LARC-B702)[NCI INFORMATION SYSTEMS]
I think I'm still missing a piece of the puzzle though since my modified .java program is NOT making it into the dspace-api-1.5.1.jar file in /dspace/lib. I have added the new sub-directory custom-api and file pom.xml file under {dspace-source}/dspace/modules. I added the following to

Re: [Dspace-tech] Local modifications to DSpace .java programs, in 1.5.1

2009-02-04 Thread Diggory Mark
On Feb 4, 2009, at 3:47 PM, Thornton, Susan M. (LARC-B702)[NCI INFORMATION SYSTEMS] wrote: I think I’m still missing a piece of the puzzle though since my modified .java program is NOT making it into the dspace- api-1.5.1.jar file in /dspace/lib. I have added the new sub-directory

Re: [Dspace-tech] Local modifications to DSpace .java programs, in 1.5.1

2009-02-04 Thread Kim Shepherd
Hi Sue, I’m pretty new at this stuff myself, but I’ve had a quick go at it too, to get a feel for it. I’m sure Mark will correct me if I’m wrong.. Going by these instructions, and assuming your compile was successful, I believe the key step is (c), adding appropriate dependencies.

[Dspace-tech] DSpace and SRW

2009-02-04 Thread Mr Havercamp
I was wondering if anyone has successfully installed the Search and Retrieve Web/URL (SRW/U) service for DSpace. I've managed to get it to successfully run by installing thew SRW server and SRW/DSpace interface from http://code.google.com/p/oclcsrw/ and