Monthly Archives: June 2010

I’m in your wordpress

If you let me, that is..

I recently noted that the feed crawler for google reader leaves a note about the number of subscribers to your feed with its requests.
Prior to that I was thinking about trying my way with writing a WordPress plugin, so bingo!

This is basically a pretty lame rewrite of the hello dolly plugin. But somebody else might learn something from my mistakes while I toy around a bit with this..

For now you can download it here. I might put it up on the WordPress plugin site later.
That is if I get around to write an admin page where you can specify wich log file to read and so on..
Right now all it does is display the subscriber count in the admin header from the default apache log.

Go ahead, give it a spin!

Share

addendum to jails vs time and date

Last month I wrote a little note about getting time and date correct in jails.

What I failed to mention is that I started getting constant mails like the following from my jails

adjkerntz[53498]: sysctl(set: “machdep.wall_cmos_clock”): Operation not permitted

The reason is that the jail tries to update the cmos clock, which of course it can not.

That is a simple fix in the system crontab within the jails.
Simply comment the out the following:

# Adjust the time zone if the CMOS clock keeps local time, as opposed to
# UTC time. See adjkerntz(8) for details.
1,31 0-5 * * * root adjkerntz -a

After some quick googling on this I found the following mailing list archive thread, but I feel it was worh reiterating it once more here.

Share

Quick feed subscriber count

Fun fact of the day, Google is kind enough to include the number of subscribed readers each time their feed fetcher polls your feeds.

72.14.199.198 - - [10/Jun/2010:22:37:47 +0200] "GET /feed/ HTTP/1.1" 304 - "-" "Feedfetcher-Google; (+http://www.google.com/feedfetcher.html; 5 subscribers; feed-id=3719683273676272306)"

That makes it easy to check how many subscribers you have to a certain feed.

The feed-id is a 64 bit identifier for the URL of the feed, so if your feed can be accessed via multiple URLs you might see multiple values in you logs. Go sum them up!

Share