menu

SiteGenesis / Server-side JS / Module: controllers/SiteMap

Controller that handles site map requests.

Source:

Members

(static) Google

Source:
See:

(static) Start

Renders the sitemap template Serves requests for search provider (Google, Yahoo) XML site maps.

Source:
See:

Methods

(inner) google()

Serves requests for search provider (Google, Yahoo) XML site maps. Reads a given site map and copies it into the request output stream. If this is successful, renders an http_200 template. If it fails, renders the http_404 template. SiteMap Rule:

process sitemaps

RewriteRule ^/(sitemap([^/]*))$ /on/demandware.store/%{HTTP_HOST}/-/SiteMap-Google?name=$1 [PT,L]

Source:

(inner) start()

Renders the sitemap template (sitemap/sitemap template).

Source: