Permalink
Browse files

update sitemap generation and sitemap itself

  • Loading branch information...
1 parent 072da76 commit b70f006e0d451e3bf16dfd9f68a485470a5b9953 Kevin Olbrich committed Apr 1, 2013
Showing with 16 additions and 11 deletions.
  1. +6 −6 Gemfile.lock
  2. +4 −0 README.markdown
  3. +2 −1 _plugins/sitemap_generator.rb
  4. +4 −4 sitemap.xml
View
12 Gemfile.lock
@@ -4,17 +4,17 @@ GEM
RedCloth (4.2.9)
classifier (1.3.3)
fast-stemmer (>= 1.0.0)
- directory_watcher (1.4.1)
- fast-stemmer (1.0.1)
- jekyll (0.12.0)
+ directory_watcher (1.5.1)
+ fast-stemmer (1.0.2)
+ jekyll (0.12.1)
classifier (~> 1.3)
directory_watcher (~> 1.1)
- kramdown (~> 0.13.4)
+ kramdown (~> 0.14)
liquid (~> 2.3)
maruku (~> 0.5)
pygments.rb (~> 0.3.2)
- kramdown (0.13.8)
- liquid (2.4.1)
+ kramdown (0.14.2)
+ liquid (2.5.0)
maruku (0.6.1)
syntax (>= 1.0.0)
posix-spawn (0.3.6)
View
4 README.markdown
@@ -55,3 +55,7 @@ Every file rendered by jekyll needs to have a yaml header describing the content
p(title). {{ page.title }}
+Sitemap
+-------
+
+To generate a sitemap simply startup jekyll and look for the generated file in the ./_site directory
View
3 _plugins/sitemap_generator.rb
@@ -40,7 +40,7 @@
module Jekyll
# Change MY_URL to reflect the site you are using
- MY_URL = "http://www.mysite.com"
+ MY_URL = "http://www.trianglecaregiversconference.org"
# Change SITEMAP_FILE_NAME if you would like your sitemap file
# to be called something else
@@ -112,6 +112,7 @@ class SitemapGenerator < Generator
#
# Returns nothing
def generate(site)
+ puts "generating sitemap"
sitemap = REXML::Document.new << REXML::XMLDecl.new("1.0", "UTF-8")
urlset = REXML::Element.new "urlset"
View
8 sitemap.xml
@@ -10,23 +10,23 @@
</url>
<url>
<loc>www.trianglecaregiversconference.org/exhibitor-signup.html</loc>
- <lastmod>2013-01-29T18:41:32-05:00</lastmod>
+ <lastmod>2013-03-31T23:14:12-04:00</lastmod>
</url>
<url>
<loc>www.trianglecaregiversconference.org/exhibitors.html</loc>
- <lastmod>2013-01-26T10:32:24-05:00</lastmod>
+ <lastmod>2013-03-31T22:45:50-04:00</lastmod>
</url>
<url>
<loc>www.trianglecaregiversconference.org/</loc>
- <lastmod>2013-01-26T10:32:24-05:00</lastmod>
+ <lastmod>2013-03-05T12:29:02-05:00</lastmod>
</url>
<url>
<loc>www.trianglecaregiversconference.org/keynote.html</loc>
<lastmod>2013-01-26T10:32:24-05:00</lastmod>
</url>
<url>
<loc>www.trianglecaregiversconference.org/register.html</loc>
- <lastmod>2013-01-29T18:29:25-05:00</lastmod>
+ <lastmod>2013-03-05T12:29:02-05:00</lastmod>
</url>
<url>
<loc>www.trianglecaregiversconference.org/thanks.html</loc>

0 comments on commit b70f006

Please sign in to comment.