Now Works with WordPress 2.3!
I use Yahoo! Widget in my XP machine. One day, I tried to find this Yahoo! Widget that shows my blog’s general statistics(especially SPAM related) with maybe few extra admin functionalities.
When I checked the widget.yahoo.com, there was only a single result,a widget showing only UNIQUE HITS. But that’s not good enough for me. When I searched the google.com, I was overwhelmed by the confusing results that were all about WordPress sidebar Widgets.
So I decided to create a Yahoo! Widget & WordPress plugin. This plugin provides a XML feed access point and function that can be used in the template to show statistics summery.
You can create a PHP script or a Yahoo! or even a Vista Widget to monitor your blogs through HANA-XML-STAT plugin. In fact, if you have multiple blogs to monitor, you can monitor several WordPress website from a single PHP script or Widget. Maybe, I will try to create one later on.
Basically , this HANA-XML-STAT plugin shows six blog statistics.
- Total number of Spam caught by Akismet
- Number of spams in Moderation (Akismet)
- Number of comments in Moderation
- Total number of posts
- Total number of comments
- Total number of categories
- Today and Yesterday’s total hit counter
- Today and Yesterday’s unique hit counter
You will be able to control the visibility of the first three items in the Admin Options Page. Also, you can allow only login user to view the status.
v0.4 – 10/23/2007
- Fixed bugs occurred with wp-slimstat
v0.3 – 10/22/2007
- Just some updates for WP 2.3. No new functions
- Hit counters are added to show if wp-shotstat or wp-slimstat is installed.
- Initial creation. Six basic stats are shown in XML format.
- Upload `hana-xml-stat` folder with all of its contents to the `/wp-content/plugins/` directory
- Activate the plugin through the ‘Plugins’ menu in WordPress Admin Interface.
- Place `<?php hana_xml_stat_side(“<li>”); ?>` in your templates. It takes two arguments. They are not mandatory, but the first argument is the prefix and the second argument is the postfix.
- Adjust settings in the ‘Options’ menu in the Admin Interface if you want to.
The full URL is shown at the bottom of the Admin Optins Page. For example, if you WordPress URL is “www.yourblog.com/wordpress”, below would be your XML feed URL.
This is the example output of the hana_xml_stat_side() function used in the sidebar.php of my current template.
Here is a screen capture of the Yahoo Widget that I am currently working on. There are few admin functions that can work directly with WordPress without visiting the website. I will post this in this blog within few days.
Sorry, I threw away this one.