Difference between revisions of "SUNScholar/Google/Scholar"
Jump to navigation
Jump to search
m (→References) |
|||
| Line 36: | Line 36: | ||
[[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: | ||
| + | '''[dspace]/config/crosswalks/xhtml-head-item.properties'' | ||
==References== | ==References== | ||
Revision as of 15:37, 9 June 2015
Back to Google
Contents
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 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/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
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:
'[dspace]/config/crosswalks/xhtml-head-item.properties
