Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: [DS-890] replace old bin/generate-sitemaps script with bin/dspace generate-sitemaps

...

To aid web crawlers index the content within your repository, you can make use of sitemaps. There are currently two forms of sitemaps included in DSpace; : Google sitemaps and HTML sitemaps.

Sitemaps allow DSpace to expose it's its content without the crawlers having to index every page. HTML sitemaps provide a list of all items, collections and communities in HTML format, whilst Google sitemaps provide the same information in gzipped XML format.

Wiki Markup
To generate the sitemaps, you need to run _\[dspace\]/bin/dspace generate-sitemaps_ This creates the sitemaps in _\[dspace\]/sitemaps/_

...

Wiki Markup
When running _\[dspace\]/bin/dspace generate-sitemaps_ the script informs Google that the sitemaps have been updated. For this update to register correctly, you must first register your Google sitemap index page (_/dspace/sitemap_) with Google at [http://www.google.com/webmasters/sitemaps/|http://www.google.com/webmasters/sitemaps/|http://www.google.com/webmasters/sitemaps/]. If your DSpace server requires the use of a HTTP proxy to connect to the Internet, ensure that you have set _http.proxy.host_ and _http.proxy.port_ in _\[dspace\]/config/dspace.cfg_

...

Code Block
# Generate sitemaps


0 6 * * * [dspace]/bin/dspace generate-sitemaps

DSpace Statistics

...