diff options
| -rw-r--r-- | templates/feed.xml.erb | 27 | ||||
| -rw-r--r-- | templates/sitemap.xml.erb | 11 |
2 files changed, 0 insertions, 38 deletions
diff --git a/templates/feed.xml.erb b/templates/feed.xml.erb deleted file mode 100644 index 7ebd1ba..0000000 --- a/templates/feed.xml.erb +++ /dev/null @@ -1,27 +0,0 @@ -<% _feed_title = feed_title %> -<% _link = link %> -<% _description = description %> -<% _lang = lang %> -<% _last_build_date = last_build_date %> -<% _feed_link = feed_link %> -<% _posts = posts %> -<?xml version="1.0" encoding="utf-8"?> -<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"> - <channel> - <title><%= _feed_title %></title> - <link><%= _link %></link> - <description><%= _description %></description> - <language><%= _lang %></language> - <lastBuildDate><%= _last_build_date %></lastBuildDate> - <atom:link href="<%= _feed_link %>" rel="self" type="application/rss+xml" /> - <% for post in _posts %> - <item> - <title><%= post.title %></title> - <link><%= post.href %></link> - <pubDate><%= post.updated_on %></pubDate> - <guid><%= post.href %></guid> - <description><![CDATA[<%= post %>]]></description> - </item> - <% end %> - </channel> -</rss> diff --git a/templates/sitemap.xml.erb b/templates/sitemap.xml.erb deleted file mode 100644 index 304b1c6..0000000 --- a/templates/sitemap.xml.erb +++ /dev/null @@ -1,11 +0,0 @@ -<% _base_url = base_url %> -<% _pages = pages %> -<?xml version="1.0" encoding="utf-8"?> -<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9" > - <% for page in _pages %> - <url> - <loc><%= _base_url %><%= page.href %></loc> - <lastmod><%= page.updated_on %></lastmod> - </url> - <% end %> -</urlset> |
