Burn Your Drupal 6 RSS Feeds with FeedBurner & Apache mod_rewrite
johndbritton — Fri, 04/25/2008 - 11:22am
As it stands the Drupal FeedBurner module is not yet ready for the 6.x series. A simple workaround is to redirect Drupal feed requests (default: /rss.xml) to FeedBurner based on the useragent using Apache's mod_rewrite. The trick is to redirect all requests for the feed, with the exception of those made by the FeedBurner bot, to the Burned
feed. You can repeat this for as many feeds as is necessary. Thanks to ckdake for the tip.
Example .htaccess snippet:
# Rewrite feed URL to FeedBurner RewriteCond %{HTTP_USER_AGENT} !FeedBurner [NC] RewriteRule rss\.xml http://feeds.feedburner.com/johndbritton [L]

FeedMedic
ckdake (not verified) — Sun, 05/04/2008 - 10:13amDon't forget, that if you use the FeedMedic feature of FeedBurner, you'll need to allow that useragent as well.
Post new comment