Difference between revisions of "SUNScholar/Google/Scholar"

From Libopedia
Jump to navigation Jump to search
 
(11 intermediate revisions by the same user not shown)
Line 4: Line 4:
 
==Introduction==
 
==Introduction==
 
As of DSpace 1.7, there is a mapping facility to connect Google metadata fields with the dublin core metadata citation fields in HTML.
 
As of DSpace 1.7, there is a mapping facility to connect Google metadata fields with the dublin core metadata citation fields in HTML.
 +
 +
<font color="red">'''Please note:'''</font> https://jira.duraspace.org/browse/DS-2679
  
 
==Procedure==
 
==Procedure==
Line 18: Line 20:
  
 
Once the feature is enabled, the mapping is configured by a separate configuration file located here:
 
Once the feature is enabled, the mapping is configured by a separate configuration file located here:
  $HOME/{{Source}}/config/crosswalks/google-metadata.properties
+
  $HOME/{{Source}}/dspace/config/crosswalks/google-metadata.properties
  
 
==Sample HTML Metadata==
 
==Sample HTML Metadata==
Below is an example of the Google scholar metadata generated in the <head> tag of item: http://hdl.handle.net/10019.1/79321 when viewing the page HTML source;
+
Below is an example of the Google scholar metadata generated in the <head> tag of item: http://hdl.handle.net/10019.1/80854 when viewing the page HTML source;
 
<pre>
 
<pre>
<meta content="http://scholar.sun.ac.za/handle/10019.1/79321" name="citation_abstract_html_url" />
+
<meta content="De Jager, Eloise" name="citation_author">
<meta content="Stellenbosch : Stellenbosch University" name="citation_publisher" />
+
<meta content="Bitzer, Eli" name="citation_author">
<meta content="Institutional repository; DSpace; Open access publishing; Other" name="citation_keywords" />
+
<meta content="1535-0754 (print)" name="citation_issn">
<meta content="en_ZA" name="citation_language" />
+
<meta content="2013-04" name="citation_date">
<meta content="Gibson, H." name="citation_authors" />
+
<meta content="http://scholar.sun.ac.za/handle/10019.1/80854" name="citation_abstract_html_url">
<meta content="2012-01" name="citation_date" />
+
<meta content="en_ZA" name="citation_language">
<meta content="Practical guidelines for starting an institutional repository using DSpace software" name="citation_title" />
+
<meta content="http://scholar.sun.ac.za/bitstream/10019.1/80854/1/dejager_firstyear_2013.pdf" name="citation_pdf_url">
 +
<meta content="Perceptions of First-Year Students; Accounting -- Study and teaching -- South Africa -- Stellenbosch; Self-help groups -- South Africa -- Stellenbosch; Academic achievement -- South Africa -- Stellenbosch; College freshmen -- South africa -- Stellenbosch; Pass rates -- South africa -- Stellenbosch; Article" name="citation_keywords">
 +
<meta content="Clute Institute" name="citation_publisher">
 +
<meta content="First-year students&rsquo; participation and performance in a financial accounting support group" name="citation_title">
 
</pre>
 
</pre>
  
Line 36: Line 41:
  
 
[[File:Gs-seo.png]]
 
[[File:Gs-seo.png]]
 +
 +
==HTML Head Tag Metadata==
 +
If you have heavily customized your metadata fields away from Dublin Core, you can modify the crosswalk that generates these elements by modifying:
 +
$HOME/{{Source}}/dspace/config/crosswalks/xhtml-head-item.properties
  
 
==References==
 
==References==
Line 41: Line 50:
 
*https://wiki.duraspace.org/display/DSDOC4x/Google+Scholar+Metadata+Mappings
 
*https://wiki.duraspace.org/display/DSDOC4x/Google+Scholar+Metadata+Mappings
 
*https://wiki.duraspace.org/display/DSDOC3x/Google+Scholar+Metadata+Mappings
 
*https://wiki.duraspace.org/display/DSDOC3x/Google+Scholar+Metadata+Mappings
*https://wiki.duraspace.org/display/DSDOC18/Google+Scholar+Metadata+Mappings
+
[[Category:Operations]]

Latest revision as of 16:08, 29 May 2016

Back to Google

Introduction

As of DSpace 1.7, there is a mapping facility to connect Google metadata fields with the dublin core metadata citation fields in HTML.

Please note: https://jira.duraspace.org/browse/DS-2679

Procedure

Edit the following file:

nano $HOME/source/dspace/config/dspace.cfg

Search for google-metadata.enable and ensure the state is "true".

See example below.

##### Google Scholar Metadata Configuration #####
google-metadata.config = ${dspace.dir}/config/crosswalks/google-metadata.properties
google-metadata.enable = true

Once the feature is enabled, the mapping is configured by a separate configuration file located here:

$HOME/source/dspace/config/crosswalks/google-metadata.properties

Sample HTML Metadata

Below is an example of the Google scholar metadata generated in the <head> tag of item: http://hdl.handle.net/10019.1/80854 when viewing the page HTML source;

<meta content="De Jager, Eloise" name="citation_author">
<meta content="Bitzer, Eli" name="citation_author">
<meta content="1535-0754 (print)" name="citation_issn">
<meta content="2013-04" name="citation_date">
<meta content="http://scholar.sun.ac.za/handle/10019.1/80854" name="citation_abstract_html_url">
<meta content="en_ZA" name="citation_language">
<meta content="http://scholar.sun.ac.za/bitstream/10019.1/80854/1/dejager_firstyear_2013.pdf" name="citation_pdf_url">
<meta content="Perceptions of First-Year Students; Accounting -- Study and teaching -- South Africa -- Stellenbosch; Self-help groups -- South Africa -- Stellenbosch; Academic achievement -- South Africa -- Stellenbosch; College freshmen -- South africa -- Stellenbosch; Pass rates -- South africa -- Stellenbosch; Article" name="citation_keywords">
<meta content="Clute Institute" name="citation_publisher">
<meta content="First-year students’ participation and performance in a financial accounting support group" name="citation_title">

Atmire Analyser

Gs-seo.png

HTML Head Tag Metadata

If you have heavily customized your metadata fields away from Dublin Core, you can modify the crosswalk that generates these elements by modifying:

$HOME/source/dspace/config/crosswalks/xhtml-head-item.properties

References