Permalink
Browse files

redirect to Feedburner

  • Loading branch information...
rsim committed Aug 8, 2010
1 parent c8a6835 commit 6d8aee99003b700888eab13fae6803fc45412301
Showing with 11 additions and 4 deletions.
  1. +7 −0 .htaccess
  2. +4 −4 atom.xml
View
@@ -0,0 +1,7 @@
+# temp redirect wordpress content feeds to feedburner
+<IfModule mod_rewrite.c>
+ RewriteEngine on
+ RewriteCond %{HTTP_USER_AGENT} !FeedBurner [NC]
+ RewriteCond %{HTTP_USER_AGENT} !FeedValidator [NC]
+ RewriteRule ^feed/?([_0-9a-z-]+)?/?$ http://feeds.feedburner.com/rayapps_blog [R=302,NC,L]
+</IfModule>
View
@@ -3,8 +3,8 @@ layout: nil
---
<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
-
- <title>Tom Preston-Werner</title>
+
+ <title>Ray::Apps.blog</title>
<link href="http://blog.rayapps.com/atom.xml" rel="self"/>
<link href="http://blog.rayapps.com/"/>
<updated>{{ site.time | date_to_xmlschema }}</updated>
@@ -23,5 +23,5 @@ layout: nil
<content type="html">{{ post.content | xml_escape }}</content>
</entry>
{% endfor %}
-
-</feed>
+
+</feed>

0 comments on commit 6d8aee9

Please sign in to comment.