Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Change feed url and add link in meta tags

  • Loading branch information...
commit d7bc55cf1a3a09286125de4aa3f29b9a010a28f6 1 parent 591bb7b
@emmanuelbernard emmanuelbernard authored
Showing with 4 additions and 3 deletions.
  1. +2 −2 .htaccess
  2. +1 −1  _ext/pipeline.rb
  3. +1 −0  _layouts/base.html.haml
View
4 .htaccess
@@ -14,8 +14,8 @@ RewriteRule ^podcast\-rss$ "http\:\/\/lescastcodeurs\.libsyn\.com\/rss" [R=302,L
# images
RewriteRule ^img/jecoute_les_castcodeurs_200px.png$ /images/promo/jecoute_les_castcodeurs_200px.png
-# old site feed redirected
-#RewriteRule feed/ http://lescastcodeurs.com/feed [R=301,L]
+# old feed redirected
+#RewriteRule feed/ http://lescastcodeurs.com/feed.atom [R=301,L]
# Manual redirect form old URL scheme yyyy/mm to new blog yyyy/mm/dd
RewriteRule 2009/03/en-construction[/]? http://lescastcodeurs.com/2009/03/25/en-construction/ [R=301,L]
View
2  _ext/pipeline.rb
@@ -7,7 +7,7 @@
extension Awestruct::Extensions::Indexifier.new
extension Awestruct::Extensions::Atomizer.new(
:posts,
- '/feed',
+ '/feed.atom',
:num_entries=>10000,
:content_url=>'http://lescastcodeurs.com',
:feed_title=> 'Les Cast Codeurs Podcast' )
View
1  _layouts/base.html.haml
@@ -6,6 +6,7 @@
#{site.title}: #{page.title}
%meta{ :name=>'viewport', :content=>'width=device-width, initial-scale=1.0' }
%link{ :rel=>'stylesheet', :type=>'text/css', :href=>"/stylesheets/styles.css" }
+ %link{ :href=>'/feed.atom', :rel=>'alternate', :type=>'application/atom+xml'}/
/[if lt IE 9]
%script{ :type=>'text/javascript', :src=>'//html5shim.googlecode.com/svn/trunk/html5.js' }
%body
Please sign in to comment.
Something went wrong with that request. Please try again.