Author Archive

Pos Malaysia Shipping Price World Map

Wednesday, March 3rd, 2010

[caption id="attachment_863" align="alignright" width="200" caption="Pos Malaysia world shipping charges."][/caption] The Pos Malaysia World Shipping Map is an example of what you can do with an API. Given a weight and a shipping method, you can draw a global map of relative shipping costs. Now that the Pos Malaysia data has been ...

Pos Malaysia widget in Malay and Chinese (browser language detection)

Tuesday, March 2nd, 2010

[caption id="attachment_855" align="alignright" width="205" caption="Browser language 'en'. Netherlands quote requests 1-to-NL.js"][/caption] Adding the Pos Parcel rates (ripped yesterday) to the previously ripped Pos Laju rates made it glaringly obvious how difficult it is to write software for data that's in as bad a shape as is Pos Malaysia's. With the problems ...

NEW: Pos Malaysia Parcel rates

Monday, March 1st, 2010

[caption id="attachment_849" align="alignright" width="220" caption="0.5kg to France, 4 quotes: Pos Laju Document and Parcel, Pos Parcel Surface and Air"][/caption] This morning I modified the International Pos Laju rates ripping code to get a full set of Pos Malaysia's International Parcel rates. If you use the widget on my blog, you'll see ...

HTTP Header viewer updates: see redirects and test If-Modified-Since

Sunday, February 28th, 2010

Just a quicky to bring your attention to a couple of updates to my Server Headers viewer page at spider.my, making it a bit more useful. Now you can check server responses to If-Modified-Since, requests that are redirected, and the effect that persistent 'keep-alive' connections have. If-Modified-Since I've added an If-Modified-Since field ...

Cross-domain javascript widget, no JSON, no AJAX

Sunday, February 28th, 2010

I may be doing something terribly wrong. I hope the Internet will tell me. I wanted to make a widget so that I could showcase some AJAX-accessible shipping quotes I'd put on spider.my, but demonstrate accessibility from another site. I'd never written much javascript before this week, so I was ...