SUNScholar/Repository Website Metrics/Sitemaps

From Libopedia
(Redirected from SUNScholar/Sitemaps)
Jump to navigation Jump to search
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