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?