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

From Libopedia
Jump to navigation Jump to search
m (Text replacement - "/home/dspace" to "$HOME")
Line 8: Line 8:
 
#### Sitemap settings #####
 
#### Sitemap settings #####
 
# the directory where the generated sitemaps are stored
 
# the directory where the generated sitemaps are stored
sitemap.dir = $HOME/sitemaps
+
sitemap.dir = /home/dspace/sitemaps
  
 
#
 
#
Line 32: Line 32:
  
 
  http://scholar.sun.ac.za/sitemap
 
  http://scholar.sun.ac.za/sitemap
 +
 
==Step 2==
 
==Step 2==
 
Enable sitemap generation using [[SUNScholar/Daily_Admin|automatic job scheduling]].
 
Enable sitemap generation using [[SUNScholar/Daily_Admin|automatic job scheduling]].

Revision as of 09:54, 23 January 2015

Back to Google

Step 1

First, edit the DSpace config file and setup sitemaps as follows.

#### Sitemap settings #####
# the directory where the generated sitemaps are stored
sitemap.dir = /home/dspace/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