Entries for month: July 2007

CSS Remix Hacked

No Comments »

CSS Remix Hacked, originally uploaded by BigAlUK.

It seems CSS remix (a showcase of nice CSS design) has been hacked. Not good.

Mario and Luigi

No Comments »

Mario and Luigi, originally uploaded by BigAlUK.

No more, "no more posts" :)

ColdFusion No Comments »

Just stumbled upon Dan Vega's article in the fullasagoog feed about how to remove the "lastXdays" check on entries from BlogCFC.

Been meaning to look into this for a while, and seeing Dan's article reminded me. Incredibly easy in the end, just changed one tiny variable... now I can go back to being lazy without having to worry about the dreaded "No more posts" message :)

Coldfusion xmlSearch() driving me mad

ColdFusion 3 Comments »

I've been playing with eBay's shopping API to develop a nice list of products I'm currently selling to slip into my newly designed blog (coming soon).

Anyway, ebay passes back a nice little XML doc as usual which I could parse and dump and see it in all it's glory, but any type of xmlSearch() (apart from a wildcard *) returned an empty array. This has driven me mental for the last couple of hours. I had a very similiar piece of code which I did with flickr's API a while ago and it matched identically. I searched around a bit and I was finding was that the xml nodes are case sensitive, I knew that, and tried it. Nothing. Then finally, to help lower my blood pressure, I found a TechNote on Adobe's site.

It seems defined namespaces (which eBay's xml has, but flickr's didn't) require a different approach. Because the dump wasn't showing any prefixes (as none were defined) I couldn't see the problem. But the technote explains you need to add the namespace as if it were empty, so the xPath would be //:nodeName (returns all nodes with nodeName). Spot the little colon. That's it, fixed.

I'm not sure if this is a well known thing, but I know it wasted a couple of hours of my life.

Eep! No Posts.

General No Comments »

Been so long since i posted I've got none on the homepage. Bit poor really. Must get round to designing this site and writing up a tutorial or two for playing with Photoshop CS3.

Powered by Mango Blog. Design and Icons by N.Design Studio
RSS Feeds