Category Archives: development

New plugin version not shown in wp dashboard

So, you’ve committed your plugin, tagged it, updated the readme.txt and you’re ready to update your installation. You’re reviewing Plugins from your dashboard, hitting F5 every second since, but the new version never shows up, even though you can see the new version in “Other Versions” using the WordPress™ Plugin Directory. Continue reading New plugin version not shown in wp dashboard

Automagically minimize javascript in Eclipse on Windows

The WordPress tool I’m developing uses jQuery scripting. I’ve seen people including a minimized version of the scripting and I think that’s a good approach. I’m using Eclipse on Windows on my development system and it happened more than once that I forgot to include the minimized version of the scripting. I found a solution in my search for a way to do this automatically. Continue reading Automagically minimize javascript in Eclipse on Windows

Using the wp settings API with a non-admin user

WordPress comes with the settings API, an API that simplifies development of configuration pages. It’s a complete API, with regard to function and security. This post will take a look at security, more specific, at access control. Continue reading Using the wp settings API with a non-admin user

Something to consider when developing a wp plugin

I’ve been busy developing a WordPress plugin lately and I experienced a best practice right away.

While developing the plugin will probably be the only one loaded. Once released into the wild, for instance by testing it on your live site, and being used in conjunction with pre installed plugins, you may run into PHP Fatal error: Cannot redeclare class ... in ... errors, even when you use import_once or require_once. Continue reading Something to consider when developing a wp plugin

The Red Hat Satellite XMLRPC Series: logging

The Satellite XMLRPC API is a complete API, allowing management of the most common objects within the Satellite. It allows CRUD operations on channels, configuration channels, kickstart profiles, kickstart snippets, configuration files, etc. It’s organized using namespaces. Every trained developer will find his (or her) way in a moment. Continue reading The Red Hat Satellite XMLRPC Series: logging

PHP, OAuth and the LinkedIn API with SSL on Windows 7

I have been developing a tool which integrates a LinkedIn profile into WordPress. That’s not complicated because LinkedIn has an API which enables access to a LinkedIn users’ data. This API has great documentation and examples, which invites you to give it a try. Continue reading PHP, OAuth and the LinkedIn API with SSL on Windows 7

Parsing json with HTML style comments using python

I recently needed to add version control information into a file which had data stored in json format. As it turns out, I’m not the only one who learned about the issues surrounding json and comments. I wanted an HTML style comment at the end of the file. The solution was real simple, when using pyparsing. Continue reading Parsing json with HTML style comments using python

Making python xmlrpclib.ServerProxy log method names and parameters revisited

In my previous post I described a procedure to log XMLRPC client calls. The procedure will do the job, but it does not suffice when you’re connecting to multiple XMLRPC servers from a single process and you want to log calls sent to one specific server. So, here’s an improvement. Continue reading Making python xmlrpclib.ServerProxy log method names and parameters revisited

Making python xmlrpclib client log method calls

I’ve updated the steps described in this post, please see the revisited post.

I’m developing python scripting which uses XMLRPC. Every now and then I find myself in a situation where I wish I could just get the calls written to my terminal, in the order I called them in, including parameters – especially when I need support. This is what I came up with in my quest to find a decent way to make the XMLRPC API write each call before it’s actually invoked Continue reading Making python xmlrpclib client log method calls