This tutorial will help build a simple hosted Node.js server using scaleway in just a few minutes. We are going to use a pre-built server image from scaleway and a Node project from a Github repo. I have written this post to remind myself, but hopefully it will be useful…
I was working on a library where I needed to resolve a relative URL using a base URL with JavaScript in the browser. After googling I found the relatively new window.URL API documented on MDN. It allows you to create a URL object that returns a resolved URL, which was…
Over the last couple of years I have been thinking about how we view each other through the web, the content we post and the interactions we have. Like many people, I am not happy with the path Facebook and Twitter are taking us on. Rather than just get upset…
I am just about to rebuild my blog to try and reclaim a bit of my digital life, before doing that I have switch on Matthias Pfefferle WordPress plug-in for WebMentions to see how it works.
UPDATED POST: Tues 12 Mar 2013 We have just hit a bit of an issue with AppCache whilst we were deploying a new version of a client site. It’s not really a bug, but more a lack of clarity in the current documentation and different implementations in the browsers. It…
I went to the Responsive Day Out event this Friday. Rather than write about each speaker I want to try and pull out the major themes of the day. Web and asset fonts There were a number of good practical take aways from Richard Rutter, Josh Emerson and Andy Hume…
I have just released a brand new microformats 2 parser for node.js. You maybe thinking microformats are so 2006, but this is new. Hear me out… Demo API /> http://microformat2-node.jit.su/ Try the API with: /> http://the-pastry-box-project.net/ /> http://microformats.org/ New life in the semantic web A lot has changed in the…
Last weekend I attended NodeCopter Brighton, a day of hacking AR-Drone’s and node.js. I wanted to control the drone by hand jestures using the Kinect’s motion detection abilities. Links to the high-res versions (.mov, .mp4 or .ogv) of the video Hackdays are funny, sometimes everything comes together, other times small…
I have just uploaded a new version of microformat-node. The parser now takes between 30-40 milliseconds to parse an average page, about 8 times the speed of the last version. Features of new version About 8x faster at parsing Will now load onto Windows based hosting solutions correctly Inbuilt cache…
I have built a node.js microformats parser, it is based on my previous javascript parsing code. It has been packaged up so you can easily be add to your projects using npm. Source code: https://github.com/glennjones/microformat-node /> Test server : http://microformat-node.jit.su Install npm install microformat-node or git clone http://github.com/glennjones/microformat-node.git cd microformat-node…