aurora-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dles...@apache.org
Subject svn commit: r1661842 - in /incubator/aurora/site: config.rb publish/sitemap.xml source/sitemap.xml.erb
Date Tue, 24 Feb 2015 05:28:32 GMT
Author: dlester
Date: Tue Feb 24 05:28:32 2015
New Revision: 1661842

URL: http://svn.apache.org/r1661842
Log:
Updates Aurora website to include sitemap.xml

Added:
    incubator/aurora/site/publish/sitemap.xml
    incubator/aurora/site/source/sitemap.xml.erb
Modified:
    incubator/aurora/site/config.rb

Modified: incubator/aurora/site/config.rb
URL: http://svn.apache.org/viewvc/incubator/aurora/site/config.rb?rev=1661842&r1=1661841&r2=1661842&view=diff
==============================================================================
--- incubator/aurora/site/config.rb (original)
+++ incubator/aurora/site/config.rb Tue Feb 24 05:28:32 2015
@@ -49,6 +49,7 @@ end
 
 page "/documentation/*", :layout => "documentation"
 page "/blog/feed.xml", :layout => false
+page "/sitemap.xml", :layout => false
 
 activate :blog do |blog|
   blog.prefix = "blog"

Added: incubator/aurora/site/publish/sitemap.xml
URL: http://svn.apache.org/viewvc/incubator/aurora/site/publish/sitemap.xml?rev=1661842&view=auto
==============================================================================
--- incubator/aurora/site/publish/sitemap.xml (added)
+++ incubator/aurora/site/publish/sitemap.xml Tue Feb 24 05:28:32 2015
@@ -0,0 +1,131 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
+  <url>
+    <loc>http://aurora.incubator.apache.org/blog/aurora-0-6-0-incubating-released/</loc>
+    <lastmod>2015-02-23T00:00:00-08:00</lastmod>
+  </url>
+  <url>
+    <loc>http://aurora.incubator.apache.org/blog/aurora-0-7-0-incubating-released/</loc>
+    <lastmod>2015-02-23T00:00:00-08:00</lastmod>
+  </url>
+  <url>
+    <loc>http://aurora.incubator.apache.org/blog/</loc>
+    <lastmod>2015-02-23T00:00:00-08:00</lastmod>
+  </url>
+  <url>
+    <loc>http://aurora.incubator.apache.org/community/</loc>
+    <lastmod>2015-02-23T00:00:00-08:00</lastmod>
+  </url>
+  <url>
+    <loc>http://aurora.incubator.apache.org/developers/</loc>
+    <lastmod>2015-02-23T00:00:00-08:00</lastmod>
+  </url>
+  <url>
+    <loc>http://aurora.incubator.apache.org/docs/gettingstarted/</loc>
+    <lastmod>2015-02-23T00:00:00-08:00</lastmod>
+  </url>
+  <url>
+    <loc>http://aurora.incubator.apache.org/docs/howtocontribute/</loc>
+    <lastmod>2015-02-23T00:00:00-08:00</lastmod>
+  </url>
+  <url>
+    <loc>http://aurora.incubator.apache.org/documentation/latest/client-cluster-configuration/</loc>
+    <lastmod>2015-02-23T00:00:00-08:00</lastmod>
+  </url>
+  <url>
+    <loc>http://aurora.incubator.apache.org/documentation/latest/client-commands/</loc>
+    <lastmod>2015-02-23T00:00:00-08:00</lastmod>
+  </url>
+  <url>
+    <loc>http://aurora.incubator.apache.org/documentation/latest/committers/</loc>
+    <lastmod>2015-02-23T00:00:00-08:00</lastmod>
+  </url>
+  <url>
+    <loc>http://aurora.incubator.apache.org/documentation/latest/configuration-reference/</loc>
+    <lastmod>2015-02-23T00:00:00-08:00</lastmod>
+  </url>
+  <url>
+    <loc>http://aurora.incubator.apache.org/documentation/latest/configuration-tutorial/</loc>
+    <lastmod>2015-02-23T00:00:00-08:00</lastmod>
+  </url>
+  <url>
+    <loc>http://aurora.incubator.apache.org/documentation/latest/contributing/</loc>
+    <lastmod>2015-02-23T00:00:00-08:00</lastmod>
+  </url>
+  <url>
+    <loc>http://aurora.incubator.apache.org/documentation/latest/cron-jobs/</loc>
+    <lastmod>2015-02-23T00:00:00-08:00</lastmod>
+  </url>
+  <url>
+    <loc>http://aurora.incubator.apache.org/documentation/latest/deploying-aurora-scheduler/</loc>
+    <lastmod>2015-02-23T00:00:00-08:00</lastmod>
+  </url>
+  <url>
+    <loc>http://aurora.incubator.apache.org/documentation/latest/developing-aurora-client/</loc>
+    <lastmod>2015-02-23T00:00:00-08:00</lastmod>
+  </url>
+  <url>
+    <loc>http://aurora.incubator.apache.org/documentation/latest/developing-aurora-scheduler/</loc>
+    <lastmod>2015-02-23T00:00:00-08:00</lastmod>
+  </url>
+  <url>
+    <loc>http://aurora.incubator.apache.org/documentation/latest/hooks/</loc>
+    <lastmod>2015-02-23T00:00:00-08:00</lastmod>
+  </url>
+  <url>
+    <loc>http://aurora.incubator.apache.org/documentation/latest/monitoring/</loc>
+    <lastmod>2015-02-23T00:00:00-08:00</lastmod>
+  </url>
+  <url>
+    <loc>http://aurora.incubator.apache.org/documentation/latest/resource-isolation/</loc>
+    <lastmod>2015-02-23T00:00:00-08:00</lastmod>
+  </url>
+  <url>
+    <loc>http://aurora.incubator.apache.org/documentation/latest/scheduler-storage/</loc>
+    <lastmod>2015-02-23T00:00:00-08:00</lastmod>
+  </url>
+  <url>
+    <loc>http://aurora.incubator.apache.org/documentation/latest/sla/</loc>
+    <lastmod>2015-02-23T00:00:00-08:00</lastmod>
+  </url>
+  <url>
+    <loc>http://aurora.incubator.apache.org/documentation/latest/storage-config/</loc>
+    <lastmod>2015-02-23T00:00:00-08:00</lastmod>
+  </url>
+  <url>
+    <loc>http://aurora.incubator.apache.org/documentation/latest/storage/</loc>
+    <lastmod>2015-02-23T00:00:00-08:00</lastmod>
+  </url>
+  <url>
+    <loc>http://aurora.incubator.apache.org/documentation/latest/test-resource-generation/</loc>
+    <lastmod>2015-02-23T00:00:00-08:00</lastmod>
+  </url>
+  <url>
+    <loc>http://aurora.incubator.apache.org/documentation/latest/thrift-deprecation/</loc>
+    <lastmod>2015-02-23T00:00:00-08:00</lastmod>
+  </url>
+  <url>
+    <loc>http://aurora.incubator.apache.org/documentation/latest/tutorial/</loc>
+    <lastmod>2015-02-23T00:00:00-08:00</lastmod>
+  </url>
+  <url>
+    <loc>http://aurora.incubator.apache.org/documentation/latest/user-guide/</loc>
+    <lastmod>2015-02-23T00:00:00-08:00</lastmod>
+  </url>
+  <url>
+    <loc>http://aurora.incubator.apache.org/documentation/latest/vagrant/</loc>
+    <lastmod>2015-02-23T00:00:00-08:00</lastmod>
+  </url>
+  <url>
+    <loc>http://aurora.incubator.apache.org/documentation/latest/</loc>
+    <lastmod>2015-02-23T00:00:00-08:00</lastmod>
+  </url>
+  <url>
+    <loc>http://aurora.incubator.apache.org/downloads/</loc>
+    <lastmod>2015-02-23T00:00:00-08:00</lastmod>
+  </url>
+  <url>
+    <loc>http://aurora.incubator.apache.org/</loc>
+    <lastmod>2015-02-23T00:00:00-08:00</lastmod>
+  </url>
+</urlset>
\ No newline at end of file

Added: incubator/aurora/site/source/sitemap.xml.erb
URL: http://svn.apache.org/viewvc/incubator/aurora/site/source/sitemap.xml.erb?rev=1661842&view=auto
==============================================================================
--- incubator/aurora/site/source/sitemap.xml.erb (added)
+++ incubator/aurora/site/source/sitemap.xml.erb Tue Feb 24 05:28:32 2015
@@ -0,0 +1,10 @@
+<% pages = sitemap.resources.select { |page| page.path =~ /\.html/ } %>
+<?xml version="1.0" encoding="UTF-8"?>
+<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
+<% pages.each do |page| %>
+  <url>
+    <loc>http://aurora.incubator.apache.org/<%= page.destination_path.gsub('index.html','')
%></loc>
+    <lastmod><%= Date.today.to_time.iso8601 %></lastmod>
+  </url>
+<% end %>
+</urlset>
\ No newline at end of file



Mime
View raw message