Re: [Dspace-tech] Feedback Link Error

2013-08-26 Thread Drover, Matt
I assume it is a built in feature that prevents spam, but the feedback page cannot be accessed directly, you need to reach it from a link on your site. It checks the referrer header. I disabled that check in my code by changing SendFeedbackaction.java Matthew Drover Programmer

Re: [Dspace-tech] Importing with spaces in filename

2013-08-12 Thread Drover, Matt
Hi Bram, I'm running on windows. -Matt From: bluy...@gmail.com [mailto:bluy...@gmail.com] On Behalf Of Bram Luyten Sent: Friday, August 9, 2013 8:14 AM To: Drover, Matt Cc: DSpace Tech Subject: Re: [Dspace-tech] Importing with spaces in filename Hi Matt, are you doing

Re: [Dspace-tech] Importing with spaces in filename

2013-08-12 Thread Drover, Matt
: ivan.ma...@gmail.com [mailto:ivan.ma...@gmail.com] On Behalf Of helix84 Sent: Friday, August 9, 2013 8:20 AM To: Drover, Matt Cc: dspace-tech@lists.sourceforge.net Subject: Re: [Dspace-tech] Importing with spaces in filename On Thu, Aug 8, 2013 at 7:12 PM, Drover, Matt mattdro...@mun.ca wrote: -r

Re: [Dspace-tech] Importing with spaces in filename

2013-08-12 Thread Drover, Matt
Support Memorial University of Newfoundland -Original Message- From: ivan.ma...@gmail.com [mailto:ivan.ma...@gmail.com] On Behalf Of helix84 Sent: Monday, August 12, 2013 10:29 AM To: Drover, Matt Cc: dspace-tech@lists.sourceforge.net Subject: Re: [Dspace-tech] Importing with spaces

[Dspace-tech] Importing with spaces in filename

2013-08-08 Thread Drover, Matt
I have some files with spaces in the filename and when I try to import them, they fail. My contents file contains: -r -s 2 -f /applications/vod/media/brave/test one.flv It failes as the one gets truncated from the filename. I tried putting quotes around it, but no luck. Is there a

Re: [Dspace-tech] Change StaticTrail title in breadcrumb

2013-07-05 Thread Drover, Matt
How did you create the pages? There are a few methods. Matthew Drover Programmer Consultant Immersive Technology Distance Education, Learning and Teaching Support Memorial University of Newfoundland From: Diego Bastos [mailto:apiweb2...@gmail.com] Sent: Thursday, July 4, 2013

Re: [Dspace-tech] Unable to send email

2013-06-13 Thread Drover, Matt
Hi, edit your /etc/hosts and specify a hostname for your ip. By IP, I'm referring to the dspace computers IP. This is not a mailserver issue. Matthew Drover Programmer Consultant Immersive Technology Distance Education, Learning and Teaching Support Memorial University of Newfoundland

Re: [Dspace-tech] Tomcat on port 80

2013-05-16 Thread Drover, Matt
[mailto:hilton.gib...@gmail.com] Sent: Wednesday, May 15, 2013 6:48 PM To: Drover, Matt Cc: Henry Atsu Agbodza; dspace-tech Subject: Re: [Dspace-tech] Tomcat on port 80 Hi Matt Where did you write these firewall rules to make them permanent? Cheers hg On 15 May 2013 20:15, Drover, Matt mattdro

Re: [Dspace-tech] How to edit body text

2013-05-16 Thread Drover, Matt
I know Helix answered this but also look at http://www.dspace.org/1_6_0Documentation/ch07.html Section 7.5. The news-xmlui.xml uses DRI syntax so don't use html. Here are the docs on dri. http://www.dspace.org/1_6_0Documentation/ch15.html Matthew Drover Programmer Consultant Immersive

Re: [Dspace-tech] Tomcat on port 80

2013-05-15 Thread Drover, Matt
Did you restart Tomcat after your config changes ? I found that using iptables to redirect port 80 to port 8082 worked much easier. iptables -t nat -A PREROUTING -p tcp --dport 80 -j REDIRECT --to-port 8082 iptables -t nat -A PREROUTING -p tcp --dport 443 -j REDIRECT --to-port 8443

[Dspace-tech] This item is restricted

2013-05-06 Thread Drover, Matt
When I try to view an item that is restricted, I get this error. The problem is that the message is doubled. I looked in Restricted.java but seen nothing wrong there. Can anyone provide some insight to where this error might be occurring? I'm running dspace 3.0 with Mirage and xmlui.

Re: [Dspace-tech] Re-configuration of dspace.cfg

2013-05-01 Thread Drover, Matt
Try service tomcat restart from the command line. It all depends on how you installed it, this might work for you. I usually have to restart tomcat twice after I build dspace to get it to come up. -Matt From: SanjibKumarDeka [mailto:xan...@gmail.com] Sent: Wednesday, May 1, 2013

Re: [Dspace-tech] Private items

2013-04-29 Thread Drover, Matt
by pages immediately. -Matt -Original Message- From: ivan.ma...@gmail.com [mailto:ivan.ma...@gmail.com] On Behalf Of helix84 Sent: Monday, April 29, 2013 12:31 PM To: Drover, Matt Cc: Bram Luyten; DSpace Tech Subject: Re: [Dspace-tech] Private items On Mon, Apr 29, 2013 at 3:05 PM, Drover

[Dspace-tech] Private items

2013-04-26 Thread Drover, Matt
What is the best way to do this. I have a community that hold collections while they are being developed. I do not want users to see any of these items until I am completed. I have premissions setup for the community-list page so we don't see them there, and I have Discovery as my search and it

[Dspace-tech] Context and mets

2013-04-18 Thread Drover, Matt
Hi, I'm running dspace 3.0 using xmlui. I recently had to make a change to AbstractAdapter.java as I needed a change in my mets. I'm adding a fake fileSec section for certain items. I run a simple db query via the DatabaseManager class to determine which items. Context context = new

Re: [Dspace-tech] nice links to static items

2013-04-16 Thread Drover, Matt
: bluy...@gmail.com [mailto:bluy...@gmail.com] On Behalf Of Bram Luyten Sent: Tuesday, April 16, 2013 10:42 AM To: Drover, Matt Cc: DSpace Tech Subject: Re: [Dspace-tech] nice links to static items Hi Matt, different approaches for adding static pages are explained here: https

[Dspace-tech] nice links to static items

2013-04-15 Thread Drover, Matt
Hi, I'm using dspace 3 with xmlui and the Mirage theme. I have html page /static/test.html, I want to setup a route/map that will take http://localhost/test and render that test.html http://localhost/test%20and%20render%20that%20test.html file. Three will only be 1-2 files so I can hard code

[Dspace-tech] hide communities/collecitons from discovery search

2013-04-11 Thread Drover, Matt
I have discovery setup as my search option. It works great. But I would like it to only display items found. Currently it displays a list of communities and collections then the items. Is this possible ? Matthew Drover Programmer Consultant Immersive Technology Distance Education, Learning

Re: [Dspace-tech] hide communities/collecitons from discovery search

2013-04-11 Thread Drover, Matt
Sorry, it's dspace 3 and xmlui. From: ivan.ma...@gmail.com [mailto:ivan.ma...@gmail.com] On Behalf Of helix84 Sent: Thursday, April 11, 2013 9:46 AM To: Drover, Matt Cc: dspace-tech Subject: Re: [Dspace-tech] hide communities/collecitons from discovery search DSpace version and theme

Re: [Dspace-tech] importing to the db directly

2013-04-08 Thread Drover, Matt
: Monday, April 8, 2013 11:44 AM To: Drover, Matt Cc: dspace-tech Subject: Re: [Dspace-tech] importing to the db directly On Mon, Apr 8, 2013 at 4:09 PM, Drover, Matt mattdro...@mun.ca wrote: Looks easy enough. Do I leave out the id column if I'm just adding? Also, how do I add the metadata info

Re: [Dspace-tech] importing to the db directly

2013-04-08 Thread Drover, Matt
But how do I get it to show up in the bitstreasm list ? -Matt -Original Message- From: ivan.ma...@gmail.com [mailto:ivan.ma...@gmail.com] On Behalf Of helix84 Sent: Monday, April 8, 2013 12:25 PM To: Drover, Matt Cc: dspace-tech Subject: Re: [Dspace-tech] importing to the db directly

Re: [Dspace-tech] importing to the db directly

2013-04-08 Thread Drover, Matt
xmlui and 3.0. -Original Message- From: ivan.ma...@gmail.com [mailto:ivan.ma...@gmail.com] On Behalf Of helix84 Sent: Monday, April 8, 2013 1:14 PM To: Drover, Matt Cc: dspace-tech Subject: Re: [Dspace-tech] importing to the db directly Which DSpace version, UI and theme are you using

[Dspace-tech] duplicate text You are attempting to access a private area that requires credentials to view.

2013-03-28 Thread Drover, Matt
When I directly link to an item that is restricted and I am not logged in I get the following. I is saying the same message twice. This community is restricted You are attempting to access a private area that requires credentials to view. Proceed to login screen You are

[Dspace-tech] Ant Error

2013-03-21 Thread Drover, Matt
All of a sudden this morning I'm getting this error. Any ideas? [root@mulligan1 dspace-3.0-build]# ant update_configs Buildfile: /root/dspace/src/dspace-3.0-src-release/dspace/target/dspace-3.0-build/b uild.xml prepare_configs: [mkdir] Created dir:

[Dspace-tech] handles

2013-03-12 Thread Drover, Matt
How do I get the handle for communities and collections, providing I have the community_id or collection_id ? I'm not seeing a table or field that links the two in the database. Thanks. Matthew Drover Programmer Consultant Immersive Technology Distance Education, Learning and Teaching

[Dspace-tech] Metadata Formats

2013-03-06 Thread Drover, Matt
Hi, I'm trying to setup harvesting and under the Content Source of a collection, my Metadata Format drop down is empty, and as such, preventing my changes from saving on this tab. Any ideas? Matthew Drover Programmer Consultant Immersive Technology Distance Education, Learning and Teaching

[Dspace-tech] Extra fields when registering or submitting an item

2013-02-26 Thread Drover, Matt
Is it possible to add 2 required fields to the user registratin page? or Is it possible to add a couple of required fields to the Distribution License or Initial Questions pages ? Matthew Drover Programmer Consultant Immersive Technology Distance Education, Learning and Teaching Support

[Dspace-tech] Get item_id from bitstream handle

2013-02-20 Thread Drover, Matt
I have /bitstream/handle/dspace/8045/benoit_3.jpg?sequence=1 , which is the link to a bitstream. It gives me the handle_id and the filename. I've been through all the postgress tables, but I can't find the connection to give me the bitstream_id. Which table links the bitstream to the handle ?

Re: [Dspace-tech] Get item_id from bitstream handle

2013-02-20 Thread Drover, Matt
Of helix84 Sent: Wednesday, February 20, 2013 9:52 AM To: Drover, Matt Cc: dspace-tech@lists.sourceforge.net Subject: Re: [Dspace-tech] Get item_id from bitstream handle On Wed, Feb 20, 2013 at 2:15 PM, Drover, Matt mattdro...@mun.ca wrote: I have /bitstream/handle/dspace/8045/benoit_3.jpg?sequence=1

[Dspace-tech] Renaming the dc fields on the full item record page

2013-02-19 Thread Drover, Matt
Hi, I'm trying to rename the labels for the dublin core fields on the full item record page to their friendly names. ie: dc.creator becomes Creator. I could do it in the xsl with a bunch of choose statements, but there must be a better way. Is there? Matthew Drover Programmer Consultant

Re: [Dspace-tech] Access bitstream information from search results

2013-02-15 Thread Drover, Matt
Andrea, that worked perfectly, thanks! What sections would I need to include to read the collection the item is in ? Thanks. -Matthew -Original Message- From: Andrea Schweer [mailto:schw...@waikato.ac.nz] Sent: Thursday, February 14, 2013 5:22 PM To: dspace-tech@lists.sourceforge.net

[Dspace-tech] Access bitstream information from search results

2013-02-14 Thread Drover, Matt
I asked this question a few days ago, but it was too specific. Hopfully this generialized version of my question might peek someones interest. I'm working in item-list.xsl, in this template xsl:template match=dim:dim mode=itemSummaryList-DIM-metadata I want to list the bitstream names In

Re: [Dspace-tech] Access bitstream information from search results

2013-02-14 Thread Drover, Matt
Hi, I've tried that too. It really feels like that section of the mets is not available. I've tested this in /search and /browse pages. -Matt From: Brian Freels-Stendel [mailto:bfre...@unm.edu] Sent: Thursday, February 14, 2013 12:08 PM To: Drover, Matt; dspace-tech@lists.sourceforge.net

Re: [Dspace-tech] Getting mimetype from ancestor::mets:METS//mets:fileGrp[@USE='THUMBNAIL']...

2013-02-13 Thread Drover, Matt
for the items list. -Matthew -Original Message- From: ivan.ma...@gmail.com [mailto:ivan.ma...@gmail.com] On Behalf Of helix84 Sent: Wednesday, February 13, 2013 9:52 AM To: Drover, Matt Cc: dspace-tech@lists.sourceforge.net Subject: Re: [Dspace-tech] Getting mimetype from ancestor

[Dspace-tech] Getting mimetype from ancestor::mets:METS//mets:fileGrp[@USE='THUMBNAIL']...

2013-02-12 Thread Drover, Matt
Hi, I'm using this code to get the bitstream url: ancestor::mets:METS//mets:fileGrp[@USE='THUMBNAIL']/mets:file/mets:FLoca t[@LOCTYPE='URL']/@xlink:href I can't seem to find the mimetype for the bitstream. This is being used in item-list.xsl in xmlui. In item-view.xsl the code @MIMETYPE is

Re: [Dspace-tech] Getting mimetype from ancestor::mets:METS//mets:fileGrp[@USE='THUMBNAIL']...

2013-02-12 Thread Drover, Matt
:16 AM To: Drover, Matt Cc: dspace-tech@lists.sourceforge.net Subject: Re: [Dspace-tech] Getting mimetype from ancestor::mets:METS//mets:fileGrp[@USE='THUMBNAIL']... On Tue, Feb 12, 2013 at 2:36 PM, Drover, Matt mattdro...@mun.ca wrote: Hi, I'm using this code to get the bitstream url: ancestor

Re: [Dspace-tech] Getting mimetype from ancestor::mets:METS//mets:fileGrp[@USE='THUMBNAIL']...

2013-02-12 Thread Drover, Matt
Hi, This works perfect on my page (item-list) xsl:value-of select=//mets:fileGrp[@USE='THUMBNAIL']/mets:file/@MIMETYPE/ but when I try xsl:value-of select=$context/mets:fileSec/mets:fileGrp[@USE='THUMBNAIL']/mets:file/@MIMETYPE/ where context is set to . above, I get nothing. Here is

Re: [Dspace-tech] Getting mimetype from ancestor::mets:METS//mets:fileGrp[@USE='THUMBNAIL']...

2013-02-12 Thread Drover, Matt
, February 12, 2013 11:39 AM To: Drover, Matt Cc: dspace-tech@lists.sourceforge.net Subject: Re: [Dspace-tech] Getting mimetype from ancestor::mets:METS//mets:fileGrp[@USE='THUMBNAIL']... Sorry, my previous example was wrong. This should work in your example (assuming the thumbnail exists