[l2.SELF:node/75]There were a number of steps required to get "FeedBurner":http://www.feedburner.com to work the way I wanted it to. My goal was a seamless RSS feed that I could easily track using FeedBurner's wonder statistics and maybe get some wider exposure. I also wanted to maintain the "brand", in my case the domain name, as much as possible. Here is what I did:

h2. Grab the Drupal FeedBurner module

The module can be downloaded from the "FeedBurner project page":http://drupal.org/project/feedburner. After that install and activate the module normally.

*WARNING*: The _1.0 Beta3_ package has a bug that prevents feeds with empty paths from being edited. I found the "development":http://ftp.drupal.org/files/projects/feedburner-6.x-1.x-dev.tar.gz package dated _2008-Aug-22_to be a requirement.

You can ignore the configuration options for now. They will make more sense after your FeedBurner account is set up.

h2. Get a FeedBurner account

If you do not have a "FeedBurner":http://www.feedburner.com account then head over there and set one up. It's easy and uses your Google login if you have one.

h2. _Burn_ a feed

The process of having FeedBurner track and delivery your feeds is known as _burning_. There are three separate steps to this and yes, it can get a bit confusing. The first step is to figure out which feed you want to burn. To make this easy I will burn the front-page feed, which should be your site URI and _rss.xml_. For me this is http://www.canfield.com/rmm.xml.

The next step is to tell FeedBurner about this feed. Head over to "FeedBurner":http://www.feedburner.com, login and you should be at the main _burn_ page. If not click _My feeds_ in the mini-navigation bar at the top of the page.

p=. [l2:#-burn|caption=Add a burn]

The example shows that I have already entered two feeds. The way I did that was to enter the URI for my feed (http://feeds.canfield.com/CanfieldResearchGroup) where prompted (the circled area int he image above). Then click the _Next_ button. You will be shown a confirmation screen with the _Feed Title_ pulled from your page and the FeedBurner address to use (_Feed Address_) is shown just below the FeedBurner URL that is appropriate for your account. The title and address can be changed with the caveat that the _Feed Address_ is local to the domain shown above it (shared), so the name you want may not be available. Once everything is set the way you like, click on _Next_.

If all worked properly you will be shown the full URI of your FeedBurner feed. For me it was http://feed2.feedburner.com/CanfieldResearchGroup. Now we need to tell Drupal about this.

You will need to do this for every feed you want FeedBurner to track for you. I recommend only tracking your primary feeds for now.

*NOTE*: There is a way to mask the FeedBurner URL, that is explained in a bit. For now, ignore it.

h2. Configure Drupal's general FeedBurner settings

Now that FeedBurner knows about you, you need to redirect all you feeds to FeedBurner. The FeedBurner module you installed above either redirect or optionally rewrite (experimental feature, but worked for me) all the feed URLs that you have entered. You need to be logged into your Drupal site as the administrator and have the FeedBurner module enabled.

Before we can do anything else we need to tell Drupal what the FeedBurner base URL is for this site. Navigate to Administer / Site Configuration / FeedBurner. This need be done only once per site. The settings I used are:

| Name | Setting | Notes |
| Redirection HTTP header status code | 307 Temporary Redirect | The default and recommended setting |
| Replace all links to burned FeedBurner feeds in the source HTML | Checked | Rewrites the URLs on the rendered page, saving a HTTP redirect operation. While experimental I found it to work well. |
| FeedFlare/Standard Stats/Ad Network | NONE | I do not use FeedFlare at this time. FeedFlare will present your RSS feeds using FeedBurner's theme along with a bunch of handy subscription and social networking links. I did not care for this look so opted out. If you enable this be sure to also enable on the FeedBurner site. |
| Advanced settings | Expand this | The FeedBurner base URL will probably need to be changed, and that is in this section |
| User agents allowed direct feed access | feedburner, feedvalidator | The default, one per line. Without these FeedBurner will get redirects to FeedBurner when visiting your RSS feeds. That would effectively disable feeds. So an exception is made to prevent redirection when a FeedBurner client comes visiting |
|MyBrand custom domain | feeds2.feedburner.com | This URL comes from the base URL that FeedBurner assigned when you entered you RSS feed into FeedBurner. My feed was @http://feed2.feedburner.com/CanfieldResearchGroup@, so I would enter just the base URL here without the path: @http://feed2.feedburner.com@ |

Save these settings and you are ready to start burning feeds.

h2. Telling Drupal about FeedBurner feeds

Finally we get to tell Drupal which feeds need to be redirected to FeedBurner. That's pretty easy. Just head on over to the Drupal configuration page at Administer / Site building / FeedBurner. If _rss.xml_ is present then edit it, otherwise click on the _Burn Feed_ tab and enter the local and FeedBurner feeds. This example uses a local feed of 'rss.xml' and a FeedBurner feed of 'CanfieldResearchGroup'. Note how most of the URL is already defined base don Drupal site configuration and the FeedBurner general settings done above.

You can also use the _Blogs_ and _Taxonomy_ tabs to see a list of all Drupal feeds available.

The same general process can be used as many times as desired; define FeedBurner feed in http://www.feedburner.com, tell Drupal to use FeedBurner for the feed.

h2. Branding your URL

The final step is to vanquish the FeedBurner URL form your pages. To do this requires you have access to your DNS configuration. If you do not, or do not understand DNS, then pass this step alone to an associate (or [l2:contact|contact CRG]) to help you. Head on over to "MyBrand":http://feedburner.google.com/fb/a/mybrand (you will probably need to be logged into FeedBurner for this to work) and follow the instructions. Then head back over Drupal's Administer / Site configuration / FeedBurner,e xpand the _Advanced_ area and enter your shiny branded URL.

h2. What's nexthttp://www.canfield.com/category/subjects/cad/floorplan

Now that you have feeds configured and maybe the URL branded, it's time to go to FeedBurner's site and examine the tons of options available to you.

Have fun!