Difference between revisions of "SUNScholar/Repository Website Metrics/Sitemaps"
Jump to navigation
Jump to search
m (→References) |
m (→Step 1) |
||
| Line 4: | Line 4: | ||
==Step 1== | ==Step 1== | ||
| − | + | Edit the following file: | |
| + | nano $HOME/{{Source}}/dspace/config/dspace.cfg | ||
| + | See example below. | ||
<pre> | <pre> | ||
#### Sitemap settings ##### | #### Sitemap settings ##### | ||
Revision as of 15:10, 9 June 2015
Back to Google
Contents
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 = /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
- https://wiki.duraspace.org/display/DSDOC5x/Configuration+Reference#ConfigurationReference-SitemapSettings
- https://wiki.duraspace.org/display/DSDOC4x/Configuration+Reference#ConfigurationReference-SitemapSettings
- https://wiki.duraspace.org/display/DSDOC3x/Configuration#Configuration-SitemapSettings
- https://wiki.duraspace.org/display/DSDOC18/Configuration#Configuration-SitemapSettings
- https://wiki.duraspace.org/display/DSDOC17/Configuration#Configuration-SitemapSettings