• GALLERY
  • OPENID

www.johndbritton.com

  • about
  • contact
  • projects
  • tags
Home

Burn Your Drupal 6 RSS Feeds with FeedBurner & Apache mod_rewrite

johndbritton — Fri, 04/25/2008 - 12:22pm

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]

Trackback URL for this post:

http://www.johndbritton.com/trackback/6

Online casino gambling.

from Online casino gambling. on Mon, 05/12/2008 - 6:05pm

Online casino gambling.

  • drupal
  • floss
  • Add new comment
ckdake's picture

FeedMedic

ckdake (not verified) — Sun, 05/04/2008 - 11:13am

Don't forget, that if you use the FeedMedic feature of FeedBurner, you'll need to allow that useragent as well.

  • reply

Recent comments

  • FeedMedic
    1 week 2 days ago
  • Big congrats to you sir. I
    2 weeks 6 days ago

Random Images

2007-04-05 at 18-40-53.jpg

Date: 04/05/2007

2007-06-15 at 10-32-50.jpg

Date: 06/15/2007

IMG_1066

Date: 05/29/2004

IMG_0481.JPG

Date: 04/12/2008

© John Britton - http://www.johndbritton.com

  • about
  • contact
  • projects
  • tags