Re: [Dspace-tech] Google Scholar citation_pdf_url for multifile items
On Mon, Jan 14, 2013 at 5:38 AM, Andrea Schweer schw...@waikato.ac.nz wrote: the item has exactly one bitstream in the ORIGINAL bundle (or the first such bundle, to be precise); and this bitstream is of type application/pdf Hi Andrea, thank you for your findings, I didn't realize we have this problem. I see that this ruleset doesn't take into consideration the concept of a primary bitstream. I would suggest to amend it this way: a) the item has exactly one bitstream in the ORIGINAL bundle (or the first such bundle, to be precise) b) this bitstream is of type application/pdf c) the item has a primary bitstream specified (a AND b) OR (c AND b) Google Scholar has said they are not interested in having citation tags for an item if this field is not provided for. In that case, I'm +1 to using any PDF the item has, even if it's not a primary bitstream or the only PDF. It's better to discover the item even if it's e.g. just an abstract than not to discover it at all. So the ruleset would be: 1) filter all bitstreams of type application/pdf 2) if there's a bitstream set as primary, use it 3) take the first bitstream by sequence_id, use it Regards, ~~helix84 Compulsory reading: DSpace Mailing 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_122412 ___ 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 customize DSpace 3.0 XMLUI Discovery Recent Submissions display
On Fri, Jan 11, 2013 at 11:16 PM, Charles Kinney cbkinn...@gmail.com wrote: Recent submissions display appears to default to three Dublin Core elements: dc.title,dc.contributor.*,dc.date.issued I would like to add another element to this display. How do I do so? I've looked at the discovery.xml file. A simple example of how to do so would help. Hi Charles, it's not a configuration option, but you can customize the template quite easily. Which XMLUI theme are you using? You didn't specify thet, so I'll assume Mirage. Because the template that renders the list is also used to render other item lists, we will need to distinguish between these two uses, so we'll fill this variable (you can put it directly to your theme's stylesheet, outside any templates): xsl:variable name=recent-submissions_displayed select=/dri:document/dri:body/dri:div/dri:div[@id='aspect.artifactbrowser.CommunityRecentSubmissions.div.community-recent-submission'] / The list itself is rendered in the itemSummaryList-DIM-metadata template, so copy it over to your theme's stylesheet in order to override it. The template is here: https://github.com/DSpace/DSpace/blob/dspace-3_x/dspace-xmlui/src/main/webapp/themes/Mirage/lib/xsl/aspect/artifactbrowser/item-list.xsl#L151 So, e.g. if you wanted to add ISSN to the list, you would select the value like this: xsl:value-of select=dim:field[@element='identifier' and @qualifier='issn'][1]/node()/ Regards, ~~helix84 Compulsory reading: DSpace Mailing 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_122412___ 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 Pool Error: Cannot get a connection, pool error. Timeout waiting for idle object
Dear all, Have Peter's code solved the problem, could anyone using DSpace XMLUI 1.7.1 + Discovery give an update? Also, I noticed that after this Cannot get a connection, java starts to consume 100% of processor and the user interface stops responding, has anyone faced the same problem? Regards André N. Assada 2012/7/19 helix84 heli...@centrum.sk On Thu, Jul 19, 2012 at 6:08 AM, Benjamin Ryan benjamin.r...@manchester.ac.uk wrote: Helix, Do you have any details of XOAI please? Sure, it's a new implementation of the OAI webapp from scratch by Lyncode, also known as OAI 2.0. In fact xoai-common is the underlying generic OAI library (like OAICat was for the old webapp) and OAI 2.0 is the data provider (glue) for DSpace. There's code for 3.0 that replaces the old OAI module and an addon for 1.8 which you can install alongside as a separate webapp. wiki docs: https://wiki.duraspace.org/display/DSPACE/OAI+2.0 Jira issue: https://jira.duraspace.org/browse/DS-1202 Pull Request https://github.com/DSpace/DSpace/pull/37 Source code on GitHub (based on git master, i.e. 3.0) in branch dspace-with-xoai: https://github.com/lyncode/DSpace Source code packaged as addon for 1.8 + installation docs: http://www.lyncode.com/dspace/addons/xoai/XOAI.zip Any testing, comments and suggestions are welcome, you can use the Jira comments or mailing list. Regards, ~~helix84 -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech -- 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_122412___ 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 Pool Error: Cannot get a connection, pool error. Timeout waiting for idle object
On Mon, Jan 14, 2013 at 12:26 PM, André andre.ass...@usp.br wrote: Have Peter's code solved the problem, could anyone using DSpace XMLUI 1.7.1 + Discovery give an update? Also, I noticed that after this Cannot get a connection, java starts to consume 100% of processor and the user interface stops responding, has anyone faced the same problem? Yes, this occasionally happened to me, both on 1.8.x and 3.0. I think it happened to me only once on 3.0, where OAI no longer consumes DB connections, so I recommend upgrading as a workaround. There is no solution yet because we still have little information about the problem - it's hard to pin down the conditions reproducing it reliably. Regards, ~~helix84 -- 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_122412 ___ 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 Pool Error: Cannot get a connection, pool error. Timeout waiting for idle object
BTW there is work going on, tentatively targetted at DSpace 4.0, which changes completely how the DB access layer works, so it's possible this problem will be solved as a side-effect, in about a year. Regards, ~~helix84 Compulsory reading: DSpace Mailing 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_122412 ___ 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 Pool Error: Cannot get a connection, pool error. Timeout waiting for idle object
Try reviewing this step: http://wiki.lib.sun.ac.za/index.php/SUNScholar/Prepare_Ubuntu/S06, it may give you some pointers. Also see: http://wiki.lib.sun.ac.za/index.php/SUNScholar/Optimisations On 14 January 2013 13:26, André andre.ass...@usp.br wrote: Dear all, Have Peter's code solved the problem, could anyone using DSpace XMLUI 1.7.1 + Discovery give an update? Also, I noticed that after this Cannot get a connection, java starts to consume 100% of processor and the user interface stops responding, has anyone faced the same problem? Regards André N. Assada 2012/7/19 helix84 heli...@centrum.sk On Thu, Jul 19, 2012 at 6:08 AM, Benjamin Ryan benjamin.r...@manchester.ac.uk wrote: Helix, Do you have any details of XOAI please? Sure, it's a new implementation of the OAI webapp from scratch by Lyncode, also known as OAI 2.0. In fact xoai-common is the underlying generic OAI library (like OAICat was for the old webapp) and OAI 2.0 is the data provider (glue) for DSpace. There's code for 3.0 that replaces the old OAI module and an addon for 1.8 which you can install alongside as a separate webapp. wiki docs: https://wiki.duraspace.org/display/DSPACE/OAI+2.0 Jira issue: https://jira.duraspace.org/browse/DS-1202 Pull Request https://github.com/DSpace/DSpace/pull/37 Source code on GitHub (based on git master, i.e. 3.0) in branch dspace-with-xoai: https://github.com/lyncode/DSpace Source code packaged as addon for 1.8 + installation docs: http://www.lyncode.com/dspace/addons/xoai/XOAI.zip Any testing, comments and suggestions are welcome, you can use the Jira comments or mailing list. Regards, ~~helix84 -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech -- 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_122412 ___ 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 -- *Hilton Gibson* 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://library.sun.ac.za http://scholar.sun.ac.za http://ar1.sun.ac.za http://aj1.sun.ac.za -- 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_122412___ 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 Pool Error: Cannot get a connection, pool error. Timeout waiting for idle object
On Mon, Jan 14, 2013 at 1:22 PM, Hilton Gibson hilton.gib...@gmail.com wrote: Try reviewing this step: http://wiki.lib.sun.ac.za/index.php/SUNScholar/Prepare_Ubuntu/S06, it may give you some pointers. Also see: http://wiki.lib.sun.ac.za/index.php/SUNScholar/Optimisations Hi Hilton, unfortunately, I don't see anything there that would prevent the problem. My configuration is very similar: max_connections = 100 kernel.shmmax = 536870912 kernel.shmall = 536870912 The immediate problem manifests by most DB connections being in IDLE in transaction state when you view postgres process list. Regards, ~~helix84 Compulsory reading: DSpace Mailing 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_122412 ___ 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 Pool Error: Cannot get a connection, pool error. Timeout waiting for idle object
I think I have setup max connections to 300 and unlimited idle connections for both the PostgreSQL DB and in the DSpace config. So far never had a DB connection problem. I suppose it depends on the visitor density ie: visits per minute. On 14 January 2013 14:34, helix84 heli...@centrum.sk wrote: max_connections = 100 kernel.shmmax = 536870912 kernel.shmall = 536870912 -- *Hilton Gibson* 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://library.sun.ac.za http://scholar.sun.ac.za http://ar1.sun.ac.za http://aj1.sun.ac.za -- 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_122412___ 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 Pool Error: Cannot get a connection, pool error. Timeout waiting for idle object
Here are my db options from dspace.cfg of that instance (default except raised db.maxconnections): # Maximum number of DB connections in pool db.maxconnections = 90 # Maximum time to wait before giving up if all connections in pool are busy (milliseconds) db.maxwait = 5000 # Maximum number of idle connections in pool (-1 = unlimited) db.maxidle = -1 # Determine if prepared statement should be cached. (default is true) db.statementpool = true Hilton, what do you use for db.maxidle? I'm wondering if that could be what makes a difference. Regards, ~~helix84 Compulsory reading: DSpace Mailing 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_122412 ___ 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 Pool Error: Cannot get a connection, pool error. Timeout waiting for idle object
Also here is a graph. On 14 January 2013 14:48, helix84 heli...@centrum.sk wrote: Here are my db options from dspace.cfg of that instance (default except raised db.maxconnections): # Maximum number of DB connections in pool db.maxconnections = 90 # Maximum time to wait before giving up if all connections in pool are busy (milliseconds) db.maxwait = 5000 # Maximum number of idle connections in pool (-1 = unlimited) db.maxidle = -1 # Determine if prepared statement should be cached. (default is true) db.statementpool = true Hilton, what do you use for db.maxidle? I'm wondering if that could be what makes a difference. Regards, ~~helix84 Compulsory reading: DSpace Mailing List Etiquette https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- *Hilton Gibson* 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://library.sun.ac.za http://scholar.sun.ac.za http://ar1.sun.ac.za http://aj1.sun.ac.za attachment: postgres_connections_ALL-year.png-- 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_122412___ 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 Pool Error: Cannot get a connection, pool error. Timeout waiting for idle object
On Mon, Jan 14, 2013 at 12:26 PM, André andre.ass...@usp.br wrote: Have Peter's code solved the problem, could anyone using DSpace XMLUI 1.7.1 + Discovery give an update? BTW André, sorry, I didn't really answer your question because I didn't notice it pertained to the previous conversation. So no, I haven't verified whether Peter's code solved the problem, I'm using stock code in this respect. On Mon, Jan 14, 2013 at 2:01 PM, Hilton Gibson hilton.gib...@gmail.com wrote: Also here is a graph. Hilton, that's a wonderful graph exactly illustrating the problem (the spike in idle in transaction connections). I wish I had such monitoring set up :) But I wonder what the other spike is (idle transactions). Regards, ~~helix84 Compulsory reading: DSpace Mailing 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_122412 ___ 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 Pool Error: Cannot get a connection, pool error. Timeout waiting for idle object
No problem, Helix, and thank you all a lot for all the info, it gave a good insight of the problem anyways. Regards, André N. Assada 2013/1/14 helix84 heli...@centrum.sk On Mon, Jan 14, 2013 at 12:26 PM, André andre.ass...@usp.br wrote: Have Peter's code solved the problem, could anyone using DSpace XMLUI 1.7.1 + Discovery give an update? BTW André, sorry, I didn't really answer your question because I didn't notice it pertained to the previous conversation. So no, I haven't verified whether Peter's code solved the problem, I'm using stock code in this respect. On Mon, Jan 14, 2013 at 2:01 PM, Hilton Gibson hilton.gib...@gmail.com wrote: Also here is a graph. Hilton, that's a wonderful graph exactly illustrating the problem (the spike in idle in transaction connections). I wish I had such monitoring set up :) But I wonder what the other spike is (idle transactions). Regards, ~~helix84 Compulsory reading: DSpace Mailing 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_122412___ 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] Google Scholar citation_pdf_url for multifile items
Hi Andrea: The case you cite is not as obvious to me: how can we assume that the single PDF is the primary artifact (i.e. the one that the rest of the GS tags describe)? We have cases where (in an Item) the article is in Word, or LaTeX, and a supplementary file is a PDF. In those cases the rule you propose would ask GS to index the wrong bitstream. Because of cases like these, we deliberately enshrined the most conservative rule possible (if there is only one bitstream *and* it's a PDF) - since scholar asked us to value accuracy over completeness. But it is absolutely right that the rule can be too restrictive in many ways. We kicked around (but didn't have time to implement for the 1st release) the notion of a site-specific, user-configurable 'map' function or functions, that would yield 0 or 1 bitstreams per item. The idea is that if there *is* a consistent 'pattern' (like the one you mention), the page could dynamically determine the value of the citation_pdf_url by calling the function. Design questions include: * should there be a site-wide mapping rule, or one per collection (per format type, etc)? * probably should be be a default (maybe just the current hard-coded one) - so that we don't force additional configuration * how should the rule be expressed? * how to limit runtime penalties etc. I can probably dig up some notes on this if there is interest in that approach. My 2 cents, Richard On Jan 13, 2013, at 11:38 PM, Andrea Schweer wrote: Hi all, I just discovered that DSpace (XMLUI, 1.8.2 but 3.0 has the same behaviour) generates the citation_pdf_url header for Google Scholar on an item page if and only if *the item has exactly one bitstream in the ORIGINAL bundle (or the first such bundle, to be precise); and *this bitstream is of type application/pdf Code in master here: https://github.com/DSpace/DSpace/blob/master/dspace-api/src/main/java/org/dspace/app/util/GoogleMetadata.java#L1007 I found old discussion around this in Jira here: https://jira.duraspace.org/browse/DS-396?focusedCommentId=17461page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-17461 that explains what I assume is still the reasoning behind the current explanation: How does one choose, for instance, a.) which PDF in an item with multiple PDF bitstreams, b.) what is specified for a URL when there is no PDF for an item, c.) whether or not to specify a PDF if the only PDF available is not the main representative bitstream of the item. Google Scholar has said they are not interested in having citation tags for an item if this field is not provided for. I find this a bit counter-intuitive especially in the case of items with one PDF file plus one more more files in a different format -- surely there it should be fine to use the single PDF file in the citation_pdf_url? Are there any other opinions around this? cheers, Andrea -- Dr Andrea Schweer IRR Technical Specialist, ITS Information Systems The University of Waikato, Hamilton, New Zealand -- 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_122412___ 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_122412___ 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] Google Scholar citation_pdf_url for multifile items
On Mon, Jan 14, 2013 at 2:43 PM, Richard Rodgers rrodg...@mit.edu wrote: In those cases the rule you propose would ask GS to index the wrong bitstream. Hi Richard, I didn't see that Andrea proposed anything yet, so I think you're referring to mu proposal. Also, thank you for sheding more light on the reasons behind status quo. * should there be a site-wide mapping rule, or one per collection (per format type, etc)? * probably should be be a default (maybe just the current hard-coded one) - so that we don't force additional configuration * how should the rule be expressed? * how to limit runtime penalties What about adding another bitstream table column (according to what you said, primary bitstream may not adequately express this intent) or Solr index field? It would allow the users complete flexibility in redefining any default rules we cast upon them (we could provide some curation tasks with different rulesets to do that) and by not evaluating the rule at browse time it would avoid any runtime penalty. Regards, ~~helix84 Compulsory reading: DSpace Mailing 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_122412 ___ 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 Pool Error: Cannot get a connection, pool error. Timeout waiting for idle object
You can with: http://wiki.lib.sun.ac.za/index.php/SUNScholar/Disaster_Recovery/System_Monitor On 14 January 2013 15:07, helix84 heli...@centrum.sk wrote: Hilton, that's a wonderful graph exactly illustrating the problem (the spike in idle in transaction connections). I wish I had such monitoring set up :) -- *Hilton Gibson* 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://library.sun.ac.za http://scholar.sun.ac.za http://ar1.sun.ac.za http://aj1.sun.ac.za -- 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_122412___ 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] Darwin Core in DSpace?
Please excuse my asking this on the Tech list! Is anyone aware of DSpace repositories that have added a Darwin Core schema/registry? I'm looking for examples of institutions' deploying DWC in DSpace and, thus far, have only turned up Wichita State University. Thanks for any leads. All my best, Sarah Sarah Potvin Assistant Professor Metadata Librarian Digital Services Scholarly Communication University Libraries Texas AM University spot...@library.tamu.edu Evans Library Annex 501K 5000 TAMU | College Station, TX 77843-5000 979.458.2662 -- 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_122412___ 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] Need help regarding OpenURL and Dspace Options section customization
Hello Everyone, a) I need to modify Dspace options section to : involve a dropdown menu. I have tried modifying the collections and communities list inside the body - into a dropdown menu and it works perfectly. I wish to know, if i can move the same division to Options sections ( instead of Body ). In order to do the above : I have 2 options. 1. I can select the DRI community browser id from xsl and show it in options sections, but I do not think that is possible, since the DRI community browser division: is generated within body in DRI. I do not know, how can i move that division to options sections. 2. I have tried adding a separate java class file, which generates division inside options( i took care of the xmap for the added java class file). However, i could not generate a division. I could generate a list , a link and others inside options ( with the above java file), but a division does not seem to work inside options. I wish I could generate the community browser division inside options, instead of body - as this would drastically simplify the dropdown generation. Please do let me know, if there is anything that i need to do to make the above implementation possible. b ) Also, I have got a requirement to enable OpenURL with Dspace. From the documentation, I understand that Dspace supports OpenURL, but I do not have any idea about how to integrate OpenURL with Dspace. I understand that we need a SFX server, but how do we link Dspace to the SFX server? Please do let me know if anyone has worked on OpenURL integration with Dspace. Thank you Lohit -- 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_122412___ 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] Need help regarding OpenURL and Dspace Options section customization
On Mon, Jan 14, 2013 at 6:05 PM, Lohit Valleru lohi...@gmail.com wrote: Hello Everyone, a) I need to modify Dspace options section to : involve a dropdown menu. I have tried modifying the collections and communities list inside the body - into a dropdown menu and it works perfectly. I wish to know, if i can move the same division to Options sections ( instead of Body ). In order to do the above : I have 2 options. 1. I can select the DRI community browser id from xsl and show it in options sections, but I do not think that is possible, since the DRI community browser division: is generated within body in DRI. I do not know, how can i move that division to options sections. 2. I have tried adding a separate java class file, which generates division inside options( i took care of the xmap for the added java class file). However, i could not generate a division. I could generate a list , a link and others inside options ( with the above java file), but a division does not seem to work inside options. I wish I could generate the community browser division inside options, instead of body - as this would drastically simplify the dropdown generation. Please do let me know, if there is anything that i need to do to make the above implementation possible. Before we start with more difficult stuff, let me suggest a simple solution first. Why not generate the content in body, where you already have it working, but wrap it within a xsl:variable. Then you can simply render that variable in one of the templates processing the options section. It should be that simple. But should you require more help, don't forget to include your DSpace version, XMLUI theme and whether you have Discovery enabled. b ) Also, I have got a requirement to enable OpenURL with Dspace. From the documentation, I understand that Dspace supports OpenURL, but I do not have any idea about how to integrate OpenURL with Dspace. I understand that we need a SFX server, but how do we link Dspace to the SFX server? Please do let me know if anyone has worked on OpenURL integration with Dspace. Simply set sfx.server.url in dspace.cfg to the base url of your OpenURL resolver (link server), e.g. SFX. DSpace will then generate a ContextObject [1] on each item's page from its metadata and include an OpenURL link to the link server, whose URL parameters contain the item's metadata. That way the link server can provide services (e.g. find the full text) for each such set of metadata. [1] http://ocoins.info/ Regards, ~~helix84 Compulsory reading: DSpace Mailing 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_122412 ___ 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 Pool Error: Cannot get a connection, pool error. Timeout waiting for idle object
Hi André, We've kept the WHEN_EXHAUSTED_GROW code during 1.7, and have just upgraded with it in 1.8, and we are not plagued by the errors and downtime. Since we do allow for an unlimited number of connections, there are times when the site can get slow (heavy load), but it will eventually respond and recover. We don't use Discovery, so no I have no input with regards to that. I don't know if its relevant, but we've also moved PostgreSQL off to its own dedicated server, so atleast the system isn't processing both DSpace/tomcat requests, and DB queries on the same machine. Peter Dietz On Mon, Jan 14, 2013 at 10:38 AM, Hilton Gibson hilton.gib...@gmail.comwrote: You can with: http://wiki.lib.sun.ac.za/index.php/SUNScholar/Disaster_Recovery/System_Monitor On 14 January 2013 15:07, helix84 heli...@centrum.sk wrote: Hilton, that's a wonderful graph exactly illustrating the problem (the spike in idle in transaction connections). I wish I had such monitoring set up :) -- *Hilton Gibson* 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://library.sun.ac.za http://scholar.sun.ac.za http://ar1.sun.ac.za http://aj1.sun.ac.za -- 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_122412 ___ 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_122412___ 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] Google Scholar citation_pdf_url for multifile items
Working with Google on this, they were mostly happy with us getting 80% complete, with 20% effort, and in these complex cases (where PDF is just a supplementary dataset), to just punt. Locally, we've added an additional rule, that the PDF be readable by the anonymous user. We will sometimes suppress a PDF whenever a rights issue crops up, or to allow us to psuedo-version, and add an additional version. https://github.com/osulibraries/DSpace/commit/ff3ef1b0f6cc906e42b0e22d04d52f9a98c9742e Perhaps this is the start of tackling the remaining 20%, where sites with more complex bitstream setups would either hard-code their modifications, or if desired, build a configurable strategy. Thats why the method was called getPDFSimpleURL, as opposed to getPDF_MIT_URL. In our situation, I think that if there is a PDF present in an Item, its usually the most important file. Peter Dietz On Mon, Jan 14, 2013 at 8:56 AM, helix84 heli...@centrum.sk wrote: On Mon, Jan 14, 2013 at 2:43 PM, Richard Rodgers rrodg...@mit.edu wrote: In those cases the rule you propose would ask GS to index the wrong bitstream. Hi Richard, I didn't see that Andrea proposed anything yet, so I think you're referring to mu proposal. Also, thank you for sheding more light on the reasons behind status quo. * should there be a site-wide mapping rule, or one per collection (per format type, etc)? * probably should be be a default (maybe just the current hard-coded one) - so that we don't force additional configuration * how should the rule be expressed? * how to limit runtime penalties What about adding another bitstream table column (according to what you said, primary bitstream may not adequately express this intent) or Solr index field? It would allow the users complete flexibility in redefining any default rules we cast upon them (we could provide some curation tasks with different rulesets to do that) and by not evaluating the rule at browse time it would avoid any runtime penalty. Regards, ~~helix84 Compulsory reading: DSpace Mailing 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_122412 ___ 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_122412___ 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 customize DSpace 3.0 XMLUI Discovery Recent Submissions display
On Tue, Jan 15, 2013 at 12:37 AM, Charles Kinney cbkinn...@gmail.com wrote: Thanks. You guessed correctly: I am using Mirage. Your suggestion has helped me get started on customizing the list. I'm a former database programmer, with minimal web programming background. Can you please explain just a bit more on the need for the xsl:variable name= ... statement? On Tue, Jan 15, 2013 at 12:37 AM, Charles Kinney cbkinn...@gmail.com wrote: I'm a former database programmer, with minimal web programming background. Can you please explain just a bit more on the need for the xsl:variable name= ... statement? The thing to keep in mind about XSLT is that it's not a programming language. It's a templating language. For procedural programmers, it takes a bit getting used to, but it helps understand what's going on. The xsl files are not processed line by line. The XML input (in DSpace the DRI document, or the METS (dim namespace) documents) are being processed cyclically by the templates until a match is found. So you're always processing some part of the DOM tree. When you're in one part, a distant part is accessible only by going up elements (../sibling). DOM trees which are in files that are currently not being matched, are not normally accessible (save a trick or two). So one of the tricks is to remember part of the tree when you're processing it into a variable and use it when processing a different document. In this case, we're remembering a fragment of the DRI input document (only in order to determine what kind of list we're rendering) and use it when processing the METS input document. You could safely leave it out, but you would notice that all item lists are rendered with your modifications, not only recent items. Regards, ~~helix84 Compulsory reading: DSpace Mailing 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_122412 ___ 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] Google Scholar citation_pdf_url for multifile items
Hi all, thanks everyone who responded for sharing your views, especially to Richard for giving additional background. Peter, I think I'll follow your lead in putting in a local customisation (thanks for sharing your code too). I'm still discussing this with my repository managers, but from looking at 2 of the 4 repositories, this should work for us: if there is only one publicly viewable file and it's a PDF, use that one if there are several publicly viewable files and the primary bitstream is a PDF, use that one This logic would cope with Richard's scenario of Word document as main file plus PDF as supplementary file, assuming the Word document is marked as the primary bitstream. I didn't find any items like that in my repositories that I looked at. As to helix's suggestion of making this configurable, I'd hesitate since it feels like this would add a lot of complexity for the end-user. I'll check my other two repositories; if I do end up customising this then I'm happy to share the code so that it can either go into master if people are happy with that or for others to build on. I also hope to find the time to update the DSpace documentation to make it clear what the current behaviour is. cheers, Andrea -- Dr Andrea Schweer IRR Technical Specialist, ITS Information Systems The University of Waikato, Hamilton, New Zealand -- Master SQL Server Development, Administration, T-SQL, SSAS, SSIS, SSRS and more. Get SQL Server skills now (including 2012) with LearnDevNow - 200+ 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_122512 ___ 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] REstore and Backup of DataBase
Hi all Wanted to know that I have uploaded some documents to DSPace , so how should I take backup of database and incase of system failure , how can it be restored toanother Systems having dspace installed. DSpace: 1.8.2 JSPUI Database: PostGre SQL Operating System : Windows Thanks . Parul From: Andrea Schweer [mailto:schw...@waikato.ac.nz] Sent: Monday, January 14, 2013 10:08 AM To: dspace-tech Subject: [Dspace-tech] Google Scholar citation_pdf_url for multifile items Hi all, I just discovered that DSpace (XMLUI, 1.8.2 but 3.0 has the same behaviour) generates the citation_pdf_url header for Google Scholar on an item page if and only if *the item has exactly one bitstream in the ORIGINAL bundle (or the first such bundle, to be precise); and *this bitstream is of type application/pdf Code in master here: https://github.com/DSpace/DSpace/blob/master/dspace-api/src/main/java/org/ds pace/app/util/GoogleMetadata.java#L1007 I found old discussion around this in Jira here: https://jira.duraspace.org/browse/DS-396?focusedCommentId=17461 https://jira.duraspace.org/browse/DS-396?focusedCommentId=17461page=com.at lassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-17461 page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comme nt-17461 that explains what I assume is still the reasoning behind the current explanation: How does one choose, for instance, a.) which PDF in an item with multiple PDF bitstreams, b.) what is specified for a URL when there is no PDF for an item, c.) whether or not to specify a PDF if the only PDF available is not the main representative bitstream of the item. Google Scholar has said they are not interested in having citation tags for an item if this field is not provided for. I find this a bit counter-intuitive especially in the case of items with one PDF file plus one more more files in a different format -- surely there it should be fine to use the single PDF file in the citation_pdf_url? Are there any other opinions around this? cheers, Andrea -- Dr Andrea Schweer IRR Technical Specialist, ITS Information Systems The University of Waikato, Hamilton, New Zealand -- Master SQL Server Development, Administration, T-SQL, SSAS, SSIS, SSRS and more. Get SQL Server skills now (including 2012) with LearnDevNow - 200+ 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_122512___ 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