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 %{HTTPUSERAGENT} !FeedBurner [NC]
- RewriteRule rss.xml http://feeds.feedburner.com/johndbritton [L]
Comments
Slight Modification Required
Just thought I’d point out that %{HTTPUSERAGENT} is not actually valid. %{HTTP_USER_AGENT} is (I assume) probably what was meant. Easy enough to notice, but readers who are not familiar with mod_rewrite may just copy-and-paste the other code, and wonder why it doesn’t work. ;p
Additionally (don’t take my word on this, I’m just going off the source for the FeedBurner module, which seems to be abandoned), Line 9 of feedburner.module is:
define("FEEDBURNER_DEFAULT_USERAGENTS", "feedburner|feedvalidator");I interpret this as indicating that FeedBurner may use multiple User Agents.
On a side note: Have you tested this with Drupal 6.2? When I attempt to apply this to my .htaccess file, it doesn’t seem to have any affect. No redirection at all, yet when I apply the same lines (changing only the domains referenced) to the .htaccess of a WordPress installation, it works fine.
My initial thought is that Drupal may be doing some voodoo behind the scenes that I’m not aware of, but that seems a bit odd. Why would PHP muck with something that Apache would normally handle? So I discounted that idea.
Second idea was that maybe mod_rewrite inheriting settings from somewhere else that conflicted with this rewrite. There is another .htaccess in /sites/default/files/.htaccess, but I don’t think that has anything to do with it. The rewrite rules for Clean URLs are in /.htaccess, and those work just fine.
So I’d say I’m somewhat confused at this point. Any thoughts?
Thanks for your help
this shed alot of light on confusion
Sure it does. It saves me
Sure it does. It saves me tons of time trying to figure it all out by myself. *Thumbs up*
google
What impact does the purchase of FeedBurner had on Drupal rss feeds?
yeah i agree with you
yeah i agree with you
Couldn’t agree more.
Couldn’t agree more. Thanks for clearing this up
Awww..
I am still confused.. where is the light? If there are two .htaccess files then there will be problems if you expect them to do different things.
Wonderful help
yes, another thank you for he help.. it was very beneficial for me to read. = )
it was helpful
yes, you’re correct, this was an informational post worth reading.
Good Mod
Great modification.
Sarongs
Still confused - but that's not unusual...
I get all twisted around when I try to implement mod_rewrites - this helps a bit but I’d imagine I’ll still mess it up … as usual. ;) Thanks for the info - it won’t hurt to try it I guess…. I’ll just make sure to backup everything first.
I love it!
I love it. Great post
Hopefully I get that module
Hopefully I get that module update finished…soon.
More details
can you explain it in more detail. I am new to this field
thanks
wow
Thanks man for this helping code here. I will try this for sure
Regards
David (term paper help)
upgrades
Yeah, the new upgrades that keep coming out are just getting sweeter and sweeter. If only Drupal could market itself correctly, there might be more of an international presence.
Mod Rewrite
Got to love mod rewrite. We use it for most of our sites to allow php to be handled on html (ext) pages. This looks like you may want to suggest a contribution to drupal - email them to this post.. see what they say.
FeedBurner module 6.x version
A Drupal 6 version of the module is ready for testing and will have an official 6.x-1.0 release shortly. You can get it at http://drupal.org/node/291786 and please be sure to report any bugs or feature requests!
thanks for the update on the new mod.
I know one of my blogs this will come in handy for. Thanks
Kiel
Any idea on Joomla?
I’m looking at Joomla for my car leasing website. I’ve had some issues with using mod_rewrite to send everything to www. wether it has them typed in or not, and also different domains to resolve to the main www. site. I’ve found this has affected other functionality for using friendly URLs within components. Anyone else had similar problems?
Also, do you think Joomla is the way to go, or are Drupal, Typo3 or PHPWebsite better options? Don’t think Wordpress has enough functionality for what I need.
Article.
Nice article. Really like it. Keep it up.
Thanks
Useful article,with the addition of feedburner into the equation, this helps with a variety of tasks
OK
So you add the patch to include the rss feed to feedburner, for what purpose?
Altaj
A word spoken is past recalling
I also don’t understand
I also don’t understand what is the purpose of including the rss feed to feedburner…
I got it up in 5 minutes and
I got it up in 5 minutes and it works flawlessly! Thanks for the tip. Love it.
20 mins
It took me 20 mins :( am I working slowing ? but happy its working now :)
Regards
Mark(Thesis Help)
Your dream car is just three steps away. Do visit us.
I have read you data which will be very useful to me in near future. Thanks for sharing it. Now I want to tell you that you can car loan in three easy steps.All you have to do is visit my site Nationwide Auto Lending. Fill the form and in third step you will see thank you page and our executives will contact you as soon as possible.
Nationwide Auto Lending is a name you can rely on, in getting a fast auto and car loans arranged swiftly. We aim to serve the residents of the U.S. helping them to secure special financing as well as fast auto and car loans.
It took me forever!
I know this post is old but had to comment on the legit info this provided for me and my wordpress site. Chris your comment saved me and John I want to kiss you! thanks boys. ;)
I have a real problem with
I have a real problem with wordpress. I prefer Drupal.
Nice Post !
Enjoyable read there, like your blog.
Great Info
This information is very good for everyone.
Dissertation Writing
Thanks for the informative
Thanks for the informative article. I always learn a lot from your blog, keep up the posts.
Yeah, That is the beauty of
Yeah, That is the beauty of open source technology and we don’t need to wait all those hired people at companies who do nothing other than creating some garbage.
Nice
Nice post and information. Thanks for sharing it with us.
Well done
Nice post and the job is very well done. Thanks for sharing with us.
confused
could you please explain it more? it’s a lil confusing for me.
The article has a great
The article has a great insight. I greatly enjoyed looking through the topic and found it very informative one for people like me.
I Would like to know more on these topics.
It is a terrific eye-opener.
Thanks
Thanks for this fix johndbritton.
When I faced this problem I
When I faced this problem I found another solution but this one is much easier and more effective.
great post!.. I am
great post!.. I am definitely coming back to read more.
Great work!
Hello, Just found this little gem and got it running and working straight away.
Thanks for the info!.
Thank you
Hello,
Thanks for this really usefull blog, works like a charm.
Great post. I am still
Great post. I am still working on getting this working, thanks to others for their tips and help. I hope to have this up and running soon. I really do like Drupal and like all the new aspects that are being brought out. Again thanks!!
All the best!
LOAN texas Refinancing
LOAN texas
Refinancing california
ca mobile notary
Bad credit loans
ATM machines for sale
Simple enough...
Good deal. This seems simple enough; I’m still learning about Drupal, but I can keep this tip in my “bag of tricks” for now.
Other Alternatives
Besides Feedburner are there any other alternatives? It does seem simple but if there is another way to go about it, that would be cool too.
Granite
Nice blog……………..
Marble
Great blog,i like this site very much.
Banner ads
fantastic blog and the comments on this blog is true and real.