-
Notifications
You must be signed in to change notification settings - Fork 90
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #3382 from Vizzuality/fix/sitemaps
Fix/sitemaps
- Loading branch information
Showing
57 changed files
with
133 additions
and
98 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,84 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<urlset | ||
xmlns="http://www.sitemaps.org/schemas/sitemap/0.9" | ||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xsi:schemaLocation="http://www.sitemaps.org/schemas/sitemap/0.9 | ||
http://www.sitemaps.org/schemas/sitemap/0.9/sitemap.xsd"> | ||
<!-- created with Free Online Sitemap Generator www.xml-sitemaps.com --> | ||
|
||
<url> | ||
<loc>http://www.globalforestwatch.org</loc> | ||
<changefreq>weekly</changefreq> | ||
<priority>1.00</priority> | ||
</url> | ||
<url> | ||
<loc>http://www.globalforestwatch.org/map</loc> | ||
<changefreq>monthly</changefreq> | ||
<priority>0.90</priority> | ||
</url> | ||
<url> | ||
<loc>http://www.globalforestwatch.org/countries</loc> | ||
<changefreq>monthly</changefreq> | ||
<priority>0.90</priority> | ||
</url> | ||
<url> | ||
<loc>http://www.globalforestwatch.org/stories</loc> | ||
<changefreq>weekly</changefreq> | ||
<priority>0.90</priority> | ||
</url> | ||
<url> | ||
<loc>http://blog.globalforestwatch.org</loc> | ||
<changefreq>weekly</changefreq> | ||
<priority>0.90</priority> | ||
</url> | ||
<url> | ||
<loc>http://commodities.globalforestwatch.org/</loc> | ||
<changefreq>weekly</changefreq> | ||
<priority>0.90</priority> | ||
</url> | ||
<url> | ||
<loc>http://fires.globalforestwatch.org/</loc> | ||
<changefreq>dayly</changefreq> | ||
<priority>0.90</priority> | ||
</url> | ||
<url> | ||
<loc>http://data.globalforestwatch.org/</loc> | ||
<changefreq>monthly</changefreq> | ||
<priority>0.80</priority> | ||
</url> | ||
<url> | ||
<loc>http://www.globalforestwatch.org/explore</loc> | ||
<changefreq>yearly</changefreq> | ||
<priority>0.80</priority> | ||
</url> | ||
<url> | ||
<loc>http://www.globalforestwatch.org/stayinformed</loc> | ||
<changefreq>yearly</changefreq> | ||
<priority>0.80</priority> | ||
</url> | ||
<url> | ||
<loc>http://www.globalforestwatch.org/getinvolved</loc> | ||
<changefreq>yearly</changefreq> | ||
<priority>0.80</priority> | ||
</url> | ||
<url> | ||
<loc>http://www.globalforestwatch.org/howto</loc> | ||
<changefreq>yearly</changefreq> | ||
<priority>0.80</priority> | ||
</url> | ||
<url> | ||
<loc>http://www.globalforestwatch.org/about</loc> | ||
<changefreq>yearly</changefreq> | ||
<priority>0.80</priority> | ||
</url> | ||
<url> | ||
<loc>http://www.globalforestwatch.org/countries/overview</loc> | ||
<changefreq>yearly</changefreq> | ||
<priority>0.80</priority> | ||
</url> | ||
<url> | ||
<loc>http://www.globalforestwatch.org/terms</loc> | ||
<changefreq>monthly</changefreq> | ||
<priority>0.20</priority> | ||
</url> | ||
</urlset> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
# Set the host name for URL creation | ||
SitemapGenerator::Sitemap.default_host = "https://www.globalforestwatch.org" | ||
SitemapGenerator::Sitemap.compress = false | ||
|
||
SitemapGenerator::Sitemap.create do | ||
add '/map', :changefreq => 'weekly', :priority => 0.8 | ||
add '/countries', :changefreq => 'weekly', :priority => 0.8 | ||
add '/country', :changefreq => 'weekly', :priority => 0.8 | ||
|
||
Country.find_all.each do |country| | ||
add "/country/#{country['iso']}", :changefreq => 'weekly', :priority => 0.6 | ||
end | ||
|
||
add '/about', :changefreq => 'weekly', :priority => 0.8 | ||
add '/small-grants-fund', :changefreq => 'weekly', :priority => 0.8 | ||
add '/search', :changefreq => 'weekly', :priority => 0.8 | ||
add '/stories', :changefreq => 'weekly', :priority => 0.8 | ||
|
||
add '/contribute-data', :changefreq => 'weekly', :priority => 0.4 | ||
add '/sitemap', :changefreq => 'weekly', :priority => 0.4 | ||
add '/terms', :changefreq => 'weekly', :priority => 0.4 | ||
|
||
# external apps | ||
add '/howto', :changefreq => 'weekly', :priority => 0.4 | ||
add 'https://developers.globalforestwatch.org', :changefreq => 'weekly', :priority => 0.4 | ||
add 'http://data.globalforestwatch.org', :changefreq => 'weekly', :priority => 0.4 | ||
add 'http://blog.globalforestwatch.org', :changefreq => 'weekly', :priority => 0.4 | ||
|
||
end |
Binary file not shown.
Large diffs are not rendered by default.
Oops, something went wrong.