changeFrequency


changeFrequencystring

Sets or gets how frequently the page is likely to change.

The value of the changeFrequency property provides general information to search engines and may not correlate exactly to how often they crawl the page.

Valid values:

  • "always"
  • "hourly"
  • "daily"
  • "weekly"
  • "monthly"
  • "yearly"
  • "never"
JavaScript
export function myRouter_SiteMap(sitemapRequest) { let changeFrequency = entry.changeFrequency; // "weekly" }
Did this help?

lastModified


lastModifiedDate

Sets or gets when was the page data last modified.

JavaScript
export function myRouter_SiteMap(sitemapRequest) { let lastModified = entry.lastModified; let year = lastModified.getFullYear(); // 2017 }
Did this help?

pageName


pageNamestring

Sets or gets the page name.

JavaScript
export function myRouter_SiteMap(sitemapRequest) { let pageName = entry.pageName; // "Page Name" }
Did this help?

priority


prioritynumber

Sets or gets the priority of this URL relative to other URLs on your site.

The value of the priority property lets search engines know which pages you deem most important. Its value does not affect how your pages are compared to pages on other sites.

Valid values range from 0.0 to 1.0.

The default priority of a page is 0.5.

JavaScript
export function myRouter_SiteMap(sitemapRequest) { let priority = entry.priority; // 0.9 }
Did this help?

title


titlestring

Sets or gets the page title.

JavaScript
export function myRouter_SiteMap(sitemapRequest) { let title = entry.title; // "Page Title" }
Did this help?