"M. Àngels Pulido" | 22 Apr 13:29 2014

{Disarmed} A question about Scopus Integration (Cited-By Count API)

Hello,

I'm trying to
implement the code Scopus Integration (Cited-By Count API) in my repository: DSPace 1.7.2.

Nemiz, Elvi, kindly, shared it for us here, in dspace-tech, some days ago. Below is the message...

The code works
fine but I have a problem. In our repository, all records have de metadata dc.identifier.doi like this example:

http://dx.doi.org/10.1093/bioinformatics/btt249

with http://dx.doi.org/ before the number DOI.

and
of course, the code does not work.

I guess you should change something here but I do not know how...

//setting search query
<xsl:text disable-output-escaping="yes">var strQuery = "DOI(</xsl:text><xsl:value-of select="./mets:dmdSec/mets:mdWrap[ <at> OTHERMDTYPE='DIM']/mets:xmlData/dim:dim/dim:field[ <at> element='identifier' and <at> qualifier='doi']"/><xsl:text disable-output-escaping="yes">)";

Someone can
help me?
 
Thank you in advance.


>>> "Nemiz, Elvi" <esnemiz-2d/iI5PG/1PdDkUXlNoEqA@public.gmane.org> 2014/02/13 03:59 PM >>>
Hello Solomon,


I'm sorry if I can't pinpoint what's causing that error but here's what I did in our repository. In your item-view.xsl, locate this line of code:

<xsl:template name="itemSummaryView-DIM">
<!-- Generate the info about the item from the metadata section -->
<xsl:apply-templates select="./mets:dmdSec/mets:mdWrap[ <at> OTHERMDTYPE='DIM']/mets:xmlData/dim:dim"
mode="itemSummaryView-DIM"/>

After that piece of code, copy paste these javascript code:

<script type="text/javascript">
<xsl:text disable-output-escaping="yes">
document.write('&lt;script type="text/javascript" src="http://api.elsevier.com/javascript/scopussearch.jsp"&gt; &lt;/' + 'script&gt;');

callbackCitedbycount = function(){
if (sciverse.areSearchResultsValid()) {
var resultObj = sciverse.getSearchResults();
if (resultObj.returnedResults &gt;0) {
citedbycount = resultObj.results[0].citedbycount;
eid = resultObj.results[0].eid;
if (citedbycount &gt; 0) {
citeHtml = '&lt;span class="bold"&gt;Cited:&lt;/span&gt; ';

if (eid != null) {
citeHtml += eid;
citeHtml += '" class="citing-link" target="_new" title="View citing articles in Scopus"&gt;';
citeHtml += citedbycount;
citeHtml += '&lt;/a&gt;&#160;times in &lt;span class="bold"&gt;Scopus&lt;/span&gt;';
}

articleLink = resultObj.results[0].inwardurl;

if (articleLink != null) {
citeHtml += '&#160;&#160;&lt;small&gt;(&lt;a href="';
citeHtml += articleLink;
citeHtml += '" class="article-link" target="_new" title="View record in Scopus" &gt;';
citeHtml += 'View record in Scopus';
citeHtml += '&lt;/a&gt;)&lt;/small&gt;';
}
</xsl:text>
var citecountsScopus = $("#citecounts-scopus");
citecountsScopus.html(citeHtml);
citecountsScopus.removeClass('hidden');
citecountsScopus.show('blind');
$("#citecounts-scopus a.citing-link").click(function(){
if (_gaq != null) {
_gaq.push(['_trackEvent', 'Citecount links','Scopus citing items','<xsl:value-of select="./mets:dmdSec/mets:mdWrap[ <at> OTHERMDTYPE='DIM']/mets:xmlData/dim:dim/dim:field[ <at> element='identifier' and <at> qualifier='uri']"/>']);
}
});
$("#citecounts-scopus a.article-link").click(function(){
if (_gaq) {
_gaq.push(['_trackEvent','Citecount links','Scopus article','<xsl:value-of select="./mets:dmdSec/mets:mdWrap[ <at> OTHERMDTYPE='DIM']/mets:xmlData/dim:dim/dim:field[ <at> element='identifier' and <at> qualifier='uri']"/>']);
}
});
}
}
}
}

runSearch = function() {
//setting defaults
sciverse.setApiKey("REPLACE-THIS-WITH-YOUR-SCOPUS-API-KEY");
sciverse.setCallback(callbackCitedbycount);

//setting search query
<xsl:text disable-output-escaping="yes">var strQuery = "DOI(</xsl:text><xsl:value-of select="./mets:dmdSec/mets:mdWrap[ <at> OTHERMDTYPE='DIM']/mets:xmlData/dim:dim/dim:field[ <at> element='identifier' and <at> qualifier='doi']"/><xsl:text disable-output-escaping="yes">)";

var varSearchObj = new searchObj();
varSearchObj.setSearch(strQuery);
varSearchObj.setNumResults('1');

//launching search
try {
sciverse.runSearch(varSearchObj);
} catch(err) { }
};
runAfterJSImports.add(runSearch);
</xsl:text>
</script>

And then paste the code in bold where you want the scopus citation count to appear. In our case, I put it under the citation field (I assumed that you already knew how to customize what fields to display in simple item view):

<!-- Citation row -->
<xsl:when test="$clause = 9 and (dim:field[ <at> element='identifier' and <at> qualifier='citation' and descendant::text()])">
<div id="citecounts-scopus" class="simple-item-view-other citecounts hidden">&#160;</div>


Hoped this helps,

P.S. Please take note that I have created a custom tag, dc.identifier.doi that holds the value for the item's DOI (without the http://dx.doi.org/). Feel free to 'view page source' items in our repository that have DOIs for example: http://repository.seafdec.org.ph/handle/10862/1737 for your reference.

Regards,
Elvi
--

M. Àngels Pulido Medina
Biblioteca - Servei de Recursos Informàtics

Universitat de Vic
C. Sagrada Família, 7
08500 Vic
Tel. 938 816 170 (8333)
m.angels.pulido-2F129+y7rec@public.gmane.org
www.uvic.cat

------------------------------------------------------------------------------
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
------------------------------------------------------------------------------
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
"M. Àngels Pulido" | 23 Apr 07:58 2014

A question about Scopus Integration (Cited-By Count API)

Hello,

I'm trying to
implement the code Scopus Integration (Cited-By Count API) in my repository: DSPace 1.7.2.

Nemiz, Elvi, kindly, shared it for us here, in dspace-tech, some days ago. Below is the message...

The code works
fine but I have a problem. In our repository, all records have de metadata dc.identifier.doi like this example:

http://dx.doi.org/10.1093/bioinformatics/btt249

with http://dx.doi.org/ before the number DOI.

and
of course, the code does not work.

I guess you should change something here but I do not know how...

//setting search query
<xsl:text disable-output-escaping="yes">var strQuery = "DOI(</xsl:text><xsl:value-of select="./mets:dmdSec/mets:mdWrap[ <at> OTHERMDTYPE='DIM']/mets:xmlData/dim:dim/dim:field[ <at> element='identifier' and <at> qualifier='doi']"/><xsl:text disable-output-escaping="yes">)";

Someone can
help me?
 
Thank you in advance.


>>> "Nemiz, Elvi" <esnemiz-2d/iI5PG/1PdDkUXlNoEqA@public.gmane.org> 2014/02/13 03:59 PM >>>
Hello Solomon,


I'm sorry if I can't pinpoint what's causing that error but here's what I did in our repository. In your item-view.xsl, locate this line of code:

<xsl:template name="itemSummaryView-DIM">
<!-- Generate the info about the item from the metadata section -->
<xsl:apply-templates select="./mets:dmdSec/mets:mdWrap[ <at> OTHERMDTYPE='DIM']/mets:xmlData/dim:dim"
mode="itemSummaryView-DIM"/>

After that piece of code, copy paste these javascript code:

<script type="text/javascript">
<xsl:text disable-output-escaping="yes">
document.write('&lt;script type="text/javascript" src="http://api.elsevier.com/javascript/scopussearch.jsp"&gt; &lt;/' + 'script&gt;');

callbackCitedbycount = function(){
if (sciverse.areSearchResultsValid()) {
var resultObj = sciverse.getSearchResults();
if (resultObj.returnedResults &gt;0) {
citedbycount = resultObj.results[0].citedbycount;
eid = resultObj.results[0].eid;
if (citedbycount &gt; 0) {
citeHtml = '&lt;span class="bold"&gt;Cited:&lt;/span&gt; ';

if (eid != null) {
citeHtml += eid;
citeHtml += '" class="citing-link" target="_new" title="View citing articles in Scopus"&gt;';
citeHtml += citedbycount;
citeHtml += '&lt;/a&gt;&#160;times in &lt;span class="bold"&gt;Scopus&lt;/span&gt;';
}

articleLink = resultObj.results[0].inwardurl;

if (articleLink != null) {
citeHtml += '&#160;&#160;&lt;small&gt;(&lt;a href="';
citeHtml += articleLink;
citeHtml += '" class="article-link" target="_new" title="View record in Scopus" &gt;';
citeHtml += 'View record in Scopus';
citeHtml += '&lt;/a&gt;)&lt;/small&gt;';
}
</xsl:text>
var citecountsScopus = $("#citecounts-scopus");
citecountsScopus.html(citeHtml);
citecountsScopus.removeClass('hidden');
citecountsScopus.show('blind');
$("#citecounts-scopus a.citing-link").click(function(){
if (_gaq != null) {
_gaq.push(['_trackEvent', 'Citecount links','Scopus citing items','<xsl:value-of select="./mets:dmdSec/mets:mdWrap[ <at> OTHERMDTYPE='DIM']/mets:xmlData/dim:dim/dim:field[ <at> element='identifier' and <at> qualifier='uri']"/>']);
}
});
$("#citecounts-scopus a.article-link").click(function(){
if (_gaq) {
_gaq.push(['_trackEvent','Citecount links','Scopus article','<xsl:value-of select="./mets:dmdSec/mets:mdWrap[ <at> OTHERMDTYPE='DIM']/mets:xmlData/dim:dim/dim:field[ <at> element='identifier' and <at> qualifier='uri']"/>']);
}
});
}
}
}
}

runSearch = function() {
//setting defaults
sciverse.setApiKey("REPLACE-THIS-WITH-YOUR-SCOPUS-API-KEY");
sciverse.setCallback(callbackCitedbycount);

//setting search query
<xsl:text disable-output-escaping="yes">var strQuery = "DOI(</xsl:text><xsl:value-of select="./mets:dmdSec/mets:mdWrap[ <at> OTHERMDTYPE='DIM']/mets:xmlData/dim:dim/dim:field[ <at> element='identifier' and <at> qualifier='doi']"/><xsl:text disable-output-escaping="yes">)";

var varSearchObj = new searchObj();
varSearchObj.setSearch(strQuery);
varSearchObj.setNumResults('1');

//launching search
try {
sciverse.runSearch(varSearchObj);
} catch(err) { }
};
runAfterJSImports.add(runSearch);
</xsl:text>
</script>

And then paste the code in bold where you want the scopus citation count to appear. In our case, I put it under the citation field (I assumed that you already knew how to customize what fields to display in simple item view):

<!-- Citation row -->
<xsl:when test="$clause = 9 and (dim:field[ <at> element='identifier' and <at> qualifier='citation' and descendant::text()])">
<div id="citecounts-scopus" class="simple-item-view-other citecounts hidden">&#160;</div>


Hoped this helps,

P.S. Please take note that I have created a custom tag, dc.identifier.doi that holds the value for the item's DOI (without the http://dx.doi.org/). Feel free to 'view page source' items in our repository that have DOIs for example: http://repository.seafdec.org.ph/handle/10862/1737 for your reference.

Regards,
Elvi
--

M. Àngels Pulido Medina
Biblioteca - Servei de Recursos Informàtics

Universitat de Vic
C. Sagrada Família, 7
08500 Vic
Tel. 938 816 170 (8333)
m.angels.pulido-2F129+y7rec@public.gmane.org
www.uvic.cat

------------------------------------------------------------------------------
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
------------------------------------------------------------------------------
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
Charlene Chinda Barina | 23 Apr 01:40 2014

Setting default home page to a single community

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
------------------------------------------------------------------------------
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
------------------------------------------------------------------------------
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
Charlene Chinda Barina | 23 Apr 00:28 2014

import/export of metadata registries?

Hi,

Was wondering if there is a specific file or import system for metadata registries; we were doing a test and have a lot of the other dspace customizations set up to merge easily into the relevant installation, but haven't found one re: registries.

Thanks,
Charlene

--
Charlene Barina, MPH
Research Analyst 2, U.S. IMPACT Study
The Information School
303-359-6347 | Skype: cbarina
------------------------------------------------------------------------------
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
------------------------------------------------------------------------------
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
SUZUKI Keiji | 22 Apr 09:21 2014
Picon

Re: [SPAM] Media filter handling of .docx

Hi Trevor,

I made it as a new filter that could extract text from .doc, .docx,
ppt, pptx, xls and xlsx.

See my commit log for detail at the following url:

https://github.com/zuki/DSpace/commit/302de5d098cf5a3914498345a0e49ba56b796181

Regards,
Keiji Suzuki
Ebetsu, Japan

2014-04-16 23:05 GMT+09:00 Trevor Wilson <trevor.wilson <at> rmc.ca>:
> The media filter doesn't currently process .docx files to enable full-text
> search.
>
> I've found a few mentions of this being a result of it using outdated
> text-mining tools instead of Apache's POI for it's processing.
>
> Has anyone rewritten this to make use of POI and got it to full-text-search
> the contents of a .docx?
>
>
> Thanks!
>
> Trevor
>
>
>
> --
> View this message in context: http://dspace.2283337.n4.nabble.com/Media-filter-handling-of-docx-tp4672707.html
> Sent from the DSpace - Tech mailing list archive at Nabble.com.
>
> ------------------------------------------------------------------------------
> 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 <at> lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/dspace-tech
> List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

--

-- 
鈴木敬二@江別市

------------------------------------------------------------------------------
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 <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
Bhavesh Patel | 21 Apr 13:40 2014
Picon

Discover search update issue

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 
"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
------------------------------------------------------------------------------
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
SUZUKI Keiji | 20 Apr 08:33 2014
Picon

Re: Communities and Collections in search results

Hi Anthony,

2014-04-08 4:03 GMT+09:00 Anthony Petryk <Anthony.Petryk <at> uottawa.ca>:
> In DSpace 4.0 JSPUI, the search results page includes “hits” from
> Communities and Collections in addition to Items.  However, some of these
> Communities and Collections only appear on the second and third page of
> results (possibly because they’re ranked lower in relevance than some
> Items).  Is there a way of getting them all to float to the top?  Is it
> possible to remove them from the results list altogether?

You can remove them with setting the following <property> element to
"default configuration settings for discovery" and "Homepage specific
configuration settings for discovery.in [dspace]/config/spring/api/discovery.xml
In the default configuration setting this property is set as comment already.

<property name="defaultFilterQueries">
  <list>
    <value>search.resourcetype:2</value>
  </list>
</property>

This setting removes communities and collections results in XMLUI but
there is a bug in JSPUI and does not remove them. I made a PR and
created a ticket in JIRA. Please refer to the following URL,

https://jira.duraspace.org/browse/DS-1974

> Also, is it possible to configure which metadata fields are indexed for
> Communities and Collections?  It seems that the License field is indexed,
> which we don’t want.

You can omit the license data with setting "dc.rights.license" as a value
of <property name="toIgnoreMetadataFields"> also in
[dspace]/config/spring/api/discovery.xml
and reindex discovery index.

The following is a diff with these two setting.

--- discovery.xml.org 2014-04-19 15:55:58.082480988 +0900
+++ discovery.xml 2014-04-19 19:06:37.579309730 +0900
 <at>  <at>  -76,6 +76,8  <at>  <at> 
                         <!--<value>dc.description.tableofcontents</value>-->
                         <!--Copyright text-->
                         <value>dc.rights</value>
+                        <!--License   text-->
+                        <value>dc.rights.license</value>
                         <!--Collection name-->
                         <!--<value>dc.title</value>-->
                     </list>
 <at>  <at>  -124,12 +126,12  <at>  <at> 
             </bean>
         </property>
         <!--Any default filter queries, these filter queries will be
used for all queries done by discovery for this configuration-->
-        <!--<property name="defaultFilterQueries">-->
-            <!--<list>-->
+        <property name="defaultFilterQueries">
+            <list>
                 <!--Only find items-->
-                <!--<value>search.resourcetype:2</value>-->
-            <!--</list>-->
-        <!--</property>-->
+                <value>search.resourcetype:2</value>
+            </list>
+        </property>
         <!--The configuration for the recent submissions-->
         <property name="recentSubmissionConfiguration">
             <bean
class="org.dspace.discovery.configuration.DiscoveryRecentSubmissionsConfiguration">
 <at>  <at>  -212,6 +214,12  <at>  <at> 
                 <ref bean="searchFilterIssued" />
             </list>
         </property>
+        <property name="defaultFilterQueries">
+            <list>
+                <!--Only find items-->
+                <value>search.resourcetype:2</value>
+            </list>
+        </property>
         <!--The sort filters for the discovery search (same as
defaultConfiguration above)-->
         <property name="searchSortConfiguration">
             <bean
class="org.dspace.discovery.configuration.DiscoverySortConfiguration">

Regards,
Keiji Suzuki
Ebetsu, Japan

------------------------------------------------------------------------------
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 <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
Poulter, Dale | 18 Apr 00:43 2014
Picon

HELP! Dspace will not restart

Good afternoon,

 

We had 3 crawlers hit our Dspace instance at the same time today which brought our site down.  We stopped tomcat and apache (we use apache as the front end through mod_jk).  When we restarted tomcat the xmlui does not work (we get a 404)  the other apps (oai) works fine.  The same thing occurs is we go directly to tomcat bypassing apache and mod_jk.    We get a couple of oai errors but the only error we get for xmlui is “No Spring WebApplicationInitializer types detected on classpath” .  Has anyone encountered this?  We are running out of ideas – beyond whiskey.  Thanks for your help!

 

--Dale

 

---------------------------------------
Dale Poulter

Coordinator, Search and Core Services

Library Digital Services
Vanderbilt University

419 21st Avenue South, Room 812 
Nashville, TN  37203-2427
(615)343-5388
(615)343-8834 (fax)
(615)207-9705 (cell)
dale.poulter-GISIphQPqQyKDjD76uxLDg@public.gmane.org

 

------------------------------------------------------------------------------
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
------------------------------------------------------------------------------
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
Terry Brady | 17 Apr 22:51 2014
Picon

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
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
------------------------------------------------------------------------------
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
Bill Tantzen | 17 Apr 22:08 2014
Picon

solr statistics question

I'm on dspace 4.1.

In my solr statistics data, I have noticed a small percentage (~5%) of
type:0 (bitstream) records without any context -- no owningComm,
owningColl, nor owningItem.  Most of these have no bundleName either.

Can anyone explain to me how these bitstream records are being added
to solr?  I have tried to reproduce this via the gui in every way I
can think of, but have not been able to do it...

Thanks in advance!
Bill

------------------------------------------------------------------------------
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
SUZUKI Keiji | 17 Apr 12:11 2014
Picon

Re: Browse authority controlled author names by text value, not by authority key

Hi Daniel,

This value is set in org.dspace.browse.SolrBrowseCreateDAO.additionaIndex()
using the value returned by getLabel() method of your class implementing
ChoiceAuthority interface.

Maybe your class return the value of second parameter "key" as-is in the same
manner as LCNameAuthority. You have to edit your code to return author name.

Another way is editing SolrBrowseCreateDAO class itself. Replace the
following lines

https://github.com/DSpace/DSpace/blob/master/dspace-api/src/main/java/org/dspace/browse/SolrBrowseCreateDAO.java#L217-227

to

if (!ignorePrefered)
{
    preferedLabel = values[x].value;
}

But in this case, when more than one name has the same authority code,
each name is counted and displayed separately. So I do not recommend.

Regards,
Keiji Suzuki

2014-04-16 23:30 GMT+09:00 Daniel Scharon <daniel.scharon <at> uni-konstanz.de>:
> Hello all,
>
> we have successfully implemented authority control for author names.
> But now it seems, that the authors' names listed for browsing/discovery
> are being retrieved (and indexed) from the authority key instead of the
> metadata text value.
>
> For our users this would mean that they would see author names with
> absolutely no meanings to them (like "abc1234").
>
> So I tried to set the author index to be retrieved by the text value:
> webui.browse.index.2 =
> author:metadataAuthority:dc.contributor.author:text
>
> But this doesn't show any effect; even after a complete reindexing the
> author names are still listed with their authority values.
>
> Any hints on how to solve this?
>
> Kind regards,
> Daniel
>
>
> --
> Daniel Scharon
> KIM, Room B 705
> University of Konstanz
> 78457 Konstanz, Germany
>
> Tel: +49 7531 88-2951
> XMPP/E-Mail: daniel.scharon <at> uni-konstanz.de
> Web: http://www.kim.uni-konstanz.de
>
> --
> Daniel Scharon
> KIM, Room B 705
> University of Konstanz
> 78457 Konstanz, Germany
>
> Tel: +49 7531 88-2951
> XMPP/E-Mail: daniel.scharon <at> uni-konstanz.de
> Web: http://www.kim.uni-konstanz.de
>
> ------------------------------------------------------------------------------
> 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 <at> 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 <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Gmane