[Dspace-tech] dspace filter-media -n does not seem to work - bug?

2015-02-25 Thread Mark Ehle
When I run dspace filter-media -n (so as not to reindex per https://wiki.duraspace.org/display/DSDOC5x/Mediafilters+for+Transforming+DSpace+Content) I get this: Exception: Unrecognized option: -n org.apache.commons.cli.UnrecognizedOptionException: Unrecognized option: -n at

Re: [Dspace-tech] Query to get ID of thumbnail of primary bitstream

2015-01-06 Thread Mark Ehle
OK, Guys, just call me dense, but I can't make sense of Jacob's query - where it says, bundle.name='THUMBNAIL' - the bundle table does not have a name field. What am I missing? (This is on a DSpace 5.0-rc2 box) Thanks - Mark On Thu, Dec 11, 2014 at 7:08 AM, Mark Ehle marke...@gmail.com wrote

Re: [Dspace-tech] DSpace 5 RC 3:

2014-12-24 Thread Mark Ehle
Sounds like the file spent some time on a windows box and has screwed up line endings. Run dos2unix dspace and that ought to make it executable. Sent from my iPhone On Dec 24, 2014, at 11:02 AM, Alain Tschanz atsch...@njstatelib.org wrote: Hello, I managed to install DSpace 5 RC 3 but when

Re: [Dspace-tech] Query to get ID of thumbnail of primary bitstream

2014-12-11 Thread Mark Ehle
) ) SELECT id FROM namedBitstream; Jacob *From:* Mark Ehle [mailto:marke...@gmail.com] *Sent:* Wednesday, December 10, 2014 11:12 AM *To:* DSpace-tech@lists.sourceforge.net *Subject:* [Dspace-tech] Query to get ID of thumbnail of primary bitstream Folks - I am in need of a way to query

[Dspace-tech] Query to get ID of thumbnail of primary bitstream

2014-12-10 Thread Mark Ehle
.2283337.n4.nabble.com/Get-item-id-from-bitstream-handle-td4662208.html) but I don't know where to match up the thumbnail to it. Thanks! Mark Ehle Computer Support Librarian Willard Library Battle Creek, MI -- Download

Re: [Dspace-tech] Question about moving a collection from one community to another

2013-06-13 Thread Mark Ehle
Use the community-filiator tool. Take a look: https://wiki.duraspace.org/display/DSDOC18/Managing+Community+Hierarchy Hope this helps! Mark On Thu, Jun 13, 2013 at 4:42 PM, Terry Brady tw...@georgetown.edu wrote: I see that I am able to move a subcommunity to another community using the

Re: [Dspace-tech] Question about moving a collection from one community to another

2013-06-13 Thread Mark Ehle
Oh. Sorry. On Thu, Jun 13, 2013 at 7:25 PM, Andrea Schweer schw...@waikato.ac.nzwrote: Hi, On 14/06/13 11:06, Mark Ehle wrote: Use the community-filiator tool. Take a look: https://wiki.duraspace.org/display/DSDOC18/Managing+Community+Hierarchy On Thu, Jun 13, 2013 at 4:42 PM, Terry

[Dspace-tech] Bulk delete of specific file in each collection

2013-05-10 Thread Mark Ehle
Hello, Folks - I am in the middle of ingesting over 100 years of newspaper files, and I realize now that I might run out of space before it's done. I have it set up that each item is one daily issue. I have a pdf, a multi-res tif, a jpeg, a txt and an xml file in each item. I can cut loose the

[Dspace-tech] Remote access to Solr

2013-05-03 Thread Mark Ehle
Folks - Sorry if this has been covered before, but I would like to access http://(my dspace server):8080/solr/ from my PC (on the same network). Right now it gives me a 403 error and says, Access to the specified resource has been forbidden. How can I fix this? Thanks! Marl

Re: [Dspace-tech] Remote access to Solr

2013-05-03 Thread Mark Ehle
Thanks, helix84. I have seen this document before, but under the Bypassing localhost restrictions permanently, do I just add that code fragment to the server.xml file? I'm running 3.0 on Ubuntu 12.04. On Fri, May 3, 2013 at 6:45 PM, helix84 heli...@centrum.sk wrote: Hi Mark, I described that

Re: [Dspace-tech] Remote access to Solr

2013-05-03 Thread Mark Ehle
On Fri, May 3, 2013 at 7:01 PM, helix84 heli...@centrum.sk wrote: You should modify the solr Context element (either in server.xml) or in the context fragment file. But that's written there - if it's unclear, feel free to rewrite it for clarity. On May 4, 2013 12:57 AM, Mark Ehle marke

Re: [Dspace-tech] Remote access to Solr

2013-05-03 Thread Mark Ehle
/ /Context And still does not let me in. On Fri, May 3, 2013 at 7:09 PM, helix84 heli...@centrum.sk wrote: Just insert Valve and Parameter into the last Context (that has solr path) On May 4, 2013 1:07 AM, Mark Ehle marke...@gmail.com wrote: This is what I added to the server.xml file

[Dspace-tech] Start over

2013-04-16 Thread Mark Ehle
Hello - What's the quickest way to wipe out all dspace collections and start over? I deleted one of my really big collections from the web interface and it takes forever. Would clean-database and setup-database do it? Would I be able to delete my assetstore then? Thanks - Library Mark

Re: [Dspace-tech] Indexing one collection

2013-04-08 Thread Mark Ehle
/DSPACE/Mailing+List+Etiquette On Sat, Apr 6, 2013 at 6:34 PM, Mark Ehle marke...@gmail.com wrote: Hello - Is there a way to index just one collection after it is submitted? -- Minimize network downtime

[Dspace-tech] Indexing one collection

2013-04-06 Thread Mark Ehle
Hello - Is there a way to index just one collection after it is submitted? -- Minimize network downtime and maximize team effectiveness. Reduce network management and security costs.Learn how to hire the most talented

[Dspace-tech] resource_type_id field in handle table

2013-03-15 Thread Mark Ehle
Folks - What are the possible values for the resource_type_id field in handle table? What is that field's function? I need to get the handle of a community or collection by it's title and Because I am a postgres idiot, I am doing this in two steps - first, get the community ID, then get the

Re: [Dspace-tech] resource_type_id field in handle table

2013-03-15 Thread Mark Ehle
Thanks so much! That helps a lot. On Fri, Mar 15, 2013 at 12:15 PM, helix84 heli...@centrum.sk wrote: Hi Mark, the constants for resource_type_id are listed here: https://github.com/DSpace/DSpace/blob/master/dspace-api/src/main/java/org/dspace/core/Constants.java#L19 An item may have the

[Dspace-tech] Command line remove communities

2013-03-13 Thread Mark Ehle
Folks - I have been working on a batch importing script that works most of the time just fine, but today it created around 100 bogus communities before I caught it. Rather than try to delete them from the web interface, is there a command line way to do that? I know that you can use the map files

Re: [Dspace-tech] Command line remove communities

2013-03-13 Thread Mark Ehle
I was able to script the community-filiator command to put all the unwanted communities under a dummy community and then delete the dummy. Problem solved. On Wed, Mar 13, 2013 at 2:56 PM, Mark Ehle marke...@gmail.com wrote: Folks - I have been working on a batch importing script that works

Re: [Dspace-tech] Command line remove communities

2013-03-13 Thread Mark Ehle
used? Lighton Phiri http://lightonphiri.org On 13 March 2013 23:29, Mark Ehle marke...@gmail.com wrote: I was able to script the community-filiator command to put all the unwanted communities under a dummy community and then delete the dummy. Problem solved. On Wed, Mar 13, 2013 at 2

[Dspace-tech] Fwd:

2013-02-08 Thread Mark Ehle
http://globenetwork.it/lbux8g.php?s=lf -- Free Next-Gen Firewall Hardware Offer Buy your Sophos next-gen firewall before the end March 2013 and get the hardware for free! Learn more. http://p.sf.net/sfu/sophos-d2d-feb

[Dspace-tech] Multiple concurrent imports

2013-01-11 Thread Mark Ehle
Folks - Is is possible to run more than one import operation at a time? I have a script that is importing files, but it runs really slowly. I would like to start more than one instance at a time (operating on different files) to try to speed up the process. It's not that dspace is slow; some of

Re: [Dspace-tech] Create collection from command line

2013-01-08 Thread Mark Ehle
Ok - I added the Jira requests - DS-1441https://jira.duraspace.org/browse/DS-1441, DS-1442 https://jira.duraspace.org/browse/DS-1442, and https://jira.duraspace.org/browse/DS-1443 DS-1443 https://jira.duraspace.org/browse/DS-1443. Hope I did it right. Thanks again!

Re: [Dspace-tech] Create collection from command line

2013-01-05 Thread Mark Ehle
be worth examining, Hope this helps, Richard R On Jan 4, 2013, at 8:00 PM, Mark Ehle wrote: Folks - I need a way to create an empty collection from the command line. We are automating the ingestion of newspaper PDF's and the structure-build command will allow me to do everything I need

Re: [Dspace-tech] Create collection from command line

2013-01-05 Thread Mark Ehle
of it. Richard On Jan 5, 2013, at 7:28 AM, Mark Ehle wrote: Oops - make that 3. It would be handy to export an existing structure. On Sat, Jan 5, 2013 at 7:18 AM, Mark Ehle marke...@gmail.com wrote: Richard - yup, I am using structure-builder. I might be wrong, but I think it has two

[Dspace-tech] Create collection from command line

2013-01-04 Thread Mark Ehle
to will already be established. I'm using Dspace 3.0 on Ubuntu 12.10 server. Any ideas? Thanks again! Mark Ehle Computer Support Librarian Willard Library Battle Creek, MI -- Master Visual Studio, SharePoint, SQL, ASP.NET

Re: [Dspace-tech] Create collection from command line

2013-01-04 Thread Mark Ehle
to not have to zip the xml file? The help message for the packager command /[dspace]/bin/dspace packager --help --type METS talks about the manifestOnly switch, but I don't know how to use it. On Fri, Jan 4, 2013 at 8:00 PM, Mark Ehle marke...@gmail.com wrote: Folks - I need a way to create

[Dspace-tech] Command line add empty collection

2013-01-02 Thread Mark Ehle
Folks - Is there a command line way to add an empty collection to an already existing community? The structure importer does not seem to be able to do this. Thanks - LibraryMark -- Master Java SE, Java EE, Eclipse,

[Dspace-tech] Query for finding handle given the collection title

2012-12-31 Thread Mark Ehle
Hello - I am looking for the query that would return from dspace's posegresql the handle of a community given the name of the community. I can get the community_id, but I don't know where the handle is. Thanks - Library Mark

[Dspace-tech] Dspace, Solr, and highlithing

2012-12-29 Thread Mark Ehle
Folks - Does Dspace support highlighting the text returned from a query? I would like to display a snippet of the fulltext with the searched-for words highlighted. I have put hl.fl=fulltexthl=true in the search URL, but this does not work - the results look the same. . Thanks - LibraryMark

Re: [Dspace-tech] Linking to a bookmarked page in a PDF stored in DSpace

2012-12-11 Thread Mark Ehle
George - You could store a small HTML file that had the link in it. It could look something like this: HTML HEAD meta http-equiv=REFRESH content=0;url= http://yourdspace.com/xmlui/bitstream/handle/123456789/1234/yourfile.pdf#page=4 /HEAD /HTML When a person clicked on the link to this file, it

Re: [Dspace-tech] Linking to a bookmarked page in a PDF stored in DSpace

2012-12-11 Thread Mark Ehle
I was just thinking that you would store the HTML file in dspace and in clicking on it, you would be redirected to the pdf file. How can you just store a link? On Tue, Dec 11, 2012 at 12:48 PM, helix84 heli...@centrum.sk wrote: Mark, why the extra indirection? The link is all that's needed.

[Dspace-tech] Programatically create areas, subareas, collections

2012-12-03 Thread Mark Ehle
Folks - I am in need of a way to script the creation of sub-communities and collections in dspace. I am aware of the structure-builder command. Is there a way to make it start at some other level than at the top? Like, I would like to add sub-collections and items to an already established

Re: [Dspace-tech] Programatically create areas, subareas, collections

2012-12-03 Thread Mark Ehle
Maybe I have figured it out - Would I use the CommunityFiliator command to move one community to be under another? On Mon, Dec 3, 2012 at 2:56 PM, Mark Ehle marke...@gmail.com wrote: Folks - I am in need of a way to script the creation of sub-communities and collections in dspace. I am

Re: [Dspace-tech] Programatically create areas, subareas, collections

2012-12-03 Thread Mark Ehle
Yup - that's the ticket! On Mon, Dec 3, 2012 at 3:08 PM, Mark Ehle marke...@gmail.com wrote: Maybe I have figured it out - Would I use the CommunityFiliator command to move one community to be under another? On Mon, Dec 3, 2012 at 2:56 PM, Mark Ehle marke...@gmail.com wrote: Folks - I

[Dspace-tech] Asking Solr for stuff

2012-11-27 Thread Mark Ehle
Folks - I am trying to talk to dspace's solr from a web browser to query it for item handles. The goal is to devise a PHP front end for item retrieval. I try the examples found in https://wiki.duraspace.org/display/DSPACE/Solr, and they all seem to retrieve nothing useful so far. When I use

[Dspace-tech] Dspace for digitized newspapers best practices and limits

2012-11-27 Thread Mark Ehle
Folks - We are playing around with using Dspace for housing our digitized newspaper collection. So far the collection is about 68,620 PDF files worth about 1.4TB, and we are using another product to present it to the public right now. Each PDF file represents one newspaper issue with multiple

Re: [Dspace-tech] What text gets indexed?

2012-11-27 Thread Mark Ehle
, 2012 at 7:40 PM, Mark Ehle marke...@gmail.com wrote: Ok, I lied - one more question. If I want to query solr for, say, like the term battle creek, what would be my URL? The dspace.log file shows my queries as I post them using dspace, but I don't know how to translate them to a web query

[Dspace-tech] mvn -U clean package stops and starts

2012-11-27 Thread Mark Ehle
Folks - I am trying to build 3.0 and when I run mvn -U clean package, it quite often acts like it is downloading something and it will just stop. Here is an example: Downloading: http://repo1.maven.org/maven2/org/apache/lucene/lucene-grouping/3.3.0/lucene-grouping-3.3.0.jar 41K downloaded

Re: [Dspace-tech] mvn -U clean package stops and starts

2012-11-27 Thread Mark Ehle
. On Tue, Nov 27, 2012 at 12:56 PM, helix84 heli...@centrum.sk wrote: On Tue, Nov 27, 2012 at 6:49 PM, Mark Ehle marke...@gmail.com wrote: I am trying to build 3.0 and when I run mvn -U clean package, it quite often acts like it is downloading something and it will just stop. Here

Re: [Dspace-tech] mvn -U clean package stops and starts

2012-11-27 Thread Mark Ehle
...@centrum.sk wrote: On Tue, Nov 27, 2012 at 7:16 PM, Mark Ehle marke...@gmail.com wrote: I am building this from work, where we have a ton of speed. When just let it go, it never seems to continue. I know this is not a dspace-only thing - I just wondered if other people had the same issues

[Dspace-tech] PDF text extra spaces

2012-11-22 Thread Mark Ehle
Folks - Is there a way to get the pdf text extractor to not put spaces between the letters of words? When I save the text using Adobe reader, it looks correct, but in dspace the text looks like this: === Citizens don't believe America will go to

Re: [Dspace-tech] Direct access to bitstream

2012-11-20 Thread Mark Ehle
~~helix84, Ah - thanks. Now I get the whole /dspace/assetstore/14/85/80 thing. It's location is in the bitstream name, too. As I don't know squat about postgres (I'm a MySQL guy) in your SQL are you actually running the copy command, or just spelling it out? I run it and I get 5 lines of the same

[Dspace-tech] Help with embargo

2012-07-25 Thread Mark Ehle
over from scratch! What postgre table/field holds the embargo data? Can embargo even do what I want it to? Thanks - Mark Ehle Willard Library Battle Creek, MI -- Live Security Virtual Conference Exclusive live event

Re: [Dspace-tech] DSpace Span drives

2012-07-09 Thread Mark Ehle
What happens when an assetsore fills up? Is Dspace able to discern when an asserstore is full and move on to the next one? On Mon, Jul 9, 2012 at 9:49 AM, helix84 heli...@centrum.sk wrote: On Mon, Jul 9, 2012 at 3:40 PM, Lewatle Phaladi lewatle.phal...@wits.ac.za wrote: Please advise me can

Re: [Dspace-tech] about Thumbnail Priview...

2012-06-06 Thread Mark Ehle
In my experience, the PDF thumbnail code works for some PDF's but not others. I think it has to do with the length of file names, but I am not sure. I gave up on it when I could not rely on it to work for all PDF documents. On Wed, Jun 6, 2012 at 7:15 AM, helix84 heli...@centrum.sk wrote: On

[Dspace-tech] Map File SQL statement

2012-06-05 Thread Mark Ehle
Folks - We are using dspace to index our digitized newspaper collection. I would like to create a tree interface for the newspapers, sorted by newspaper, year, month, day, etc. I was planning on using the map files that were generated when I loaded all the papers into dspace, but then I thought

Re: [Dspace-tech] Map File SQL statement

2012-06-05 Thread Mark Ehle
, 2012 at 12:33 PM, helix84 heli...@centrum.sk wrote: On Tue, Jun 5, 2012 at 6:13 PM, Mark Ehle marke...@gmail.com wrote: capable with mysql. Can someone tell me what the query would be to extract from dspace all the item names, their handles. and the bitstream associated with each one? Hi

Re: [Dspace-tech] Map File SQL statement

2012-06-05 Thread Mark Ehle
, 2012 at 7:50 PM, Mark Ehle marke...@gmail.com wrote: Thanks, helix84 - this will give me something to chew on. When I run, select * from metadatavalue where metadata_field_id = '24' and text_value LIKE '1967%' I can see all the pdf files from 1967. Given the item_id from that query, how

[Dspace-tech] Dspace 1.8.2 - How to add PDF thumbnails

2012-04-20 Thread Mark Ehle
Folks - I would like to add PDF thumbnail capability to a fresh install of 1.8.2 and no instructions that I have found have worked for me. Is there a cook-book example of how to do this somewhere? Thanks! Mark -- For

Re: [Dspace-tech] Dspace 1.8.2 - How to add PDF thumbnails

2012-04-20 Thread Mark Ehle
for test get generated and are visible on the web page. Is there somewhere else besides dspace's logs to look for errors? Thanks again - Mark On Fri, Apr 20, 2012 at 11:19 AM, Mark Ehle marke...@gmail.com wrote: Folks - I would like to add PDF thumbnail capability to a fresh install of 1.8.2

[Dspace-tech] Export and replace collection

2012-03-29 Thread Mark Ehle
on the offending text entry in all the dublin_core.xml files and am ready to import the collections back, but I want to make sure that nothing but the URI changes. What is the procedure to basically do this in-place, so that in the end, the only change that will be made will be the URI? Thanks - Mark

[Dspace-tech] Where to put static web pages

2011-07-07 Thread Mark Ehle
Hello - We are trying to put a crossdomain.xml (for cooliris) file in the root of our Dspace server. Dspace is located at /dspace. /dspace/webapps/ROOT does not seem to work. I also tried /dspace/webapps/xmlui/static. Dspace says page not found. I know that it must be some sort of Tomcat setting,

Re: [Dspace-tech] Where to put static web pages

2011-07-07 Thread Mark Ehle
rebuild of DSpace, you'll lose whatever files you've put in there, as they'll get backed up to /dspace/webapps.bak.-mm-dd Peter Dietz On Thu, Jul 7, 2011 at 10:25 AM, Mark Ehle marke...@gmail.com wrote: Hello - We are trying to put a crossdomain.xml (for cooliris) file in the root

Re: [Dspace-tech] Dspace install for dummies

2010-12-09 Thread Mark Ehle
Well, I was able to roll back to a snapshot prior to my install attempt yesterday (gotta love those vm's!), and by paying close attention to the errors I was getting, I was able to install 1.6.2 on Ubuntu 10.04.1 LTS. It's an ordeal. The instructions at the link (

[Dspace-tech] Dspace install for dummies

2010-12-08 Thread Mark Ehle
Folks - We are using Dspace at the library I work at and it has worked reasonably well, but lately, it's been stopping a lot, and needing to be constantly rebooted (like more than daily). I am not sure what I did to cause the problem, so I would like to reinstall it, but I can't seem to find the

Re: [Dspace-tech] tomcat reporting memory leak?

2010-09-29 Thread Mark Ehle
Thanks - I was just curious. On Wed, Sep 29, 2010 at 6:53 AM, Tom De Mulder td...@cam.ac.uk wrote: On 29 Sep 2010, at 11:47, Mark Ehle wrote: Why was tomcat chosen as a platform for DSpace? It wasn't. You can use any Servlet engine. We used JBoss for a while but went back to Tomcat because

[Dspace-tech] removing Items from XMLUI pages

2010-04-26 Thread Mark Ehle
Folks - We are getting very near to going live with our dspace postcard project, having figured out how to bulk import all 10,000 images. Thanks to all who helped us in this endeavor! Now we need to modify the pages of our instance of despace; we need to remove the browse box and the my account

[Dspace-tech] Dspace and media rss

2010-03-30 Thread Mark Ehle
Folks - We are just about ready to go public with a collection of ~5000 postcards that we scanned at the library I work at. We are using dspace, and a co-worker would like me to furnish her with a media rss feed so that she can display the collection using cooliris. I wrote a php-mysql mediarss