Using Feedburner for your RSS feeds

Many site publishers use Feedburner for their site feeds. Although Textpattern has in-built RSS and Atom tags for your feeds, Feedburner offers some extra benefits, including site metrics and advertising integration via Google (which owns Feedburner).

Create a Feedburner account

  1. Create a Feedburner account
  2. Create your feed, for example “TxpTips”
  3. Download, install and activate the htn_feedstats plugin

Add the feed to your head tag

<!-- Feeds -->
<link rel="alternate" type="application/rss+xml" title="RSS" href="" />

Place the above in your <head> tag in your page template or form. Edit the link tag "" to reflect your Feedburner account name.

Integrate Feedburner in your site

<div id="feedcounter"><p><a href="" title="RSS Feed">We have  <strong><txp:htn_feedstats id="12345"  /></strong> subscribers to our feed!</a></p>

Enter the above into a form or directly in your page template where you wish to display the feeds. Edit the anchor tag "" to reflect your Feedburner account name and also your account #id in the htn_feedstats tag: <txp:htn_feedstats id="12345" />

Thanks to Jean-Pol Dupont for requesting this tip.

comments powered by Disqus