Results 1 to 9 of 9

Thread: Pos Malaysia Shipping Quotes

  1. #1
    Join Date
    Mar 2008
    Location
    pd
    Posts
    497
    Rep Power
    149

    Pos Malaysia Shipping Quotes

    I maintain a few osCommerce modules for Malaysian shipping quotes. They work, but they're a nasty kludge (they load a full webpage from pos.com.my and then use pattern matching to extract the price). I've tried over and over again to find someone from Pos (I met their regional management once!) to talk to so I can set up a web API for them. Rather than me continuing to write crap software to extract data from fat webpages, I could write some decent software (for Pos) that would enable local e-businesses to much more reliably and efficiently build shipping quotes into their applications.

    So I started writing one anyway at spider.my - I still have a couple more demo apps I want to build on top of it, but I wondered if any local e-commerce programmers are even interested in AJAX (or full XML rating table downloads) from Pos? Spider.my is served from the USA, so latency is high, but let me know what you think of AJAX Pos Laju shipping cost updater:

    My Spider - Pos Malaysia shipping rates 2

    XML format for a single (weight to destination) shipping quote:

    http://spider.my/pos-malaysia-shippi...5-to-China.xml

    And the full rating tables for all (I only have rating data for Pos Laju Document and Parcel currently) methods to Thailand:

    http://spider.my/pos-malaysia-rates-...o-Thailand.xml

    I'm hoping to have an EXPERIMENTAL embeddable widget available by the end of the week that should suit blogs / shops without automatic order completion. I might also provide an EXPERIMENTAL osCommerce module - but that won't be reliable unless I can get someone from Pos to let me set up a web API for them.

    I'd be grateful for any feedback!
    Sean

  2. #2
    Join Date
    Sep 2005
    Location
    Malaysia
    Posts
    61
    Rep Power
    171
    sean, very neat work, you should call up POS and charge them consulting fee for it.

  3. #3
    Join Date
    Mar 2008
    Location
    pd
    Posts
    497
    Rep Power
    149
    Thanks for the feedback.

    I need Pos to have an API to make my other work easier, so I want to give them all this stuff for free. I write some osCommerce modules which are quite tricky and very dull to maintain. They're also very slow to quote at the users' checkouts and will block the checkout if Pos' website goes down - very far from ideal! If Pos had an API, I could just write the modules once and then forget about them. It would be easy to write them so that the user could request updated rates from time to time, and the site would then use locally-cached rates to give near-instant quotes. Pos adopting the API would make Malaysian e-commerce much easier, which would make us all better off, right? More business for e-commerce sites means more people doing e-commerce, means government gets more tax ;-D Pos gets more business, developers get more business. I might get more cups of teh tarik at the kopitiam! Everybody wins!

    Also - not sure if anybody is noticing what I've done: the API is served by Spinneret, my Java webserver which I'm intending to open-source (I've missed all my own deadlines on that one, keep making performance / API enhancements to it). If Pos take the API as-is, I get a 'badge of validation' that only sysadmins can see! Spinneret has been serving some sites of mine for a year now, and is about ready to offer to developers. It happily serves those API calls at several thousand requests per second, even on my old laptop that I do my development on.

    I'm quite happy to do 'consultancy' for Pos at no cost to them because there's still benefit to me.

    Malaysians can get slightly better performance / slightly more up-to-date content from a copy of spider.my hosted on my desk:

    My Spider - Home

    I'm hoping to have some eye-candy based on shipping quotes up later today. Unlikely, I know, but if everything works the way I think it will, it might be worth taking a look.

  4. #4
    Join Date
    Mar 2008
    Location
    pd
    Posts
    497
    Rep Power
    149
    R-R-R-AAAAMPAAAAAAGE Seanie is on a illing spree!

    With a decent API (and a superb SVG map I found at wikipedia) a 3rd party could offer real-time world maps of Pos' shipping charges:

    My Spider - Pos Malaysia World Map

  5. #5
    Join Date
    Mar 2008
    Location
    pd
    Posts
    497
    Rep Power
    149
    The old Pos Malaysia shipping modules are officially dead - Pos have changed their website in a way that breaks the modules, so any local shops who use them now (since Friday?) have broken checkouts. I was hoping to release a new module that finally solves the Pos random modification problem in a couple of weeks, but I've got it working (Pos International Air/Surface Parcel, Pos Laju Domestic Parcel/Document) on one osCommerce shop tonight - install it and let me know what you think. I should have a Zen Cart module and some other shipping methods available in the next week or so.

    osCommerce shipping module for spider.my (Pos Malaysia rates) pre-release

  6. #6
    Join Date
    Jan 2011
    Location
    Selangor
    Posts
    21
    Rep Power
    0
    Hey your link got problem. check it out. i wanna try this

  7. #7
    Join Date
    Mar 2008
    Location
    pd
    Posts
    497
    Rep Power
    149
    What link got problem? Works for me!

  8. #8
    Join Date
    Jan 2011
    Location
    Selangor
    Posts
    21
    Rep Power
    0

  9. #9
    Join Date
    Mar 2008
    Location
    pd
    Posts
    497
    Rep Power
    149
    D'oh! Sorry about that. All those old links are dead - I'll get round to redirecting them somewhere sensible one day. The API is a bit messed up at the moment because Pos changed its website while I was in the middle of a major overhaul of spider.my, so I've spent the last couple of days rushing out shipping modules to replace the old ones that depended on Pos not making random changes to their website. The API is here (currencies are currently offline): API - the widget is here: Shipping widget - the osCommerce module I released last night had a fatal bug in it that stopped it working on sites without a modified zones table, the version that's currently at spider.my (v0.1) has a fix for that.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. osCommerce Malaysia Shipping Modules updated
    By Seanie in forum E-Commerce
    Replies: 0
    Last Post: 04-11-2009, 01:41 AM
  2. Birthday Quotes
    By Sanak in forum Member Introductions
    Replies: 3
    Last Post: 21-07-2009, 01:47 PM
  3. Looking for Web Design & Dev. quotes
    By mrbadak in forum Looking To Hire
    Replies: 7
    Last Post: 04-08-2008, 10:27 AM
  4. Favourite Quotes
    By vincevincevince in forum Mamak Stall
    Replies: 14
    Last Post: 01-02-2007, 05:19 PM
  5. auto escape double quotes in php. anyone?
    By DingDang in forum Website Programming
    Replies: 14
    Last Post: 30-11-2003, 09:21 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

Search Engine Optimization by vBSEO 3.5.0 RC1 PL1

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112