Using Drupal Migrate to import from a XML feed and save to local files (file field)

Migrating data to Drupal doesn't have to be such a pain thanks to the Migrate module which gives you nice high-water mark, 'update' tagging and batched import, however this one problem, I spent a lot of time trying to figure this out, as the examples in the Drupal migrate module don't quite match what i'm doing here.

Jenkins continuous integration server on debian ubuntu hardy

Recently had to work with a 8.04 debian hardy machine and install Jenkins An extendable open source continuous integration server however it depends on some libs not quite available in JRE6, so Jenkins wont start correctly and you get sun.security.util.DerValue not found ..

Drupal Ubercart Bitcoin Gateway

I put my hand up to maintain the Drupal ubercart bitcoin payment gateway, really excited to breath some life into this new payment tech.

I've got an initial port of the github code for drupal 6 and drupal 7 running, so let's see where this ends up!

If you like, send me some bitcoinage here 1Cu91rx1tXyihWQVqvUiNsDd535yAcMqzS

From wikipedia..

Bitcoin is a decentralized electronic cash system

Ubuntu 11.10 sucks

I recently tried to upgrade to Ubuntu 11.10, but had some amazingly crap experiences, unfortunately it feels like Ubuntu is now going to way of Gnome and KDE, leaving us Linux desktop users with no real options for a supported desktop, this is indeed a sad time!

Protesting doesnt hurt..

Nice to see that blacking out your site in protest to some draconian SOPA/PIPA laws doesnt seem to hurt your traffic, which is definitely a consideration for any website owner who's site is very popular.

check out the traffic stats here, the PIPA/SOPA 'black out' is the obvious dip in the center, but you can see traffic returns to normal almost instantly.

First android app released

Well I finally stepped through all the tricks and got my first Android application released on the google android market

The idea is simple, it just looks at what music you have on your device, and tries to find the best price for downloading the whole album, as often you have just a couple of songs but not a whole album, AND some of us have low quality MP3's of an album and want to buy a high quality version of it, which is one good thing about online music sales.

So, enter,

Drupal 7 and XMLRPC example

The skinny.. Drupal 7's service call for XMLRPC is now a little different, the only way i got it to work was to use Cookie/SESSID in the headers and not send the session id as an argument (as you did in the past)

So check out my fork here https://github.com/dgtlmoon/python_drupal_services of the drupal 7 python xmlrpc client example

I guess if you want to improve the cookie handling for the sessions you could take some inspiration from http://code.activestate.com/recipes/501148-xmlrpc-serverclient-which-doe...

The fat...

Easy win for lowering PHP memory usage (drupal)

I've been surfing the limits of my colo machine, trying to figure out how to lower the memory usage so I can move the server into the next lowest hosting bracket.

 5533 www-data  20   0 69124  36m 5108 S   17  4.8   7:24.76 php5-cgi
 5970 www-data  20   0 68940  35m 4968 S   17  4.8   6:49.83 php5-cgi
 9984 www-data  20   0 67432  34m 5164 R   12  4.6   3:09.83 php5-cgi
 6876 www-data  20   0 66352  33m 5096 S   18  4.5   5:52.78 php5-cgi

Theres a handful of things I don't use (yet)


# apt-get remove php5-dev php5-curl php5-eaccelerator php5-memcache
Syndicate content