Difference between revisions of "SUNScholar/Repository Website Metrics/Sitemaps"

From Libopedia
Jump to navigation Jump to search
 
(16 intermediate revisions by the same user not shown)
Line 1: Line 1:
First, edit the DSpace config file and setup sitemaps as follows.
+
<center>
 +
'''[[SUNScholar/Repository Website Metrics|BACK TO REPOSITORY WEBSITE METRICS]]'''
 +
</center>
 +
==Introduction==
 +
Sitemaps are essential for indexing services that will index the contents on your repository.
 +
 
 +
It allows the indexing service to quickly determine the layout of the website and where the valuable content is.
 +
==Step 1==
 +
Edit the following file:
 +
  nano $HOME/{{Source}}/dspace/config/dspace.cfg
 +
See example below.
 
<pre>
 
<pre>
 
#### Sitemap settings #####
 
#### Sitemap settings #####
 
# the directory where the generated sitemaps are stored
 
# the directory where the generated sitemaps are stored
sitemap.dir = /home/dspace/sitemaps
+
sitemap.dir = ${dspace.dir}/sitemaps
  
 
#
 
#
Line 10: Line 20:
 
# be URL-encoded and appended to form the actual URL 'pinged').
 
# be URL-encoded and appended to form the actual URL 'pinged').
 
#
 
#
#sitemap.engineurls = http://www.google.com/webmasters/sitemaps/ping?sitemap=
+
sitemap.engineurls = http://www.google.com/webmasters/sitemaps/ping?sitemap=
  
 
# Add this to the above parameter if you have an application ID with Yahoo
 
# Add this to the above parameter if you have an application ID with Yahoo
Line 27: Line 37:
  
 
  http://scholar.sun.ac.za/sitemap
 
  http://scholar.sun.ac.za/sitemap
 +
 +
==Step 2==
 +
Enable sitemap generation using [[SUNScholar/Daily_Admin|automatic job scheduling]].
 +
==Samples==
 +
Click on the following links to view sample sitemap data;
 +
*http://scholar.sun.ac.za/htmlmap?map=0
 +
*http://scholar.sun.ac.za/htmlmap?map=10
  
 
==References==
 
==References==
*https://wiki.duraspace.org/display/DSDOC18/Configuration#Configuration-SitemapSettings
+
*https://wiki.duraspace.org/display/DSDOC5x/Configuration+Reference#ConfigurationReference-SitemapSettings
*https://wiki.duraspace.org/display/DSDOC17/Configuration#Configuration-SitemapSettings
+
*https://wiki.duraspace.org/display/DSDOC4x/Configuration+Reference#ConfigurationReference-SitemapSettings
 
+
*https://wiki.duraspace.org/display/DSDOC3x/Configuration#Configuration-SitemapSettings
'''[[SUNScholar/Google|Back to Google]]'''
+
[[Category:Operations]]

Latest revision as of 12:35, 1 September 2016

BACK TO REPOSITORY WEBSITE METRICS

Introduction

Sitemaps are essential for indexing services that will index the contents on your repository.

It allows the indexing service to quickly determine the layout of the website and where the valuable content is.

Step 1

Edit the following file:

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

See example below.

#### Sitemap settings #####
# the directory where the generated sitemaps are stored
sitemap.dir = ${dspace.dir}/sitemaps

#
# Comma-separated list of search engine URLs to 'ping' when a new Sitemap has
# been created.  Include everything except the Sitemap URL itself (which will
# be URL-encoded and appended to form the actual URL 'pinged').
#
sitemap.engineurls = http://www.google.com/webmasters/sitemaps/ping?sitemap=

# Add this to the above parameter if you have an application ID with Yahoo
# (Replace REPLACE_ME with your application ID)
# http://search.yahooapis.com/SiteExplorerService/V1/updateNotification?appid=REPLACE_ME&url=
#
# No known Sitemap 'ping' URL for MSN/Live search

Once you've enabled your sitemaps, they will be accessible at the following URLs:

  • HTML Sitemaps: [dspace.url]/htmlmap
  • Google (XML) Sitemaps: [dspace.url]/sitemap

For example you can view SUNScholar maps by clicking on the links below.

http://scholar.sun.ac.za/htmlmap
http://scholar.sun.ac.za/sitemap

Step 2

Enable sitemap generation using automatic job scheduling.

Samples

Click on the following links to view sample sitemap data;

References