Archive

Posts Tagged ‘wordpress’

Log in to comment

August 2, 2013 Leave a comment

Dear Readers,

The spam filter on wordpress.com has not been very efficient recently. Too many spam messages get the “pending” status that I need to review manually. I can’t imagine why they aren’t flagged automatically as spam…

I got tired of these spam messages, thus from now on you must be logged in if you want to leave a comment. Thank you for your understanding. I hope you will still leave comments, I love receiving feedbacks.

Best wishes,

Jabba Laci

Categories: python Tags: , ,

WordPress Visit Counter

February 24, 2012 Leave a comment

Problem
You have a wordpress blog (or several) and you want to know the (total) number of visitors. How to nail it?

Solution
Here is a simple script that scrapes the essential parts from a webpage.

Sample output:

https://pythonadventures.wordpress.com       29,822
http://ubuntuincident.wordpress.com        100,639
--------------------------------------------------
Total number of visits: 130,461!

This idea was inspired by vanity.

Categories: python Tags: , ,