On Sat, Feb 28, 2009 at 2:02 PM, Harry Seldon <ruby-forum-incom...@andreas-s.net> wrote: > Hey (again) guys, > If you have a look at this post (1) about Rails heroes RSS feeds you > will see that they all use feedburners. My question is how to use > feedburner with Typo? > For instance how to change the feed address that appears when clicking > on the RSS logo in firefox url bar (or its equivalent in Safari)? > How to change the address appearing in the syndication sidebar? > > Thx > H > -- > Posted via http://www.ruby-forum.com/. > _______________________________________________ > Typo-list mailing list > Typo-list@rubyforge.org > http://rubyforge.org/mailman/listinfo/typo-list >
This is what I do to redirect everyone to FeedBurner in my Apache VirtualHost for Typo. Only FeedBurner itself is allowed to get the feed directly. You won't have to hack Typo itself. RewriteEngine On # 302 temporary, 301 permanent RewriteCond %{HTTP_USER_AGENT} !^FeedBurner/.* RewriteRule ^/xml/rss20/feed.xml$ http://feeds.feedburner.com/mondragon/PQVR [R=302,L] RewriteRule ^/xml/atom/feed.xml$ http://feeds.feedburner.com/mondragon/PQVR [R=302,L] Here's the Apache docs for mod_rewrite http://httpd.apache.org/docs/2.2/mod/mod_rewrite.html -- Mike Mondragon Work> http://sas.quat.ch/ Blog> http://blog.mondragon.cc/ _______________________________________________ Typo-list mailing list Typo-list@rubyforge.org http://rubyforge.org/mailman/listinfo/typo-list