Difference between revisions of "SUNScholar/Google/Scholar"

From Libopedia
Jump to navigation Jump to search
m
Line 5: Line 5:
 
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.
  
In order to enable this functionality, the switch needs to be flipped in dspace.cfg:
+
==Procedure==
'''google-metadata.enable = true'''
+
Edit the following file:
 +
nano $HOME/{{Source}}/dspace/config/dspace.cfg
 +
Search for <tt>google-metadata.enable</tt> and change to "true".
 +
 
 +
See example below.
 +
<pre>
 +
##### Google Scholar Metadata Configuration #####
 +
google-metadata.config = ${dspace.dir}/config/crosswalks/google-metadata.properties
 +
google-metadata.enable = true
 +
</pre>
  
 
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:
  '''[dspace]/config/crosswalks/google-metadata.properties'''
+
  $HOME/{{Source}}/config/crosswalks/google-metadata.properties
  
 
==Sample HTML Metadata==
 
==Sample HTML Metadata==

Revision as of 15:18, 9 June 2015

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.

Procedure

Edit the following file:

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

Search for google-metadata.enable and change to "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/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/79321 when viewing the page HTML source;

<meta content="http://scholar.sun.ac.za/handle/10019.1/79321" name="citation_abstract_html_url" />
<meta content="Stellenbosch : Stellenbosch University" name="citation_publisher" />
<meta content="Institutional repository; DSpace; Open access publishing; Other" name="citation_keywords" />
<meta content="en_ZA" name="citation_language" />
<meta content="Gibson, H." name="citation_authors" />
<meta content="2012-01" name="citation_date" />
<meta content="Practical guidelines for starting an institutional repository using DSpace software" name="citation_title" />

Atmire Analyser

Gs-seo.png

References