Skip to content

Instantly share code, notes, and snippets.

@chrisjacob
Created February 3, 2011 16:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save chrisjacob/809722 to your computer and use it in GitHub Desktop.
Save chrisjacob/809722 to your computer and use it in GitHub Desktop.
cldwalker.github.com / sitemap.xml
---
layout: nil
site_pages:
- /
- /about.html
- /projects.html
- /blog.html
- /hirb/
- /has_machine_tags/
- /console_update/
- /local_gem/
- /machinetag.js/
- /apps/flickr.html
- /apps/delicious.html
---
<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
{% for site_page in page.site_pages %}
<url>
<loc>http://tagaholic.me{{site_page}}</loc>
<lastmod>{{ site.time | date_to_xmlschema }}</lastmod>
<changefreq>hourly</changefreq>
</url>
{% endfor %}
{% for post in site.posts %}
<url>
<loc>http://tagaholic.me{{ post.url }}</loc>
<lastmod>{{ post.date | date_to_xmlschema }}</lastmod>
<changefreq>hourly</changefreq>
</url>
{% endfor %}
</urlset>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment