Re: [Dspace-tech] Queries
Hi Please find the details below as required : DSPace version: 1.8.2 JSPUI Operating System: Windows XP Please suggest a solution Thanks Parul Dubey -Original Message- From: Tim Donohue [mailto:tdono...@duraspace.org] Sent: Thursday, January 03, 2013 10:17 PM To: Parul dubey Cc: dspace-tech@lists.sourceforge.net Subject: Re: [Dspace-tech] Queries Parul, In order to better help you, we'd need to also know which version of DSpace you are using, and whether you are using the JSPUI or XMLUI. That being said, here's some quick answers to your questions. On 12/31/2012 12:30 AM, Parul dubey wrote: Hi I have some queries kindly suggest a possible solution 1.Can the search criteria can changed as per community wise. For ex: Community 1 search based on Author , Title only Community 2 search based on Co publisher , Edition(new Metadata fields) You'd need to customize DSpace to provide this functionality. It'd likely take some Java programming work to provide different search criteria for different Communities. Offhand, I'm not sure how much time this work would take. 2.Can the name of the Subject button can be changed to keywords. Nearly all text in DSpace can be found in the messages file. Which messages file is being used depends on the interface you are using: * JSPUI - uses messages.properties file * XMLUI - uses messages.xml file 3.On clicking to the communities and Collection only the Community and Sub Community names will display not the collections. You'd need to customize the DSpace user interface to provide this feature. So, it would take some programming work. If you are using the JSPUI, you could likely modify the appropriate JSP file. If you are using the XMLUI, you'd likely need to customize your Theme to hide collections. However, if you hide Collections, I'm not sure how you'd ever be able to locate those Collections. 4.How to display the Community name in particular Order ex: (Books , Reports , Others)as the default it is displaying as (Books , Others, Reports). Communities are always listed alphabetically in DSpace. This would be difficult to customize, unless you do a lot of Java programming customization (not recommended). 5.How to remove the RSS feed option from the right side of home Page. In the JSPUI, you should be able to modify the appropriate JSP file. In the XMLUI, you'd need to modify your theme to hide those RSS feed options. 6.Is there a possibility to Add more fields while registering a user. If you want to add more fields to users in general, this would require a database table change, along with custom Java code. It's not recommended, unless you are a Java programmer. I hope that helps to answer a few basic questions. If you need more specific details, please email this list and let us know what version of DSpace you are using, and which UI (JSPUI or XMLUI). - Tim -- Master HTML5, CSS3, ASP.NET, MVC, AJAX, Knockout.js, Web API and much more. Get web development skills now with LearnDevNow - 350+ hours of step-by-step video tutorials by Microsoft MVPs and experts. SALE $99.99 this month only -- learn more at: http://p.sf.net/sfu/learnmore_122812 ___ 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] Help message_bg.properties
Hi To my problem from yesterday Here is the solution if needed i can post full tutorial how to run dspace 3.0 from netbeans from tomcat and add add easy some metafields in the itemTag.java for the dspace jsp-ui i added the following code // this part is to display ONLY bulgarian local this is just a small fix for the current testing //getting the current sesstion location Locale sessionLocale = UIUtil.getSessionLocale(request); boolean show = !MetadataExposure.isHidden(context, values[i].schema, values[i].element, values[i].qualifier); boolean isBG = true; // i have added in the database language for the metadate bg_BG if(values[i].language!= null !values[i].language.equals(bg_BG)) isBG = false; if (show isBG) { out.print(trtd headers=\s1\ class=\metadataFieldLabel\); // this is that we normally see example kmnc.proprties.something //IF you dont want ONLY one language this is the code you need String nameField= null; nameField= values[i].schema+ . + values[i].element+. + values[i].qualifier; // here i call it if we can find it in the message_bg.properties nameField=(LocaleSupport.getLocalizedMessage(pageContext,nameField)); out.print(nameField); -- Master HTML5, CSS3, ASP.NET, MVC, AJAX, Knockout.js, Web API and much more. Get web development skills now with LearnDevNow - 350+ hours of step-by-step video tutorials by Microsoft MVPs and experts. SALE $99.99 this month only -- learn more at: http://p.sf.net/sfu/learnmore_122812 ___ 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] Help message_bg.properties
On Fri, Jan 4, 2013 at 9:40 AM, Hristo Stamenov darkel...@gmail.com wrote: Here is the solution Thanks for sharing your solution. if needed i can post full tutorial how to run dspace 3.0 from netbeans from tomcat and add add easy some metafields If you have anything to add, feel free to edit this wiki page: https://wiki.duraspace.org/display/DSPACE/IDE+Integration+-+DSpace+and+NetBeans Regards, ~~helix84 Compulsory reading: DSpace Mailing List Etiquette https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- Master HTML5, CSS3, ASP.NET, MVC, AJAX, Knockout.js, Web API and much more. Get web development skills now with LearnDevNow - 350+ hours of step-by-step video tutorials by Microsoft MVPs and experts. SALE $99.99 this month only -- learn more at: http://p.sf.net/sfu/learnmore_122812 ___ 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 Exception in DSpace 3.0
On Fri, Jan 4, 2013 at 6:58 AM, mErRYo merryob...@yahoo.com wrote: SEVERE: org.apache.solr.common.SolrException: org.apache.lucene.queryParser.ParseException: Cannot parse 'title:()': Encountered ) ) at line 1, column 7. You asked Solr to search for 'title:()', which is an invalid query. What were you doing exactly on the DSpace side? Regards, ~~helix84 Compulsory reading: DSpace Mailing List Etiquette https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- Master HTML5, CSS3, ASP.NET, MVC, AJAX, Knockout.js, Web API and much more. Get web development skills now with LearnDevNow - 350+ hours of step-by-step video tutorials by Microsoft MVPs and experts. SALE $99.99 this month only -- learn more at: http://p.sf.net/sfu/learnmore_122812 ___ 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] Severe Warnings from SOLR Dspace 3.0
On Fri, Jan 4, 2013 at 7:09 AM, mErRYo merryob...@yahoo.com wrote: Any idea why it is happening. Is it related with memory allocation of web applications though i have set the Java_opts params at high rate. AFAIK, Tomcat usually writes this to the log when you restart DSpace. I see it quite often and it never caused me any problem. Regards, ~~helix84 Compulsory reading: DSpace Mailing List Etiquette https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- Master HTML5, CSS3, ASP.NET, MVC, AJAX, Knockout.js, Web API and much more. Get web development skills now with LearnDevNow - 350+ hours of step-by-step video tutorials by Microsoft MVPs and experts. SALE $99.99 this month only -- learn more at: http://p.sf.net/sfu/learnmore_122812 ___ 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 SearchServiceException: This statement has been closed.
On Fri, Jan 4, 2013 at 7:33 AM, mErRYo merryob...@yahoo.com wrote: Caused by: org.postgresql.util.PSQLException: This statement has been closed. Does it occur often? I think it happens if the underlying database connection is closed before you issue the SQL statement. If it occurs regularly, try increasing the value of db.maxwait in dspace.cfg and see if it helps. Regards, ~~helix84 Compulsory reading: DSpace Mailing List Etiquette https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- Master HTML5, CSS3, ASP.NET, MVC, AJAX, Knockout.js, Web API and much more. Get web development skills now with LearnDevNow - 350+ hours of step-by-step video tutorials by Microsoft MVPs and experts. SALE $99.99 this month only -- learn more at: http://p.sf.net/sfu/learnmore_122812 ___ 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] Queries
Hi I have a query kindly provide a possible solution for the same. 1. I have some Communities as Books , Periodicals , Events , Others. The default order is showing as : Books, Events, Others , Periodicals But I want the community to be displayed as: Books, Events, Periodicals , Others 2. Replace the name subject with Keywords from the Button(Subject) during search. 3. Can new fields be added to the search criteria.(apart from title , author new fields like edition , volume etc.) 4. show all the metadata fields in Simple record rather than clicking to the Show Full Item Record. And not include term dc. Version : 1.8.2 JSPUI Operating System: Windows Thanks in Advance Parul Dubey From: Mark Ehle [mailto:marke...@gmail.com] Sent: Thursday, January 03, 2013 12:51 AM To: DSpace-tech@lists.sourceforge.net Subject: [Dspace-tech] Command line add empty collection Folks - Is there a command line way to add an empty collection to an already existing community? The structure importer does not seem to be able to do this. Thanks - LibraryMark -- Master HTML5, CSS3, ASP.NET, MVC, AJAX, Knockout.js, Web API and much more. Get web development skills now with LearnDevNow - 350+ hours of step-by-step video tutorials by Microsoft MVPs and experts. SALE $99.99 this month only -- learn more at: http://p.sf.net/sfu/learnmore_122812___ 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] Queries
Hi Parul, I answered several of these questions already in a separate thread. But, here's some more specifics now that I know you are using JSPUI. On 1/4/2013 4:47 AM, Parul dubey wrote: Hi I have a query kindly provide a possible solution for the same. 1.I have some Communities as Books , Periodicals , Events , Others. The default order is showing as : */Books, Events, Others , Periodicals/* But I want the community to be displayed as: */ Books, Events, Periodicals , Others/* Unfortunately, DSpace always orders Communities alphabetically. There is no easy way to customize Community ordering. You'd have to do custom Java development to implement this -- it'd likely also involve needing to add a column to the community database table to store the order. So, this is unfortunately not something that's easy to do in DSpace. It'd be extremely complex and require a lot of custom development. The only other option I can think of is to hardcode the list of communities into the community-list.jsp and home.jsp pages. [dspace-src]/dspace-jspui/dspace-jspui-webapp/src/main/webapp/community-list.jsp [dspace-src]/dspace-jspui/dspace-jspui-webapp/src/main/webapp/home.jsp But hardcoding your list of communities would not be user friendly, as you'd have to modify those JSPs rebuild DSpace every time you wanted to add a new Community. 2.Replace the name *subject* with *Keywords* from the Button(Subject) during search. In the JSPUI, any text can be modified in the Messages.properties file. In this case, I believe the key you want to change in the Messages.properties file is this one: jsp.search.advanced.type.keyword = Subject Full instructions are here: https://wiki.duraspace.org/pages/viewpage.action?pageId=19006090 3.Can new fields be added to the search criteria.(apart from *title , author* new fields like *edition , volume* etc.) Yes, you can add new search fields to DSpace by modifying the dspace.cfg file reindexing your content. The basic instructions are here: https://wiki.duraspace.org/display/DSPACE/Modify+search+fields 4.show all the metadata fields in *Simple record* rather than clicking to the *Show Full Item Record*. And not include term *dc.* You can configure which metadata fields are displayed in the JSPUI simple record in your dspace.cfg file. The basic nstructions are here: https://wiki.duraspace.org/pages/viewpage.action?pageId=19006086 Good luck! - Tim -- Master HTML5, CSS3, ASP.NET, MVC, AJAX, Knockout.js, Web API and much more. Get web development skills now with LearnDevNow - 350+ hours of step-by-step video tutorials by Microsoft MVPs and experts. SALE $99.99 this month only -- learn more at: http://p.sf.net/sfu/learnmore_122812 ___ 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] Queries
I actually did exactly this. I added a column to both the Community and Collection tables entitled local_display_order (I use the local prefix on any column or table I add to the database so I can easily identify them later). Then I modified Community.java and Collection.java to new the new column to order my Communities and Collections. I use PGAdminIII to update the column to the desired number/order. Sue Sue Walker-Thornton (w): (757) 864-2368 (m): (757) 506-9903 -Original Message- From: Tim Donohue [mailto:tdono...@duraspace.org] Sent: Friday, January 04, 2013 10:51 AM To: Parul dubey Cc: 'DSpace-tech@lists.sourceforge.net' Subject: Re: [Dspace-tech] Queries Hi Parul, I answered several of these questions already in a separate thread. But, here's some more specifics now that I know you are using JSPUI. On 1/4/2013 4:47 AM, Parul dubey wrote: Hi I have a query kindly provide a possible solution for the same. 1.I have some Communities as Books , Periodicals , Events , Others. The default order is showing as : */Books, Events, Others , Periodicals/* But I want the community to be displayed as: */ Books, Events, Periodicals , Others/* Unfortunately, DSpace always orders Communities alphabetically. There is no easy way to customize Community ordering. You'd have to do custom Java development to implement this -- it'd likely also involve needing to add a column to the community database table to store the order. So, this is unfortunately not something that's easy to do in DSpace. It'd be extremely complex and require a lot of custom development. The only other option I can think of is to hardcode the list of communities into the community-list.jsp and home.jsp pages. [dspace-src]/dspace-jspui/dspace-jspui-webapp/src/main/webapp/community-list.jsp [dspace-src]/dspace-jspui/dspace-jspui-webapp/src/main/webapp/home.jsp But hardcoding your list of communities would not be user friendly, as you'd have to modify those JSPs rebuild DSpace every time you wanted to add a new Community. 2.Replace the name *subject* with *Keywords* from the Button(Subject) during search. In the JSPUI, any text can be modified in the Messages.properties file. In this case, I believe the key you want to change in the Messages.properties file is this one: jsp.search.advanced.type.keyword = Subject Full instructions are here: https://wiki.duraspace.org/pages/viewpage.action?pageId=19006090 3.Can new fields be added to the search criteria.(apart from *title , author* new fields like *edition , volume* etc.) Yes, you can add new search fields to DSpace by modifying the dspace.cfg file reindexing your content. The basic instructions are here: https://wiki.duraspace.org/display/DSPACE/Modify+search+fields 4.show all the metadata fields in *Simple record* rather than clicking to the *Show Full Item Record*. And not include term *dc.* You can configure which metadata fields are displayed in the JSPUI simple record in your dspace.cfg file. The basic nstructions are here: https://wiki.duraspace.org/pages/viewpage.action?pageId=19006086 Good luck! - Tim -- Master HTML5, CSS3, ASP.NET, MVC, AJAX, Knockout.js, Web API and much more. Get web development skills now with LearnDevNow - 350+ hours of step-by-step video tutorials by Microsoft MVPs and experts. SALE $99.99 this month only -- learn more at: http://p.sf.net/sfu/learnmore_122812 ___ 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 -- Master HTML5, CSS3, ASP.NET, MVC, AJAX, Knockout.js, Web API and much more. Get web development skills now with LearnDevNow - 350+ hours of step-by-step video tutorials by Microsoft MVPs and experts. SALE $99.99 this month only -- learn more at: http://p.sf.net/sfu/learnmore_122812 ___ 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] Queries
Sorry, that should have been ...I modified Community.java and Collection.java to USE the new column.. Sue Sue Walker-Thornton (w): (757) 864-2368 (m): (757) 506-9903 -Original Message- From: Thornton, Susan M. (LARC-B702)[LITES] [mailto:susan.m.thorn...@nasa.gov] Sent: Friday, January 04, 2013 11:22 AM To: Tim Donohue; Parul dubey Cc: 'DSpace-tech@lists.sourceforge.net' Subject: Re: [Dspace-tech] Queries I actually did exactly this. I added a column to both the Community and Collection tables entitled local_display_order (I use the local prefix on any column or table I add to the database so I can easily identify them later). Then I modified Community.java and Collection.java to new the new column to order my Communities and Collections. I use PGAdminIII to update the column to the desired number/order. Sue Sue Walker-Thornton (w): (757) 864-2368 (m): (757) 506-9903 -Original Message- From: Tim Donohue [mailto:tdono...@duraspace.org] Sent: Friday, January 04, 2013 10:51 AM To: Parul dubey Cc: 'DSpace-tech@lists.sourceforge.net' Subject: Re: [Dspace-tech] Queries Hi Parul, I answered several of these questions already in a separate thread. But, here's some more specifics now that I know you are using JSPUI. On 1/4/2013 4:47 AM, Parul dubey wrote: Hi I have a query kindly provide a possible solution for the same. 1.I have some Communities as Books , Periodicals , Events , Others. The default order is showing as : */Books, Events, Others , Periodicals/* But I want the community to be displayed as: */ Books, Events, Periodicals , Others/* Unfortunately, DSpace always orders Communities alphabetically. There is no easy way to customize Community ordering. You'd have to do custom Java development to implement this -- it'd likely also involve needing to add a column to the community database table to store the order. So, this is unfortunately not something that's easy to do in DSpace. It'd be extremely complex and require a lot of custom development. The only other option I can think of is to hardcode the list of communities into the community-list.jsp and home.jsp pages. [dspace-src]/dspace-jspui/dspace-jspui-webapp/src/main/webapp/community-list.jsp [dspace-src]/dspace-jspui/dspace-jspui-webapp/src/main/webapp/home.jsp But hardcoding your list of communities would not be user friendly, as you'd have to modify those JSPs rebuild DSpace every time you wanted to add a new Community. 2.Replace the name *subject* with *Keywords* from the Button(Subject) during search. In the JSPUI, any text can be modified in the Messages.properties file. In this case, I believe the key you want to change in the Messages.properties file is this one: jsp.search.advanced.type.keyword = Subject Full instructions are here: https://wiki.duraspace.org/pages/viewpage.action?pageId=19006090 3.Can new fields be added to the search criteria.(apart from *title , author* new fields like *edition , volume* etc.) Yes, you can add new search fields to DSpace by modifying the dspace.cfg file reindexing your content. The basic instructions are here: https://wiki.duraspace.org/display/DSPACE/Modify+search+fields 4.show all the metadata fields in *Simple record* rather than clicking to the *Show Full Item Record*. And not include term *dc.* You can configure which metadata fields are displayed in the JSPUI simple record in your dspace.cfg file. The basic nstructions are here: https://wiki.duraspace.org/pages/viewpage.action?pageId=19006086 Good luck! - Tim -- Master HTML5, CSS3, ASP.NET, MVC, AJAX, Knockout.js, Web API and much more. Get web development skills now with LearnDevNow - 350+ hours of step-by-step video tutorials by Microsoft MVPs and experts. SALE $99.99 this month only -- learn more at: http://p.sf.net/sfu/learnmore_122812 ___ 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 -- Master HTML5, CSS3, ASP.NET, MVC, AJAX, Knockout.js, Web API and much more. Get web development skills now with LearnDevNow - 350+ hours of step-by-step video tutorials by Microsoft MVPs and experts. SALE $99.99 this month only -- learn more at: http://p.sf.net/sfu/learnmore_122812 ___ 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 -- Master HTML5, CSS3, ASP.NET, MVC, AJAX, Knockout.js, Web API
Re: [Dspace-tech] Queries
Hi Sue, why don't you create a Jira issue and share the code? It would be useful as such. And someone might create even the admin UI code. -- Master HTML5, CSS3, ASP.NET, MVC, AJAX, Knockout.js, Web API and much more. Get web development skills now with LearnDevNow - 350+ hours of step-by-step video tutorials by Microsoft MVPs and experts. SALE $99.99 this month only -- learn more at: http://p.sf.net/sfu/learnmore_122812___ 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] Help message_bg.properties
Hi Hristo, I just learned about this configuration option: https://wiki.duraspace.org/pages/viewpage.action?pageId=19006086 You could do without your modifications if you listed all your metadata fields in the configuration property and defined human readable names for your custom metadata in Messages.properties (metadata.schema.element.qualifier). I recommend doing as little customization to code as possible. It will make long term maintenance (upgrades) easier. -- Master HTML5, CSS3, ASP.NET, MVC, AJAX, Knockout.js, Web API and much more. Get web development skills now with LearnDevNow - 350+ hours of step-by-step video tutorials by Microsoft MVPs and experts. SALE $99.99 this month only -- learn more at: http://p.sf.net/sfu/learnmore_122812___ 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 3.0 XMLUI error: HTTP Status 404 - Servlet spring is not available
On Fri, Jan 4, 2013 at 7:56 PM, Charles Kinney cbkinn...@gmail.com wrote: Thanks. I'd already carefully ported my config changes. A diff appeared to show differences between the 1.8 and 3.0 directory contents. Rather than (blindly, for me) undertake a move-a-file-then-test process, to be sure I had the right files in the right places, I first cleaned out the Tomcat directories (as suggested in the docs and by the build process comments--RTFM!) and did a clean install. The Mirage XMLUI interface now appears to load successfully. Glad you got it working. (Almost) everything should be in the docs :) (Now I have to check on Discovery: I thought I'd enabled it, but am not seeing the sidebar facet.) Here's how to enable Discovery: https://wiki.duraspace.org/display/DSDOC3x/Discovery#Discovery-StepsrequiredforXMLUI Forgetting the last step (to run update-discovery-index) is one thing that could cause that no facets are displayed. Again, thanks for your comment, which pointed me in the right direction. Regards, ~~helix84 Compulsory reading: DSpace Mailing List Etiquette https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- Master HTML5, CSS3, ASP.NET, MVC, AJAX, Knockout.js, Web API and much more. Get web development skills now with LearnDevNow - 350+ hours of step-by-step video tutorials by Microsoft MVPs and experts. SALE $99.99 this month only -- learn more at: http://p.sf.net/sfu/learnmore_122812 ___ 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] Queries
Ok – will do! It’s a very simple modification! Sue Sue Walker-Thornton (w): (757) 864-2368 (m): (757) 506-9903 From: ivan.ma...@gmail.com [mailto:ivan.ma...@gmail.com] On Behalf Of helix84 Sent: Friday, January 04, 2013 11:34 AM To: Thornton, Susan M. (LARC-B702)[LITES] Cc: dspace-tech; Parul dubey; Tim Donohue Subject: Re: [Dspace-tech] Queries Hi Sue, why don't you create a Jira issue and share the code? It would be useful as such. And someone might create even the admin UI code. -- Master HTML5, CSS3, ASP.NET, MVC, AJAX, Knockout.js, Web API and much more. Get web development skills now with LearnDevNow - 350+ hours of step-by-step video tutorials by Microsoft MVPs and experts. SALE $99.99 this month only -- learn more at: http://p.sf.net/sfu/learnmore_122812___ 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] Create collection from command line
Folks - I need a way to create an empty collection from the command line. We are automating the ingestion of newspaper PDF's and the structure-build command will allow me to do everything I need except create a collection by itself in a separate step. The community that the collection belongs to will already be established. I'm using Dspace 3.0 on Ubuntu 12.10 server. Any ideas? Thanks again! Mark Ehle Computer Support Librarian Willard Library Battle Creek, MI -- Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. SALE $99.99 this month only -- learn more at: http://p.sf.net/sfu/learnmore_122912___ 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] Create collection from command line
OK - looks like I have found a way, but I don't know if it's the most optimum. Using the packager command, I can ingest a zip file with just the mets.xml file in it and point it to the community I want it to land under. It looks like this: /[dspace]/bin/dspace packager -s -a -u -t AIP -e m...@example.com -p 123456789/66280 mets.zip This seems to work just fine, but what I would like to know now is: 1) What is the least content I need in the mets.xml file to accomplish this? All I want is a collection with no files (initially) and just a title. 2) Is there a command that will allow me to not have to zip the xml file? The help message for the packager command /[dspace]/bin/dspace packager --help --type METS talks about the manifestOnly switch, but I don't know how to use it. On Fri, Jan 4, 2013 at 8:00 PM, Mark Ehle marke...@gmail.com wrote: Folks - I need a way to create an empty collection from the command line. We are automating the ingestion of newspaper PDF's and the structure-build command will allow me to do everything I need except create a collection by itself in a separate step. The community that the collection belongs to will already be established. I'm using Dspace 3.0 on Ubuntu 12.10 server. Any ideas? Thanks again! Mark Ehle Computer Support Librarian Willard Library Battle Creek, MI -- Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. SALE $99.99 this month only -- learn more at: http://p.sf.net/sfu/learnmore_122912___ 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] Create collection from command line
Hi Mark: Have you looked at StructBuilder, command-line tool used to create Communities Collections from XML files: https://wiki.duraspace.org/display/DSDOC3x/Importing+Community+and+Collection+Hierarchy Not sure if this fits your needs, but might be worth examining, Hope this helps, Richard R On Jan 4, 2013, at 8:00 PM, Mark Ehle wrote: Folks - I need a way to create an empty collection from the command line. We are automating the ingestion of newspaper PDF's and the structure-build command will allow me to do everything I need except create a collection by itself in a separate step. The community that the collection belongs to will already be established. I'm using Dspace 3.0 on Ubuntu 12.10 server. Any ideas? Thanks again! Mark Ehle Computer Support Librarian Willard Library Battle Creek, MI -- Master Visual Studio, SharePoint, SQL, ASP.NEThttp://ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. SALE $99.99 this month only -- learn more at: http://p.sf.net/sfu/learnmore_122912___ 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 -- Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. SALE $99.99 this month only -- learn more at: http://p.sf.net/sfu/learnmore_122912___ 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