[Yahoo Widget] HANA-WP-STAT

hana-wp-stat yahoo widget

Here is the Yahoo widget that I created . It’s my first Yahoo! Widget and it is for WordPress Blog Stats Monitoring.

Features
Basically it shows below six information of your WordPress blog.

  1. Total number of spams caught by Akismet
  2. Number of spams in moderation
  3. Number of comments in moderation
  4. Number of posts
  5. Number of comments
  6. Number of categories

Optionally number of unique hits for today and yesterday only if wp-shorstat or wp-slimstat plugin is installed.

The below image is the About menu of the Widget.

About Box

Requirements

  • You do have Yahoo! Widget installed , right?
  • You must have a WordPress Blog.
  • You need to install and enable HANA-XML-STAT plugin that I created
  • You need to enable Akismet Spam Blocker plugin. In fact, you don’t have to enable it , but then you won’t be able to see the related statistics.
  • Optionally, you might want to install wp-shortstat or wp-slimstat for hit counter.

History
10/22/2007 – v0.4
Some bugs with XMLDOM routines so errors occur when there is no child node exists (No values)
v0.3
DockIcon Function Added for Yahoo! Widget Version 4. Akismet, Comment in moderation, Hit counts are displayed.
v0.2
Initial Release.

Download HANA-WP-STAT Widget v0.4

Install & Setup

  1. Download and double click the ‘hana-wp-stat.widget’ to open the widget. You will see the popup window to set the wordpress URL in the preferences menu.
  2. Open preference menu and provide the URL of your wordpress. Please make sure that you need to set the correct wordpress URL. The prefix ‘http://’ is needed, too.
  3. WordPress Userid & Password are required only if (1) you want to use the ‘Recheck comments for SPAM’ menu or (2) if you set ‘hana-xml-stat’ wp plugin option for only signed in user to access the data.
  4. By using Update Interval Slider , you can set the time period that the widget will acesss the statistics data. The default is 1 min, and the maximum value is 60 mins which is an hour.

Preferences Menu

Some Notes

When there are some comments in moderation, you will be able to use ‘Recheck comments for Spam’ menu. ( Or little red ‘X’ icon ) What it really does is to check the comments with Akismet again.

It is found that there is a time that some spams fall into the comments moderation section when the Akismet plugin timeouts connecting to Akismet spam server. It usaully happens when the network is slow and busy.

So by just checking again, you can make sure that there is no spam lurking in your comments moderation box.

Menu

Read More

[WP Plugin] HANA-XML-STAT

hana-xml-stat-output.phpNow 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

Additional hit counters are shown if you have wp-shortstat, wp-slimstat, or any derived plugin installed.

  • 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.

Download HANA-XML-STAT v0.4

History
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

v0.2

  • Hit counters are added to show if wp-shotstat or wp-slimstat is installed.

v0.1

  • Initial creation. Six basic stats are shown in XML format.

Installation

  1. Upload `hana-xml-stat` folder with all of its contents to the `/wp-content/plugins/` directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress Admin Interface.
  3. 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.
  4. 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.
http://www.yourblog.com/wordpress/wp-content/plugins/hana-xml-stat/feed.php

This is the example output of the hana_xml_stat_side() function used in the sidebar.php of my current template.
sidebar example

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.

Preview of my yahoo widget Sorry, I threw away this one.

hana-wp-stat widget previewhttp://www.neox.net/w/2007/05/02/hana-wp-stat/

Read More