POE Edit counter
29 Jan 2008I threw together a quick edit counter for Wikibooks and Wikiversity today, using Perl/POE/Tk. It was actually surprisingly easy, once I figured out what I needed to do. Of some note is the fact that much of the documentation on poe.perl.org is terribly inaccurate, and it took me some time to find a working example for me to emulate. Of course, I shouldn't complain since i'm not going to offer to update it myself.
I primarily wanted to count the relative edit frequency of Wikibooks and wikiversity. I had a suspicion, based only on a visual inspection of the RC feeds, that Wikibooks was attracting approximately three times as many edits as Wikiversity. I ran the feed for a few minutes, and sure enough, my prediction seemed to be about true:
- WB: 16 edits
- WV: 5 edits
My curiosity quickly got the better of me, and I extended the code to count Wikipedia edits as well. After a few minutes of writing (just enough really to type this blog post), here are the counts:
- WB: 19
- WV: 5
- WP: 4056
I like this combination of Perl/POE/Tk, and I can already think of a few things I would like to do with it (assuming I can find accurate documentation I need to make it happen).
This entry was originally posted on Blogger and was automatically converted. There may be some broken links and other errors due to the conversion. Please let me know about any serious problems.