Re: [Dspace-tech] additions module dependency on dspace-api
Andrea, Thank you for the reply. I merged my code from the dspace-5_x branch rather than from the dspace-5.3 release tag. I will update my references to version 5.3. Terry On Wed, Aug 19, 2015 at 2:28 PM, Andrea Schweer schw...@waikato.ac.nz wrote: Hi Terry, On 20/08/15 08:45, Terry Brady wrote: I am starting our upgrade from DSpace 4 to DSpace 5. Our code base contains only the dspace folder rather than the full source distribution (dspace, dspace-api, etc). All of our custom code resides in dspace/modules including dspace/modules/additions. Our additions module has a compile dependency on dspace-api and will not compile unless dspace-api-5.4-SNAPSHOT.jar has already been installed in the maven repository. Is there a particular reason you're doing the upgrade work against (unreleased, may never happen) version 5.4? Your issue with having to build dspace-api separately would go away if you worked against DSpace 5.3, since maven could then retrieve dspace-api, dspace-xmlui etc from maven central. With your code set-up, the DSpace version is set in dspace/pom.api. cheers, Andrea -- Dr Andrea Schweer IRR Technical Specialist, ITS Information Systems The University of Waikato, Hamilton, New Zealand -- Terry Brady Applications Programmer Analyst Georgetown University Library Information Technology https://www.library.georgetown.edu/lit/code 425-298-5498 (Seattle, WA) -- ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
[Dspace-tech] additions module dependency on dspace-api
I am starting our upgrade from DSpace 4 to DSpace 5. Our code base contains only the dspace folder rather than the full source distribution (dspace, dspace-api, etc). All of our custom code resides in dspace/modules including dspace/modules/additions. Our additions module has a compile dependency on dspace-api and will not compile unless dspace-api-5.4-SNAPSHOT.jar has already been installed in the maven repository. I can work around this issue by building the full source instance of DSpace with mvn install and then running mvn package on my code base. I do not remember encountering this issue on prior upgrades. Here is an excerpt from my additions pom.xml file. Should I convey this dependency differently? dependency groupIdorg.dspace/groupId artifactIddspace-api/artifactId /dependency dependency groupIdorg.dspace/groupId artifactIddspace-api-lang/artifactId /dependency dependency groupIdjavax.servlet/groupId artifactIdservlet-api/artifactId scopeprovided/scope /dependency Thanks, Terry -- Terry Brady Applications Programmer Analyst Georgetown University Library Information Technology https://www.library.georgetown.edu/lit/code 425-298-5498 (Seattle, WA) -- ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
Re: [Dspace-tech] Administrative Statistics
It has always been enabled on our site. I took a peek at the statistics config files, and I cannot find an entry that would disable the option. - https://github.com/DSpace/DSpace/blob/master/dspace/config/modules/usage-statistics.cfg - https://github.com/DSpace/DSpace/blob/master/dspace/config/dstat.cfg Terry On Tue, Aug 18, 2015 at 11:17 AM, Borda, Susan susan.bo...@montana.edu wrote: Thanks Terry, for validating my confusion. I don’t see repo-wide stats, how do I enable that? -s — Susan Borda Digital Technologies Development Librarian Montana State University Library 406-994-1873 From: Terry Brady terry.br...@georgetown.edu Date: Tuesday, August 18, 2015 at 12:07 PM To: Susan Borda susan.bo...@montana.edu Cc: dspace-tech@lists.sourceforge.net dspace-tech@lists.sourceforge.net Subject: Re: [Dspace-tech] Administrative Statistics I have found the 2 statistics menu options confusing as well. When I click on Administrative-Statistics, I see repository-wide stats. [image: Inline image 1] I also see a list of monthly reports. [image: Inline image 2] On Tue, Aug 18, 2015 at 10:27 AM, Borda, Susan susan.bo...@montana.edu wrote: Hi- Can someone tell me what the “Statistics” option is in the Administrative panel”, is it different then the “Usage Statistics” and whatnot in the “Statistics” section? When I click on it I get the message: No reports currently available There are currently no reports available for this service. Please check back later. Thanks, susan — Susan Borda Digital Technologies Development Librarian Montana State University Library 406-994-1873 -- ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- Terry Brady Applications Programmer Analyst Georgetown University Library Information Technology https://www.library.georgetown.edu/lit/code 425-298-5498 (Seattle, WA) -- Terry Brady Applications Programmer Analyst Georgetown University Library Information Technology https://www.library.georgetown.edu/lit/code 425-298-5498 (Seattle, WA) -- ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
Re: [Dspace-tech] Administrative Statistics
I have found the 2 statistics menu options confusing as well. When I click on Administrative-Statistics, I see repository-wide stats. [image: Inline image 1] I also see a list of monthly reports. [image: Inline image 2] On Tue, Aug 18, 2015 at 10:27 AM, Borda, Susan susan.bo...@montana.edu wrote: Hi- Can someone tell me what the “Statistics” option is in the Administrative panel”, is it different then the “Usage Statistics” and whatnot in the “Statistics” section? When I click on it I get the message: No reports currently available There are currently no reports available for this service. Please check back later. Thanks, susan — Susan Borda Digital Technologies Development Librarian Montana State University Library 406-994-1873 -- ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- Terry Brady Applications Programmer Analyst Georgetown University Library Information Technology https://www.library.georgetown.edu/lit/code 425-298-5498 (Seattle, WA) -- ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
Re: [Dspace-tech] How to update Discovery index for a specific handle?
Alan, If your changes can be scoped to a specific community or collection, we have a process that will re-index a collection/community. We have present the user with a form that allows them to select either a community or a collection. We end up with 2 parameters - comm or coll - database id for the community or collection The following script deletes the discovery entries for that community or collection. It then runs index-discovery which rebuilds the missing entries. - https://github.com/Georgetown-University-Libraries/batch-tools/blob/master/bin-src/dspaceBatch.sh#L282-L291 Background thread: http://sourceforge.net/p/dspace/mailman/message/31838611/ Terry On Mon, Aug 17, 2015 at 6:57 AM, Alan Orth alan.o...@gmail.com wrote: Hi, When I edit items in the web user interface, either by batch CSV upload or one by one in Edit this Item, DSpace updates the Discovery indexes for the item(s) in question. Sometimes I have to make changes in SQL directly, like to delete empty metadatavalues, and as far as I know the only way to capture those changes in the Solr indexes is to perform an `index-discovery -b`, but that takes *hours* for our repository of 50,000 items (despite having an SSD and plenty of RAM on our Linode-powered VPS!). Is there a way to force the updating of a specific handle's Solr indexes? Thanks, Alan -- ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- Terry Brady Applications Programmer Analyst Georgetown University Library Information Technology https://www.library.georgetown.edu/lit/code 425-298-5498 (Seattle, WA) -- ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
Re: [Dspace-tech] Report of items including usage statistics
Do you have a preferred technology stack for the solution? I have some PHP code that may be useful. The total views, total downloads, and owning collection id can be pulled from the solr statistics repository. - Query solr for item views, facet by item id - Query solr for bitstream downloads, facet by item id (do you want to include thumbnail views?) The title, author, abstract, and date created are probably easiest to pull from the database. Here are 2 approaches that would work. 1. Query the database for all items. As you iterate over the SQL results, query SOLR for the view/download counts 2. Run the faceted SOLR queries by item number. As you iterate over the XML/JSON results, query the database for supplemental metadata. Terry On Tue, Aug 4, 2015 at 8:29 AM, Anthony Petryk anthony.pet...@uottawa.ca wrote: Hello, We’re interested in creating a report (spreadsheet) of items, which includes basic metadata AND associated usage statistics. For instance: - Title - Author - Abstract - Date Created - Owning Collection - Total Views (since accessioned) - Total Downloads (all bitstreams) What’s the best way to do this? Best, Anthony -- ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- Terry Brady Applications Programmer Analyst Georgetown University Library Information Technology https://www.library.georgetown.edu/lit/code 425-298-5498 (Seattle, WA) -- ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
Re: [Dspace-tech] Report of items including usage statistics
Anthony, Check out the following code. There might be some useful code to clone. - Statistics report tool (this code reports collection by collection): https://github.com/Georgetown-University-Libraries/batch-tools/blob/master/web/stats/qcHierarchyStats.php - Populate a PHP array with the collection list using SQL: https://github.com/Georgetown-University-Libraries/batch-tools/blob/master/web/community.php - Package a SOLR query with an ajax call: https://github.com/Georgetown-University-Libraries/batch-tools/blob/master/web/stats/qcHierarchyStats.php#L41-L50 Here is a wiki page describing our statistics reports. - https://github.com/Georgetown-University-Libraries/batch-tools/wiki/Statistics-reporting Good luck, Terry On Tue, Aug 4, 2015 at 10:45 AM, Anthony Petryk anthony.pet...@uottawa.ca wrote: Hi Terry, PHP works for me. :) Thanks for your overview of the 2 approaches. The first one looks easier so I’ll try that one. Best, Anthony *From:* Terry Brady [mailto:terry.br...@georgetown.edu] *Sent:* Tuesday, August 04, 2015 12:52 PM *To:* Anthony Petryk anthony.pet...@uottawa.ca *Cc:* dspace-tech@lists.sourceforge.net *Subject:* Re: [Dspace-tech] Report of items including usage statistics Do you have a preferred technology stack for the solution? I have some PHP code that may be useful. The total views, total downloads, and owning collection id can be pulled from the solr statistics repository. - Query solr for item views, facet by item id - Query solr for bitstream downloads, facet by item id (do you want to include thumbnail views?) The title, author, abstract, and date created are probably easiest to pull from the database. Here are 2 approaches that would work. 1. Query the database for all items. As you iterate over the SQL results, query SOLR for the view/download counts 2. Run the faceted SOLR queries by item number. As you iterate over the XML/JSON results, query the database for supplemental metadata. Terry On Tue, Aug 4, 2015 at 8:29 AM, Anthony Petryk anthony.pet...@uottawa.ca wrote: Hello, We’re interested in creating a report (spreadsheet) of items, which includes basic metadata AND associated usage statistics. For instance: - Title - Author - Abstract - Date Created - Owning Collection - Total Views (since accessioned) - Total Downloads (all bitstreams) What’s the best way to do this? Best, Anthony -- ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- Terry Brady Applications Programmer Analyst Georgetown University Library Information Technology https://www.library.georgetown.edu/lit/code 425-298-5498 (Seattle, WA) -- Terry Brady Applications Programmer Analyst Georgetown University Library Information Technology https://www.library.georgetown.edu/lit/code 425-298-5498 (Seattle, WA) -- ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
Re: [Dspace-tech] disable-output-escaping collection titles
Euler, what is d-o-e? It seems to me that it would be good to replace the nbsp with a space in your collection titles. On Sat, Aug 1, 2015 at 7:36 AM, euler esne...@seafdec.org.ph wrote: Hi Terry, I just want to get rid of the string “nbsp;” in the collection titles and so far I'm not been able to apply d-o-e in all the places that it appeared using xsl:template match. I know it's risky but do you think its better to just update this via sql query (ie remove the string “nbsp;”)? Thanks in advance and regards, euler -- View this message in context: http://dspace.2283337.n4.nabble.com/disable-output-escaping-collection-titles-tp4678953p4679043.html Sent from the DSpace - Tech mailing list archive at Nabble.com. -- ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- Terry Brady Applications Programmer Analyst Georgetown University Library Information Technology https://www.library.georgetown.edu/lit/code 425-298-5498 (Seattle, WA) -- ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
Re: [Dspace-tech] disable-output-escaping collection titles
A few of the collection and community fields support html fragments. The title appears in many places, and I suspect that an html entity in the title will be tricky to manage across the repository. Is there a unicode character available to use in place of the entity? On Mon, Jul 27, 2015 at 11:42 PM, euler esne...@seafdec.org.ph wrote: Dear All, I'm working on a repository where collection titles have an html entity. How can I render them in all instances where the collection title appears? So far I have only managed to render the title properly in the collection-list.xsl by adding disable-output-escaping=yes in xsl:template name=collectionDetailList-DIM xsl:variable name=data select=./mets:dmdSec/mets:mdWrap/mets:xmlData/dim:dim/ {@OBJID} xsl:choose xsl:when test=string-length($data/dim:field[@element='title'][1]) gt; 0 xsl:value-of select=$data/dim:field[@element='title'][1] disable-output-escaping=yes/ /xsl:when xsl:otherwise i18n:textxmlui.dri2xhtml.METS-1.0.no-title/i18n:text /xsl:otherwise /xsl:choose Can I use template match here? Is there a more elegant and efficient way to do this such that all instances of collection titles will render correctly (eg in trail, in the owning collection of the item, community-list, etc.) Thanks in advance and best regards, euler -- View this message in context: http://dspace.2283337.n4.nabble.com/disable-output-escaping-collection-titles-tp4678953.html Sent from the DSpace - Tech mailing list archive at Nabble.com. -- ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- Terry Brady Applications Programmer Analyst Georgetown University Library Information Technology https://www.library.georgetown.edu/lit/code 425-298-5498 (Seattle, WA) -- ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
Re: [Dspace-tech] Replacing Date Issued sidebar Facet with Funder
University Rankings, 2014) The University of Stirling is a charity registered in Scotland, number SC 011159. -- ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- Terry Brady Applications Programmer Analyst Georgetown University Library Information Technology https://www.library.georgetown.edu/lit/code 425-298-5498 (Seattle, WA) -- ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
Re: [Dspace-tech] Ordering community collection listings to specific community or collection
In XMLUI, the metadata for each collection lives in a separate XML document. The XSLT needs to retrieve and output the title from each collection. In XSLT 1.0, I do not believe that you can retrieve the titles from external documents and sort the titles in a single pass. referenceSet rend=hierarchy type=summaryList head i18n:text catalogue=default xmlui.ArtifactBrowser.CommunityViewer.head_sub_communities /i18n:text /head reference repositoryID=10822 type=DSpace Community url= /metadata/handle/10822/549444/mets.xml/ reference repositoryID=10822 type=DSpace Community url= /metadata/handle/10822/549402/mets.xml/ reference repositoryID=10822 type=DSpace Community url= /metadata/handle/10822/707878/mets.xml/ reference repositoryID=10822 type=DSpace Community url= /metadata/handle/10822/549448/mets.xml/ reference repositoryID=10822 type=DSpace Community url= /metadata/handle/10822/707879/mets.xml/ reference repositoryID=10822 type=DSpace Community url= /metadata/handle/10822/707880/mets.xml/ reference repositoryID=10822 type=DSpace Community url= /metadata/handle/10822/707882/mets.xml/ reference repositoryID=10822 type=DSpace Community url= /metadata/handle/10822/707476/mets.xml/ reference repositoryID=10822 type=DSpace Community url= /metadata/handle/10822/707881/mets.xml/ reference repositoryID=10822 type=DSpace Community url= /metadata/handle/10822/707290/mets.xml/ /referenceSet Perhaps as a quick solution, you could add a JavaScript file to your community theme and apply the sort in JavaScript. This is not ideal, but it would be localized to your community. On Fri, Jul 24, 2015 at 7:17 PM, euler esne...@seafdec.org.ph wrote: Dear All, I know that this has been asked before ( Ordering community collection listings http://dspace.2283337.n4.nabble.com/Ordering-community-collection-listings-tp4662451.html ). What I would like to know is if this is possible to apply to only specific communities and collections. Based on the answers given from that post, the suggestion is to modifiy the sql clause ORDER BY but this would be applied to all communities and collections. Can this be done using just xslt? Thanks in advance and best regards, euler -- View this message in context: http://dspace.2283337.n4.nabble.com/Ordering-community-collection-listings-to-specific-community-or-collection-tp4678926.html Sent from the DSpace - Tech mailing list archive at Nabble.com. -- ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- Terry Brady Applications Programmer Analyst Georgetown University Library Information Technology https://www.library.georgetown.edu/lit/code 425-298-5498 (Seattle, WA) -- ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
Re: [Dspace-tech] discovery facet by collection
I saw this issue raised up on the list again today. Pablo, I do not know if this will answer your questions, but this information might be helpful. As Christian suggests, I have also found it helpful to define new sidebarFacets as searchFilters. I implemented a custom sidebar facet on a community and another sidebar facet on the collections within that community. In order for the sidebar facet to function at the community level, I needed to define that facet as a search filter within each of the collections in that community. On Tue, Jun 2, 2015 at 7:37 AM, Christian Scheible christian.schei...@uni-konstanz.de wrote: The field should be fine (At least thats the field I can see in Solr search core). Maybe the problem is that you didn't define it in every place where it is needed. I think it has to be a search filter in addition to a facet in order to work. And maybe it has to be part of the hompageConfiguration and the defaultConfiguration. But I am not sure about that. Am 02.06.2015 um 14:51 schrieb Pablo Buenaposada: yes, I have reindex after the change in discovery.xml. The tag location.coll is the correct one to obtain the collection? -- View this message in context: http://dspace.2283337.n4.nabble.com/discovery-facet-by-collection-tp4678162p4678167.html Sent from the DSpace - Tech mailing list archive at Nabble.com. -- ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- Christian Scheible Softwareentwickler / Abt. Content-basierte Dienste Kommunikations-, Informations- und Medienzentrum (KIM) Universität Konstanz 78457 Konstanz +49 (0)7531 / 88-2857 Raum B 703 -- ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- Terry Brady Applications Programmer Analyst Georgetown University Library Information Technology https://www.library.georgetown.edu/lit/code 425-298-5498 (Seattle, WA) -- ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
Re: [Dspace-tech] DSpace 5.2 unwanted authors...
Layale, Try the following - delete your item - run index-discovery -r item handle to remove the item from the discovery index - clear cocoon cache What happens if you follow these steps in this order? Terry On Tue, Jul 14, 2015 at 4:22 AM, Layale Bassil l...@aub.edu.lb wrote: Hello Terry, Thank you so much for your response. However I tried to clear the cocoon cache as you suggested (yes I am using XMLUI) and the issue is still the same; for example I search for “author1” which I created for testing purposes while creating a test item for this author. I deleted the item and the search returns: author1 [1] and when I click on it to see the items, I get 0 items. Any other suggestions? Thanks again, Regards. *From:* Terry Brady [mailto:terry.br...@georgetown.edu] *Sent:* Monday, July 13, 2015 9:54 PM *To:* Layale Bassil *Cc:* dspace-tech@lists.sourceforge.net *Subject:* Re: [Dspace-tech] DSpace 5.2 unwanted authors... The delete should have updated your indexes. You could explicitly force an update of your discovery index. If you are running XMLUI, it is possible that the old index data is in your cocoon cache. Try clearing the cocoon cache from the Control Panel and see if that resolves the issue. (Administrative - Control Panel - Java Information - Clear Cache Immediately) On Sun, Jul 12, 2015 at 11:37 PM, Layale Bassil l...@aub.edu.lb wrote: Hello, We have imported some data into Dspace and then we deleted them but the authors are still there and when you browse by author you get a long list while none of them has any related book/item. Is there a way to query dspace database and be able to delete all authors not having any related book/item? Many Thanks, Regards. -- Don't Limit Your Business. Reach for the Cloud. GigeNET's Cloud Solutions provide you with the tools and support that you need to offload your IT needs and focus on growing your business. Configured For All Businesses. Start Your Cloud Today. https://www.gigenetcloud.com/ ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- Terry Brady Applications Programmer Analyst Georgetown University Library Information Technology https://www.library.georgetown.edu/lit/code 425-298-5498 (Seattle, WA) -- Terry Brady Applications Programmer Analyst Georgetown University Library Information Technology https://www.library.georgetown.edu/lit/code 425-298-5498 (Seattle, WA) -- Don't Limit Your Business. Reach for the Cloud. GigeNET's Cloud Solutions provide you with the tools and support that you need to offload your IT needs and focus on growing your business. Configured For All Businesses. Start Your Cloud Today. https://www.gigenetcloud.com/___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
Re: [Dspace-tech] DSpace 5.2 unwanted authors...
The delete should have updated your indexes. You could explicitly force an update of your discovery index. If you are running XMLUI, it is possible that the old index data is in your cocoon cache. Try clearing the cocoon cache from the Control Panel and see if that resolves the issue. (Administrative - Control Panel - Java Information - Clear Cache Immediately) On Sun, Jul 12, 2015 at 11:37 PM, Layale Bassil l...@aub.edu.lb wrote: Hello, We have imported some data into Dspace and then we deleted them but the authors are still there and when you browse by author you get a long list while none of them has any related book/item. Is there a way to query dspace database and be able to delete all authors not having any related book/item? Many Thanks, Regards. -- Don't Limit Your Business. Reach for the Cloud. GigeNET's Cloud Solutions provide you with the tools and support that you need to offload your IT needs and focus on growing your business. Configured For All Businesses. Start Your Cloud Today. https://www.gigenetcloud.com/ ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- Terry Brady Applications Programmer Analyst Georgetown University Library Information Technology https://www.library.georgetown.edu/lit/code 425-298-5498 (Seattle, WA) -- Don't Limit Your Business. Reach for the Cloud. GigeNET's Cloud Solutions provide you with the tools and support that you need to offload your IT needs and focus on growing your business. Configured For All Businesses. Start Your Cloud Today. https://www.gigenetcloud.com/___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
Re: [Dspace-tech] Updated items from ItemImport are not indexed
Have you run the filter-media task? This task creates a full text index for a document as a TEXT bitstream. When you update the discovery index, the TEXT bitstreams are read. Terry On Mon, Jul 13, 2015 at 5:08 AM, Ruben ruben.bo...@csuc.cat wrote: Hi all, I noticed that if I import one item that is already contained in my DSpace, the item is updated well but is not re-indexed, disappearing of browse indexes. I have two questions, the first is why is occurring this and the second, how can I force to reindex an item after install it, because I can do an ./dspace index-discovery -f after batch import finishes and this works well but I want to reindex every item inside the import process. Thanks in advance -- Rubén Boada Tècnic de Càlcul i Aplicacions Consorci de Serveis Universitaris de Catalunya (CSUC) Gran Capità, 2 (Edifici Nexus)•08034 Barcelona T.93 551 62 13•ruben.bo...@csuc.cat www.csuc.cat •Twitter @CSUC_info•Facebook•Linkedin Subscriu-te al butlletí; (www.csuc.cat/butlleti) -- Don't Limit Your Business. Reach for the Cloud. GigeNET's Cloud Solutions provide you with the tools and support that you need to offload your IT needs and focus on growing your business. Configured For All Businesses. Start Your Cloud Today. https://www.gigenetcloud.com/ ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- Terry Brady Applications Programmer Analyst Georgetown University Library Information Technology https://www.library.georgetown.edu/lit/code 425-298-5498 (Seattle, WA) -- Don't Limit Your Business. Reach for the Cloud. GigeNET's Cloud Solutions provide you with the tools and support that you need to offload your IT needs and focus on growing your business. Configured For All Businesses. Start Your Cloud Today. https://www.gigenetcloud.com/___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
Re: [Dspace-tech] problem wth pdf thumbnail creation - imagemagick
If you skip this item handle (-s option), do other items convert properly? On Thu, Jul 2, 2015 at 8:15 PM, dspace user dspace.us...@gmail.com wrote: Hello, I am using dspace5.2 JSPUI version in centos6.6. I have installed imagemagick and ghostscript. and i have done changes related to generating thumbnail. while using dspace filter-media command i m getting below error ERROR filtering, skipping bitstream: Item Handle: 123456789/29 Bundle Name: ORIGINAL File Size: 589 Checksum: 9b68bef4ddfea5ae8c66b089f892d3f2 (MD5) Asset Store: 0 org.im4java.core.CommandException: java.io.FileNotFoundException: convert org.im4java.core.CommandException: java.io.FileNotFoundException: convert at org.im4java.core.ImageCommand.run(ImageCommand.java:219) path has been passed here org.dspace.app.mediafilter.ImageMagickThumbnailFilter.ProcessStarter = /root/software/ImageMagick Regards. -- Don't Limit Your Business. Reach for the Cloud. GigeNET's Cloud Solutions provide you with the tools and support that you need to offload your IT needs and focus on growing your business. Configured For All Businesses. Start Your Cloud Today. https://www.gigenetcloud.com/ ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- Terry Brady Applications Programmer Analyst Georgetown University Library Information Technology https://www.library.georgetown.edu/lit/code 425-298-5498 (Seattle, WA) -- Don't Limit Your Business. Reach for the Cloud. GigeNET's Cloud Solutions provide you with the tools and support that you need to offload your IT needs and focus on growing your business. Configured For All Businesses. Start Your Cloud Today. https://www.gigenetcloud.com/___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
Re: [Dspace-tech] Solr stats queries - limiting by date
Gary, If it is helpful, I have several SOLR stats queries in the following code: https://github.com/Georgetown-University-Libraries/batch-tools/blob/master/web/stats/solrFacets.php I ran into some challenges knowing when to encode and when not to encode special characters. Terry On Wed, Jul 1, 2015 at 11:10 PM, Gary Browne gary.bro...@sydney.edu.au wrote: Hi all, I'm trying to figure out how to limit solr queries by date. I found this snippet online: http://mydspace.org/solr/statistics/select?bundleName:ORIGINALfacet.date.start=NOW/MONTH/DAY-6MONTHSfacet.date.end=NOWfacet.date.gap=1MONTH+AND+type:0+bundleName:ORIGINAL it fails in my browser (yes, other solr searches work). I'm trying to come up, for starters, with a solr search query for top X items visited in the last X months. Can anyone point me in the right direction here, even to some documentation (I've done a lot of googling but nothing I've found so far helps with this question). THanks, Gary -- *Gary Browne* | Development Programmer University of Sydney Library THE UNIVERSITY OF SYDNEY Level 1, Fisher Library F03 | The University of Sydney | NSW | 2006 *T* +61 2 9351 5946 | *M* +61 405 647 868 *E* gary.bro...@sydney.edu.au -- Don't Limit Your Business. Reach for the Cloud. GigeNET's Cloud Solutions provide you with the tools and support that you need to offload your IT needs and focus on growing your business. Configured For All Businesses. Start Your Cloud Today. https://www.gigenetcloud.com/ ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- Terry Brady Applications Programmer Analyst Georgetown University Library Information Technology https://www.library.georgetown.edu/lit/code 425-298-5498 (Seattle, WA) -- Don't Limit Your Business. Reach for the Cloud. GigeNET's Cloud Solutions provide you with the tools and support that you need to offload your IT needs and focus on growing your business. Configured For All Businesses. Start Your Cloud Today. https://www.gigenetcloud.com/___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
Re: [Dspace-tech] Solr querying - any dspace-specific comprehensive documentation/tutorials?
Gary, I ran some simple queries like *:* to visualize discover sample XML fields. The XML format exposes the index field names. I recommend exploring the SOLR wiki to learn the search syntax. https://wiki.apache.org/solr/SolrQuerySyntax https://wiki.apache.org/solr/SimpleFacetParameters This might also be helpful. http://lucene.apache.org/solr/resources.html Terry On Mon, Jul 13, 2015 at 3:55 PM, Gary Browne gary.bro...@sydney.edu.au wrote: *--- just resending this with a more appropriate subject line ---* Thanks Monika, I can see what this particular query is doing, however I'm wondering if you know of any resources for someone like me who is just starting out with solr queries - especially with reference to DSpace. I know the wiki has some examples but I thought there'd be some comprehensive documentation...somewhere? For example, how do you know what the allowable values are for facet.field (and where can these be configured, and how do you configure them)? The same with type etc. And how do you know what the parameter names actually are (isBot, owningComm etc)? Any clues would be very much appreciated. Thanks again, Gary *Gary Browne* | Technical Manager Developments University of Sydney Library THE UNIVERSITY OF SYDNEY Level 1, Fisher Library F03 | The University of Sydney | NSW | 2006 *T* +61 2 9351 5946 | *M* +61 405 647 868 *E* gary.bro...@sydney.edu.au On 03/07/15 00:14, Monika C. Mevenkamp wrote: use the fq parameter to restrict to a time range eg fq=time:[2015-01-01T00%3A00%3A00.000Z+TO+NOW] the query below looks at ORIGINAL bitstreams in a give collection downloaded at least once excluding bot queries as well as query from the given ips and downloads from users that were logged in http://localhost:18082/solr/statistics/select?wt=jsonindent=truerows=0facet=truefacet.mincount=1facet.field=idfq=time:[2015-01-01T00%3A00%3A00.000Z+TO+NOW]q=NOT+epersonid%3A%5B%22%22+TO+*%5D+isBot:false+owningComm:67+type:0+bundleName:ORIGINAL+-ip:%2810.6.61.26+OR+128.112.66.66%29 the response header responseHeader:{ status:0, QTime:1857, params:{ facet:true, facet.mincount:1, indent:true, q:NOT epersonid:[\\ TO *] isBot:false owningComm:67 type:0 bundleName:ORIGINAL -ip:(10.6.61.26 OR 128.112.66.66), facet.field:id, wt:json, fq:time:[2015-01-01T00:00:00.000Z TO NOW], rows:0}}, response:{numFound:205152,start:0,docs:[] }, I wrote a jruby script to do stats for a particular community - if you are interested see https://github.com/akinom/dscriptor/tree/master/statistics Monika — Monika Mevenkamp Digital Repository Infrastructure Developer Phone: 609-258-4161 333C 701 Carnegie, Princeton University, Princeton, NJ 08544 On Jul 2, 2015, at 2:10 AM, Gary Browne gary.bro...@sydney.edu.au wrote: Hi all, I'm trying to figure out how to limit solr queries by date. I found this snippet online: http://mydspace.org/solr/statistics/select?bundleName:ORIGINALfacet.date.start=NOW/MONTH/DAY-6MONTHSfacet.date.end=NOWfacet.date.gap=1MONTH+AND+type:0+bundleName:ORIGINAL it fails in my browser (yes, other solr searches work). I'm trying to come up, for starters, with a solr search query for top X items visited in the last X months. Can anyone point me in the right direction here, even to some documentation (I've done a lot of googling but nothing I've found so far helps with this question). THanks, Gary -- *Gary Browne* | Development Programmer University of Sydney Library THE UNIVERSITY OF SYDNEY Level 1, Fisher Library F03 | The University of Sydney | NSW | 2006 *T* +61 2 9351 5946 | *M* +61 405 647 868 *E* gary.bro...@sydney.edu.au -- Don't Limit Your Business. Reach for the Cloud. GigeNET's Cloud Solutions provide you with the tools and support that you need to offload your IT needs and focus on growing your business. Configured For All Businesses. Start Your Cloud Today. https://www.gigenetcloud.com/___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- Don't Limit Your Business. Reach for the Cloud. GigeNET's Cloud Solutions provide you with the tools and support that you need to offload your IT needs and focus on growing your business. Configured For All Businesses. Start Your Cloud Today. https://www.gigenetcloud.com/ ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- Terry
Re: [Dspace-tech] Creating a build path/classpath in Eclipse for DSpace
Mark, Thanks for sharing this. I needed to install the m2eclipse plugin in order to get this to run. It appears to grab every jar file under the target directories and add them to the .classpath file. Terry On Thu, Jul 9, 2015 at 8:58 AM, Mark H. Wood mw...@iupui.edu wrote: On Wed, Jul 08, 2015 at 07:20:39PM -0400, Terry Brady wrote: Do you all have any tips for creating a proper build path for the DSpace code base in Eclipse? My current process is very clumsy. I run the maven build and then I add jar files from the target directories until all of the dependency errors disappear. Is there an easier process to follow? There is some documentation on the wiki: https://wiki.duraspace.org/display/DSPACE/IDE+Integration+-+DSpace,+Eclipse+and+Tomcat https://wiki.duraspace.org/display/DSPACE/DSpace+IDE+-+Eclipse%2C+Git%2C+Maven%2C+and+Tomcat But I haven't used Eclipse for some years now and can't say much about these from experience. -- Mark H. Wood Lead Technology Analyst University Library Indiana University - Purdue University Indianapolis 755 W. Michigan Street Indianapolis, IN 46202 317-274-0749 www.ulib.iupui.edu -- Don't Limit Your Business. Reach for the Cloud. GigeNET's Cloud Solutions provide you with the tools and support that you need to offload your IT needs and focus on growing your business. Configured For All Businesses. Start Your Cloud Today. https://www.gigenetcloud.com/ ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- Terry Brady Applications Programmer Analyst Georgetown University Library Information Technology https://www.library.georgetown.edu/lit/code 425-298-5498 (Seattle, WA) -- Don't Limit Your Business. Reach for the Cloud. GigeNET's Cloud Solutions provide you with the tools and support that you need to offload your IT needs and focus on growing your business. Configured For All Businesses. Start Your Cloud Today. https://www.gigenetcloud.com/___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
[Dspace-tech] Creating a build path/classpath in Eclipse for DSpace
Do you all have any tips for creating a proper build path for the DSpace code base in Eclipse? My current process is very clumsy. I run the maven build and then I add jar files from the target directories until all of the dependency errors disappear. Is there an easier process to follow? Thanks, Terry -- Terry Brady Applications Programmer Analyst Georgetown University Library Information Technology https://www.library.georgetown.edu/lit/code 425-298-5498 (Seattle, WA) -- Don't Limit Your Business. Reach for the Cloud. GigeNET's Cloud Solutions provide you with the tools and support that you need to offload your IT needs and focus on growing your business. Configured For All Businesses. Start Your Cloud Today. https://www.gigenetcloud.com/___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
Re: [Dspace-tech] dspace 1.7 statistics
Vladimir, Given that no records are being written, I presume that there is a configuration error in the path to your SOLR instance. I recommend checking the configuration entries such as solr.statistics. Pay particular attention to the hostname and port. Since you get output from .../solr/statistics/select, I presume that the webapp is running. I suspect the DSpace code may be trying to send statistics to an invalid address. Good luck. Terry On Thu, Jun 25, 2015 at 11:03 PM, v0ff4ik v0...@i.ua wrote: Thanks, Terry, for helping me with it. As to the first question - no, its empty except 2 files which were created in 2013th year. And what about errors - i think yes, they exist. Maybe i was not enough attentive about it but today i've seen the following message in log: request: http://localhost:8088/solr/statistics/update?wt=javabinversion=1 2015-06-25 00:01:05,994 INFO org.dspace.app.webui.servlet.BitstreamServlet @ anonymous:session_id=220F06434CD2EA7E82F218EFB40CA943:ip_addr=66.249.64.188: view_bitstream:bitstream_id=9383 2015-06-25 00:01:05,994 INFO org.dspace.usage.LoggerUsageEventListener @ anonymous:session_id=220F06434CD2EA7E82F218EFB40CA943:ip_addr=66.249.64.188: view_bitstream:bitstream_id=9383 2015-06-25 00:01:06,025 ERROR org.dspace.statistics.SolrLoggerUsageEventListener @ Moved Temporarily Moved Temporarily Could it be related to modified files of localisations? I've changed them in order to allow ukrainian language in statistics. And in addition I've added google anaytics scripts into some files in order to see at least its statistics. Besides, GA works fine but we need to see stats at site, repository. Best regards, Vladimir. -- View this message in context: http://dspace.2283337.n4.nabble.com/dspace-1-7-statistics-tp4678536p4678606.html Sent from the DSpace - Tech mailing list archive at Nabble.com. -- Monitor 25 network devices or servers for free with OpManager! OpManager is web-based network management software that monitors network devices and physical virtual servers, alerts via email sms for fault. Monitor 25 devices for free with no restriction. Download now http://ad.doubleclick.net/ddm/clk/292181274;119417398;o ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- Terry Brady Applications Programmer Analyst Georgetown University Library Information Technology https://www.library.georgetown.edu/lit/code 425-298-5498 (Seattle, WA) -- Monitor 25 network devices or servers for free with OpManager! OpManager is web-based network management software that monitors network devices and physical virtual servers, alerts via email sms for fault. Monitor 25 devices for free with no restriction. Download now http://ad.doubleclick.net/ddm/clk/292181274;119417398;o___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
Re: [Dspace-tech] dspace 1.7 statistics
Vladimir, Before figuring out what happened in the past, I am curious to determine why you are not seeing statistics accumulate in your repository. Here are a couple initial questions to consider. If you go on to the server and look at [dspace-install]/solr/statistics/data, does it appear that data is accumulating in the solr directory? Do your log files contain any errors related to the statistics repository? If you look at your server access logs, do you see any errors related to statistics updates. It would be good to know that you are able to successfully see some statistics captured in your statistics repo. Terry On Wed, Jun 24, 2015 at 11:08 PM, v0ff4ik v0...@i.ua wrote: Thanks, Terry, for your tips and reply. General statistics shows only /statistics and /statistics?date= as you pointed. But in some wrong way , it was collecting statistics only for a few days and then stoped suddenly one day regardless the fact that all nessecary scripts are run every night automatically. And more interesting things happend to wget command. I looked through the file which was generated by wget http://localhost/solr/statistics/select?q=*:*sort=time desc -O test.txt It has the following text: ?xml version=1.0 encoding=UTF-8? response lst name=responseHeaderint name=status0/intint name=QTime0/intlst name=paramsstr name=sorttime desc/strstr name=q*:*/str/lst/lstresult name=response numFound=0 start=0/ /response As I understood, nothing was created by solr So i came to new questions: how some statistics had appeared at site and how to switch the solr on? I'm new to dspace and solr so any tips, even trivial can help me. Thaks for advance. Best regards, Vladimir. -- View this message in context: http://dspace.2283337.n4.nabble.com/dspace-1-7-statistics-tp4678536p4678593.html Sent from the DSpace - Tech mailing list archive at Nabble.com. -- Monitor 25 network devices or servers for free with OpManager! OpManager is web-based network management software that monitors network devices and physical virtual servers, alerts via email sms for fault. Monitor 25 devices for free with no restriction. Download now http://ad.doubleclick.net/ddm/clk/292181274;119417398;o ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- Terry Brady Applications Programmer Analyst Georgetown University Library Information Technology https://www.library.georgetown.edu/lit/code 425-298-5498 (Seattle, WA) -- Monitor 25 network devices or servers for free with OpManager! OpManager is web-based network management software that monitors network devices and physical virtual servers, alerts via email sms for fault. Monitor 25 devices for free with no restriction. Download now http://ad.doubleclick.net/ddm/clk/292181274;119417398;o___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
Re: [Dspace-tech] Version 18 - Comm/collection structure export / import
Monika, My colleague has been experimenting with a number of DSpace tools to replicate hierarchy and content from PROD to TEST. We can do this safely because we are refreshing our TEST instance. His advice is listed below. Based on this recommendation, I think this would be risky to run in production. I would likely write a script to rearrange the hierarchy from the command line one node at a time. -- The export process should be straightforward. I would use the recursive hierarchy export outlined in the DSpace docs. https://wiki.duraspace.org/display/DSDOC4x/AIP+Backup+and+Restore#AIPBackupandRestore-ExportingAIPHierarchy In all cases I would backup the assetstore and database first and try restoring from that backup on a separate instance. Only once she's confident that the backup is functioning would I proceed. The import into a production instance requires a bit more thought than export. The *submission mode* has *several critical warnings* that make me think it is *not to be used in production*, especially the part where it says item mappings may not be retained. https://wiki.duraspace.org/display/DSDOC4x/AIP+Backup+and+Restore#AIPBackupandRestore-SubmittinganAIPHierarchy The *default restore mode*, however, seems to preserve handles and item mappings. If any handle in the hierarchy already exists in the production dspace instance, all changes will be rolled back, which is a nice safety feature. https://wiki.duraspace.org/display/DSDOC4x/AIP+Backup+and+Restore#AIPBackupandRestore-DefaultRestoreMode If there is no handle conflict, everything is fine. If the default restore mode produces an error that a handle already exists, then it's a matter of deciding how to resolve the conflict. One can try to import the objects that don't conflict and skip the ones that do (-k keep existing). Then she will have to manually add the conflicting objects and assign new handles to them. The last option is very dangerous (-f force replace) and not to be used on a production instance as it can lead to loss of data. On Mon, Jun 22, 2015 at 1:00 PM, Monika C. Mevenkamp moni...@princeton.edu wrote: Hi I have set up a community / collection hierarchy in my test instance. Once this is approved I will have to create the same hierarchy in production. Is there an easy way to export / import the hierarchy ? Monika ' — Monika Mevenkamp Digital Repository Infrastructure Developer Phone: 609-258-4161 333C 701 Carnegie, Princeton University, Princeton, NJ 08544 -- Monitor 25 network devices or servers for free with OpManager! OpManager is web-based network management software that monitors network devices and physical virtual servers, alerts via email sms for fault. Monitor 25 devices for free with no restriction. Download now http://ad.doubleclick.net/ddm/clk/292181274;119417398;o ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- Terry Brady Applications Programmer Analyst Georgetown University Library Information Technology https://www.library.georgetown.edu/lit/code 425-298-5498 (Seattle, WA) -- Monitor 25 network devices or servers for free with OpManager! OpManager is web-based network management software that monitors network devices and physical virtual servers, alerts via email sms for fault. Monitor 25 devices for free with no restriction. Download now http://ad.doubleclick.net/ddm/clk/292181274;119417398;o___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
Re: [Dspace-tech] Question about Embargo
Once you have migrated your embargos ( https://wiki.duraspace.org/display/DSDOC5x/Embargo#Embargo-Pre-3.0EmbargoMigrationRoutine), you should not need to run the embargo lifter. The policy tables are the definitive place for controlling access. I believe that the old embargo lifter would clear the embargo metadata fields once the embargo is lifted. That action may no longer happen once you are using the new embargo process. Terry On Mon, Jun 22, 2015 at 1:46 PM, George Stanley Kozak g...@cornell.edu wrote: Hello: This may be a dumb question, but I want to make sure that I understand the difference between the DSpace 1.8.2 Embargo and the DSpace 5.2 Embargo. In our DSpace 1.8.2 setup we created a metadata field called: dc.description.embargo which we used to place the end date of the embargo. I ran the embargo-lifter daily to check and clear out the embargoes (if any). Do I still need to run the embargo-lifter daily in DSpace 5.2? George Kozak Digital Library Specialist Cornell University Library Information Technologies (CUL-IT) 218 Olin Library Cornell University Ithaca, NY 14853 607-255-8924 -- Monitor 25 network devices or servers for free with OpManager! OpManager is web-based network management software that monitors network devices and physical virtual servers, alerts via email sms for fault. Monitor 25 devices for free with no restriction. Download now http://ad.doubleclick.net/ddm/clk/292181274;119417398;o ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- Terry Brady Applications Programmer Analyst Georgetown University Library Information Technology https://www.library.georgetown.edu/lit/code 425-298-5498 (Seattle, WA) -- Monitor 25 network devices or servers for free with OpManager! OpManager is web-based network management software that monitors network devices and physical virtual servers, alerts via email sms for fault. Monitor 25 devices for free with no restriction. Download now http://ad.doubleclick.net/ddm/clk/292181274;119417398;o___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
Re: [Dspace-tech] dspace 1.7 statistics
I have a few questions that might help troubleshoot your issues. Which pages are displaying old statistics? /statistics /statistics?date= /handle/x/y/statistics The typical DSpace installation restricts access to the solr repository to the local server: https://github.com/DSpace/DSpace/blob/master/dspace-solr/src/main/webapp/WEB-INF/web.xml#L45 If you are attempting to access the solr server from the command line on your server, try the following: wget http://localhost/solr/statistics/select?q=*:*sort=time desc -O test.txt If you look at the file that is generated, it will indicate the last records that were created. Terry On Sun, Jun 21, 2015 at 11:50 PM, v0ff4ik v0...@i.ua wrote: Good day to you, mates. I have some problems with statistics of dspace and i hope you will help me. I have dspace 1.7 at workplace, it is working but not correctly. It collects and creates logs of statistics but it is shown not correctly on web site. For example, i can see that logs have been updating for already a few monthes but at admin's page it is still old, nothing has changed since the begining of the month but there are logs in folder logs and they show that repository has been watched. In addition, there is no statistics for exact, separate documents. Besides, when i follow link http://127.0.0.1/solr/statistics/ I get this message: HTTP Status 404 - /solr/statistics/ The requested resource (/solr/statistics/) is not available. What the problem can be? I'll be gratefull to any tips and advice. Best regards, Vladimir. -- View this message in context: http://dspace.2283337.n4.nabble.com/dspace-1-7-statistics-tp4678536.html Sent from the DSpace - Tech mailing list archive at Nabble.com. -- Monitor 25 network devices or servers for free with OpManager! OpManager is web-based network management software that monitors network devices and physical virtual servers, alerts via email sms for fault. Monitor 25 devices for free with no restriction. Download now http://ad.doubleclick.net/ddm/clk/292181274;119417398;o ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- Terry Brady Applications Programmer Analyst Georgetown University Library Information Technology https://www.library.georgetown.edu/lit/code 425-298-5498 (Seattle, WA) -- Monitor 25 network devices or servers for free with OpManager! OpManager is web-based network management software that monitors network devices and physical virtual servers, alerts via email sms for fault. Monitor 25 devices for free with no restriction. Download now http://ad.doubleclick.net/ddm/clk/292181274;119417398;o___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
Re: [Dspace-tech] How to search items by metadata using REST API?
Alan, The following PR has some code that will search metadata via the API: https://github.com/DSpace/DSpace/pull/954 I am also on 4.3, so this code is compatible with DSpace4.3. Terry On Thu, Jun 11, 2015 at 5:58 AM, Alan Orth alan.o...@gmail.com wrote: Ah, it seems the `/rest/items/find-by-metadata-field` endpoint doesn't exist in DSpace 4.x. Neither does the `/rest/login` endpoint. The docs need to make more of a point to say which versions these are supposed to work in... ;) Alan On Thu, Jun 11, 2015 at 12:24 PM Alan Orth alan.o...@gmail.com wrote: Thanks. It seems my query is well formed but it returns an HTTP 405 Method Not Allowed response. Perhaps DSpace 4.x's REST API isn't sufficient for the find-by-metadata-field query. Or perhaps I need to log in as you illustrated here: https://github.com/BrunoNZ/dspace-rest-requests I guess I'll fork that repo and give this a more structured test. I already found some syntax and usability bugs there (mixing sh and bash, not reading the sourced variables, etc). Alan On Wed, Jun 10, 2015 at 8:30 PM, Bruno Zanette brunonzane...@gmail.com wrote: Hey Alan, Take a look at the commentaries on the REST-API's documentation's page. I've answered a similar question there. https://wiki.duraspace.org/display/DSDOC5x/REST+API?focusedCommentId=68068154#comment-68068154 But basically, the request that you have to send is something like this: curl -k -4 -H accept: application/json -H Content-Type: application/json -X POST https://demo.dspace.org/rest/items/find-by-metadata-field; -d '{key: dc.title,value: Test Webpage,language: en_US}' Em qua, 10 de jun de 2015 às 14:08, Alan Orth alan.o...@gmail.com escreveu: Hey, I'm using DSpace 4.3 and trying to search for items matching certain metadata. The REST API docs on GitHub[0] mention that you can POST to `rest/items/find-by-metadata-field`, but it doesn't give any more information than that (like how to specify query parameters). I've tried several variations of the following: $ http --print Hhb POST ' http://localhost:8080/rest/items/find-by-metadata-field' dc.subject=LACTATION It always returns with an HTTP 405. What is the proper way to use this? Does the POST require I login first or something? Thanks, [0] https://github.com/DSpace/DSpace/tree/master/dspace-rest -- Alan Orth alan.o...@gmail.com https://alaninkenya.org https://mjanja.ch In heaven all the interesting people are missing. -Friedrich Nietzsche GPG public key ID: 0x8cb0d0acb5cd81ec209c6cdfbd1a0e09c2f836c0 -- ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- Alan Orth alan.o...@gmail.com https://alaninkenya.org https://mjanja.ch In heaven all the interesting people are missing. -Friedrich Nietzsche GPG public key ID: 0x8cb0d0acb5cd81ec209c6cdfbd1a0e09c2f836c0 -- ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- Terry Brady Applications Programmer Analyst Georgetown University Library Information Technology https://www.library.georgetown.edu/lit/code 425-298-5498 (Seattle, WA) -- ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
Re: [Dspace-tech] Embargoed items showing in recent submissions and collection browse pages
From my experience in DSpace 3, the browse indexes were not aware of access rights. All items appeared in browse. Restricted item did not appear faceted (discovery) navigation for an unauthenticated user. This issue was resolved for me after upgrading to DSpace 4. Since the Demo site is running the current version of DSpace, I am surprised that the embargo items are not being hidden. On Thu, May 7, 2015 at 2:34 PM, Andrea Schweer schw...@waikato.ac.nz wrote: Hi, On 08/05/15 06:35, Alcides Carlos de Moraes Neto wrote: I manage a 3.2 dspace installation here. I configured it to use the simple embargo form, and it works. But all the embargoed items show in the page listings, specifically, recent submissions and collection browsing. I tested the embargo functionality on the dspace demo site, and the items are shown there as well. Is there a way to hide them? Do they show up even when you are not logged in? DSpace 3 uses access rights awareness ( https://wiki.duraspace.org/display/DSDOC3x/Discovery#Discovery-Accessitembasedresults ) for this, so in theory you should only see the item in the recent submissions lists etc when you're logged in as a user who has READ permissions on the item. cheers, Andrea -- Dr Andrea Schweer IRR Technical Specialist, ITS Information Systems The University of Waikato, Hamilton, New Zealand -- One dashboard for servers and applications across Physical-Virtual-Cloud Widest out-of-the-box monitoring support with 50+ applications Performance metrics, stats and reports that give you Actionable Insights Deep dive visibility with transaction tracing using APM Insight. http://ad.doubleclick.net/ddm/clk/290420510;117567292;y ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- Terry Brady Applications Programmer Analyst Georgetown University Library Information Technology https://www.library.georgetown.edu/lit/code 425-298-5498 (Seattle, WA) -- One dashboard for servers and applications across Physical-Virtual-Cloud Widest out-of-the-box monitoring support with 50+ applications Performance metrics, stats and reports that give you Actionable Insights Deep dive visibility with transaction tracing using APM Insight. http://ad.doubleclick.net/ddm/clk/290420510;117567292;y___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
Re: [Dspace-tech] SQL query to list title/author/URL of bitream(s) linked to an item (4.2)
The following query should be a start. Note that this query is not filtering for withdrawn items and it is not verifying bitstream permissions. select i.item_id, h.handle, mvt.text_value, mva.text_value, 'your_server/bitstream/handle/' || h.handle || '/' || bit.name || '?sequence=' || bit.sequence_id from item i inner join metadatavalue mvt on i.item_id=mvt.item_id inner join metadatafieldregistry mfrt on mvt.metadata_field_id=mfrt.metadata_field_id and mfrt.element = 'title' and mfrt.qualifier is null inner join metadatavalue mva on i.item_id=mva.item_id inner join metadatafieldregistry mfra on mva.metadata_field_id=mfra.metadata_field_id and mfra.element = 'creator' and mfra.qualifier is null inner join handle h on h.resource_id = i.item_id and h.resource_type_id=2 inner join item2bundle i2b on i2b.item_id = i.item_id inner join bundle bun on bun.bundle_id = i2b.bundle_id and bun.name='ORIGINAL' inner join bundle2bitstream b2b on b2b.bundle_id = bun.bundle_id inner join bitstream bit on bit.bitstream_id = b2b.bitstream_id On Wed, Apr 22, 2015 at 1:48 PM, Michelangelo M M Viana mvi...@pucrs.br wrote: Hi, We need a SQL query to list title, author and URL of bitream(s) linked to each handle active (public) in database (DSpace 4.2). What we need to list is these three columns: title, author, bitstream URL. eg: dc.title: O luteranismo desbotado : um estudo sobre as escolas luteranas na região metropolitana de Porto Alegre dc.creator: Matte, Hubert http://tede2.pucrs.br/tede2/browse?type=authorvalue=Matte%2C+Hubert item Bitstream URL: http://tede2.pucrs.br/tede2/bitstream/tede/4668/1/419649.pdf If item has more than one bitstream, list all in different “rows”, that is OK: Title, author, URL1 Title, author, URL2 Title, author, URLn We need compose this list to update our library OPAC MARC “856” field, due these items were catalogued linking to “old” URL and need link to DSpace URL now. In our library OPAC these items had MARC 856 linking to another system, eg: http://tede.pucrs.br/tde_busca/arquivo.php?codArquivo=2444 and after they were imported to DSpace, it gave to the PDF a particular new URL, eg: http://tede2.pucrs.br/tede2/bitstream/tede/3630/1/421846.pdf and no relationship was stored (old system URL = DSpace URL) after or during the process. So, our strategy is: - by having title, author and DSpace URL we will be able to run an update in our OPAC (update 856URL = dspace_bistream_URL where author=dspace_author and title=dspace_title). When an item has more than one bitstream (multiple URLs will be listed for the same item), we will update our OPAC 856 manually: there are only 60 cases of items with multiple URLs, among more than 5000 items in our DSpace. Thanks in advance, Michelangelo *Michelangelo Mazzardo Marques Viana* | Support and Development *Coordinator of Libraries Systems*. Librarian CRB-10/1306 Pontifical Catholic University of Rio Grande do Sul - PUCRS Ir. Jose Otao Central Library | Porto Alegre, RS, Brazil +55(51) 3353.4371| mvi...@pucrs.br | http://www.pucrs.br/biblioteca Central Library Virtual Tour: http://www.pucrs.br/biblioteca/visitavirtual Find us on *Facebook*: http://www.facebook.com/bibliotecapucrs Follow us on *Twitter*: https://twitter.com/bibliotecapucrs Know our spaces on *Flickr*: http://www.flickr.com/bibliotecapucrs -- BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT Develop your own process in accordance with the BPMN 2 standard Learn Process modeling best practices with Bonita BPM through live exercises http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_ source=Sourceforge_BPM_Camp_5_6_15utm_medium=emailutm_campaign=VA_SF ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- Terry Brady Applications Programmer Analyst Georgetown University Library Information Technology https://www.library.georgetown.edu/lit/code 425-298-5498 (Seattle, WA) -- BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT Develop your own process in accordance with the BPMN 2 standard Learn Process modeling best practices with Bonita BPM through live exercises http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_ source=Sourceforge_BPM_Camp_5_6_15utm_medium=emailutm_campaign=VA_SF___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https
Re: [Dspace-tech] Advanced Embargo: Dark Metadata
The only way to accomplish this is to set a policy on the item record with the same end date as the bitstream policy. I do not believe that the submit with embargo date process can accomplish this. On Tue, Apr 21, 2015 at 6:32 AM, Peter Dietz pe...@longsight.com wrote: Hi All, I was wondering if anyone has created a way to modify the embargo system to optionally have a way of also setting dark metadata. Meaning, the current embargo system will allow the metadata/item to be publicly accessible, but the file is restricted until the embargo lift. A use case that came up was to have a way to have the embargo also restrict the visibility of the item and metadata. Thus, before the embargo date, nothing is accessible/visible, and after the embargo lift date, the file and metadata will be visible/accessible. Thanks Peter Dietz Longsight www.longsight.com pe...@longsight.com p: 740-599-5005 x809 -- BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT Develop your own process in accordance with the BPMN 2 standard Learn Process modeling best practices with Bonita BPM through live exercises http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_ source=Sourceforge_BPM_Camp_5_6_15utm_medium=emailutm_campaign=VA_SF ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- Terry Brady Applications Programmer Analyst Georgetown University Library Information Technology https://www.library.georgetown.edu/lit/code 425-298-5498 (Seattle, WA) -- BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT Develop your own process in accordance with the BPMN 2 standard Learn Process modeling best practices with Bonita BPM through live exercises http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_ source=Sourceforge_BPM_Camp_5_6_15utm_medium=emailutm_campaign=VA_SF___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
Re: [Dspace-tech] Fwd: dspace 5.1 Mirage2 ImageMagick errors
What happens if you run the following? You can supply a non-existent handle as input. This might help with troubleshooting the configuration file. .../bin/dspace filter-media -v -i 000/000 The following MediaFilters are enabled: Full Filter Name: org.dspace.app.mediafilter.ImageMagickPdfThumbnailFilter org.dspace.app.mediafilter.ImageMagickPdfThumbnailFilter Full Filter Name: org.dspace.app.mediafilter.HTMLFilter org.dspace.app.mediafilter.HTMLFilter Full Filter Name: org.dspace.app.mediafilter.WordFilter org.dspace.app.mediafilter.WordFilter Full Filter Name: org.dspace.app.mediafilter.PDFFilter org.dspace.app.mediafilter.PDFFilter Full Filter Name: org.dspace.app.mediafilter.PowerPointFilter org.dspace.app.mediafilter.PowerPointFilter Full Filter Name: org.dspace.app.mediafilter.ImageMagickImageThumbnailFilter org.dspace.app.mediafilter.ImageMagickImageThumbnailFilter *Here are my configuration entries -- in case this helps.* #Names of the enabled MediaFilter or FormatFilter plugins filter.plugins = PDF Text Extractor, HTML Text Extractor, \ PowerPoint Text Extractor, \ ImageMagick Image Thumbnail, ImageMagick PDF Thumbnail, \ Word Text Extractor # Word Text Extractor, JPEG Thumbnail # [To enable Branded Preview]: uncomment and insert the following into the plugin list #Branded Preview JPEG, \ # [To enable ImageMagick Thumbnail]: #remove JPEG Thumbnail from the plugin list #uncomment and insert the following line into the plugin list #ImageMagick Image Thumbnail, ImageMagick PDF Thumbnail, \ #Assign 'human-understandable' names to each filter plugin.named.org.dspace.app.mediafilter.FormatFilter = \ org.dspace.app.mediafilter.PDFFilter = PDF Text Extractor, \ org.dspace.app.mediafilter.HTMLFilter = HTML Text Extractor, \ org.dspace.app.mediafilter.WordFilter = Word Text Extractor, \ org.dspace.app.mediafilter.PowerPointFilter = PowerPoint Text Extractor, \ org.dspace.app.mediafilter.JPEGFilter = JPEG Thumbnail, \ org.dspace.app.mediafilter.BrandedPreviewJPEGFilter = Branded Preview JPEG, \ org.dspace.app.mediafilter.ImageMagickImageThumbnailFilter = ImageMagick Image Thumbnail, \ org.dspace.app.mediafilter.ImageMagickPdfThumbnailFilter = ImageMagick PDF Thumbnail #Configure each filter's input format(s) filter.org.dspace.app.mediafilter.PDFFilter.inputFormats = Adobe PDF filter.org.dspace.app.mediafilter.HTMLFilter.inputFormats = HTML, Text filter.org.dspace.app.mediafilter.WordFilter.inputFormats = Microsoft Word filter.org.dspace.app.mediafilter.PowerPointFilter.inputFormats = Microsoft Powerpoint, Microsoft Powerpoint XML filter.org.dspace.app.mediafilter.WordFilter.inputFormats = Microsoft Word, Microsoft Word XML filter.org.dspace.app.mediafilter.ImageMagickImageThumbnailFilter.inputFormats = BMP, GIF, image/png, JPG, TIFF, JPEG, JPEG 2000 filter.org.dspace.app.mediafilter.ImageMagickPdfThumbnailFilter.inputFormats = Adobe PDF filter.org.dspace.app.mediafilter.JPEGFilter.inputFormats = BMP, GIF, JPEG, image/png filter.org.dspace.app.mediafilter.BrandedPreviewJPEGFilter.inputFormats = BMP, GIF, JPEG, image/png On Tue, Apr 21, 2015 at 12:01 AM, Zuikis Kosminis kosminiai.zuik...@gmail.com wrote: Sorry, missed the list. -- Forwarded message -- From: Zuikis Kosminis kosminiai.zuik...@gmail.com Date: Tue, Apr 21, 2015 at 9:59 AM Subject: Re: [Dspace-tech] dspace 5.1 Mirage2 ImageMagick errors To: Terry Brady terry.br...@georgetown.edu Hi Terry, nope, that didn't help. I even moved to separate line: filter.plugins = PDF Text Extractor, HTML Text Extractor, \ PowerPoint Text Extractor, \ ImageMagick Image Thumbnail, \ ImageMagick PDF Thumbnail I still get the same error: [dspace@ bin]$ ./dspace filter-media -i 007/11797 -v ERROR: Unknown MediaFilter specified (either from command-line or in dspace.cfg): 'ImageMagick Image Thumbnail' Is there any way to enable debugging or something similar for this plugin? Maybe you can paste your related config just to check? As Shannon mentioned earlier, maybe I'm missing something obvious. Thanks K.Z. On Mon, Apr 20, 2015 at 11:45 PM, Terry Brady terry.br...@georgetown.edu wrote: I compared your settings with my settings and they appear correct to me. In your e-mail, I cannot tell if the filter.plugins definitions for ImageMagick Image Thumbnail ImageMagick PDF Thumbnail are on one line or 2 lines. I have found that the config file parser can be fussy when the line continuation characters are not put in place exactly. Make sure that when the continuation character \ is present, make sure it is the last character of each line. On Mon, Apr 20, 2015 at 6:32 AM, Zuikis Kosminis kosminiai.zuik...@gmail.com wrote: Hello everyone. I need some help or directions
Re: [Dspace-tech] dspace 5.1 Mirage2 ImageMagick errors
I compared your settings with my settings and they appear correct to me. In your e-mail, I cannot tell if the filter.plugins definitions for ImageMagick Image Thumbnail ImageMagick PDF Thumbnail are on one line or 2 lines. I have found that the config file parser can be fussy when the line continuation characters are not put in place exactly. Make sure that when the continuation character \ is present, make sure it is the last character of each line. On Mon, Apr 20, 2015 at 6:32 AM, Zuikis Kosminis kosminiai.zuik...@gmail.com wrote: Hello everyone. I need some help or directions with ImageMagick and mediafilters. We are running Dspace 5.1 (Mirage 2) on linux. I'm trying to create PDF thumbnails with ImageMagick media filter. dspace.cfg: filter.plugins = PDF Text Extractor, HTML Text Extractor, \ PowerPoint Text Extractor, \ JPEG Thumbnail, \ ImageMagick Image Thumbnail, ImageMagick PDF Thumbnail, \ Branded Preview JPEG plugin.named.org.dspace.app.mediafilter.FormatFilter = \ org.dspace.app.mediafilter.ImageMagickImageThumbnailFilter = ImageMagick Image Thumbnail, \ org.dspace.app.mediafilter.ImageMagickPdfThumbnailFilter = ImageMagick PDF Thumbnail filter.org.dspace.app.mediafilter.ImageMagickImageThumbnailFilter.inputFormats = BMP, GIF, image/png, JPG, TIFF, JPEG, JPEG 2000 filter.org.dspace.app.mediafilter.ImageMagickPdfThumbnailFilter.inputFormats = Adobe PDF Additional settings: thumbnail.maxwidth = 160 thumbnail.maxheight = 160 org.dspace.app.mediafilter.ImageMagickThumbnailFilter.ProcessStarter = /usr/bin/ org.dspace.app.mediafilter.ImageMagickThumbnailFilter.replaceRegex = ^Generated Thumbnail$ org.dspace.app.mediafilter.ImageMagickThumbnailFilter.bitstreamDescription = IM Thumbnail ImageMagick and Ghostscrip is accessible: [dspace@~]$ which convert /usr/bin/convert [dspace@~]$ which ghostscript /usr/bin/ghostscript When I'm trying to run it manually: ./dspace filter-media -i 007/11797 -v I get the following error in dspace log: 2015-04-20 15:59:57,457 WARN org.dspace.core.PluginManager @ Cannot find named plugin for interface=org.dspace.app.mediafilter.FormatFilter, name=ImageMagick Image Thumbnail And another error in command line: ERROR: Unknown MediaFilter specified (either from command-line or in dspace.cfg): 'ImageMagick Image Thumbnail' Any help or advice appreciated. Thanks. -- BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT Develop your own process in accordance with the BPMN 2 standard Learn Process modeling best practices with Bonita BPM through live exercises http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_ source=Sourceforge_BPM_Camp_5_6_15utm_medium=emailutm_campaign=VA_SF ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- Terry Brady Applications Programmer Analyst Georgetown University Library Information Technology https://www.library.georgetown.edu/lit/code 425-298-5498 (Seattle, WA) -- BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT Develop your own process in accordance with the BPMN 2 standard Learn Process modeling best practices with Bonita BPM through live exercises http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_ source=Sourceforge_BPM_Camp_5_6_15utm_medium=emailutm_campaign=VA_SF___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
Re: [Dspace-tech] ImageMagick media filter option
The filter code is currently only setting the thumbnail size. https://github.com/DSpace/DSpace/blob/master/dspace-api/src/main/java/org/dspace/app/mediafilter/ImageMagickThumbnailFilter.java#L116-L120 Additional ImageMagick commands ( im4java.sourceforge.net/api/org/im4java/core/IMOps.html) could be added to the processing. Terry On Tue, Apr 14, 2015 at 12:13 PM, Schuster, David dschus...@mail.twu.edu wrote: I am currently using the Image Magick tool on the server to orient my images before loading them. Is there a way to get the Dspace Imagemagic mediafilter to do that before it generates the thumbnail? David Schuster Texas Woman's University Director of Library Information Technology Technical Support Phone: 940-898-3909 dschus...@twu.edu [image: Description: emailsignature] -- BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT Develop your own process in accordance with the BPMN 2 standard Learn Process modeling best practices with Bonita BPM through live exercises http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_ source=Sourceforge_BPM_Camp_5_6_15utm_medium=emailutm_campaign=VA_SF ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- Terry Brady Applications Programmer Analyst Georgetown University Library Information Technology https://www.library.georgetown.edu/lit/code 425-298-5498 (Seattle, WA) -- BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT Develop your own process in accordance with the BPMN 2 standard Learn Process modeling best practices with Bonita BPM through live exercises http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_ source=Sourceforge_BPM_Camp_5_6_15utm_medium=emailutm_campaign=VA_SF___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
[Dspace-tech] Deployment of REST API
We are running DSpace 4, and we are beginning to take advantage of the REST API. Before we make the REST service available on our production instance, I am curious to hear how other institutions have configured access to the API. Have you deployed the API with access to any client, or do you restrict access to specific hosts/clients? Thanks, Terry -- Terry Brady Applications Programmer Analyst Georgetown University Library Information Technology https://www.library.georgetown.edu/lit/code 425-298-5498 (Seattle, WA) -- BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT Develop your own process in accordance with the BPMN 2 standard Learn Process modeling best practices with Bonita BPM through live exercises http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_ source=Sourceforge_BPM_Camp_5_6_15utm_medium=emailutm_campaign=VA_SF___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
Re: [Dspace-tech] FW: Records from excel to DSpace
The following tool should be able to assist you. https://wiki.duraspace.org/display/DSDOC5x/Batch+Metadata+Editing Note that DSpace allows you to configure a separator character for repeating terms. By default I believe that the separator is defined as a double pipe ||. On Mon, Apr 6, 2015 at 12:25 PM, Mónica Osejos mosej...@hotmail.com wrote: Dear friends, annoying at times your support as would please help me with the procedure should continue to climb records from excel to DSpace, fields that I have columns in excel are: Column A: Author (dc.Creator) Column B: Thesis director (dc.contributor) Column C: Title (dc.title) Column D: Date (dc.date) Column E: City, Publisher (dc.publisher) Column F: Subjects separated by commas (dc.subject) Column G: Summary (dc.description) All records are loaded into one collection, please if someone already done this procedure please ask your help. greetings To You, Monica -- BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT Develop your own process in accordance with the BPMN 2 standard Learn Process modeling best practices with Bonita BPM through live exercises http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_ source=Sourceforge_BPM_Camp_5_6_15utm_medium=emailutm_campaign=VA_SF ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- Terry Brady Applications Programmer Analyst Georgetown University Library Information Technology https://www.library.georgetown.edu/lit/code 425-298-5498 (Seattle, WA) -- BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT Develop your own process in accordance with the BPMN 2 standard Learn Process modeling best practices with Bonita BPM through live exercises http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_ source=Sourceforge_BPM_Camp_5_6_15utm_medium=emailutm_campaign=VA_SF___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
Re: [Dspace-tech] DSpace authorization policies
. Galvin Library Illinois Institute of Technology 35 West 33rd Street Chicago, IL 60616 312.567.7997 p...@iit.edu *Driving Innovation through Knowledge and Scholarship* On Mon, Nov 10, 2014 at 12:30 PM, Peter Dietz pe...@longsight.com wrote: Hi Paul, There are a lot of relationships in the authorization policies, to handle all of that complexity, I think you could build some custom java code to walk through all of them, and join all of the resources, and all of the epersons and epersongroups. Here's an inaccurate query that would give you some of the information: SELECT * FROM public.handle, public.resourcepolicy, public.epersongroup WHERE resourcepolicy.resource_type_id = handle.resource_type_id AND resourcepolicy.resource_id = handle.resource_id AND resourcepolicy.epersongroup_id = epersongroup.eperson_group_id; This would show you what objects with handles (community, collection, item), have an authorization policy to an eperson-group. You would have to make other queries to find policies that map to an eperson (as opposed to eperson group). And also, this only connects to things with handles, which misses bundles and bitstreams. Since this is for an audit, your probably more concerned with finding users with irregular permissions, so maybe you could work backwords. Start with all the eperson, and see which one's are members of groups or resourcepolicy's. Because it's likely that you'll find that 99% of users have essentially nothing interesting in terms of policies/memberships, and then just investigate the dozen or so users with permissions. Good luck! If you end up creating any interesting java code (such as a query tool to look at all of this information), or just a series of SQL queries it might be helpful to share back your eventual findings. Peter Dietz Longsight www.longsight.com pe...@longsight.com p: 740-599-5005 x809 On Mon, Nov 10, 2014 at 12:44 PM, Paul Go p...@iit.edu wrote: Is there a way to export the entirety of the authorization policies so that we can audit them in bulk rather than one by one? Paul Go Systems Librarian / Library Technology Manager / CS and ITM Liaison Paul V. Galvin Library Illinois Institute of Technology 35 West 33rd Street Chicago, IL 60616 312.567.7997 p...@iit.edu *Driving Innovation through Knowledge and Scholarship* -- ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- Comprehensive Server Monitoring with Site24x7. Monitor 10 servers for $9/Month. Get alerted through email, SMS, voice calls or mobile push notifications. Take corrective actions from your mobile device. http://pubads.g.doubleclick.net/gampad/clk?id=154624111iu=/4140/ostg.clktrk ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- [image: Image removed by sender. @mire Inc.] *Mark Diggory* *2888 Loker Avenue East, Suite 315, Carlsbad, CA. 92010* *Esperantolaan 4, Heverlee 3001, Belgium* http://www.atmire.com -- Dive into the World of Parallel Programming The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- Terry Brady Applications Programmer Analyst Georgetown University Library Information Technology https://www.library.georgetown.edu/lit/code 425-298-5498 (Seattle, WA) -- BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT Develop your own process in accordance with the BPMN 2 standard Learn Process modeling best practices with Bonita BPM through live exercises http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_ source=Sourceforge_BPM_Camp_5_6_15utm_medium=emailutm_campaign=VA_SF___ DSpace-tech mailing list DSpace-tech
Re: [Dspace-tech] Generate publicly accessible thumbnails of restricted content
I took a look at the ImageMagick media filter code and there is no manipulation of bitstream permissions in the code. The generated thumbnail files are returned. I presume those bitstream permissions are set by default based on a collection policy. I had hoped to recommend that you use the XMLUI item wildcard policy admin tool to clean up the permissions, but that tool does not seem to differentiate bitstreams by bundle. In our instance, we want the thumbnail permissions to match the original permissions. Looking at the following code in MediaFilterManager, there may be a mechanism to override the default permission behavior. https://github.com/DSpace/DSpace/blob/master/dspace-api/src/main/java/org/dspace/app/mediafilter/MediaFilterManager.java#L778-L789 Terry On Mon, Mar 30, 2015 at 8:08 PM, euler esne...@seafdec.org.ph wrote: Hi Peter, Is there an escape character at the end of ImageMagick Image Thumbnail? i.e. , \ Did the PDF's get thumbnails generated by Image Magick? There is no escape character at the end of ImageMagick PDF Thumnail. I'm sure that the PDF's thumbnail was generated by Image Magick because I deleted first all the generated thumbnails. After running the media filter, the thumbnail's permission is the same with its parent bitstream even though I have this setting in my dspace.cfg: filter.org.dspace.app.mediafilter.publicPermission = ImageMagick PDF Thumbnail Did I missed something? Thanks in advance, euler -- View this message in context: http://dspace.2283337.n4.nabble.com/Generate-publicly-accessible-thumbnails-of-restricted-content-tp4677233p4677247.html Sent from the DSpace - Tech mailing list archive at Nabble.com. -- Dive into the World of Parallel Programming The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- Terry Brady Applications Programmer Analyst Georgetown University Library Information Technology https://www.library.georgetown.edu/lit/code 425-298-5498 (Seattle, WA) -- Dive into the World of Parallel Programming The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
Re: [Dspace-tech] Examples of custom (XMLUI) interfaces in archives special collections?
In addition to a custom theme, we have applied custom facets in a couple of our collections. It has been helpful to label the facet for the collection's context. - https://repository.library.georgetown.edu/handle/10822/549457 (collection of video interviews) - https://repository.library.georgetown.edu/handle/10822/710900 (collection of MOOC resources) In several of our custom themes, we have re-labeled the Contributor/Author field name in the item summary view. Terry On Thu, Mar 26, 2015 at 10:16 AM, Webb, Nicholas nicholas.w...@mssm.edu wrote: At the institutional archive where I'm the DSpace administrator, we use the stock XMLUI Reference theme with a few CSS changes to match our institutional brand guidelines. This is fine for our internal needs, but our instance recently started hosting a scanned collection of WW2 records which has attracted some public interest, and I've had complaints from patrons who find the interface difficult to use. I plan to create a custom theme for this collection and do some basic XMLUI tweaking to remove the interface elements that confuse novice users (multiple search boxes, separate browse menus for the collection and the entire repository), but I'm curious to see whether any institutions have done more extensive customization to create a special-collection-centric DSpace instance. I realize that online exhibits aren't the primary DSpace use case, but I'm interested to know what's possible. Thanks -- Nicholas Webb Digital Archivist Icahn School of Medicine at Mount Sinai Box 1102 - One Gustave L. Levy Place New York, NY 10029-6574 (o) 212-241-7239 (f) 212-241-7864 (e) nicholas.w...@mssm.edu -- Dive into the World of Parallel Programming The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- Terry Brady Applications Programmer Analyst Georgetown University Library Information Technology https://www.library.georgetown.edu/lit/code 425-298-5498 (Seattle, WA) -- Dive into the World of Parallel Programming The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
Re: [Dspace-tech] FW: COMMUNITY LIST
I found some old code that implemented something like this for XMLUI. This solution is not as elegant as the site that you referenced, but it might be a helpful start. *XSLT to identify the nesting level within the community/collection hierarchy.* xsl:template match=dri:referenceSet[@type = 'summaryList'] priority=2 xsl:apply-templates select=dri:head/ !-- Here we decide whether we have a hierarchical list or a flat one -- xsl:choose xsl:when test=descendant-or-self::dri:referenceSet/@rend='hierarchy' or ancestor::dri:referenceSet/@rend='hierarchy' ul xsl:attribute name=class xsl:texthier-/xsl:text xsl:number value=count(ancestor::dri:referenceSet)/ /xsl:attribute xsl:apply-templates select=*[not(name()='head')] mode=summaryList/ /ul /xsl:when xsl:otherwise ul class=ds-artifact-list xsl:apply-templates select=*[not(name()='head')] mode=summaryList/ /ul /xsl:otherwise /xsl:choose *Javascript to show/hide nodes* jQuery(document).ready(function(){ if (jQuery(#aspect_artifactbrowser_CommunityBrowser_div_comunity-browser).is(*)) { jQuery(#aspect_artifactbrowser_CommunityBrowser_div_comunity-browser).find(ul.hier-3).each(function(){ if ($(this).find(li).length 3) { $(this).addClass(ccfilter).hide(); } }); jQuery(button.ccfilter).remove(); var foo = $(button class='ccfilter'+/button); jQuery(ul.ccfilter).parent(span).before(foo); jQuery(button.ccfilter).click(function(){ $(this).next(span).children(ul.ccfilter).toggle(); if ($(this).next(span).children(ul.ccfilter:visible).is(*)) { $(this).text(-); } else { $(this).text(+); } }) } }); On Thu, Feb 12, 2015 at 9:36 AM, Fernando Casas Osorio ferca...@hotmail.com wrote: Regards, As I can configure DSpace to the list of communities and collections appear grouped as in this DSpace? http://dspace.mit.edu/community-list Thanks for your help. Fernando Casas Osorio -- From: ferca...@hotmail.com To: dspace-tech@lists.sourceforge.net Date: Mon, 9 Feb 2015 07:54:30 -0500 Subject: [Dspace-tech] COMMUNITY LIST Regards, Can someone help me telling me as I set Communities Collections with drill drown? I hope these appear as tree but not open at all levels Thanks for your help. Fernando Casas Osorio -- Dive into the World of Parallel Programming. The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- Dive into the World of Parallel Programming. The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- Terry Brady Applications Programmer Analyst Georgetown University Library Information Technology https://www.library.georgetown.edu/lit/code 425-298-5498 (Seattle, WA) -- Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server from Actuate! Instantly Supercharge Your Business Reports and Dashboards with Interactivity, Sharing, Native Excel Exports, App Integration more Get technology previously reserved for billion-dollar corporations, FREE http://pubads.g.doubleclick.net/gampad/clk?id=190641631iu=/4140/ostg.clktrk___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
Re: [Dspace-tech] Problem assigning user privileges
Did you create the sub-communities/collections before or after you assigned community privileges? I believe that the permissions will inherit to new items but not to pre-existing objects. For pre-existing objects, you should be able to update permissions using Administrative/Authorizations/Wildcard Policy Admin Tool. On Tue, Feb 17, 2015 at 5:41 PM, bender bender.bending.1...@gmail.com wrote: Hi, We're experiencing problems to assign user privileges to communities, which should be inherited by their sub-communities, sub-collections, collections, etc. In our Dspace instance, when the privileges for each user are set at community level, those privileges are not inherited by its sub-communities, sub-collections, etc. Has anyone experienced the same problem? Thanks in advance. Bender -- Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server from Actuate! Instantly Supercharge Your Business Reports and Dashboards with Interactivity, Sharing, Native Excel Exports, App Integration more Get technology previously reserved for billion-dollar corporations, FREE http://pubads.g.doubleclick.net/gampad/clk?id=190641631iu=/4140/ostg.clktrk ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- Terry Brady Applications Programmer Analyst Georgetown University Library Information Technology https://www.library.georgetown.edu/lit/code 425-298-5498 (Seattle, WA) -- Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server from Actuate! Instantly Supercharge Your Business Reports and Dashboards with Interactivity, Sharing, Native Excel Exports, App Integration more Get technology previously reserved for billion-dollar corporations, FREE http://pubads.g.doubleclick.net/gampad/clk?id=190641631iu=/4140/ostg.clktrk___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
Re: [Dspace-tech] Embargoed items
I do not know how to gather this information without querying the database. Since an embargo can be set via a policy restriction rather than in metadata, I would be cautious about querying the metadata fields. Restricted Items SQL https://github.com/Georgetown-University-Libraries/batch-tools/blob/master/web/query/selfQueryCommon.php#L251-L260 Restricted Bitstream SQL https://github.com/Georgetown-University-Libraries/batch-tools/blob/master/web/query/selfQueryCommon.php#L295-L314 You can prefix each of these queries with select * from item i where 1=1 as a test. Terry On Fri, Feb 6, 2015 at 9:24 AM, Collier, Aaron acoll...@calstate.edu wrote: Hey Guillermo, I query SOLR to get this data for a validation script that I wrote: http://localhost:24091/solr/search/select/?q=dc.date.embargountil:*fl=handle,dc.date.embargountilrows=100wt=json This makes it pretty easy to parse in PHP and do pretty much anything you need with the data. *From:* Guillermo Esteban Murillo Goussen [mailto:mem...@gmail.com] *Sent:* Friday, February 06, 2015 9:12 AM *To:* DSpace Tech *Subject:* [Dspace-tech] Embargoed items Hi folks! Quick question: Is there a way to list all the embargoed items or I'll have to dive into the database? Thanks a lot, Guillermo Murillo Goussen Universidad de Costa Rica www.kerwa.ucr.ac.cr -- La pureza del alma no se pierde sin consentimiento -- Dive into the World of Parallel Programming. The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- Terry Brady Applications Programmer Analyst Georgetown University Library Information Technology https://www.library.georgetown.edu/lit/code 425-298-5498 (Seattle, WA) -- Dive into the World of Parallel Programming. The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
Re: [Dspace-tech] Java errors when bath importing a collection
Is this happening for any item that you try to create, or is it only happening for this particular item? Are you experiencing this error when submitting an item through the UI? I have not seen this error before. Is it possible that your input metadata is attempting to assign a dc.identifier.uri that looks like a handle? On Fri, Feb 6, 2015 at 9:14 AM, Jeffrey A Trimble jatrim...@ysu.edu wrote: We are receiving a unique error when batch importing a collection. Please see below. I believe it is related to a previous handle glitch we’ve seen. We’d like some advice. It’s trying to use a handle already in use. But how can that be? This is brand new to the system. Is there a postgresql glitch? Processing handle file: handle read handle: '1989.1/389' java.lang.RuntimeException: Error while attempting to create identifier for Item id: 369 at org.dspace.identifier.VersionedHandleIdentifierProvider.register(VersionedHandleIdentifierProvider.java:173) at org.dspace.identifier.IdentifierServiceImpl.register(IdentifierServiceImpl.java:96) at org.dspace.content.InstallItem.installItem(InstallItem.java:69) at org.dspace.app.itemimport.ItemImport.addItem(ItemImport.java:953) at org.dspace.app.itemimport.ItemImport.addItems(ItemImport.java:780) at org.dspace.app.itemimport.ItemImport.main(ItemImport.java:567) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.dspace.app.launcher.ScriptLauncher.runOneCommand(ScriptLauncher.java:225) at org.dspace.app.launcher.ScriptLauncher.main(ScriptLauncher.java:77) Caused by: java.lang.IllegalStateException: Attempted to create a handle which is already in use: 1989.1/389 at org.dspace.identifier.VersionedHandleIdentifierProvider.createNewIdentifier(VersionedHandleIdentifierProvider.java:460) at org.dspace.identifier.VersionedHandleIdentifierProvider.register(VersionedHandleIdentifierProvider.java:165) ... 11 more java.lang.RuntimeException: Error while attempting to create identifier for Item id: 369 Started: 1423241893173 Ended: 1423241893740 Elapsed time: 0 secs (567 msecs) Thanks in advance, Jeffrey Trimble Associate Director Head of Information Services William F. Maag Library Youngstown State University 330.941.2483 (Office) jatrim...@ysu.edu http://www.maag.ysu.edu http://digital.maag.ysu.edu “The spice must flow -- Dive into the World of Parallel Programming. The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- Terry Brady Applications Programmer Analyst Georgetown University Library Information Technology https://www.library.georgetown.edu/lit/code 425-298-5498 (Seattle, WA) -- Dive into the World of Parallel Programming. The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
Re: [Dspace-tech] Authorization of DSpace items...
Layale, I believe the date fields on the Advanced Policy Screen allow you to set the dates that a policy will go into effect. If you needed to embargo an entire collection until 2017, you would set Anonymous Read to have a start date of 2017-01-01. Terry On Mon, Jan 26, 2015 at 7:00 AM, Layale Bassil l...@aub.edu.lb wrote: Hello Terry, Thank you so much. I checked the tool and saw that you can filter by date, I would like to know that date in the tool is which date? dc.date.available (when entered in the database) dc.date.issued (the pub date of that publication) Or just the : dc.date? In fact I wanted to filter the items by publication date and set the authorization based on a certain publication date, how can this be done? Many thanks, Regards. *From:* Terry Brady [mailto:terry.br...@georgetown.edu] *Sent:* Thursday, January 22, 2015 8:15 AM *To:* Layale Bassil *Cc:* dspace-tech@lists.sourceforge.net *Subject:* Re: [Dspace-tech] Authorization of DSpace items... In XMLUI, there is a tool that will let you apply bulk changes to permissions. Administrative - Authorizations - Advanced Authorizations Tool I have only used it a couple of times, but it was very handy when I used it. On Wed, Jan 21, 2015 at 7:41 AM, Layale Bassil l...@aub.edu.lb wrote: Hello All, As far as I know, authorizations in DSpace are usually set for a community, or collection, or even at the item level. If we setup the authorization for a collection, then we load data, all items inherit that setup before loading, and we cannot globally change the authorization for those items. Currently, on the DSpace instance I am working on (version 4.2), all item bitstreams are not accessible by users; however, I need to change the authorization of those bitstreams to be (Anonymous) according to the publication date. How can this be done? Is there any add-on that can help me changing the access authorization of an item bitstream? Or any script to do so on a set of items instead of going at each item? Your help is very much appreciated. Regards. -- New Year. New Location. New Benefits. New Data Center in Ashburn, VA. GigeNET is offering a free month of service with a new server in Ashburn. Choose from 2 high performing configs, both with 100TB of bandwidth. Higher redundancy.Lower latency.Increased capacity.Completely compliant. http://p.sf.net/sfu/gigenet ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- Terry Brady Applications Programmer Analyst Georgetown University Library Information Technology https://www.library.georgetown.edu/lit/code 425-298-5498 -- Terry Brady Applications Programmer Analyst Georgetown University Library Information Technology https://www.library.georgetown.edu/lit/code 425-298-5498 -- Dive into the World of Parallel Programming. The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
Re: [Dspace-tech] Authorization of DSpace items...
No Original select * from item where not exists ( select 1 from item2bundle i2b inner join bundle b on i2b.bundle_id = b.bundle_id and b.name = 'ORIGINAL' and i.item_id = i2b.item_id inner join bundle2bitstream b2b on b2b.bundle_id = b.bundle_id inner join bitstream bit on bit.bitstream_id = b2b.bitstream_id ) No Bitstream at all (includes license) select * from item i where not exists ( select 1 from item2bundle i2b inner join bundle2bitstream b2b on b2b.bundle_id = i2b.bundle_id inner join bitstream bit on bit.bitstream_id = b2b.bitstream_id where i.item_id = i2b.item_id ) I have compiled some other useful queries into the following code. There may be some other SQL fragments you will find useful. https://github.com/Georgetown-University-Libraries/batch-tools/blob/master/web/query/selfQueryCommon.php#L77-L97 Terry On Thu, Jan 22, 2015 at 2:48 AM, Layale Bassil l...@aub.edu.lb wrote: Thank you so much Terry, I will have a look at this tool. But I need to know if there is any way I can have a list of all items imported to dspace that do not have any bitsream (0 added files). A reporting tool? A query to run on the database? Your help is very much appreciated. Regards. *From:* Terry Brady [mailto:terry.br...@georgetown.edu] *Sent:* Thursday, January 22, 2015 8:15 AM *To:* Layale Bassil *Cc:* dspace-tech@lists.sourceforge.net *Subject:* Re: [Dspace-tech] Authorization of DSpace items... In XMLUI, there is a tool that will let you apply bulk changes to permissions. Administrative - Authorizations - Advanced Authorizations Tool I have only used it a couple of times, but it was very handy when I used it. On Wed, Jan 21, 2015 at 7:41 AM, Layale Bassil l...@aub.edu.lb wrote: Hello All, As far as I know, authorizations in DSpace are usually set for a community, or collection, or even at the item level. If we setup the authorization for a collection, then we load data, all items inherit that setup before loading, and we cannot globally change the authorization for those items. Currently, on the DSpace instance I am working on (version 4.2), all item bitstreams are not accessible by users; however, I need to change the authorization of those bitstreams to be (Anonymous) according to the publication date. How can this be done? Is there any add-on that can help me changing the access authorization of an item bitstream? Or any script to do so on a set of items instead of going at each item? Your help is very much appreciated. Regards. -- New Year. New Location. New Benefits. New Data Center in Ashburn, VA. GigeNET is offering a free month of service with a new server in Ashburn. Choose from 2 high performing configs, both with 100TB of bandwidth. Higher redundancy.Lower latency.Increased capacity.Completely compliant. http://p.sf.net/sfu/gigenet ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- Terry Brady Applications Programmer Analyst Georgetown University Library Information Technology https://www.library.georgetown.edu/lit/code 425-298-5498 -- Terry Brady Applications Programmer Analyst Georgetown University Library Information Technology https://www.library.georgetown.edu/lit/code 425-298-5498 -- Dive into the World of Parallel Programming. The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
Re: [Dspace-tech] Showing results only for items with full text available
We had a similar need. Our library discovery layer pulls content from DSpace using the OAI harvester. We needed to distinguish full text content from non-full text content in our OAI metadata. We noticed that we could key off of data within the dc.provenance field. Here is an SQL version of the query we ran for this purpose. and exists ( select 1 from metadatavalue m where m.item_id = i.item_id and m.metadata_field_id = ( select metadata_field_id from metadatafieldregistry mfr where mfr.element = 'description' and mfr.qualifier = 'provenance' ) and (text_value ~ '^.*No\. of bitstreams.*\.(PDF|pdf|DOC|doc|PPT|ppt|DOCX|docx|PPTX|pptx).*$') ) Terry On Mon, Jan 26, 2015 at 1:07 AM, Hayles, Steven s...@leicester.ac.uk wrote: Under DSpace 4.2, I have a requirement provide a search option to show results only for items with full text available. I've added a check box (uolfulltext) to the search forms, and the following to DiscoverySearchRequestProcessor.doSimpleSearch in dspace-jspui/src/main/java/org/dspace/app/webui/discovery/DiscoverySearchRequestProcessor.java --- DiscoverySearchRequestProcessor.java.orig 2014-07-21 14:05:07.0 +0100 +++ DiscoverySearchRequestProcessor.java2015-01-25 20:20:50.533895183 + @@ -251,6 +251,11 @@ DiscoverQuery queryArgs = DiscoverUtility.getDiscoverQuery(context, request, scope, true); + if (request.getParameter(uolfulltext) != null) + { +queryArgs.addFieldPresentQueries(fulltext); +} + queryArgs.setSpellCheck(discoveryConfiguration.isSpellCheckEnabled()); ListDiscoverySearchFilterFacet availableFacet = discoveryConfiguration Is this a sensible approach? Have I missed anything? Thanks Steven Steven Hayles Systems Analyst IT Services, University of Leicester, Propsect House, 94 Regent Rd, Leicester, LE1 7DA, UK T: +44 (0)116 229 7950 E: s...@le.ac.uk The Queen’s Anniversary Prizes 1994, 2002 2013 THE Awards Winners 2007-2013 Elite without being elitist Follow us on Twitter http://twitter.com/uniofleicester or visit our Facebook page https://facebook.com/UniofLeicester -- Dive into the World of Parallel Programming. The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- Terry Brady Applications Programmer Analyst Georgetown University Library Information Technology https://www.library.georgetown.edu/lit/code 425-298-5498 -- Dive into the World of Parallel Programming. The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
Re: [Dspace-tech] Authorization of DSpace items...
In XMLUI, there is a tool that will let you apply bulk changes to permissions. Administrative - Authorizations - Advanced Authorizations Tool I have only used it a couple of times, but it was very handy when I used it. On Wed, Jan 21, 2015 at 7:41 AM, Layale Bassil l...@aub.edu.lb wrote: Hello All, As far as I know, authorizations in DSpace are usually set for a community, or collection, or even at the item level. If we setup the authorization for a collection, then we load data, all items inherit that setup before loading, and we cannot globally change the authorization for those items. Currently, on the DSpace instance I am working on (version 4.2), all item bitstreams are not accessible by users; however, I need to change the authorization of those bitstreams to be (Anonymous) according to the publication date. How can this be done? Is there any add-on that can help me changing the access authorization of an item bitstream? Or any script to do so on a set of items instead of going at each item? Your help is very much appreciated. Regards. -- New Year. New Location. New Benefits. New Data Center in Ashburn, VA. GigeNET is offering a free month of service with a new server in Ashburn. Choose from 2 high performing configs, both with 100TB of bandwidth. Higher redundancy.Lower latency.Increased capacity.Completely compliant. http://p.sf.net/sfu/gigenet ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- Terry Brady Applications Programmer Analyst Georgetown University Library Information Technology https://www.library.georgetown.edu/lit/code 425-298-5498 -- New Year. New Location. New Benefits. New Data Center in Ashburn, VA. GigeNET is offering a free month of service with a new server in Ashburn. Choose from 2 high performing configs, both with 100TB of bandwidth. Higher redundancy.Lower latency.Increased capacity.Completely compliant. http://p.sf.net/sfu/gigenet___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
[Dspace-tech] Memory Usage Traversing A Very Large Collection via Curation Task
I am experimenting with the Curation System. I have written a task to crawl a collection/community and identify specific items that are exception cases (restricted items, multiple bitstreams, non-standard bitstream type). https://gist.github.com/terrywbrady/24f6ddf24d9026149aff The process is working well for me, but I encounter memory/heap/garbage collection exceptions when I attempt to process my largest collection. That collection contains 150,000 items. I have discovered that I need to crank up the memory and turn on incremental garbage collection in order to get the process to complete. export JAVA_OPTS=-Xmx3000m -Xincgc Since I am simply processing items in a read-only fashion, I am surprised that I have needed these settings in order to process my collection. Can you recommend a more efficient way to traverse the collection and the items? CONTEXT INITIALIZATION I attempted to set the READ_ONLY option to prevent result caching. Context context = new Context(Context.READ_ONLY); ITEM TRAVERSAL ItemIterator iter = ((Collection)dso).getAllItems(); while (iter.hasNext()) { performObject(iter.next()); } iter.close(); ITEM ACCESS CHECK if (!AuthorizeManager.authorizeActionBoolean(context, item, Constants.READ, false)) { BUNDLE/BITSTREAM TRAVERSAL boolean hasAnon = true; for (Bundle bundle : item.getBundles(ORIGINAL)) { for (Bitstream bs : bundle.getBitstreams()) { count++; String type = bs.getFormat().getMIMEType(); if (isStandardMimeType(type)) { } else { errtype = type; unsuppType++; } hasAnon = hasAnon AuthorizeManager.authorizeActionBoolean(context, bs, Constants.READ, false); } } Does this sound like an issue that should be submitted as a bug report? I am running DSpace 4.2. Thanks, Terry -- Terry Brady Applications Programmer Analyst Georgetown University Library Information Technology https://www.library.georgetown.edu/lit/code 425-298-5498 -- Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server from Actuate! Instantly Supercharge Your Business Reports and Dashboards with Interactivity, Sharing, Native Excel Exports, App Integration more Get technology previously reserved for billion-dollar corporations, FREE http://pubads.g.doubleclick.net/gampad/clk?id=164703151iu=/4140/ostg.clktrk___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
Re: [Dspace-tech] Change to input-form.xsl Oddity
I am not familiar with the the initialization of that file, so this recommendation is just a quick guess. When I have run into situations like the one you describe, I presume it is that the caching on my production server is more active than on my test server. If you are running XMLUI, try clearing the cache (Administrative-Control Panel-Java Information-Clear Cache) and see if that helps. Terry On Tue, Dec 16, 2014 at 1:16 PM, Matthew Sherman matt.r.sher...@gmail.com wrote: Hello, I was wondering if anyone else has run into this issue. We made a small customization our input-forms.xsl file for two collections. We uploaded the file in our test environment and it worked great. The changes loaded right away with no need for a restart. Then we adapted it for our production server, there was a collection number difference for one collection. Yet this time it is not recognizing any of the changes we made, it is running like the old version of the file it still there. Refreshing has not helped, and the file is almost exactly the same barring one value and placed in the same spot. We have not restarted the server yet but it worked right away with the test instance, so it is confusing why it is not working in the production server. Has anyone else run into an issue like this, or have any ideas why the file is not playing nicely on the production server? Matt Sherman -- Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server from Actuate! Instantly Supercharge Your Business Reports and Dashboards with Interactivity, Sharing, Native Excel Exports, App Integration more Get technology previously reserved for billion-dollar corporations, FREE http://pubads.g.doubleclick.net/gampad/clk?id=164703151iu=/4140/ostg.clktrk ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- Terry Brady Applications Programmer Analyst Georgetown University Library Information Technology https://www.library.georgetown.edu/lit/code 425-298-5498 -- Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server from Actuate! Instantly Supercharge Your Business Reports and Dashboards with Interactivity, Sharing, Native Excel Exports, App Integration more Get technology previously reserved for billion-dollar corporations, FREE http://pubads.g.doubleclick.net/gampad/clk?id=164703151iu=/4140/ostg.clktrk___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
Re: [Dspace-tech] Queued Curation Tasks
Tim, Thank you. This answered my question. Terry On Thu, Dec 11, 2014 at 1:15 PM, Tim Donohue tdono...@duraspace.org wrote: Hi Terry, The quick answers to your questions are: * Unfortunately, Curation Tasks are still very much an Administrator tool. There's not currently a way to email the result of queued tasks, but that'd make a nice feature (if anyone wanted to volunteer to build it out). Currently, the results of queued Curation tasks are logged in the DSpace logs, or optionally reported back to the commandline/cron output (as you noted) * Unfortunately, as well, there's currently no option for HTML or structured output (XML, JSON, etc) from Curation Tasks. It's merely a plain text report. Again, it might be a nice feature/improvement for some use cases perhaps. Especially a JSON output might be interesting since that'd be easy to transform to HTML (via Javascript) or other formats. Pull requests or ideas are definitely welcome. Curation Tasks are very powerful, but their reporting mechanisms are still rather rudimentary at this time. - Tim On 12/11/2014 2:16 PM, Terry Brady wrote: I am starting to experiment with developing Curation System tasks. I am working on a task that will identify non-standard items within a collection (withdrawn, private, access restriction, no bitstreams, multiple bitstreams). .../dspace/bin/dspace curate -i 10822.1/707103 -t exception -r - TOTAL ITEMS (25) PrivateItem (2) 10822.1/707154 10822.1/707139 WithdrawnItem (2) 10822.1/707155 10822.1/707152 RestrictedAccessItem (2) 10822.1/707155 10822.1/707152 RestrictedAccessBitstream (0) NoOriginalBitstream (4) 10822.1/707157 10822.1/707156 10822.1/707155 10822.1/707154 MultipleOriginalBitstreams (0) UnusualBitstreamType (0) For Curation Tasks that are Queued, is there a standard way to make the curation task output accessible to a user? I presume that the standard approach is to e-mail cron output of the queue processes: .../dspace/bin/dspace curate -q admin_ui -r - Also, is there a mechanism to generate html rather than text from a curation task? Terry -- Terry Brady Applications Programmer Analyst Georgetown University Library Information Technology https://www.library.georgetown.edu/lit/code 425-298-5498 -- Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server from Actuate! Instantly Supercharge Your Business Reports and Dashboards with Interactivity, Sharing, Native Excel Exports, App Integration more Get technology previously reserved for billion-dollar corporations, FREE http://pubads.g.doubleclick.net/gampad/clk?id=164703151; iu=/4140/ostg.clktrk ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+ Etiquette -- Terry Brady Applications Programmer Analyst Georgetown University Library Information Technology https://www.library.georgetown.edu/lit/code 425-298-5498 -- Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server from Actuate! Instantly Supercharge Your Business Reports and Dashboards with Interactivity, Sharing, Native Excel Exports, App Integration more Get technology previously reserved for billion-dollar corporations, FREE http://pubads.g.doubleclick.net/gampad/clk?id=164703151iu=/4140/ostg.clktrk___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
Re: [Dspace-tech] [DSpace-tech]: Configure Discovery Facets problem!
Nada, I have found the facets to be tricky to configure. I have 2 suggestions that might help. 1. You have defined the facet as a SearchFilterFacet. After running a search, are you able to add a filter (from the search filter drop down) based on Type? If you see the filter in the drop down list, does the filter work correctly? If so, you might want to change the fact to a HierarchicalSidebarFacet. This might be required to make the facet appear in the sidebar. bean id=searchFilterType class=org.dspace.discovery.configuration.HierarchicalSidebarFacetConfiguration property name=indexFieldName value=type/ property name=metadataFields list valuedc.type/value /list /property property name=facetLimit value=5/ property name=sortOrder value=COUNT/ property name=splitter value=::/ /bean 2. When you added searchFilterType to sidebarFacets and to searchFilters, did you apply the setting across your entire repository, or did you apply it to a specific collection or community? Facet definitions do not inherit from the community/collection hierarchy as themes inherit. Good luck, Terry On Wed, Dec 10, 2014 at 2:30 AM, Nada Abo-Eita naboeit...@gmail.com wrote: Dear DSpace community, I am trying to add Item type (dc.type) to be one of the discover sidebar facets and search filters. So far I did the following: 1- Edit discovery.xml by adding ref bean=searchFilterType / to both *sidebar facets* and *search filters*. I did that under the default configuration and homepage specific configuration for discovery. 2- Also I define the search filter bean in discovery.xml bean id=searchFilterType class=org.dspace.discovery.configuration.DiscoverySearchFilterFacet property name=indexFieldName value=type/ property name=metadataFields list valuedc.type/value /list /property property name=facetLimit value=10/ property name=sortOrder value=COUNT/ /bean 3- add webui.browse.index.5=type:metadata:dc.type:text to dspace.cfg file. 4- Edit the* /webapps/xmlui/WEB-INF/classes/aspects/Discovery/i18n/messages.xml,* by adding: message key=xmlui.ArtifactBrowser.SimpleSearch.filter.typeType/message message key=xmlui.ArtifactBrowser.SimpleSearch.filter.type_filterType/message 5- Then clear cocoon cache, restart tomcat and run ./dspace index-discovery -b. After doing above steps, TYPE option appears only in the browse by navigation, but It doesn't appear as a discover sidebar facets/search filters. Can you help me figuring out What missing here? Regards, Nada Abo-Eita -- Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server from Actuate! Instantly Supercharge Your Business Reports and Dashboards with Interactivity, Sharing, Native Excel Exports, App Integration more Get technology previously reserved for billion-dollar corporations, FREE http://pubads.g.doubleclick.net/gampad/clk?id=164703151iu=/4140/ostg.clktrk ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- Terry Brady Applications Programmer Analyst Georgetown University Library Information Technology https://www.library.georgetown.edu/lit/code 425-298-5498 -- Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server from Actuate! Instantly Supercharge Your Business Reports and Dashboards with Interactivity, Sharing, Native Excel Exports, App Integration more Get technology previously reserved for billion-dollar corporations, FREE http://pubads.g.doubleclick.net/gampad/clk?id=164703151iu=/4140/ostg.clktrk___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
[Dspace-tech] Queued Curation Tasks
I am starting to experiment with developing Curation System tasks. I am working on a task that will identify non-standard items within a collection (withdrawn, private, access restriction, no bitstreams, multiple bitstreams). .../dspace/bin/dspace curate -i 10822.1/707103 -t exception -r - TOTAL ITEMS (25) PrivateItem (2) 10822.1/707154 10822.1/707139 WithdrawnItem (2) 10822.1/707155 10822.1/707152 RestrictedAccessItem (2) 10822.1/707155 10822.1/707152 RestrictedAccessBitstream (0) NoOriginalBitstream (4) 10822.1/707157 10822.1/707156 10822.1/707155 10822.1/707154 MultipleOriginalBitstreams (0) UnusualBitstreamType (0) For Curation Tasks that are Queued, is there a standard way to make the curation task output accessible to a user? I presume that the standard approach is to e-mail cron output of the queue processes: .../dspace/bin/dspace curate -q admin_ui -r - Also, is there a mechanism to generate html rather than text from a curation task? Terry -- Terry Brady Applications Programmer Analyst Georgetown University Library Information Technology https://www.library.georgetown.edu/lit/code 425-298-5498 -- Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server from Actuate! Instantly Supercharge Your Business Reports and Dashboards with Interactivity, Sharing, Native Excel Exports, App Integration more Get technology previously reserved for billion-dollar corporations, FREE http://pubads.g.doubleclick.net/gampad/clk?id=164703151iu=/4140/ostg.clktrk___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
Re: [Dspace-tech] Query to get ID of thumbnail of primary bitstream
The following query might help. I use this to generate thumbnail links in a PHP report tool. This assumes you have already queried an item from table item i. You would need additional logic to extract the primary bitstream. select array_to_string(array_agg(text('{$handleContext}/bitstream/id/' || bit.bitstream_id || '/' || bit.name)), 'hr/') from bitstream bit inner join bundle2bitstream b2b on b2b.bitstream_id = bit.bitstream_id inner join bundle b on b2b.bundle_id = b.bundle_id and b.name = 'THUMBNAIL' inner join item2bundle i2b on i2b.bundle_id = b.bundle_id and i2b.item_id=i.item_id https://github.com/Georgetown-University-Libraries/batch-tools/blob/master/web/query/auxFields.php#L38-L49 Terry On Wed, Dec 10, 2014 at 9:11 AM, Mark Ehle marke...@gmail.com wrote: Folks - I am in need of a way to query postgres in Dspace to give me the ID of the primary bitstream's thumbnail ID. I am able to get the primary bitstream ID from the handle (thanks to helix84 http://dspace.2283337.n4.nabble.com/template/NamlServlet.jtp?macro=user_nodesuser=211466, http://dspace.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 BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server from Actuate! Instantly Supercharge Your Business Reports and Dashboards with Interactivity, Sharing, Native Excel Exports, App Integration more Get technology previously reserved for billion-dollar corporations, FREE http://pubads.g.doubleclick.net/gampad/clk?id=164703151iu=/4140/ostg.clktrk ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- Terry Brady Applications Programmer Analyst Georgetown University Library Information Technology https://www.library.georgetown.edu/lit/code 425-298-5498 -- Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server from Actuate! Instantly Supercharge Your Business Reports and Dashboards with Interactivity, Sharing, Native Excel Exports, App Integration more Get technology previously reserved for billion-dollar corporations, FREE http://pubads.g.doubleclick.net/gampad/clk?id=164703151iu=/4140/ostg.clktrk___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
Re: [Dspace-tech] Recent Submissions Customization
Assuming you are using XMLUI, this might help. Look at dspace-xmlui/src/main/webapp/theses/dri2xhtml/structural.xsl for the handling of dri:referenceSet. You will want to clone templates from this file into your theme xsl. If you want to apply this change to search results AND to recent items, you can clone the template with a mode of summaryView and apply your changes. If your override will apply only to recent items, you will need to create a custom version of the template with a mode of summaryViewRecent to apply only to your recent items. You will then need to write a custom template match to catch the referenceSet of recent items recent items: dri:referenceSet[@rend='recent-submissions'] Terry On Fri, Dec 5, 2014 at 7:31 AM, bender bender.bending.1...@gmail.com wrote: Hi. We're using Dspace 3.2 and the theme is Reference . We want to change the way the recent submissions are displayed at the front page. As an example, change the document thumbnail to the left side: [image: Imágenes integradas 1] Does anyone know which files should I edit to do this little change? Thanks in advance, Bender -- Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server from Actuate! Instantly Supercharge Your Business Reports and Dashboards with Interactivity, Sharing, Native Excel Exports, App Integration more Get technology previously reserved for billion-dollar corporations, FREE http://pubads.g.doubleclick.net/gampad/clk?id=164703151iu=/4140/ostg.clktrk ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- Terry Brady Applications Programmer Analyst Georgetown University Library Information Technology https://www.library.georgetown.edu/lit/code 425-298-5498 -- Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server from Actuate! Instantly Supercharge Your Business Reports and Dashboards with Interactivity, Sharing, Native Excel Exports, App Integration more Get technology previously reserved for billion-dollar corporations, FREE http://pubads.g.doubleclick.net/gampad/clk?id=164703151iu=/4140/ostg.clktrk___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
Re: [Dspace-tech] Inconsistent text_lang on metadatavalue fields
I am still looking for insight on this question. I have posted this question to Stack Overflow. https://stackoverflow.com/questions/27277594/dspace-how-does-text-lang-get-set-during-item-submission I appreciate any insight you can offer. Terry On Fri, Nov 21, 2014 at 7:31 PM, Terry Brady terry.br...@georgetown.edu wrote: Over time, we have noticed that the text_lang column of the metadatavalues table has become inconsistent. We have entries with each of the following values for data entered in english. - en_US - en - blank - null These inconsistencies become problematic when we perform batch metadata edits. I am working on an effort to normalize these values. As a test, I created a new submission and populated a value into every field on the item submission screen. When the submission was completed, I ended up with the following results. - Most entries had a lang of en - dc.date.* entries had a null value - This applied to user-generated and system-generated dates - most dc.identifer.uri entries had a null value - dc.identifier.bibliographicCitation was set to en - dc.relation.ispartofseries had a null value - dc.relation.uri was set to en Is there a property in one of the item submission workflows that controls how the text_lang column is set? -- Terry Brady Applications Programmer Analyst Georgetown University Library Information Technology https://www.library.georgetown.edu/lit/code 425-298-5498 -- Terry Brady Applications Programmer Analyst Georgetown University Library Information Technology https://www.library.georgetown.edu/lit/code 425-298-5498 -- Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server from Actuate! Instantly Supercharge Your Business Reports and Dashboards with Interactivity, Sharing, Native Excel Exports, App Integration more Get technology previously reserved for billion-dollar corporations, FREE http://pubads.g.doubleclick.net/gampad/clk?id=164703151iu=/4140/ostg.clktrk___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
Re: [Dspace-tech] Database Query: list of Communities, Collections and Items
Try the following... select c2c.community_id, cmh.handle, i.owning_collection, ch.handle chandle, i.item_id, ih.handle ihandle from item i inner join handle ch on ch.resource_id=i.owning_collection and ch.resource_type_id=3 inner join handle ih on ih.resource_id = i.item_id and ih.resource_type_id = 2 inner join community2collection c2c on c2c.collection_id = i.owning_collection inner join handle cmh on cmh.resource_id = c2c.community_id and cmh.resource_type_id = 4 On Tue, Dec 2, 2014 at 12:32 PM, bender bender.bending.1...@gmail.com wrote: Hi, I need to obtain report with a complete list of the Communities with their respective Handle number, and for each Community I need a list of their Collections, with their respective Handle number, and for each Collection I need a list of their Items, with their respective Handle number. Ej: Community 1, 123456789/1 - Collection 1, 123456789/3 - Item 1, 123456789/40 - Item 2, 123456789/41 - ... - Collection 2, 123456789/4 - Item 3, 123456789/43 - Item 4, 123456789/44 - ... - Community 2, 123456789/2 - Collection 1, 123456789/10 - Item 5, 123456789/45 - Item 6, 123456789/46 - ... - Collection 2, 123456789/11 - Item 1, 123456789/47 - Item 2, 123456789/48 - ... - I understand this is only possible with a direct Query to the database. I've reviewed the ER database model, but I've difficulties to figure out how to design the query. I'm not an expert and need to get this report as soon as possible. Can anyone help me? Thanks in advance. Bender -- Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server from Actuate! Instantly Supercharge Your Business Reports and Dashboards with Interactivity, Sharing, Native Excel Exports, App Integration more Get technology previously reserved for billion-dollar corporations, FREE http://pubads.g.doubleclick.net/gampad/clk?id=164703151iu=/4140/ostg.clktrk ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- Terry Brady Applications Programmer Analyst Georgetown University Library Information Technology https://www.library.georgetown.edu/lit/code 425-298-5498 -- Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server from Actuate! Instantly Supercharge Your Business Reports and Dashboards with Interactivity, Sharing, Native Excel Exports, App Integration more Get technology previously reserved for billion-dollar corporations, FREE http://pubads.g.doubleclick.net/gampad/clk?id=164703151iu=/4140/ostg.clktrk___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
Re: [Dspace-tech] How to develop manually for importing an item to collection
I included an echo of the my dspace import parameters. I did not include dspace in the echo. In your contents file, try using bundle:ORIGINAL instead of Bundle: ORIGINAL. Terry On Tue, Dec 2, 2014 at 8:58 AM, P.Hadadan (NW) p.hada...@notionwave.com wrote: Dears, Unfortunately I can’t import any Item L. After unsuccessful importing, I do linux Dspace (ubuntu 14.04 LTS,Postgre) fresh installation and try it. Command: /dspace/bin/dspace import -a -e knitosp...@gmail.com -c 123456789/8826 -s /home/administrator/dspace-ingest -m /home/administrator/dspace-ingest/Importlog Log: Destination collections: Owning Collection: import collection Adding items from directory: /home/administrator/dspace-ingest Generating mapfile: /home/administrator/dspace-ingest/Importlog Started: 1417525165741 Ended: 1417525165941 Elapsed time: 0 secs (200 msecs) The line after Generating mapfile… did not appear ! mapfile also is empty (size:0). The importing folder attached. Terry, Your command did not start by dspace why? What is your dspace version? I use dspace-4.2-src-release. How to develop manually for importing an item to collection? *From:* Terry Brady [mailto:terry.br...@georgetown.edu] *Sent:* Wednesday, November 26, 2014 7:44 PM *To:* P.Hadadan (NW) *Subject:* Re: [Dspace-tech] Importing command did not work Here are my results (excluding PubMed metadata). Since I do not have the PubMed schema registered, I could not load that file. I believe you will want to name it metadata_PubMed.xml. Command: import -a -e terry.br...@georgetown.edu -c 10822.1/707103 -s /var/data/dspace/dspace-ingest/article3 -m /var/www/batch-tools/mapfile/20141125_12.22.51 Destination collections: Owning Collection: 2014 October Terry Adding items from directory: /var/data/dspace/dspace-ingest/article3 Generating mapfile: /var/www/batch-tools/mapfile/20141125_12.22.51 Adding item from directory article Loading dublin core from /var/data/dspace/dspace-ingest/article3/article/dublin_core.xml Schema: dc Element: title Qualifier: none Value: Amirkabir International Journal of Electrical _ Electronics Engineering Schema: dc Element: date Qualifier: issued Value: 2009 Processing contents file: /var/data/dspace/dspace-ingest/article3/article/contents Bitstream: A Fast Localization and Feature Extract_.pdf Bundle: ORIGINAL Bitstream: A Fast Localization and Feature Extract_.xml Bundle: ORIGINAL Processing handle file: handle It appears there is no handle file -- generating one 0 article Here is my ingest folder structure... [dspace@dspace-dev-1 ~]$ find /var/data/dspace/dspace-ingest/article3 -type f -p rint /var/data/dspace/dspace-ingest/article3/article/A Fast Localization and Feature Extract_.pdf /var/data/dspace/dspace-ingest/article3/article/A Fast Localization and Feature Extract_.xml /var/data/dspace/dspace-ingest/article3/article/contents /var/data/dspace/dspace-ingest/article3/article/dublin_core.xml I hope this helps. Once you get one item to load, the rest are very easy! Terry On Wed, Nov 26, 2014 at 6:09 AM, P.Hadadan (NW) p.hada...@notionwave.com wrote: By following this step, unfortunately my problem did not solved. Mapfile also is empty. I work on Dspace version 4.2 . how to resolve problem without any log? Requires certain settings? Are you using below command? dspace import --add --eperson=a...@b.com --collection=123456789/74 --source=c:\Temp\article --mapfile=c:\Impoort the metadata_[PubMed].xml file contain metadata base on registered schema ( http://www.ncbi.nlm.nih.gov/corehtml/query/static/PubMed.dtd) for concurrent importing, not for add to repository.My reference is https://wiki.duraspace.org/display/DSDOC4x/Importing+and+Exporting+Items+via+Simple+Archive+Format *From:* Terry Brady [mailto:terry.br...@georgetown.edu] *Sent:* Tuesday, November 25, 2014 9:00 PM *To:* P.Hadadan (NW); dspace-tech@lists.sourceforge.net *Subject:* Re: [Dspace-tech] Importing command did not work I realized that I did not CC the list on my last reply. I am including the list. Looking at your sample zip file, I was able to add the item to my test repository by making the following changes. 1. rename contents.txt to contents 2. for each line in the contents file, add tabbundle:ORIGINAL 3. Make sure that you upload the items in a containing folder (one folder per item to be added) 4. Eliminate the metadata_[PubMed].xml file unless you intend to add it to the repository (in which case you will need to add it to contents) A Fast Localization and Feature Extract_.pdf bundle:ORIGINAL A Fast Localization and Feature Extract_.xml bundle:ORIGINAL Terry On Tue, Nov 25, 2014 at 5:29 AM, P.Hadadan (NW) p.hada...@notionwave.com wrote: Dear Terry, Thanks in advance, My source folder
Re: [Dspace-tech] Importing command did not work
I realized that I did not CC the list on my last reply. I am including the list. Looking at your sample zip file, I was able to add the item to my test repository by making the following changes. 1. rename contents.txt to contents 2. for each line in the contents file, add tabbundle:ORIGINAL 3. Make sure that you upload the items in a containing folder (one folder per item to be added) 4. Eliminate the metadata_[PubMed].xml file unless you intend to add it to the repository (in which case you will need to add it to contents) A Fast Localization and Feature Extract_.pdf bundle:ORIGINAL A Fast Localization and Feature Extract_.xml bundle:ORIGINAL Terry On Tue, Nov 25, 2014 at 5:29 AM, P.Hadadan (NW) p.hada...@notionwave.com wrote: Dear Terry, Thanks in advance, My source folder attached. I use below command in command line: “dspace import --add --eperson=a...@b.com --collection=123456789/74 --source=c:\Temp\article\ --mapfile=c:\Impoort.txt” *From:* Terry Brady [mailto:terry.br...@georgetown.edu] *Sent:* Monday, November 24, 2014 10:16 PM *To:* P.Hadadan (NW) *Subject:* Re: [Dspace-tech] Importing command did not work What are the contents of your source folder? Do you intend to add the XML file you described as a bitstream or is it intended to be item metadata? I have typically used this command to import an image file or pdf with accompanying dublin core metadata. In those instances, my ingest folder contains a contents file and a dublin_core.xml file along with the image/pdf. On Sun, Nov 23, 2014 at 3:57 AM, P.Hadadan (NW) p.hada...@notionwave.com wrote: Dear All, “dspace import --add --eperson=a...@b.com --collection=123456789/74 --source=c:\Temp\article\ --mapfile=c:\Impoort” I use this command for importing an Item to Dspace, but without any error Item did not import, also mapfile is empty. Item is a xml file contain : ?xml version=1.0 encoding=UTF-8?!DOCTYPE ArticleSet PUBLIC -//NLM//DTD PubMed 2.6//EN http://www.ncbi.nlm.nih.gov/corehtml/query/static/PubMed.dtd; Article Journal PublisherNameUniversity of Technology/PublisherName JournalTitle Journal of Electrical amp; Electronics Engineering/JournalTitle Issn/ Volume41/Volume Issue1/Issue PubDate PubStatus=epublish Year2009/Year Month04/Month Day01/Day /PubDate /Journal ArticleTitleA Fast Localization and Feature Extraction Method Based on Wavelet Transform in Iris Recognition/ArticleTitleFirstPage LZero=delete55/FirstPage LastPage62/LastPage Languageen/Language AuthorList Author FirstName EmptyYN=NSamira /FirstName LastNameKooshkestanii/LastName Affiliation/ /Author Author FirstName EmptyYN=NHamed /FirstName LastNameSadjediii/LastName Affiliation/ /Author Author FirstName EmptyYN=NMohammad /FirstName LastNamePooyaniii/LastName Affiliation/ /Author /AuthorList History PubDate PubStatus=received Year2014/Year Month03/Month Day17/Day /PubDate /History Abstract![CDATA[With an increasing emphasis on security, automated personal identification based on biometrics has been receiving extensive attention. Iris recognition, as an emerging biometric recognition approach.]]/Abstract ObjectList Object Type=keyword Param Name=valueBiometrics/Param /Object Object Type=keyword Param Name=valueiris recognition/Param /Object Object Type=keyword Param Name=valuelocalizing/Param /Object Object Type=keyword Param Name=valuefeature extraction/Param /Object /ObjectListArchiveCopySource DocType
[Dspace-tech] Inconsistent text_lang on metadatavalue fields
Over time, we have noticed that the text_lang column of the metadatavalues table has become inconsistent. We have entries with each of the following values for data entered in english. - en_US - en - blank - null These inconsistencies become problematic when we perform batch metadata edits. I am working on an effort to normalize these values. As a test, I created a new submission and populated a value into every field on the item submission screen. When the submission was completed, I ended up with the following results. - Most entries had a lang of en - dc.date.* entries had a null value - This applied to user-generated and system-generated dates - most dc.identifer.uri entries had a null value - dc.identifier.bibliographicCitation was set to en - dc.relation.ispartofseries had a null value - dc.relation.uri was set to en Is there a property in one of the item submission workflows that controls how the text_lang column is set? -- Terry Brady Applications Programmer Analyst Georgetown University Library Information Technology https://www.library.georgetown.edu/lit/code 425-298-5498 -- Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server from Actuate! Instantly Supercharge Your Business Reports and Dashboards with Interactivity, Sharing, Native Excel Exports, App Integration more Get technology previously reserved for billion-dollar corporations, FREE http://pubads.g.doubleclick.net/gampad/clk?id=157005751iu=/4140/ostg.clktrk___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
Re: [Dspace-tech] Problem attempting to migrate from DSpace 1.8 directly to 4.1
) at org.dspace.statistics.SolrLogger.reindexBitstreamHits(SolrLogger.java:1482) at org.dspace.statistics.util.StatisticsClient.main(StatisticsClient.java:97) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.dspace.app.launcher.ScriptLauncher.runOneCommand(ScriptLauncher.java:225) at org.dspace.app.launcher.ScriptLauncher.main(ScriptLauncher.java:77) This error message does not occur if I run “dspace stats-util -b” on our DSpace 1.8 server. ——— A summary of the steps that I’m taking are: 1. Copying across /usr/local/dspace/solr/statistics/data to the new server. 2. Doing a rsync of the asset store: rsync -av --exclude=.snapshot --exclude=log /usr/local/dspace/assetstore/ newserver:/usr/local/dspace/assetstore/ 3. Exporting / importing the PSQL database from the old to new server. 4. Applying DB schema database_schema_18-3.sql followed by database_schema_3-4.sql 5. Running /usr/local/dspace/bin/dspace checker -l -p 6. Starting tomcat on the new server and running: /usr/local/dspace/bin/dspace index-discovery Then I'm attempting to run /usr/local/dspace/bin/dspace stats-util -b which is when the error message occurs. After Step 6, I have also tried: /usr/local/dspace/bin/dspace stats-util -o /usr/local/dspace/bin/dspace stat-general /usr/local/dspace/bin/dspace stat-initial but am still running into the above error message upon running “stats-util -b”. If anyone could assist me with this it would be appreciated. With Thanks, Patrick Rynhart -- HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions Find What Matters Most in Your Big Data with HPCC Systems Open Source. Fast. Scalable. Simple. Ideal for Dirty Data. Leverages Graph Analysis for Fast Processing Easy Data Exploration http://p.sf.net/sfu/hpccsystems -- HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions Find What Matters Most in Your Big Data with HPCC Systems Open Source. Fast. Scalable. Simple. Ideal for Dirty Data. Leverages Graph Analysis for Fast Processing Easy Data Exploration http://p.sf.net/sfu/hpccsystems ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- Want excitement? Manually upgrade your production database. When you want reliability, choose Perforce Perforce version control. Predictably reliable. http://pubads.g.doubleclick.net/gampad/clk?id=157508191iu=/4140/ostg.clktrk ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- Terry Brady Applications Programmer Analyst Georgetown University Library Information Technology https://www.library.georgetown.edu/lit/code 425-298-5498 -- ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
[Dspace-tech] OAI Harvesting of Collection Containing Withdrawn Items
I am encountering an error in DSpace 3 and DSpace 4 code when I attempt to harvest a collection containing a withdrawn item. I have started my investigation, and I am curious to understand the intention of this query https://github.com/DSpace/DSpace/blob/dspace-4_x/dspace-oai/src/main/java/org/dspace/xoai/data/DSpaceItemDatabaseRepository.java#L227-L231 Can you explain the purpose of the following test of withdrawn=TRUE? public ListItemIdentifiersResult getItemIdentifiers( ListFilter filters, int offset, int length) { ListObject parameters = new ArrayListObject(); ListObject countParameters = new ArrayListObject(); String query = SELECT i.* FROM item i ; String countQuery = SELECT COUNT(*) as count FROM item i; ListString whereCond = new ArrayListString(); for (Filter filter : filters) { if (filter.getFilter() instanceof DSpaceFilter) { DSpaceFilter dspaceFilter = (DSpaceFilter) filter.getFilter(); DatabaseFilterResult result = dspaceFilter.getWhere(_context); if (result.hasResult()) { if (filter.getScope() == FilterScope.MetadataFormat) whereCond.add((i.withdrawn=TRUE OR ( + result.getWhere() + ))); else whereCond.add(( + result.getWhere() + )); parameters.addAll(result.getParameters()); countParameters.addAll(result.getParameters()); } } } -- Terry Brady Applications Programmer Analyst Georgetown University Library Information Technology https://www.library.georgetown.edu/lit/code 425-298-5498 -- Comprehensive Server Monitoring with Site24x7. Monitor 10 servers for $9/Month. Get alerted through email, SMS, voice calls or mobile push notifications. Take corrective actions from your mobile device. http://p.sf.net/sfu/Zoho___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
Re: [Dspace-tech] Moving items from one Collection to another
Fyi... The batch metadata editing function will allow you to update the owning collection for an item in a controlled manner. https://wiki.duraspace.org/display/DSDOC3x/Batch+Metadata+Editing See Editing Collection Membership On Tue, Sep 23, 2014 at 1:05 AM, Hilton Gibson hilton.gib...@gmail.com wrote: Created wiki page: http://wiki.lib.sun.ac.za/index.php/SUNScholar/SQL_Tips for future reference. *Hilton Gibson* Ubuntu Linux Systems Administrator JS Gericke Library Room 1025C Stellenbosch University Private Bag X5036 Stellenbosch 7599 South Africa Tel: +27 21 808 4100 | Cell: +27 84 646 4758 On 23 September 2014 09:46, amutsik...@uzlib.uz.ac.zw wrote: Thank you very much for the information. -Original Message- From: Keir Vaughan-Taylor [mailto:kei...@optusnet.com.au] Sent: Tuesday, September 23, 2014 1:49 AM To: amutsik...@uzlib.uz.ac.zw Cc: dspace-tech@lists.sourceforge.net Subject: Re: [Dspace-tech] Moving items from one Collection to another # Use psql commands to # move one collection into another # where collection defined by its ID #Adjust the two totals for each collection. #Find the collection id for the two collections. #In this example moving items from 7 to 2 update collection2item set collection_id='2' where collection_id='7'; update collection_item_count set count='0' where collection_id='7'; # change the new collection ID over to the existing collection update item set owning_collection='2' where owning_collection='7'; # run /data/dspace/bin/dspace itemcounter On Mon, 2014-09-22 at 15:28 +0200, amutsik...@uzlib.uz.ac.zw wrote: Hi I am interested in the sql statement that will enable me to move a number of items from one collection to another. Kind Regards, Admire Mutsikiwa ICT Projects Manager Libraries University of Zimbabwe Tel:+263-4-303276 “It is easy to dodge our responsibilities, but we cannot dodge the consequences of dodging our responsibilities.” Josiah Charles Stamp, 1880-1941, former director of the Bank of England -- Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer http://pubads.g.doubleclick.net/gampad/clk?id=154622311iu=/4140/ostg. clktrk ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer http://pubads.g.doubleclick.net/gampad/clk?id=154622311iu=/4140/ostg.clktrk ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer http://pubads.g.doubleclick.net/gampad/clk?id=154622311iu=/4140/ostg.clktrk ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- Terry Brady Applications Programmer Analyst Georgetown University Library Information Technology https://www.library.georgetown.edu/lit/code 425-298-5498 -- Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer http://pubads.g.doubleclick.net/gampad/clk?id=154622311iu=/4140/ostg.clktrk___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE
Re: [Dspace-tech] Extract (Unnecessary) metadata with Harvested Items
Hayden, I have never tried to modify that function. I took a quick peek at the config files, and I do not see a setting that controls this behavior. I did a quick code search, and I think that the following code might be introducing the fields that you reference. https://github.com/DSpace/DSpace/blob/master/dspace-oai/src/main/java/org/dspace/xoai/util/ItemUtils.java#L233-L242 Terry On Mon, Sep 15, 2014 at 8:39 AM, Hayden Young haydenyo...@wijiti.com wrote: When I harvest from another DSpace instance I am getting additional metadata information attached to the item. These include dc.date.updated, dc.identifier, etc. Is it possible to configure the harvester to not add these extra metadata values? Cheers Hayden -- Want excitement? Manually upgrade your production database. When you want reliability, choose Perforce Perforce version control. Predictably reliable. http://pubads.g.doubleclick.net/gampad/clk?id=157508191iu=/4140/ostg.clktrk ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- Terry Brady Applications Programmer Analyst Georgetown University Library Information Technology https://www.library.georgetown.edu/lit/code 425-298-5498 -- Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer http://pubads.g.doubleclick.net/gampad/clk?id=154622311iu=/4140/ostg.clktrk___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
Re: [Dspace-tech] DSPACE: (discovery) Is it possible to show a specific sidebarFacets for a specific collection?
Your approach should work. After making the change, did you restart DSpace and rebuild your discovery index? Once you are able to see the new facets, you will also need to update your messages.xml with the name of your facet. message key=xmlui.Discovery.AbstractSearch.type_descriptionJournal /message message key=xmlui.ArtifactBrowser.AdvancedSearch.type_ descriptionJournal/message message key=xmlui.ArtifactBrowser.SimpleSearch.filter. descriptionJournal/message Terry On Wed, Sep 3, 2014 at 11:49 AM, Johanne Crête johanne.cr...@usherbrooke.ca wrote: I am using DSpace 4.1 and I want to show a specific sidebarFacets for a specific collection. I try to do this by adding a new org.dspace.discovery.configuration.DiscoveryConfiguration in discovery.xml. And a new entry key for the specific collection. But, I don't see this sidebarFacets. There is another solution to do this? DISCOVERY.XML -- bean id=org.dspace.discovery.configuration.DiscoveryConfigurationService class=org.dspace.discovery.configuration.DiscoveryConfigurationService property name=map map !--The map containing all the settings, the key is used to refer to the page (the site or a community/collection handle) the value-ref is a reference to an identifier of the DiscoveryConfiguration format -- !--The default entry, DO NOT REMOVE the system requires this-- entry key=default value-ref=defaultConfiguration / !--Use site to override the default configuration for the home page default discovery page-- entry key=site value-ref=homepageConfiguration / entry key=11143/5375 value-ref=EdusConfiguration/ /map …. bean id=EdusConfiguration class=org.dspace.discovery.configuration.DiscoveryConfiguration scope=prototype !--Which sidebar facets are to be displayed-- property name=sidebarFacets list ref bean=searchFilterAuthor / ref bean=searchFilterSubject / ref bean=searchFilterIssued / ref bean=searchFilterType / ref bean=searchFilterDescriptionJournal / /list /property !--The search filters which can be used on the discovery search page-- property name=searchFilters list ref bean=searchFilterTitle / ref bean=searchFilterAuthor / ref bean=searchFilterSubject / ref bean=searchFilterIssued / ref bean=searchFilterType / ref bean=searchFilterDescriptionJournal / /list /property …. bean id=searchFilterDescriptionJournal class=org.dspace.discovery.configuration.DiscoverySearchFilterFacet property name=indexFieldName value=descriptionJournal/ property name=metadataFields list valuedc.description.journal/value /list /property property name=facetLimit value=10/ property name=sortOrder value=COUNT/ property name=type value=text/ /bean ... -- Slashdot TV. Video for Nerds. Stuff that matters. http://tv.slashdot.org/ ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- Terry Brady Applications Programmer Analyst Georgetown University Library Information Technology https://www.library.georgetown.edu/lit/code 425-298-5498 -- Slashdot TV. Video for Nerds. Stuff that matters. http://tv.slashdot.org/___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
Re: [Dspace-tech] Question about includerestricted.oai = false
David, I have seen this issue as well. Here are a couple links that might be helpful. https://jira.duraspace.org/browse/DS-1856 The following thread contains a fix. http://sourceforge.net/p/dspace/mailman/message/30190859/ I have also submitted a bug report related to sitemaps. Restricted item links can appear in a sitemap. https://jira.duraspace.org/browse/DS-2028 Terry On Fri, Aug 22, 2014 at 6:17 AM, Schuster, David dschus...@mail.twu.edu wrote: I found this page and it refers to XMLUI and JPSUI but version 1.6: https://wiki.duraspace.org/display/DSPACE/Hide+Community+or+Collection+from+list I am currently on 4.x and I have a collection read set to a specific group not Anonymous, but those items in the collection are still showing in scholar.google.com Other than going through and setting restrictions on each item is there a way to make OAI ignore this collection? I’m still learning the intricacies of all the “policies” settings and how they interact with item level access. If someone else is on 4.x and has this working I would love to have a discussion about how you made this work. I have thousands of Marketing Photos they want loaded, but with campus only access. I have the UI in Dspace working it’s the external Google and OAI access that I’m trying to figure out now how to restrict.(I know it is counter intuitive when dealing with open access, but we have to take baby steps when introducing an IR and getting buy in across campus.) David Schuster Texas Woman's University Director of Library Information Technology Technical Support Phone: 940-898-3909 dschus...@twu.edu [image: Description: emailsignature] -- Slashdot TV. Video for Nerds. Stuff that matters. http://tv.slashdot.org/ ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- Terry Brady Applications Programmer Analyst Georgetown University Library Information Technology https://www.library.georgetown.edu/lit/code 425-298-5498 -- Slashdot TV. Video for Nerds. Stuff that matters. http://tv.slashdot.org/___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
Re: [Dspace-tech] Running filter-media in DSpace 4
Per discussion in the DSpace Tech channel, I submitted this as a bug. https://jira.duraspace.org/browse/DS-2111 On Tue, Aug 19, 2014 at 10:31 AM, Terry Brady terry.br...@georgetown.edu wrote: I am in the process of upgrading to DSpace 4.x. Based on the following page https://wiki.duraspace.org/display/DSDOC4x/Legacy+methods+for+re-indexing+content, I presume that I will no longer need to keep the Lucene index updated. In my testing, it appears that the Lucene index is updated by default when running filter-media. After upgrading to DSpace 4, should I always run filter-media with the -n option, or is there still a system dependency that reads from the search index? Thanks, Terry -- Terry Brady Applications Programmer Analyst Georgetown University Library Information Technology https://www.library.georgetown.edu/lit/code 425-298-5498 -- Terry Brady Applications Programmer Analyst Georgetown University Library Information Technology https://www.library.georgetown.edu/lit/code 425-298-5498 -- Slashdot TV. Video for Nerds. Stuff that matters. http://tv.slashdot.org/___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
Re: [Dspace-tech] More Like This - Only Show Items with Anonymous Access
I am still looking for some advice on this question. I appreciate any advice that you can offer. The MoreLikeThis feature will return items that are inaccessible to anonymous users. Has anyone else encountered this issue? If I have an instance of a DSpaceItem, what methods can I call to determine if that object is accessible to anonymous users? Thanks, Terry On Wed, Aug 6, 2014 at 3:48 PM, Terry Brady terry.br...@georgetown.edu wrote: I would like to restrict MoreLikeThis results to only include items with anonymous access. In order to do this, I believe that I will need to modify org.dspace.discovery.SolrServiceImpl.getRelatedItems() I have attempted to supply additional parameters to the solr query to return only items with a read group of g0, but I have not had success. As a secondary option, I would like to check the accessibility of results. NamedList mltResults = (NamedList) rsp.getResponse().get(moreLikeThis); if(mltResults != null mltResults.get(item.getType() + - + item.getID()) != null) { SolrDocumentList relatedDocs = (SolrDocumentList) mltResults.get(item.getType() + - + item.getID()); for (Object relatedDoc : relatedDocs) { SolrDocument relatedDocument = (SolrDocument) relatedDoc; DSpaceObject relatedItem = findDSpaceObject(context, relatedDocument); if (relatedItem.getType() == Constants.ITEM) { results.add((Item) relatedItem); } } } What is the proper way to check if a DSpace Item is accessible to anonymous? -- Terry Brady Applications Programmer Analyst Georgetown University Library Information Technology https://www.library.georgetown.edu/lit/code 425-298-5498 -- Terry Brady Applications Programmer Analyst Georgetown University Library Information Technology https://www.library.georgetown.edu/lit/code 425-298-5498 -- ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
Re: [Dspace-tech] More Like This - Only Show Items with Anonymous Access
Brian, Thank you. The code that you referenced seems to have solved my problem. Terry On Mon, Aug 11, 2014 at 11:09 AM, Brian Freels-Stendel bfre...@unm.edu wrote: Hi Terry, I’m sorry, I wasn’t clear. I was thinking that you could use one of those settings as a sort of template to inform you how to exclude those items from the More Like This list. For example, check [dspace-src]/dspace-xmlui/src/main/java/org/dspace/app/xmlui/cocoon/DSpaceFeedGenerator.java at line 294, ‘if (!includeRestrictedItems)’. B-- *From:* Terry Brady [mailto:terry.br...@georgetown.edu] *Sent:* Monday, August 11, 2014 12:00 PM *To:* Brian Freels-Stendel *Subject:* Re: [Dspace-tech] More Like This - Only Show Items with Anonymous Access Brian, thanks for the note. I double-checked these settings and I have those properties set as you recommend. harvest.includerestricted.rss = false harvest.includerestricted.oai = false harvest.includerestricted.subscription = false Thanks, Terry On Mon, Aug 11, 2014 at 10:43 AM, Brian Freels-Stendel bfre...@unm.edu wrote: Hi Terry, I’m wondering if you might be able to use the “Restricted item visibility settings” as a guide. In dspace.cfg, there are three things that cut those items out of results: harvest.includerestricted.rss = false harvest.includerestricted.oai = false harvest.includerestricted.subscription = false Searching on ‘includerestricted’ will show how/where it’s being done for those services. B-- *From:* Terry Brady [mailto:terry.br...@georgetown.edu] *Sent:* Monday, August 11, 2014 11:07 AM *To:* dspace-tech@lists.sourceforge.net *Subject:* Re: [Dspace-tech] More Like This - Only Show Items with Anonymous Access I am still looking for some advice on this question. I appreciate any advice that you can offer. The MoreLikeThis feature will return items that are inaccessible to anonymous users. Has anyone else encountered this issue? If I have an instance of a DSpaceItem, what methods can I call to determine if that object is accessible to anonymous users? Thanks, Terry On Wed, Aug 6, 2014 at 3:48 PM, Terry Brady terry.br...@georgetown.edu wrote: I would like to restrict MoreLikeThis results to only include items with anonymous access. In order to do this, I believe that I will need to modify org.dspace.discovery.SolrServiceImpl.getRelatedItems() I have attempted to supply additional parameters to the solr query to return only items with a read group of g0, but I have not had success. As a secondary option, I would like to check the accessibility of results. NamedList mltResults = (NamedList) rsp.getResponse().get(moreLikeThis); if(mltResults != null mltResults.get(item.getType() + - + item.getID()) != null) { SolrDocumentList relatedDocs = (SolrDocumentList) mltResults.get(item.getType() + - + item.getID()); for (Object relatedDoc : relatedDocs) { SolrDocument relatedDocument = (SolrDocument) relatedDoc; DSpaceObject relatedItem = findDSpaceObject(context, relatedDocument); if (relatedItem.getType() == Constants.ITEM) { results.add((Item) relatedItem); } } } What is the proper way to check if a DSpace Item is accessible to anonymous? -- Terry Brady Applications Programmer Analyst Georgetown University Library Information Technology https://www.library.georgetown.edu/lit/code 425-298-5498 -- Terry Brady Applications Programmer Analyst Georgetown University Library Information Technology https://www.library.georgetown.edu/lit/code 425-298-5498 -- Terry Brady Applications Programmer Analyst Georgetown University Library Information Technology https://www.library.georgetown.edu/lit/code 425-298-5498 -- Terry Brady Applications Programmer Analyst Georgetown University Library Information Technology https://www.library.georgetown.edu/lit/code 425-298-5498 -- ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
[Dspace-tech] Exploring Document Page-Turning Solutions for DSpace
We are exploring options for providing a document viewer with page-turning capabilities for our Special Collections materials in DSpace. Our existing document streaming solution has a couple of limitations - The flash-based option does not serve up properly over https. - The html5 option does not provide page-turning which is essential for these collections Has anyone attempted to integrate flexpaper http://flexpaper.devaldi.com/examples/usecases/Book/Add-page-turn-effects-to-your-PDF-book.jsp?techchoice=techchoice_html5 with DSpace? If so, could you share your experience with me? Thanks, Terry -- Terry Brady Applications Programmer Analyst Georgetown University Library Information Technology https://www.library.georgetown.edu/lit/code 425-298-5498 -- Infragistics Professional Build stunning WinForms apps today! Reboot your WinForms applications with our WinForms controls. Build a bridge from your legacy apps to the future. http://pubads.g.doubleclick.net/gampad/clk?id=153845071iu=/4140/ostg.clktrk___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
[Dspace-tech] More Like This - Only Show Items with Anonymous Access
I would like to restrict MoreLikeThis results to only include items with anonymous access. In order to do this, I believe that I will need to modify org.dspace.discovery.SolrServiceImpl.getRelatedItems() I have attempted to supply additional parameters to the solr query to return only items with a read group of g0, but I have not had success. As a secondary option, I would like to check the accessibility of results. NamedList mltResults = (NamedList) rsp.getResponse().get(moreLikeThis); if(mltResults != null mltResults.get(item.getType() + - + item.getID()) != null) { SolrDocumentList relatedDocs = (SolrDocumentList) mltResults.get(item.getType() + - + item.getID()); for (Object relatedDoc : relatedDocs) { SolrDocument relatedDocument = (SolrDocument) relatedDoc; DSpaceObject relatedItem = findDSpaceObject(context, relatedDocument); if (relatedItem.getType() == Constants.ITEM) { results.add((Item) relatedItem); } } } What is the proper way to check if a DSpace Item is accessible to anonymous? -- Terry Brady Applications Programmer Analyst Georgetown University Library Information Technology https://www.library.georgetown.edu/lit/code 425-298-5498 -- Infragistics Professional Build stunning WinForms apps today! Reboot your WinForms applications with our WinForms controls. Build a bridge from your legacy apps to the future. http://pubads.g.doubleclick.net/gampad/clk?id=153845071iu=/4140/ostg.clktrk___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
Re: [Dspace-tech] Incorrect values showing using discovery
I believe that I have seen the ||| in discovery facets when items in a collection have had empty metadata fields. The following query might help to confirm the issue. select * from metadatavalue m where (text_value is null or text_value = '') Terry On Tue, Jul 29, 2014 at 5:38 AM, Barry, Matthew mpba...@cardiffmet.ac.uk wrote: Hi, We are having issues with discovery using dspace 4. It appears to be showing incorrect values on the facet on the front page, compared to the actual search results. For example, the facet shows an author ‘|||’ Having 68 articles. When you click on that author there are no uploads. I have tried running [dspace]/bin/dspace index-discovery with the –b, -c and –f switches but the results stay the same. I have also removed the data folder from the solr directory and forced them to rebuild. Any ideas? *Matthew Barry* | Systems Support Officer | *Systems and Communications Services (ISD) **Cardiff Metropolitan University (UWIC) | Tel: 029 2041 6236 | mpba...@cardiffmet.ac.uk mpba...@cardiffmet.ac.uk* -- Infragistics Professional Build stunning WinForms apps today! Reboot your WinForms applications with our WinForms controls. Build a bridge from your legacy apps to the future. http://pubads.g.doubleclick.net/gampad/clk?id=153845071iu=/4140/ostg.clktrk ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- Terry Brady Applications Programmer Analyst Georgetown University Library Information Technology https://www.library.georgetown.edu/lit/code 425-298-5498 -- Infragistics Professional Build stunning WinForms apps today! Reboot your WinForms applications with our WinForms controls. Build a bridge from your legacy apps to the future. http://pubads.g.doubleclick.net/gampad/clk?id=153845071iu=/4140/ostg.clktrk___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
Re: [Dspace-tech] Embargo
Massimiliano, If you edit an existing item, you can set an authorization policy on it. When you create the authorization policy, you can set an expiration. Here is a screen shot of the authorization for one of the items in my system. The item metadata is visible to anonymous. The item bitstream will become visible on 8/12/2015. [image: Inline image 1] Since DSpace 3, when an embargo is provided, the embargo is translated into an authorization policy. Terry On Thu, Jul 10, 2014 at 2:59 AM, Massimiliano Cilurzo mcilu...@unisa.it wrote: Dear all, We have DSPACE 4.1, I would like to know if it is possible to add embargo to an item that is without it. I tried to modify an item but in the administrator tools there isn’t the possibility to add embargo. Could you help me? Thanks Best regards Massimiliano Cilurzo -- Open source business process management suite built on Java and Eclipse Turn processes into business applications with Bonita BPM Community Edition Quickly connect people, data, and systems into organized workflows Winner of BOSSIE, CODIE, OW2 and Gartner awards http://p.sf.net/sfu/Bonitasoft ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- Terry Brady Applications Programmer Analyst Georgetown University Library Information Technology https://www.library.georgetown.edu/lit/code 425-298-5498 -- Want fast and easy access to all the code in your enterprise? Index and search up to 200,000 lines of code with a free copy of Black Duck Code Sight - the same software that powers the world's largest code search on Ohloh, the Black Duck Open Hub! Try it now. http://p.sf.net/sfu/bds___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
Re: [Dspace-tech] Home page title different than breadcrumb?
Laurie-Anne, We did something similar through XSLT. In our case, we changed the href of the home link. https://gist.github.com/terrywbrady/2bd83490464f434ebcb4#file-override-xsl-L15-L22 Terry On Wed, Jul 9, 2014 at 11:56 AM, lagignac laurie-anne.gig...@umontreal.ca wrote: Hi! I tried to change the Home title by a more usefull title: Papyrus - Université de Montréal (name of the repository and institution). Now it appears in the breadcrumb, but I want it to keep home because Papyrus - Université de Montréal is too long. Is it possibible ? Note: I'm working with dspace 1.8 xmlui Thanks! Laurie-Anne Gignac Bibliothécaire | soutien à la réussite, à la recherche et à l’enseignement Direction des bibliothèques, Université de Montréal laurie-anne.gig...@umontreal.ca -- View this message in context: http://dspace.2283337.n4.nabble.com/Home-page-title-different-than-breadcrumb-tp4674026.html Sent from the DSpace - Tech mailing list archive at Nabble.com. -- Open source business process management suite built on Java and Eclipse Turn processes into business applications with Bonita BPM Community Edition Quickly connect people, data, and systems into organized workflows Winner of BOSSIE, CODIE, OW2 and Gartner awards http://p.sf.net/sfu/Bonitasoft ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- Terry Brady Applications Programmer Analyst Georgetown University Library Information Technology https://www.library.georgetown.edu/lit/code 425-298-5498 -- Want fast and easy access to all the code in your enterprise? Index and search up to 200,000 lines of code with a free copy of Black Duck Code Sight - the same software that powers the world's largest code search on Ohloh, the Black Duck Open Hub! Try it now. http://p.sf.net/sfu/bds___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
Re: [Dspace-tech] Bulk Import using CSV files
I have not seen an error like that before, and I do not use JSPUI. Generally, I only edit dc elements via the bulk metadata process. If you run an import excluding the elements in your custom schema, does everything work OK? Is is possible that your custom namespace is not being recognized on import? Terry On Mon, Jul 14, 2014 at 2:36 PM, Andy Kirkyla a...@bridgit.com wrote: Dear Hilton and Terry, I thank you so much for your quick responses. I have been able to import the data however when I try to view it I get an internal server error. I looked in the logs an saw the following error: 2014-07-14 17:22:05,431 WARN org.dspace.app.webui.servlet.InternalErrorServlet @ :session_id=25DCE935E931FD060080E5C0E3D0D44B:internal_error:-- URL Was: http://localhost:8080/jspui/handle/123456789/38/simple-search?filterquery=123456789%2F43filtername=authorfiltertype=equals -- Method: GET -- Parameters were: -- filtertype: equals -- filtername: author -- filterquery: 123456789/43 org.apache.jasper.JasperException: java.lang.NullPointerException at org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:549) at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:470) at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:390) at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:334) at javax.servlet.http.HttpServlet.service(HttpServlet.java:727) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) I believe that the issue is that I have a schema called 'bridgitterms' that is causing all the dc terms to be shifted down. Should I place my schema specific terms at the end of my file? Thanks again for all your help. Andy On Mon, Jul 14, 2014 at 4:46 PM, Hilton Gibson hilton.gib...@gmail.com wrote: Andy Perhaps this will help: http://wiki.lib.sun.ac.za/index.php/SUNScholar/Metadata/Batch_Edit Cgeers hg *Hilton Gibson* Ubuntu Linux Systems Administrator JS Gericke Library Room 1025D Stellenbosch University Private Bag X5036 Stellenbosch 7599 South Africa Tel: +27 21 808 4100 | Cell: +27 84 646 4758 http://scholar.sun.ac.za http://bit.ly/goodir http://library.sun.ac.za http://za.linkedin.com/in/hiltongibson On 14 July 2014 22:11, Terry Brady tw...@georgetown.edu wrote: Andy, I presume from your note that you are only importing metadata not metadata and bitstreams. The metadata import tool is very flexible and very permissive. I believe you would need to write your own validation routine to enforce required fields or the format for specific fields. Fortunately, the report that the metadata import tool presents is informative highlighting exactly what will change. I presume that the report would flag an invalid item id. https://wiki.duraspace.org/display/DSDOC4x/Batch+Metadata+Editing#BatchMetadataEditing-TheCSVFiles We run a fair number of bulk imports (metadata + bitstreams), and we run a validation to check for the existence of a title and a creation date before submitting the metadata. We have had some inconsistency in the way that we tag the language (i.e en_US vs en) between manual ingest and bulk ingest. This has minimal impact to the DSpace user interface, but it can be problematic when editing metadata in bulk. Terry On Mon, Jul 14, 2014 at 11:55 AM, Andy Kirkyla a...@bridgit.com wrote: Folks, I trust all is well. I want to thank everyone on the list for their willingness to answer questions. I have a few questions concerning bulk imports. We would like to allow users to import data using excel csv files as templates and I am wondering how to handle the following: 1) How do you ensure that a valid item ID is used; or does Dspace handle it. 2) How do I make sure that all fields are included; when I exported the data I noticed that item type specific data was missing. How do I ensure that the data is properly imported. Thanks is advance for all your help. Andy -- Want fast and easy access to all the code in your enterprise? Index and search up to 200,000 lines of code with a free copy of Black Duck#174; Code Sight#153; - the same software that powers the world's largest code search on Ohloh, the Black Duck Open Hub! Try it now. http://p.sf.net/sfu/bds ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- Terry Brady Applications Programmer Analyst Georgetown
Re: [Dspace-tech] Hide show full item record link unless authenticated
The following test will indicated if a user has been authenticated. xsl:if test=/dri:document/dri:meta/dri:userMeta[@authenticated='yes']/ If you add ?XML to your item summary display page, you will see the following markup. div id=aspect.artifactbrowser.ItemViewer.div.item-view rend=primary n= item-view headMult bitstreams with SIP/head p rend=item-view-toggle item-view-toggle-top xref target=/handle/10822.1/706279?show=full i18n:text catalogue=defaultxmlui.ArtifactBrowser.ItemViewer.show_full /i18n:text /xref /p You should be able to add a template to conditionally display the item-toggle-view. Terry On Thu, Jul 10, 2014 at 10:20 AM, Anna Goslen agosl...@swarthmore.edu wrote: Hi all, I would like to hide the show full item record link on the item record unless the user is authenticated. We are using DSpace 3.1 with XMLUI, Mirage theme. Thanks for any help anyone can provide! Anna -- Open source business process management suite built on Java and Eclipse Turn processes into business applications with Bonita BPM Community Edition Quickly connect people, data, and systems into organized workflows Winner of BOSSIE, CODIE, OW2 and Gartner awards http://p.sf.net/sfu/Bonitasoft ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- Terry Brady Applications Programmer Analyst Georgetown University Library Information Technology https://www.library.georgetown.edu/lit/code 425-298-5498 -- Open source business process management suite built on Java and Eclipse Turn processes into business applications with Bonita BPM Community Edition Quickly connect people, data, and systems into organized workflows Winner of BOSSIE, CODIE, OW2 and Gartner awards http://p.sf.net/sfu/Bonitasoft___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
Re: [Dspace-tech] Ways to enhance discovery/submission - glossary of metadata terms?
Charlene, We are running XMLUI and all of our themes are based off a main institution theme. The main institution theme's sitemap.xmap includes our custom CSS file and JS file. I added this logic into our custom JavaScript file. If the JQuery logic does not work properly, you might also need to ensure that JQuery has been loaded before your custom JavaScript file. Terry On Tue, Jun 17, 2014 at 8:22 AM, Charlene Chinda Barina cbar...@uw.edu wrote: Hi Terry, Yes, they should be fairly stable, so this option may work for us. Could you give a suggestion as to where the code should go? On Mon, Jun 16, 2014 at 3:46 PM, Terry Brady tw...@georgetown.edu wrote: Each of the input fields has a unique id on them, so I have found it fairly easy to use jQuery bind custom code to item submission widgets when present. If you have a fairly stable list of values that are assigned, you might be able to solve your issue with some javascript. jQuery(document).ready(function(){ if (jQuery(#aspect_submission_StepTransformer_field_your_field).is(*)) { jQuery(input:checkbox[name=your_field]).each(function(){ find the label element for the checkbox add a tooltip OR wrap the label with an anchor tag and set the href based on the checkbox value }); } }); Terry On Mon, Jun 16, 2014 at 12:13 PM, Charlene Chinda Barina cbar...@uw.edu wrote: Hi, We're looking at ways to improve faceted browsing and submission of items into our repository. Our submission process has a variety of metadata fields with specific terms, e.g., 1. Program Management: If your item relates to program management, select one or more tags to describe your item.AdvocacyBudgetingCommunity Needs AssessmentsCurriculum DevelopmentFundraisingHuman ResourcesOutreach and MarketingPartnership BuildingProgram DesignStaff DevelopmentStrategic PlanningVolunteer Management Is there any way to link to, say, a glossary of what those terms may mean? Or is there another way we could include information so that a user could look up the meaning of a term and decide if their submission fits that topic? I know that in the input-forms.xml file we could have a longer display with the explanation as part of the item, like so: pair displayed-valueAdvocacy - tools to develop press releases, talking points, etc./displayed-value stored-valueAdvocacy/stored-value /pair But that compromises the readability of options when you're having them submit items. Any suggestions or ideas to accomplish this are very welcome. Thanks, Charlene -- Charlene Barina, MPH Research Analyst 2, U.S. IMPACT Study The Information School 303-359-6347 | Skype: cbarina facebook.com/ImpactSurvey | twitter.com/impactsurvey -- HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions Find What Matters Most in Your Big Data with HPCC Systems Open Source. Fast. Scalable. Simple. Ideal for Dirty Data. Leverages Graph Analysis for Fast Processing Easy Data Exploration http://p.sf.net/sfu/hpccsystems ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- Terry Brady Applications Programmer Analyst Georgetown University Library Information Technology https://www.library.georgetown.edu/lit/code 425-298-5498 -- Charlene Barina, MPH Research Analyst 2, U.S. IMPACT Study The Information School 303-359-6347 | Skype: cbarina facebook.com/ImpactSurvey | twitter.com/impactsurvey -- Terry Brady Applications Programmer Analyst Georgetown University Library Information Technology https://www.library.georgetown.edu/lit/code 425-298-5498 -- HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions Find What Matters Most in Your Big Data with HPCC Systems Open Source. Fast. Scalable. Simple. Ideal for Dirty Data. Leverages Graph Analysis for Fast Processing Easy Data Exploration http://p.sf.net/sfu/hpccsystems___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
Re: [Dspace-tech] Ways to enhance discovery/submission - glossary of metadata terms?
Each of the input fields has a unique id on them, so I have found it fairly easy to use jQuery bind custom code to item submission widgets when present. If you have a fairly stable list of values that are assigned, you might be able to solve your issue with some javascript. jQuery(document).ready(function(){ if (jQuery(#aspect_submission_StepTransformer_field_your_field).is(*)) { jQuery(input:checkbox[name=your_field]).each(function(){ find the label element for the checkbox add a tooltip OR wrap the label with an anchor tag and set the href based on the checkbox value }); } }); Terry On Mon, Jun 16, 2014 at 12:13 PM, Charlene Chinda Barina cbar...@uw.edu wrote: Hi, We're looking at ways to improve faceted browsing and submission of items into our repository. Our submission process has a variety of metadata fields with specific terms, e.g., 1. Program Management: If your item relates to program management, select one or more tags to describe your item.AdvocacyBudgetingCommunity Needs AssessmentsCurriculum DevelopmentFundraisingHuman ResourcesOutreach and MarketingPartnership BuildingProgram DesignStaff DevelopmentStrategic PlanningVolunteer Management Is there any way to link to, say, a glossary of what those terms may mean? Or is there another way we could include information so that a user could look up the meaning of a term and decide if their submission fits that topic? I know that in the input-forms.xml file we could have a longer display with the explanation as part of the item, like so: pair displayed-valueAdvocacy - tools to develop press releases, talking points, etc./displayed-value stored-valueAdvocacy/stored-value /pair But that compromises the readability of options when you're having them submit items. Any suggestions or ideas to accomplish this are very welcome. Thanks, Charlene -- Charlene Barina, MPH Research Analyst 2, U.S. IMPACT Study The Information School 303-359-6347 | Skype: cbarina facebook.com/ImpactSurvey | twitter.com/impactsurvey -- HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions Find What Matters Most in Your Big Data with HPCC Systems Open Source. Fast. Scalable. Simple. Ideal for Dirty Data. Leverages Graph Analysis for Fast Processing Easy Data Exploration http://p.sf.net/sfu/hpccsystems ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- Terry Brady Applications Programmer Analyst Georgetown University Library Information Technology https://www.library.georgetown.edu/lit/code 425-298-5498 -- HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions Find What Matters Most in Your Big Data with HPCC Systems Open Source. Fast. Scalable. Simple. Ideal for Dirty Data. Leverages Graph Analysis for Fast Processing Easy Data Exploration http://p.sf.net/sfu/hpccsystems___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
Re: [Dspace-tech] Problem with new items but collection is restricted
Check the following page in the DSpace documentation: https://wiki.duraspace.org/display/DSDOC3x/Discovery and verify your setting for solrServiceResourceIndexPlugin in config/spring/api/discovery.api to make certain that you are applying group permissions in your index. Terry On Thu, Jun 12, 2014 at 6:17 AM, Schuster, David dschus...@mail.twu.edu wrote: I have dspace displaying new items that are submitted. But I have collections that are restricted access. These new items are showing on my new items display and are clickable to download without restrictions. I can’t remember where the number of new items to display is set. I’m thinking for now I need to set that to Zero and not display any new items. Is there a setting someplace that I can change so that restricted collections don’t show in the new items list? David Schuster Texas Woman's University Director of Library Information Technology Technical Support Phone: 940-898-3909 dschus...@twu.edu [image: Description: emailsignature] -- HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions Find What Matters Most in Your Big Data with HPCC Systems Open Source. Fast. Scalable. Simple. Ideal for Dirty Data. Leverages Graph Analysis for Fast Processing Easy Data Exploration http://p.sf.net/sfu/hpccsystems ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- Terry Brady Applications Programmer Analyst Georgetown University Library Information Technology https://www.library.georgetown.edu/lit/code 425-298-5498 -- HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions Find What Matters Most in Your Big Data with HPCC Systems Open Source. Fast. Scalable. Simple. Ideal for Dirty Data. Leverages Graph Analysis for Fast Processing Easy Data Exploration http://p.sf.net/sfu/hpccsystems___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
Re: [Dspace-tech] LAC e-theses harvesting of DSpace 3.1
I recommend that you start with the stylesheets in dspace/config/oai/metadataFormats Terry On Tue, Jun 10, 2014 at 6:01 AM, Graham Faulkner graham.faulk...@uwaterloo.ca wrote: Thanks for the feedback Terry. In reviewing the LAC guidelines at www.collectionscanada.gc.ca/thesescanada/027007-9200-e.html, it looks like I’ll have to add an oai-identifier tag to the output (Section 2.5) and update the URL identifier (Section 2.7). Do you know where in the source code I should make these changes? Cheers, Graham *From:* Terry Brady [mailto:tw...@georgetown.edu] *Sent:* Monday, June 09, 2014 8:47 PM *To:* Graham Faulkner *Cc:* dspace-tech@lists.sourceforge.net *Subject:* Re: [Dspace-tech] LAC e-theses harvesting of DSpace 3.1 Since upgrading the DSpace 3.x, I have found the OAI service much easier to troubleshoot by navigating the browser-friendly OAI service. //yourrepository/oai/request?verb=Identify Does your collection/item metadata look good through that service? I believe that the naming conventions for collection and community sets may have changed when I performed the upgrade to 3.x. Terry On Mon, Jun 9, 2014 at 11:28 AM, Graham Faulkner graham.faulk...@uwaterloo.ca wrote: Hi all, I’m wondering if there is someone on the list who is running DSpace 3.1+ and has a collection being properly harvested by Library and Archives Canada’s ETD harvesting program. We recently upgraded from DSpace 1.8 to 3.1 and the LAC harvesting apparently stopped working. Any pointers in the right direction are greatly appreciated. Cheers, Graham - Graham Faulkner University of Waterloo Library -- HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions Find What Matters Most in Your Big Data with HPCC Systems Open Source. Fast. Scalable. Simple. Ideal for Dirty Data. Leverages Graph Analysis for Fast Processing Easy Data Exploration http://p.sf.net/sfu/hpccsystems ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- Terry Brady Applications Programmer Analyst Georgetown University Library Information Technology https://www.library.georgetown.edu/lit/code 425-298-5498 -- Terry Brady Applications Programmer Analyst Georgetown University Library Information Technology https://www.library.georgetown.edu/lit/code 425-298-5498 -- HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions Find What Matters Most in Your Big Data with HPCC Systems Open Source. Fast. Scalable. Simple. Ideal for Dirty Data. Leverages Graph Analysis for Fast Processing Easy Data Exploration http://p.sf.net/sfu/hpccsystems___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
Re: [Dspace-tech] Discovery Search Display Error XMLUI DSpace 3.2
Maura, I discovered some similar circumstance s in which my css and js was not loading properly. I do not know if you circumstances are the same as mine, but the following change to my sitemap.xmap helped map:match pattern=themes/**/static/**.js map:read type=ConcatenationReader src=static/{2}.js map:parameter name=requestQueryString value={request:queryString}/ /map:read /map:match map:match pattern=themes/**/static/**.css map:read type=ConcatenationReader src=static/{2}.css map:parameter name=requestQueryString value={request:queryString}/ /map:read /map:match I noticed that your page also has the following error The page at 'https://bir.brandeis.edu/handle/10192/22946/discover' was loaded over HTTPS, but ran insecure content from 'http://ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery.min.js': this content should also be loaded over HTTPS. Terry On Mon, Jun 9, 2014 at 1:04 PM, Maura Carbone mau...@brandeis.edu wrote: Hello all, We recently upgraded our DSpace installation from 1.7 to 3.2 and switched to Discovery. On the majority of pages discovery works and displays correctly, but on pages where we have custom sub-themes, discovery does not display correctly. Correct display: https://bir.brandeis.edu/handle/10192/27330/discover Incorrect display: https://bir.brandeis.edu/handle/10192/22946/discover The error seems to be stemming from the sub-theme attempting to call the discovery-styles.css from the wrong path (/themes/static/css/discovery rather than /static/css/discovery), but we haven't been able to figure out why this is the case. This does not happen on the non-custom pages, so it must be something in the xsl or sitemap of the custom themes. We even tried creating a copy of static in the themes directory just to see if it would find the correct file but to no avail. Aside from this weird discovery display error all the other files seem to be pulling correctly. Discovery does appear to function correctly. Anyone have any ideas? I can send along the xsl and sitemap of one of the custom themes (they all use the same one with just some minor tweaks). We are using a Mirage-based xmlui theme. Thanks in advance. -- Maura Carbone Digital Initiatives Librarian Brandeis University Library and Technology Services email: mau...@brandeis.edu -- HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions Find What Matters Most in Your Big Data with HPCC Systems Open Source. Fast. Scalable. Simple. Ideal for Dirty Data. Leverages Graph Analysis for Fast Processing Easy Data Exploration http://p.sf.net/sfu/hpccsystems ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- Terry Brady Applications Programmer Analyst Georgetown University Library Information Technology https://www.library.georgetown.edu/lit/code 425-298-5498 -- HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions Find What Matters Most in Your Big Data with HPCC Systems Open Source. Fast. Scalable. Simple. Ideal for Dirty Data. Leverages Graph Analysis for Fast Processing Easy Data Exploration http://p.sf.net/sfu/hpccsystems___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
Re: [Dspace-tech] LAC e-theses harvesting of DSpace 3.1
Since upgrading the DSpace 3.x, I have found the OAI service much easier to troubleshoot by navigating the browser-friendly OAI service. //yourrepository/oai/request?verb=Identify Does your collection/item metadata look good through that service? I believe that the naming conventions for collection and community sets may have changed when I performed the upgrade to 3.x. Terry On Mon, Jun 9, 2014 at 11:28 AM, Graham Faulkner graham.faulk...@uwaterloo.ca wrote: Hi all, I’m wondering if there is someone on the list who is running DSpace 3.1+ and has a collection being properly harvested by Library and Archives Canada’s ETD harvesting program. We recently upgraded from DSpace 1.8 to 3.1 and the LAC harvesting apparently stopped working. Any pointers in the right direction are greatly appreciated. Cheers, Graham - Graham Faulkner University of Waterloo Library -- HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions Find What Matters Most in Your Big Data with HPCC Systems Open Source. Fast. Scalable. Simple. Ideal for Dirty Data. Leverages Graph Analysis for Fast Processing Easy Data Exploration http://p.sf.net/sfu/hpccsystems ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- Terry Brady Applications Programmer Analyst Georgetown University Library Information Technology https://www.library.georgetown.edu/lit/code 425-298-5498 -- HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions Find What Matters Most in Your Big Data with HPCC Systems Open Source. Fast. Scalable. Simple. Ideal for Dirty Data. Leverages Graph Analysis for Fast Processing Easy Data Exploration http://p.sf.net/sfu/hpccsystems___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
Re: [Dspace-tech] Collection Authorisation
When you create your collection, you can set up a default read access permission for the collection which can be assigned to a specific group. This will create a default item read policy and a default bitstream read policy for the collection. If you wish to have different rules for the bitstreams and for the items, you will want to edit authorization policies directly. Depending on the authorization scheme that you use, you may or may not be able to automatically add all registered users into a specific group. I believe that password authenticated users would need to be individually added into the group that you have created to contain all users. I hope this is helpful. Terry On Thu, Jun 5, 2014 at 4:32 AM, A. Madhava Rao amadhava@gmail.com wrote: Dear Sir / Madam Help me in providing the authorization for the collection where the user can view the bitstream of an item only when he/she register in the DSpace. Provide me the steps please. Regards Madhav ARAI, Pune -- Learn Graph Databases - Download FREE O'Reilly Book Graph Databases is the definitive new guide to graph databases and their applications. Written by three acclaimed leaders in the field, this first edition is now available. Download your free book today! http://p.sf.net/sfu/NeoTech ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- Terry Brady Applications Programmer Analyst Georgetown University Library Information Technology https://www.library.georgetown.edu/lit/code 425-298-5498 -- HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions Find What Matters Most in Your Big Data with HPCC Systems Open Source. Fast. Scalable. Simple. Ideal for Dirty Data. Leverages Graph Analysis for Fast Processing Easy Data Exploration http://p.sf.net/sfu/hpccsystems___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
Re: [Dspace-tech] Modify Browse By in navbar
In your dspace.cfg file, you can configure the browse fields. #webui.browse.index.1 = dateissued:item:dateissued webui.browse.index.1 = author:metadata:dc.contributor.*,dc.creator:text webui.browse.index.2 = title:item:title webui.browse.index.3 = subject:metadata:dc.subject.*:text #webui.browse.index.5 = dateaccessioned:item:dateaccessioned webui.browse.index.4 = datecreated:item:datecreated Have you enabled discovery facets on your site? The type field might lend itself better to facet navigation than browse navigation. Terry On Thu, Jun 5, 2014 at 4:50 AM, Teo Tokis teoto...@gmail.com wrote: Hello, i want to add a new browse field in the navbar (except from browse by title, author, subject, dateissued) so i can browse by type. Can anyone suggest me a solution? -- Learn Graph Databases - Download FREE O'Reilly Book Graph Databases is the definitive new guide to graph databases and their applications. Written by three acclaimed leaders in the field, this first edition is now available. Download your free book today! http://p.sf.net/sfu/NeoTech ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- Terry Brady Applications Programmer Analyst Georgetown University Library Information Technology https://www.library.georgetown.edu/lit/code 425-298-5498 -- Learn Graph Databases - Download FREE O'Reilly Book Graph Databases is the definitive new guide to graph databases and their applications. Written by three acclaimed leaders in the field, this first edition is now available. Download your free book today! http://p.sf.net/sfu/NeoTech___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
Re: [Dspace-tech] Dspace statistics
If this is helpful, here are the SOLR query parameters I use to find original bitstream downloads for one of my communities for the past month. lst name=params str name=explainOther/ str name=facet.date.startNOW/MONTH/DAY-6MONTHS/str str name=facettrue/str str name=indenton/str str name=facet.datetime/str str name=hl.fl/ str name=rows2000/str str name=version2.2/str str name=fl*,score/str str name=qowningComm:1 AND type:0 bundleName:ORIGINAL/str arr name=facet.field struserAgent/str strbundleName/str /arr str name=facet.date.gap+1MONTH/str str name=qt/ str name=fq NOT(userAgent:Googlebot* OR userAgent:Yeti* OR dns:msnbot* OR dns:crawl*exabot* OR dns:crawl* OR dns:fetcher*mail.ru* OR dns:baiduspider* OR dns:spider* OR userAgent:Mozilla*Baiduspider* OR userAgent:Mozilla*robot* OR userAgent:www.integromedb.org/Crawler OR userAgent:Sogou* OR userAgent:Mozilla*crawler* OR userAgent:Java*) /str str name=facet.date.endNOW/str /lst Terry On Thu, Jun 5, 2014 at 12:37 AM, Hilton Gibson hilton.gib...@gmail.com wrote: I think a carefully crafted SOLR query would do it. See: https://wiki.duraspace.org/display/DSPACE/Solr for more help. *Hilton Gibson* Ubuntu Linux Systems Administrator JS Gericke Library Room 1025D Stellenbosch University Private Bag X5036 Stellenbosch 7599 South Africa Tel: +27 21 808 4100 | Cell: +27 84 646 4758 http://scholar.sun.ac.za http://bit.ly/goodir http://library.sun.ac.za http://za.linkedin.com/in/hiltongibson On 5 June 2014 06:18, Keir Vaughan-Taylor kei...@optusnet.com.au wrote: Can't you count the pdf instance in the log file? grep -i pdf /var/log/httpd/access.log | wc On Wed, 2014-06-04 at 20:20 -0400, bender wrote: Hi. We want to get statistics about amount of downloaded PDF files per month, from our Dspace repository. We don't see how can we do it with the default statistics tools from dspace. Is it possible to get this particular statistic? May be using Solr? If so, how? Thanks for any help. bender -- Learn Graph Databases - Download FREE O'Reilly Book Graph Databases is the definitive new guide to graph databases and their applications. Written by three acclaimed leaders in the field, this first edition is now available. Download your free book today! http://p.sf.net/sfu/NeoTech ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- Learn Graph Databases - Download FREE O'Reilly Book Graph Databases is the definitive new guide to graph databases and their applications. Written by three acclaimed leaders in the field, this first edition is now available. Download your free book today! http://p.sf.net/sfu/NeoTech ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- Learn Graph Databases - Download FREE O'Reilly Book Graph Databases is the definitive new guide to graph databases and their applications. Written by three acclaimed leaders in the field, this first edition is now available. Download your free book today! http://p.sf.net/sfu/NeoTech ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- Terry Brady Applications Programmer Analyst Georgetown University Library Information Technology https://www.library.georgetown.edu/lit/code 425-298-5498 -- Learn Graph Databases - Download FREE O'Reilly Book Graph Databases is the definitive new guide to graph databases and their applications. Written by three acclaimed leaders in the field, this first edition is now available. Download your free book today! http://p.sf.net/sfu/NeoTech___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
Re: [Dspace-tech] Dspace statistics
Hilton, I believe that you could use the following SOLR query to get the database ids of the top 10 most downloaded items. q=type:0 bundle:ORIGINALrows=0facet=truefacet.field=idfacet.limit=10 You would then need to pass this to the database to get the titles and handles. Looking at the XML in the statistics index, neither the title nor the handle are present. Terry On Thu, Jun 5, 2014 at 9:06 AM, Hilton Gibson hilton.gib...@gmail.com wrote: Hi Terry How would one go about getting the top 10 most downloaded items for all time with the titles and handles, exported via CSV file? Cheers hg *Hilton Gibson* Ubuntu Linux Systems Administrator JS Gericke Library Room 1025D Stellenbosch University Private Bag X5036 Stellenbosch 7599 South Africa Tel: +27 21 808 4100 | Cell: +27 84 646 4758 http://scholar.sun.ac.za http://bit.ly/goodir http://library.sun.ac.za http://za.linkedin.com/in/hiltongibson On 5 June 2014 17:47, Terry Brady tw...@georgetown.edu wrote: If this is helpful, here are the SOLR query parameters I use to find original bitstream downloads for one of my communities for the past month. lst name=params str name=explainOther/ str name=facet.date.startNOW/MONTH/DAY-6MONTHS/str str name=facettrue/str str name=indenton/str str name=facet.datetime/str str name=hl.fl/ str name=rows2000/str str name=version2.2/str str name=fl*,score/str str name=qowningComm:1 AND type:0 bundleName:ORIGINAL/str arr name=facet.field struserAgent/str strbundleName/str /arr str name=facet.date.gap+1MONTH/str str name=qt/ str name=fq NOT(userAgent:Googlebot* OR userAgent:Yeti* OR dns:msnbot* OR dns:crawl*exabot* OR dns:crawl* OR dns:fetcher*mail.ru* OR dns:baiduspider* OR dns:spider* OR userAgent:Mozilla*Baiduspider* OR userAgent:Mozilla*robot* OR userAgent:www.integromedb.org/Crawler OR userAgent:Sogou* OR userAgent:Mozilla*crawler* OR userAgent:Java*) /str str name=facet.date.endNOW/str /lst Terry On Thu, Jun 5, 2014 at 12:37 AM, Hilton Gibson hilton.gib...@gmail.com wrote: I think a carefully crafted SOLR query would do it. See: https://wiki.duraspace.org/display/DSPACE/Solr for more help. *Hilton Gibson* Ubuntu Linux Systems Administrator JS Gericke Library Room 1025D Stellenbosch University Private Bag X5036 Stellenbosch 7599 South Africa Tel: +27 21 808 4100 | Cell: +27 84 646 4758 http://scholar.sun.ac.za http://bit.ly/goodir http://library.sun.ac.za http://za.linkedin.com/in/hiltongibson On 5 June 2014 06:18, Keir Vaughan-Taylor kei...@optusnet.com.au wrote: Can't you count the pdf instance in the log file? grep -i pdf /var/log/httpd/access.log | wc On Wed, 2014-06-04 at 20:20 -0400, bender wrote: Hi. We want to get statistics about amount of downloaded PDF files per month, from our Dspace repository. We don't see how can we do it with the default statistics tools from dspace. Is it possible to get this particular statistic? May be using Solr? If so, how? Thanks for any help. bender -- Learn Graph Databases - Download FREE O'Reilly Book Graph Databases is the definitive new guide to graph databases and their applications. Written by three acclaimed leaders in the field, this first edition is now available. Download your free book today! http://p.sf.net/sfu/NeoTech ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- Learn Graph Databases - Download FREE O'Reilly Book Graph Databases is the definitive new guide to graph databases and their applications. Written by three acclaimed leaders in the field, this first edition is now available. Download your free book today! http://p.sf.net/sfu/NeoTech ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- Learn Graph Databases - Download FREE O'Reilly Book Graph Databases is the definitive new guide to graph databases and their applications. Written by three acclaimed leaders in the field, this first edition is now available. Download your free book today! http://p.sf.net/sfu/NeoTech ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- Terry Brady Applications Programmer Analyst Georgetown
Re: [Dspace-tech] Dspace statistics
Hilton, is there a master index for your wiki? I know that there is a lot of good stuff on there, and I want to make certain that I have not missed any pages that we should consult. Thanks, Terry On Thu, Jun 5, 2014 at 12:04 PM, Hilton Gibson hilton.gib...@gmail.com wrote: Terry, thanks for the starting tip! Will work on it and publish my results on our wiki. Cheers hg *Hilton Gibson* Ubuntu Linux Systems Administrator JS Gericke Library Room 1025D Stellenbosch University Private Bag X5036 Stellenbosch 7599 South Africa Tel: +27 21 808 4100 | Cell: +27 84 646 4758 http://scholar.sun.ac.za http://bit.ly/goodir http://library.sun.ac.za http://za.linkedin.com/in/hiltongibson On 5 June 2014 18:52, Terry Brady tw...@georgetown.edu wrote: Hilton, I believe that you could use the following SOLR query to get the database ids of the top 10 most downloaded items. q=type:0 bundle:ORIGINALrows=0facet=truefacet.field=idfacet.limit=10 You would then need to pass this to the database to get the titles and handles. Looking at the XML in the statistics index, neither the title nor the handle are present. Terry On Thu, Jun 5, 2014 at 9:06 AM, Hilton Gibson hilton.gib...@gmail.com wrote: Hi Terry How would one go about getting the top 10 most downloaded items for all time with the titles and handles, exported via CSV file? Cheers hg *Hilton Gibson* Ubuntu Linux Systems Administrator JS Gericke Library Room 1025D Stellenbosch University Private Bag X5036 Stellenbosch 7599 South Africa Tel: +27 21 808 4100 | Cell: +27 84 646 4758 http://scholar.sun.ac.za http://bit.ly/goodir http://library.sun.ac.za http://za.linkedin.com/in/hiltongibson On 5 June 2014 17:47, Terry Brady tw...@georgetown.edu wrote: If this is helpful, here are the SOLR query parameters I use to find original bitstream downloads for one of my communities for the past month. lst name=params str name=explainOther/ str name=facet.date.startNOW/MONTH/DAY-6MONTHS/str str name=facettrue/str str name=indenton/str str name=facet.datetime/str str name=hl.fl/ str name=rows2000/str str name=version2.2/str str name=fl*,score/str str name=qowningComm:1 AND type:0 bundleName:ORIGINAL/str arr name=facet.field struserAgent/str strbundleName/str /arr str name=facet.date.gap+1MONTH/str str name=qt/ str name=fq NOT(userAgent:Googlebot* OR userAgent:Yeti* OR dns:msnbot* OR dns:crawl*exabot* OR dns:crawl* OR dns:fetcher*mail.ru* OR dns:baiduspider* OR dns:spider* OR userAgent:Mozilla*Baiduspider* OR userAgent:Mozilla*robot* OR userAgent:www.integromedb.org/Crawler OR userAgent:Sogou* OR userAgent:Mozilla*crawler* OR userAgent:Java*) /str str name=facet.date.endNOW/str /lst Terry On Thu, Jun 5, 2014 at 12:37 AM, Hilton Gibson hilton.gib...@gmail.com wrote: I think a carefully crafted SOLR query would do it. See: https://wiki.duraspace.org/display/DSPACE/Solr for more help. *Hilton Gibson* Ubuntu Linux Systems Administrator JS Gericke Library Room 1025D Stellenbosch University Private Bag X5036 Stellenbosch 7599 South Africa Tel: +27 21 808 4100 | Cell: +27 84 646 4758 http://scholar.sun.ac.za http://bit.ly/goodir http://library.sun.ac.za http://za.linkedin.com/in/hiltongibson On 5 June 2014 06:18, Keir Vaughan-Taylor kei...@optusnet.com.au wrote: Can't you count the pdf instance in the log file? grep -i pdf /var/log/httpd/access.log | wc On Wed, 2014-06-04 at 20:20 -0400, bender wrote: Hi. We want to get statistics about amount of downloaded PDF files per month, from our Dspace repository. We don't see how can we do it with the default statistics tools from dspace. Is it possible to get this particular statistic? May be using Solr? If so, how? Thanks for any help. bender -- Learn Graph Databases - Download FREE O'Reilly Book Graph Databases is the definitive new guide to graph databases and their applications. Written by three acclaimed leaders in the field, this first edition is now available. Download your free book today! http://p.sf.net/sfu/NeoTech ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- Learn Graph Databases - Download FREE O'Reilly Book Graph Databases is the definitive new guide to graph databases and their applications. Written by three acclaimed leaders in the field, this first edition is now available. Download your free book today! http://p.sf.net/sfu/NeoTech ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists
Re: [Dspace-tech] How can one insert a hyperlink in the ds-header
I meant to CC the list. On Tue, May 27, 2014 at 10:27 AM, Terry Brady tw...@georgetown.edu wrote: I hope this helps. dspace-xmlui/src/main/webapps/themes/dri2xhtml/structural.xsl contains a template named buildHeader. You will need to override this template.in your custom stylesheet in dspace/modules/xmlui/webapps/themes/... Clone the template from structural.xsl and add whatever changes you need. Terry On Fri, May 23, 2014 at 4:05 AM, Peter Sichilyango Tutu petertu...@gmail.com wrote: Hi everyone, I want to insert a hyperlink to link to an external site in the header of my dspace installation (XMLUI 3.x) Can someone please give me a hint on how to go about it? Best regards, Peter -- Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE Instantly run your Selenium tests across 300+ browser/OS combos. Get unparalleled scalability from the best Selenium testing platform available Simple to use. Nothing to install. Get started now for free. http://p.sf.net/sfu/SauceLabs ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- Terry Brady Applications Programmer Analyst Georgetown University Library Information Technology https://www.library.georgetown.edu/lit/code 425-298-5498 -- Terry Brady Applications Programmer Analyst Georgetown University Library Information Technology https://www.library.georgetown.edu/lit/code 425-298-5498 -- The best possible search technologies are now affordable for all companies. Download your FREE open source Enterprise Search Engine today! Our experts will assist you in its installation for $59/mo, no commitment. Test it for FREE on our Cloud platform anytime! http://pubads.g.doubleclick.net/gampad/clk?id=145328191iu=/4140/ostg.clktrk___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
Re: [Dspace-tech] How Do add a function UPPER CASE in item list Manakin Theme?
xsl:value-of select=translate(dim:field[@element='myElement'], 'abcdefghijklmnopqrstuvwxyz', 'ABCDEFGHIJKLMNOPQRSTUVWXYZ')/ On Tue, May 27, 2014 at 12:49 PM, royopa roy...@gmail.com wrote: Hi I need use a function to UPPER CASE the value on item-list view (/webapp/themes/Mirage/lib/xsl/aspect/artifactbrowser/item-list.xsl) How Do I do it?? xsl:value-of select=UPPER-CASE-FUNCTION(dim:field[@element='myElement'])/ Thanks Rodrigo -- The best possible search technologies are now affordable for all companies. Download your FREE open source Enterprise Search Engine today! Our experts will assist you in its installation for $59/mo, no commitment. Test it for FREE on our Cloud platform anytime! http://pubads.g.doubleclick.net/gampad/clk?id=145328191iu=/4140/ostg.clktrk ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- Terry Brady Applications Programmer Analyst Georgetown University Library Information Technology https://www.library.georgetown.edu/lit/code 425-298-5498 -- The best possible search technologies are now affordable for all companies. Download your FREE open source Enterprise Search Engine today! Our experts will assist you in its installation for $59/mo, no commitment. Test it for FREE on our Cloud platform anytime! http://pubads.g.doubleclick.net/gampad/clk?id=145328191iu=/4140/ostg.clktrk___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
Re: [Dspace-tech] JAVA_OPTS for cron jobs?
Alan, We override JAVA_OPTS for the nightly filter-media task in our cron. export JAVA_OPTS=-Xmx1200m;dspace filter-media ... We have a set of automated ingest tools. We set JAVA_OPTS in some of the workflows that are run by those tools. https://github.com/Georgetown-University-Libraries/batch-tools/blob/master/bin-src/dspaceBatch.sh Terry On Tue, May 20, 2014 at 1:33 AM, Alan Orth alan.o...@gmail.com wrote: Hi, I'm curious if anyone sets memory limits for DSpace's various cron jobs? Lately we've been having Tomcat's java process get killed every morning around the same time, and all dmesg shows is that java was killed by the kernel's OOM killer. Catalina logs don't show any SEVERE errors, so I have to assume it's the cron jobs which are using up loads of memory and then confusing the kernel, which then identifies Tomcat's java as the memory hog and kills it. So I'm just curious if anyone has had these kinds of problems, and if/what they set their JAVA_OPTS to in crontab. The long term plan of course is to move to a machine with more memory (currently 4GB). Thanks, DSpace version is 3.1, OS is Ubuntu 12.04. -- Alan Orth alan.o...@gmail.com http://alaninkenya.org http://mjanja.co.ke I have always wished for my computer to be as easy to use as my telephone; my wish has come true because I can no longer figure out how to use my telephone. -Bjarne Stroustrup, inventor of C++ GPG public key ID: 0x8cb0d0acb5cd81ec209c6cdfbd1a0e09c2f836c0 -- Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE Instantly run your Selenium tests across 300+ browser/OS combos. Get unparalleled scalability from the best Selenium testing platform available Simple to use. Nothing to install. Get started now for free. http://p.sf.net/sfu/SauceLabs ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- Terry Brady Applications Programmer Analyst Georgetown University Library Information Technology https://www.library.georgetown.edu/lit/code 425-298-5498 -- The best possible search technologies are now affordable for all companies. Download your FREE open source Enterprise Search Engine today! Our experts will assist you in its installation for $59/mo, no commitment. Test it for FREE on our Cloud platform anytime! http://pubads.g.doubleclick.net/gampad/clk?id=145328191iu=/4140/ostg.clktrk___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
Re: [Dspace-tech] Problems with JPEG media filter and Branded
I meant to CC the list... On Monday, May 19, 2014, Terry Brady tw...@georgetown.edu wrote: Try the following command to boost memory before rerunning the filter media process export JAVA_OPTS=-Xmx1024m Terry On Monday, May 19, 2014, Schuster, David dschus...@mail.twu.edu wrote: Are there limits to the size of the JPEG that the filter will create thumbnails of? Our Marketing department provided me some files, but they are pretty big – 10 MB and when I run media filter on it I get ./dspace filter-media -i 11274/446 -p JPEG Thumbnail -v The following MediaFilters are enabled: Full Filter Name: org.dspace.app.mediafilter.JPEGFilter org.dspace.app.mediafilter.JPEGFilter original size: 6016.0,4016.0 x scale factor: 0.013297873 new size: 80.0,53.404255 created thumbnail size: 80.0, 53.404255 Exception: Java heap space java.lang.OutOfMemoryError: Java heap space at java.awt.image.DataBufferInt.init(DataBufferInt.java:75) at java.awt.image.SinglePixelPackedSampleModel.createDataBuffer(SinglePixelPackedSampleModel.java:242) at java.awt.image.Raster.createWritableRaster(Raster.java:941) at java.awt.image.BufferedImage.getData(BufferedImage.java:1427) at java.awt.image.ConvolveOp.createCompatibleDestImage(ConvolveOp.java:280) at java.awt.image.ConvolveOp.filter(ConvolveOp.java:177) at org.dspace.app.mediafilter.JPEGFilter.getBlurredInstance(JPEGFilter.java:226) at org.dspace.app.mediafilter.JPEGFilter.getDestinationStream(JPEGFilter.java:148) at org.dspace.app.mediafilter.MediaFilterManager.processBitstream(MediaFilterManager.java:737) at org.dspace.app.mediafilter.MediaFilterManager.filterBitstream(MediaFilterManager.java:561) at org.dspace.app.mediafilter.MediaFilterManager.filterItem(MediaFilterManager.java:511) at org.dspace.app.mediafilter.MediaFilterManager.applyFiltersItem(MediaFilterManager.java:479) at org.dspace.app.mediafilter.MediaFilterManager.main(MediaFilterManager.java:353) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.dspace.app.launcher.ScriptLauncher.runOneCommand(ScriptLauncher.java:225) at org.dspace.app.launcher.ScriptLauncher.main(ScriptLauncher.java:77) If I resize the file to 69 KB it runs the filter without a problem. My memory is set to 2048 max do I need to increase that and what are the proportions? David Schuster Texas Woman's University Director of Library Information Technology Technical Support Phone: 940-898-3909 dschus...@twu.edu [image: Description: emailsignature] -- Sent from Gmail Mobile -- Sent from Gmail Mobile -- Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE Instantly run your Selenium tests across 300+ browser/OS combos. Get unparalleled scalability from the best Selenium testing platform available Simple to use. Nothing to install. Get started now for free. http://p.sf.net/sfu/SauceLabs___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
Re: [Dspace-tech] Extracting Provenance Data
config/modules/bulkedit.cfg contains a list of files to exclude from bulk export. dc.description.provenance is in the list by default. You could temporarily remove that element from the config file and extract the value. Terry On Thu, May 15, 2014 at 10:19 AM, Matthew Sherman matt.r.sher...@gmail.comwrote: Hi folks, I was wondering if anyone happens to know how to extract a copy of the Provenance metadata from a DSpace Community? I am trying to identify some records a particular user submitted and I was hoping I could pull the provenance metadata and sort by that, but apparently that does not come out with a standard metadata export command on the front end. Is there a way to get this information in a CSV to do some quick analysis? Any suggestions are appreciated, thanks for your time. Matt Sherman -- Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE Instantly run your Selenium tests across 300+ browser/OS combos. Get unparalleled scalability from the best Selenium testing platform available Simple to use. Nothing to install. Get started now for free. http://p.sf.net/sfu/SauceLabs ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- Terry Brady Applications Programmer Analyst Georgetown University Library Information Technology https://www.library.georgetown.edu/lit/code 202-687-7053 -- Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE Instantly run your Selenium tests across 300+ browser/OS combos. Get unparalleled scalability from the best Selenium testing platform available Simple to use. Nothing to install. Get started now for free. http://p.sf.net/sfu/SauceLabs___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
Re: [Dspace-tech] Dspace 4.x - Web Front end to Importing/Exporting via Simple Archive Format?
Sara, I have shared some code that might be useful for this task. https://github.com/Georgetown-University-Libraries/batch-tools/wiki/Batch-tools-for-content-administration We run this code in Apache alongside our DSpace instance. The code requires a bit of customization to get it running. https://github.com/Georgetown-University-Libraries/batch-tools/wiki/Batch-tools-customization-steps Terry On Wed, May 14, 2014 at 2:04 PM, Sara Amato sam...@willamette.edu wrote: I've been googling around looking to see if anyone has written a batch import front end for Dspace (we are running 4.1).The import via Simple Archive Format on the command line works wonderfully, but we're hoping that there is some sort of web front end out there to make it easier for staff who are uncomfortable at the command line. And advice appreciated! - Sara Amato Digital Asset Management Librarian Hatfield Library, Willamette University Salem, OR, 97301 sam...@willamette.edu (503) 370 - 6719 -- Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE Instantly run your Selenium tests across 300+ browser/OS combos. Get unparalleled scalability from the best Selenium testing platform available Simple to use. Nothing to install. Get started now for free. http://p.sf.net/sfu/SauceLabs ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- Terry Brady Applications Programmer Analyst Georgetown University Library Information Technology https://www.library.georgetown.edu/lit/code 202-687-7053 -- Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE Instantly run your Selenium tests across 300+ browser/OS combos. Get unparalleled scalability from the best Selenium testing platform available Simple to use. Nothing to install. Get started now for free. http://p.sf.net/sfu/SauceLabs___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
Re: [Dspace-tech] Can I add a link to a dc.description.abstract field?
I added the following template that allows me to output links in my summary display view. For those text fields that might contain links, I pass their contents to the following templates. xsl:template match=dim:field mode=urltext xsl:apply-templates select=*|text() mode=urltext/ /xsl:template xsl:template match=*|@* mode=urltext xsl:param name=val select=./ xsl:copy xsl:apply-templates select=*|@*|text() mode=urltext/ /xsl:copy /xsl:template xsl:template match=text() mode=urltext xsl:param name=val select=./ xsl:variable name=valnorm select=normalize-space(translate($val,'#10;#9;#13;',' ')) / xsl:variable name=pre xsl:choose xsl:when test=string-length(substring-before($valnorm,' ')) = 0 xsl:value-of select=$valnorm/ /xsl:when xsl:otherwise xsl:value-of select=substring-before($valnorm,' ')/ /xsl:otherwise /xsl:choose /xsl:variable xsl:variable name=suff select=substring($valnorm, string-length($pre) + 1)/ xsl:choose xsl:when test=starts-with($pre,'http://') or starts-with($pre,'https://') or starts-with($pre,'mailto:') a xsl:attribute name=href xsl:value-of select=$pre/ /xsl:attribute xsl:value-of select=$pre/ /a /xsl:when xsl:otherwise xsl:value-of select=$pre/ /xsl:otherwise /xsl:choose xsl:if test=string-length($suff) gt; 0 xsl:text /xsl:text xsl:apply-templates select=. mode=urltext xsl:with-param name=val select=$suff/ /xsl:apply-templates /xsl:if /xsl:template On Mon, Apr 28, 2014 at 3:26 PM, Calloni, Rodrigo rcall...@iadb.org wrote: Hello We are in DSpace 1.8.2 using XMLUI. One of my colleagues wants to add URLs links in the Abstract field (dc.description.abstract) and we tried adding something like this to our metadata: Contents: a href=http://www.yahoo.com;Chapter 1/a a href=http://www.yahoo.com;Chapter 2/a But instead of showing “Chapter 1” and “Chapter 2” to the description, DSpace is showing the text exactly as we typed. When I look the source code of the page, the text is shown as following: tdContents: lt;a href=http://www.yahoo.comgt;Chapter 1lt;/agt; lt;a href=http://www.yahoo.comgt;Chapter 2lt;/agt;/td So, is there a way to achieve what we want and show only Chapter 1 Chapter 2 as links in the description? Thanks in advance Rodrigo *Rodrigo Calloni* System Librarian Felipe Herrera Library Knowledge and Learning Sector Tel: 202-623-2952 Fax: 202-623-3183 [image: Description: http://www.iadb.org/email/idb.gif] 1300 New York Avenue, N.W. Washington, D.C. 20577 USA *www.iadb.org http://www.iadb.org/* *Knowledge. Empowering People. Transforming Lives.* *P* *Please consider the environment before printing this email* -- Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE Instantly run your Selenium tests across 300+ browser/OS combos. Get unparalleled scalability from the best Selenium testing platform available. Simple to use. Nothing to install. Get started now for free. http://p.sf.net/sfu/SauceLabs ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- Terry Brady Applications Programmer Analyst Georgetown University Library Information Technology https://www.library.georgetown.edu/lit/code 202-687-7053 -- Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE Instantly run your Selenium tests across 300+ browser/OS combos. Get unparalleled scalability from the best Selenium testing platform available. Simple to use. Nothing to install. Get started now for free. http://p.sf.net/sfu/SauceLabs___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
[Dspace-tech] Suppress Access-controlled Items from Sitemap Generator
We have a large collections of items that is visible only to our university community. These items appear in our sitemap (We are running DSpace 3.1). When our site is crawled, this triggers a large number of errors. Ideally, we would like to suppress items, collections, and communities without anonymous access from our sitemap. Has anyone addressed this issue? Based on a quick scan of code, I presume that I might need to change the queries invoked in org.dspace.app.sitemap.GenerateSitemaps to check for anonymous access. I would appreciate any advice that you can offer. Thanks, Terry -- Terry Brady Applications Programmer Analyst Georgetown University Library Information Technology https://www.library.georgetown.edu/lit/code 202-687-7053 -- Start Your Social Network Today - Download eXo Platform Build your Enterprise Intranet with eXo Platform Software Java Based Open Source Intranet - Social, Extensible, Cloud Ready Get Started Now And Turn Your Intranet Into A Collaboration Platform http://p.sf.net/sfu/ExoPlatform___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
Re: [Dspace-tech] Suppress Access-controlled Items from Sitemap Generator
Here is the solution I am considering in org.dspace.app.sitemap. GenerateSitemaps. Replace ItemIterator allItems = Item.findAllAnon(c); With String myQuery = SELECT * FROM item WHERE in_archive='1' + and exists (select 1 from resourcepolicy + where item.item_id=resource_id and resource_type_id=2 and epersongroup_id=0); TableRowIterator rows = DatabaseManager.queryTable(c, item, myQuery); ItemIterator allItems = new ItemIterator(c, rows); Please let me know if you have any thoughts. Terry On Fri, Apr 25, 2014 at 4:47 PM, Terry Brady tw...@georgetown.edu wrote: We have a large collections of items that is visible only to our university community. These items appear in our sitemap (We are running DSpace 3.1). When our site is crawled, this triggers a large number of errors. Ideally, we would like to suppress items, collections, and communities without anonymous access from our sitemap. Has anyone addressed this issue? Based on a quick scan of code, I presume that I might need to change the queries invoked in org.dspace.app.sitemap.GenerateSitemaps to check for anonymous access. I would appreciate any advice that you can offer. Thanks, Terry -- Terry Brady Applications Programmer Analyst Georgetown University Library Information Technology https://www.library.georgetown.edu/lit/code 202-687-7053 -- Terry Brady Applications Programmer Analyst Georgetown University Library Information Technology https://www.library.georgetown.edu/lit/code 202-687-7053 -- Start Your Social Network Today - Download eXo Platform Build your Enterprise Intranet with eXo Platform Software Java Based Open Source Intranet - Social, Extensible, Cloud Ready Get Started Now And Turn Your Intranet Into A Collaboration Platform http://p.sf.net/sfu/ExoPlatform___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
Re: [Dspace-tech] Setting default home page to a single community
If you are running xmlui, you could add a redirect into your sitemap.xmap. map:match pattern= map:redirect-to uri=handle/x/y/ /map:match I am not aware of a configuration setting for the home page. Terry On Tue, Apr 22, 2014 at 7:40 PM, Charlene Chinda Barina cbar...@uw.eduwrote: Hi, We've set up dspace to have one community and 4 collections under it. Rather than list the Communities in X Repository on the home page, I'd just like to show the links to the 4 collections, like what you see when you click on the individual community. Could someone tell me how to change that, and where? Conceptually I could see it either being changing the default url/page for the homepage, or changing what is displayed on the homepage via a particular xsl file. Thanks, Charlene -- Charlene Barina, MPH Research Analyst 2, U.S. IMPACT Study The Information School 303-359-6347 | Skype: cbarina facebook.com/ImpactSurvey | twitter.com/impactsurvey -- Start Your Social Network Today - Download eXo Platform Build your Enterprise Intranet with eXo Platform Software Java Based Open Source Intranet - Social, Extensible, Cloud Ready Get Started Now And Turn Your Intranet Into A Collaboration Platform http://p.sf.net/sfu/ExoPlatform ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- Terry Brady Applications Programmer Analyst Georgetown University Library Information Technology https://www.library.georgetown.edu/lit/code 202-687-7053 -- Start Your Social Network Today - Download eXo Platform Build your Enterprise Intranet with eXo Platform Software Java Based Open Source Intranet - Social, Extensible, Cloud Ready Get Started Now And Turn Your Intranet Into A Collaboration Platform http://p.sf.net/sfu/ExoPlatform___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
Re: [Dspace-tech] Discover search update issue
Based on your note, it sounds like you applied your update with SQL. Try running dspace filter-media against the items or the collection containing the items and force the text index to be updated for these items. This will update the lucene/search index. After this task is complete, update your discovery index to pull the latest changes into SOLR. In case you have not tried it out, we have found the Import Metadata tool on the Administrative menu to be really useful (and less risky) for these types of changes. It does a good job of cascading updates to other components of the system. Terry On Mon, Apr 21, 2014 at 7:40 AM, Bhavesh Patel bhavesh.bece...@gmail.comwrote: Dear Tech Team, We are facing one issue on Discover search We have made one mistake while entering the author name Into some entry we have added Patel, Bhavesh and some entry Patel,Bhavesh R It will show like : Discover -- Patel, Bhavesh (10) Patel, Bhavesh R (5) So We have to convert into one authour Patel, Bhavesh I have made changes into database Table : metadatavalue Field : textvalue I have search Patel, Bhavesh R and converted into Patel, Bhavesh and then update index.. but still it's shows the old value.. but into that Item page it's show updated authour name What may be the issue ? Version : DSpace 4.1 OS : Window 7 Thanks Regards, *Bhavesh R. Patel * - www.bhaveshpatel.info - www.onlinequizportal.com - www.hindisuvichar.com Never leave till tomorrow which you can do today *Please consider the environment before printing this e-mail.* -- Start Your Social Network Today - Download eXo Platform Build your Enterprise Intranet with eXo Platform Software Java Based Open Source Intranet - Social, Extensible, Cloud Ready Get Started Now And Turn Your Intranet Into A Collaboration Platform http://p.sf.net/sfu/ExoPlatform ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- Terry Brady Applications Programmer Analyst Georgetown University Library Information Technology https://www.library.georgetown.edu/lit/code 202-687-7053 -- Start Your Social Network Today - Download eXo Platform Build your Enterprise Intranet with eXo Platform Software Java Based Open Source Intranet - Social, Extensible, Cloud Ready Get Started Now And Turn Your Intranet Into A Collaboration Platform http://p.sf.net/sfu/ExoPlatform___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
Re: [Dspace-tech] Update epersonid field in SOLR statistics
Ivan and Hardy, thanks for the advice. I took a different approach today, and tried to code a solution in java. This code appears to do what I need on my test server. Given that these are statistics records and the structure is fairly simple, this might do what I need. The stats records did not seem to have a unique id, so I believe that I will need to delete them via a query. The count limits in this code are tuned to the number of authentication records that I would like to cleanup. If anyone has a suggestion for improving this process, please let me know your suggestion. Thanks, Terry public class SolrUpdate { public static void main(String[] args) { String url = http://localhost/solr/statistics;; try { String myQuery = epersonid:[1 TO *]; if (args.length 0) myQuery= epersonid: + args[0]; HttpSolrServer server = new HttpSolrServer( url ); //server.setRequestWriter(new BinaryRequestWriter()); SolrQuery sq = new SolrQuery(); sq.setQuery(myQuery); sq.setRows(20); XMLResponseParser xrp = new XMLResponseParser();// { // public String getContentType() {return text/xml;} //}; server.setParser(xrp); QueryResponse resp = server.query(sq); SolrDocumentList list = resp.getResults(); System.err.println(list.getNumFound() + / + list.size()); ArrayListSolrInputDocument idocs = new ArrayListSolrInputDocument(); if (list.size() == 0) { System.err.println(No items for query); return; } for(int i=0; ilist.size(); i++) { System.err.println(i); SolrDocument doc = list.get(i); doc.setField(epersonid, 0); SolrInputDocument idoc = new SolrInputDocument(ClientUtils.toSolrInputDocument(doc)); //System.err.println(idoc.toString()); idocs.add(idoc); } server.deleteByQuery(myQuery); server.add(idocs); server.commit(); } catch (Exception e) { // TODO Auto-generated catch block e.printStackTrace(); } } } On Fri, Apr 18, 2014 at 9:00 AM, Pottinger, Hardy J. pottinge...@missouri.edu wrote: Hi, I did some searching just now, and found this... http://wiki.apache.org/solr/UpdateCSV ...might help? --Hardy Sent from my iPad On Apr 17, 2014, at 3:53 PM, Terry Brady tw...@georgetown.edu wrote: We would like to make our usage statistics anonymous. I would like to update all statistics records with an epersonid value. - q=epersonid:[0 TO *] Once the records are found, I would like to set the epersonid to 0. Is there a way to do this with a single curl statement? We are running DSpace 3.1. If not, could someone suggest a good approach to accomplish this task? Thanks, Terry -- Terry Brady Applications Programmer Analyst Georgetown University Library Information Technology https://www.library.georgetown.edu/lit/code 202-687-7053 -- Learn Graph Databases - Download FREE O'Reilly Book Graph Databases is the definitive new guide to graph databases and their applications. Written by three acclaimed leaders in the field, this first edition is now available. Download your free book today! http://p.sf.net/sfu/NeoTech ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- Terry Brady Applications Programmer Analyst Georgetown University Library Information Technology https://www.library.georgetown.edu/lit/code 202-687-7053 -- Start Your Social Network Today - Download eXo Platform Build your Enterprise Intranet with eXo Platform Software Java Based Open Source Intranet - Social, Extensible, Cloud Ready Get Started Now And Turn Your Intranet Into A Collaboration Platform http://p.sf.net/sfu/ExoPlatform___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
[Dspace-tech] Update epersonid field in SOLR statistics
We would like to make our usage statistics anonymous. I would like to update all statistics records with an epersonid value. - q=epersonid:[0 TO *] Once the records are found, I would like to set the epersonid to 0. Is there a way to do this with a single curl statement? We are running DSpace 3.1. If not, could someone suggest a good approach to accomplish this task? Thanks, Terry -- Terry Brady Applications Programmer Analyst Georgetown University Library Information Technology https://www.library.georgetown.edu/lit/code 202-687-7053 -- Learn Graph Databases - Download FREE O'Reilly Book Graph Databases is the definitive new guide to graph databases and their applications. Written by three acclaimed leaders in the field, this first edition is now available. Download your free book today! http://p.sf.net/sfu/NeoTech___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
Re: [Dspace-tech] reordering navigation sidebar (mirage xmlui theme)
Before we redesigned our site, I had a similar frustration with the sidebar. My solution was to collapse all off the nodes except Discover. var s = + document.location; if (!s.match(/community-list$/)) { jQuery(#ds-options div.ds-option-set,#dspace-options div.ds-option-set).not(#aspect_discovery_Navigation_list_discovery,#ds-search-option).addClass(gu-hide); } jQuery(#ds-options h3,#dspace-options h3).click(function(){ jQuery(this).next(div.ds-option-set:first).toggleClass(gu-hide); }); Terry On Tue, Apr 15, 2014 at 2:59 PM, Charlene Chinda Barina cbar...@uw.eduwrote: Hi, For the life of me I can't figure out what I need to change for this - basically, sitewide the sidebar layout in the mirage template (when logged in as a non-admin) is: Search box Browse My Account Discover RSS Feeds I'd like to show it as: Search box Discover My Account Browse RSS Feeds Where do I go to do this? navigation.xsl has explicit code for the search box, then xsl:apply-templates/, then the RSS feeds... Thanks, Charlene -- Charlene Barina, MPH Research Analyst 2, U.S. IMPACT Study The Information School 303-359-6347 | Skype: cbarina facebook.com/ImpactSurvey | twitter.com/impactsurvey -- Learn Graph Databases - Download FREE O'Reilly Book Graph Databases is the definitive new guide to graph databases and their applications. Written by three acclaimed leaders in the field, this first edition is now available. Download your free book today! http://p.sf.net/sfu/NeoTech ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- Terry Brady Applications Programmer Analyst Georgetown University Library Information Technology https://www.library.georgetown.edu/lit/code 202-687-7053 -- Learn Graph Databases - Download FREE O'Reilly Book Graph Databases is the definitive new guide to graph databases and their applications. Written by three acclaimed leaders in the field, this first edition is now available. Download your free book today! http://p.sf.net/sfu/NeoTech___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
[Dspace-tech] SOLR Stemming
I am interested in making our DSpace 3.1 discovery search more restrictive with regard to term stemming. I took a look at my schema.xml file for the search index. I see a filter defined as text and another one defined as textTight. I presume that I should change field name=text type=text indexed=true stored=false multiValued=true/ to field name=text type=textTight indexed=true stored=false multiValued=true/ throughout the file. Could anyone offer advice before I begin this work? Thank you for any advice you can offer. Terry -- Terry Brady Applications Programmer Analyst Georgetown University Library Information Technology https://www.library.georgetown.edu/lit/code 202-687-7053 -- Learn Graph Databases - Download FREE O'Reilly Book Graph Databases is the definitive new guide to graph databases and their applications. Written by three acclaimed leaders in the field, this first edition is now available. Download your free book today! http://p.sf.net/sfu/NeoTech___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
Re: [Dspace-tech] SOLR problem Dspace 3.x - command update-discovery-index
When I run update-discovery-index or oai with the -o option, I find that error occurs regularly for me as well. Since my system behaves normally, I have presumed that was a quirk related to the -o option. Terry On Wed, Apr 9, 2014 at 1:09 PM, Hernan Carvajal Briceño hernan.hcarva...@gmail.com wrote: Hi, I'm having the following error when execute update-discovery-index command: [root@dspace bin]# /usr/share/dspace/bin/dspace update-discovery-index -o INFO [main] (DSpaceKernelInit.java:52) - Created new kernel: DSpaceKernel:org.dspace:name=7bc2cab6-ea5f-4962-b583-973c2d62bcf5,type=DSpaceKernel:lastLoad=null:loadTime=0:running=false:kernel=null INFO [main] (ConfigurationManager.java:1224) - Loading from classloader: file:/usr/share/dspace/config/dspace.cfg INFO [main] (ConfigurationManager.java:1224) - Using dspace provided log configuration (log.init.config) INFO [main] (ConfigurationManager.java:1224) - Loading: /usr/share/dspace/config/log4j.properties SOLR Search Optimize -- Process Started:1397060605292 Exception: Internal Server Error Internal Server Error request: http://dspace/solr/search/update org.apache.solr.common.SolrException: Internal Server Error Internal Server Error request: http://dspace/solr/search/update at org.apache.solr.client.solrj.impl.CommonsHttpSolrServer.request(CommonsHttpSolrServer.java:435) at org.apache.solr.client.solrj.impl.CommonsHttpSolrServer.request(CommonsHttpSolrServer.java:244) at org.apache.solr.client.solrj.request.AbstractUpdateRequest.process(AbstractUpdateRequest.java:105) at org.apache.solr.client.solrj.SolrServer.optimize(SolrServer.java:94) at org.apache.solr.client.solrj.SolrServer.optimize(SolrServer.java:82) at org.dspace.discovery.SolrServiceImpl.optimize(SolrServiceImpl.java:438) at org.dspace.discovery.IndexClient.main(IndexClient.java:116) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.dspace.app.launcher.ScriptLauncher.main(ScriptLauncher.java:183) I can't find the problem, since all configurations seem to be fine. By another hand, the SOLR server is working. I've checket it in the Web browser: http://dspace/solr/search/admin/ Can anyone help me? Thanks in advance. -- Hernán Carvajal Briceño. hernan.hcarva...@gmail.com -- Put Bad Developers to Shame Dominate Development with Jenkins Continuous Integration Continuously Automate Build, Test Deployment Start a new project now. Try Jenkins in the cloud. http://p.sf.net/sfu/13600_Cloudbees ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- Terry Brady Applications Programmer Analyst Georgetown University Library Information Technology https://www.library.georgetown.edu/lit/code 202-687-7053 -- Put Bad Developers to Shame Dominate Development with Jenkins Continuous Integration Continuously Automate Build, Test Deployment Start a new project now. Try Jenkins in the cloud. http://p.sf.net/sfu/13600_Cloudbees___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette