I finally listened to Dan and installed Mint for site stats, and I was intrigued by the “pepper” (kind of like a plugin for the stat tracking system) called “Bird Feeder“, which shows you some stats about your feeds.
The only downside to this was that all the info I could find after a quick web search suggested modifying (or “hacking”) your core WordPress files to add the necessary include statements for the feed tracker to work.
This was no good, so I set out to develop a quick plugin to accomplish this task. Here is the result.
Thanks / props to Chris for providing a sample of the hard-coded solution (editing the wp feed files) which I used in creating the plugin to accomplish the same thing.
One Trackback
[...] Plugins benutzt, so dass ich nicht in den Quellcodes rumhacken muss: WP-Mint für das Blog und Mint Bird Feeder - Wordpress Plugin für die Feeds (welch ein Name…). Ach ja: Traue keiner Statistik, die du nicht selber [...]
12 Comments
it seems that you require mint and wp to be in the same databases… any chance of getting mod that doesnt require this?
No, my mint db is not in the same database as WordPress. Same instance of MySQL, but separate databases.
argh… sorry about having this discussion in multiple locations…
I will keep my replies limited to the one topic in the mint forums…
thanks…
Steve
Cool, I will follow up at this post on the Mint forums.
Thanks for trying it out; I hope we can get it working.
JB, send me an email at ron /// cavemonkey50 // com. I have some changes/improvements you may want. It will be better than me releasing my own plugin, causing confusion for most people.
Sounds good.
When I enable your plugin(.8) using Wp 2.0.8, it truncates my feed. I’m not running any other plugins that effect my feed. As soon as I disable your plugin, feeds display again.
Hmm. I haven’t tested it yet on anything other than WP 2.1.
I’ll see if I can do that, and let you know.
Thanks for the wordpress plugin for birdfeeder. I spent 2 hours following the birdfeeder install instructions only to realize they break the feeds without moving the code around. Then I found your plugin, aaah…sweet.
2 questions
1. How does this plugin work? Er, I have it activated, but when I view the RSS feed php pages in wordpress they show no signs of modification. Does your plugin modify them on-the-fly as wordpress serves the pages? if so, is there an easy way to view the modified output so I can see exactly what the plugin is doing?
2. I’m getting an outrageous number of Subscribers showing up in the Feeds tab of Mint. The way I have things set up is that most subscribers are pulling my feedburner feed (http://feeds.feedburner.com/NVABlog) and I have that pointing to my RSS2 feed source in wordpress (http://www.newmanva.com/blog/?feed=rss2). Since installing the plugin this morning Mint is showing over 500 scribs but I only have 40 feedburner subscribers. I suppose I could be getting tons of direct hits to the feed, but I doubt it. Any suggestions?
Hi there,
Was just wondering, does the plugin alter the output of get_permalink() ? I have a plugin which adds extra features to my RSS feeds (e.g. “Add to del.icio.us links) and whenever it calls get_permalink it now returns:
http://www.guyrintoul.com/feeder/?FeederAction=clicked&feed=FEED-TYPE&seed=PATH-TO-POST%2F&seed_title=TITLE-OF-POST
whereas before it would just have returned the PATH-TO-POST part. Is there a way around this so that I can retrieve just the PATH-TO-POST?
Thanks,
Guy
I was getting an error: Call to a member function on a non-object[...] at line 41.
For whatever reason, fp_mint_bird_feeder_tracking() was not being called, so the feeder was not being include()ed and there was no $Mint object to work with.
I fixed my issue by adding the following to fp_mint_bird_feeder_seed_title() just below the global declaration:
if (!defined(’BIRDFEED’)) {
fp_mint_bird_feeder_tracking($wp);
}
I accidentally submitted the last comment prematurely. I also wanted to say thanks for the plugin. Nice work.