doctype xml
urlset(xmlns="http://www.sitemaps.org/schemas/sitemap/0.9")

  url
    loc http://www.freecodecamp.com/
    changefreq weekly
    lastmod= now
    priority= 0.9

  url
    loc http://www.freecodecamp.com/nonprofits
    changefreq weekly
    lastmod= now
    priority= 0.9

  url
    loc http://www.freecodecamp.com/pmi-acp-agile-project-managers
    changefreq weekly
    lastmod= now
    priority= 0.9

  url
    loc http://www.freecodecamp.com/map
    changefreq weekly
    lastmod= now
    priority= 0.9

  url
    loc http://www.freecodecamp.com/coding-bootcamp-cost-calculator
    changefreq weekly
    lastmod= now
    priority= 0.9

  //- User
  each user in users
    url
      loc #{appUrl}/#{user}
      lastmod= now
      changefreq daily
      priority= 0.5

  each challenge in challenges
    url
      loc #{appUrl}/challenges/#{challenge.replace(/\s/g, '-')}
      lastmod= now
      changefreq weekly
      priority= 0.5

  each story in stories
    url
      loc #{appUrl}/news/#{story.replace(/\s/g, '-')}
      lastmod= now
      changefreq daily
      priority= 0.9

  each nonprofit in nonprofits
    url
      loc #{appUrl}/nonprofits/#{nonprofit.replace(/\s/g, '-')}
      lastmod= now
      changefreq daily
      priority= 0.9
