fix the sitemap
This commit is contained in:
@ -1,6 +1,7 @@
|
|||||||
var async = require('async'),
|
var async = require('async'),
|
||||||
User = require('../models/User'),
|
User = require('../models/User'),
|
||||||
Challenge = require('./../models/Challenge'),
|
Challenge = require('./../models/Challenge'),
|
||||||
|
Courseware = require('./../models/Courseware'),
|
||||||
Bonfire = require('./../models/Bonfire'),
|
Bonfire = require('./../models/Bonfire'),
|
||||||
Story = require('./../models/Story'),
|
Story = require('./../models/Story'),
|
||||||
FieldGuide = require('./../models/FieldGuide'),
|
FieldGuide = require('./../models/FieldGuide'),
|
||||||
|
@ -7,43 +7,6 @@ urlset(xmlns="http://www.sitemaps.org/schemas/sitemap/0.9")
|
|||||||
lastmod= now
|
lastmod= now
|
||||||
priority= 0.5
|
priority= 0.5
|
||||||
|
|
||||||
url
|
|
||||||
loc http://www.freecodecamp.com/install-screenhero
|
|
||||||
changefreq weekly
|
|
||||||
lastmod= now
|
|
||||||
priority= 0.5
|
|
||||||
|
|
||||||
url
|
|
||||||
loc http://www.freecodecamp.com/nodeschool-challenges
|
|
||||||
changefreq weekly
|
|
||||||
lastmod= now
|
|
||||||
priority= 0.5
|
|
||||||
|
|
||||||
|
|
||||||
url
|
|
||||||
loc http://www.freecodecamp.com/deploy-a-website
|
|
||||||
changefreq weekly
|
|
||||||
lastmod= now
|
|
||||||
priority= 0.5
|
|
||||||
|
|
||||||
url
|
|
||||||
loc http://www.freecodecamp.com/control-shortcuts
|
|
||||||
changefreq weekly
|
|
||||||
lastmod= now
|
|
||||||
priority= 0.5
|
|
||||||
|
|
||||||
url
|
|
||||||
loc http://www.freecodecamp.com/pair-program-with-team-viewer
|
|
||||||
changefreq weekly
|
|
||||||
lastmod= now
|
|
||||||
priority= 0.5
|
|
||||||
|
|
||||||
url
|
|
||||||
loc http://www.freecodecamp.com/login
|
|
||||||
changefreq weekly
|
|
||||||
lastmod= now
|
|
||||||
priority= 0.5
|
|
||||||
|
|
||||||
url
|
url
|
||||||
loc http://www.freecodecamp.com/nonprofits
|
loc http://www.freecodecamp.com/nonprofits
|
||||||
changefreq weekly
|
changefreq weekly
|
||||||
@ -57,36 +20,11 @@ urlset(xmlns="http://www.sitemaps.org/schemas/sitemap/0.9")
|
|||||||
priority= 0.5
|
priority= 0.5
|
||||||
|
|
||||||
url
|
url
|
||||||
loc http://www.freecodecamp.com/chromebook
|
loc http://www.freecodecamp.com/twitch
|
||||||
changefreq weekly
|
changefreq weekly
|
||||||
lastmod= now
|
lastmod= now
|
||||||
priority= 0.5
|
priority= 0.5
|
||||||
|
|
||||||
url
|
|
||||||
loc http://www.freecodecamp.com/live-pair-programming
|
|
||||||
changefreq weekly
|
|
||||||
lastmod= now
|
|
||||||
priority= 0.5
|
|
||||||
|
|
||||||
url
|
|
||||||
loc http://www.freecodecamp.com/privacy
|
|
||||||
changefreq weekly
|
|
||||||
lastmod= now
|
|
||||||
priority= 0.5
|
|
||||||
|
|
||||||
url
|
|
||||||
loc http://www.freecodecamp.com/jquery-exercises
|
|
||||||
changefreq weekly
|
|
||||||
lastmod= now
|
|
||||||
priority= 0.5
|
|
||||||
|
|
||||||
url
|
|
||||||
loc http://www.freecodecamp.com/javascript-in-your-inbox
|
|
||||||
changefreq weekly
|
|
||||||
lastmod= now
|
|
||||||
priority= 0.5
|
|
||||||
|
|
||||||
|
|
||||||
//- Home page
|
//- Home page
|
||||||
url
|
url
|
||||||
loc= appUrl
|
loc= appUrl
|
||||||
@ -105,7 +43,7 @@ urlset(xmlns="http://www.sitemaps.org/schemas/sitemap/0.9")
|
|||||||
//- Products
|
//- Products
|
||||||
each bonfire in bonfires
|
each bonfire in bonfires
|
||||||
url
|
url
|
||||||
loc #{appUrl}/bonfires/#{bonfire.name.replace(/\s/, '-')}
|
loc #{appUrl}/bonfires/#{bonfire.name.replace(/\s/g, '-')}
|
||||||
lastmod= now
|
lastmod= now
|
||||||
changefreq weekly
|
changefreq weekly
|
||||||
priority= 0.5
|
priority= 0.5
|
||||||
@ -113,7 +51,7 @@ urlset(xmlns="http://www.sitemaps.org/schemas/sitemap/0.9")
|
|||||||
//- Challenges
|
//- Challenges
|
||||||
each challenge in challenges
|
each challenge in challenges
|
||||||
url
|
url
|
||||||
loc #{appUrl}/challenges/#{challenge.name.replace(/\s/, '-')}
|
loc #{appUrl}/challenges/#{challenge.name.replace(/\s/g, '-')}
|
||||||
lastmod= now
|
lastmod= now
|
||||||
changefreq weekly
|
changefreq weekly
|
||||||
priority= 0.5
|
priority= 0.5
|
||||||
@ -121,7 +59,7 @@ urlset(xmlns="http://www.sitemaps.org/schemas/sitemap/0.9")
|
|||||||
//- Stories
|
//- Stories
|
||||||
each story in stories
|
each story in stories
|
||||||
url
|
url
|
||||||
loc #{appUrl}/stories/#{story.storyLink.name.replace(/\s/, '-')}
|
loc #{appUrl}/stories/#{story.storyLink.replace(/\s/g, '-')}
|
||||||
lastmod= now
|
lastmod= now
|
||||||
changefreq daily
|
changefreq daily
|
||||||
priority= 0.9
|
priority= 0.9
|
||||||
@ -129,7 +67,7 @@ urlset(xmlns="http://www.sitemaps.org/schemas/sitemap/0.9")
|
|||||||
//- Nonprofit
|
//- Nonprofit
|
||||||
each nonprofit in nonprofits
|
each nonprofit in nonprofits
|
||||||
url
|
url
|
||||||
loc #{appUrl}/nonprofits/#{nonprofit.name.replace(/\s/, '-')}
|
loc #{appUrl}/nonprofits/#{nonprofit.name.replace(/\s/g, '-')}
|
||||||
lastmod= now
|
lastmod= now
|
||||||
changefreq daily
|
changefreq daily
|
||||||
priority= 0.9
|
priority= 0.9
|
||||||
@ -137,7 +75,7 @@ urlset(xmlns="http://www.sitemaps.org/schemas/sitemap/0.9")
|
|||||||
//- Nonprofit
|
//- Nonprofit
|
||||||
each fieldGuide in fieldGuides
|
each fieldGuide in fieldGuides
|
||||||
url
|
url
|
||||||
loc #{appUrl}/field-guide/#{fieldGuide.name.replace(/\s/, '-')}
|
loc #{appUrl}/field-guide/#{fieldGuide.name.replace(/\s/g, '-')}
|
||||||
lastmod= now
|
lastmod= now
|
||||||
changefreq daily
|
changefreq daily
|
||||||
priority= 0.9
|
priority= 0.9
|
||||||
|
Reference in New Issue
Block a user