Difference between revisions of "SUNScholar/Google/Scholar"
Jump to navigation
Jump to search
m (→References) |
|||
| (22 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
| − | As of DSpace 1.7, there is a mapping facility to connect metadata fields with | + | <center> |
| − | + | '''[[SUNScholar/Google|Back to Google]]''' | |
| + | </center> | ||
| + | ==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. | ||
| + | |||
| + | <font color="red">'''Please note:'''</font> https://jira.duraspace.org/browse/DS-2679 | ||
| + | |||
| + | ==Procedure== | ||
| + | Edit the following file: | ||
| + | nano $HOME/{{Source}}/dspace/config/dspace.cfg | ||
| + | Search for <tt>'''google-metadata.enable'''</tt> and ensure the state is "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: | ||
| − | + | $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; | ||
| + | <pre> | ||
| + | <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"> | ||
| + | </pre> | ||
| + | |||
| + | ==Atmire Analyser== | ||
| + | *http://analyzer.atmire.com | ||
| + | |||
| + | [[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== | ||
| + | *https://wiki.duraspace.org/display/DSDOC5x/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 | ||
| − | + | [[Category:Operations]] | |
| − | |||
| − | |||
Latest revision as of 16:08, 29 May 2016
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.
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
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
