SUNScholar/Google/Scholar

From Libopedia
Jump to navigation Jump to search
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