LINUX CATEGORIES:



NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>

7-DAY TOP DOWNLOAD

#
Program
BackTrack 3.0
2,344
Yahoo Messenger
1.0.4

1,867
Wine 1.1.4
1,668
VLC 0.9.0
1,594
KNOPPIX Live DVD
5.3.1

1,401
Mandriva Linux
2008.1 / 2009 RC1

1,382
Thunderbird PST
Import plugin 1.2

1,346
Beryl 0.2.1
1,218
MPlayer 1.0 RC2
1,151
Fedora 9 / 10 Alpha
1,081

WEEK'S BEST

  • Softpedia Linux RS...
  • Ubuntu 8.04.1
  • Pidgin 2.5.1
  • Adobe Flash Player...
  • The Gimp 2.4.7 / 2...
  • openSUSE Linux 11....
  • Linux Kernel 2.6.2...
  • Super Grub Disk 0....
  • Skype 2.0.068
  • OpenOffice.org 2.4...
  • Mozilla Firefox 3....
  • Transmission 1.33
  • DeVeDe 3.11b
  • Wine 1.1.4
  • wine-doors 0.1.2
  • Shoreline Firewall...
  • Linux Mint 5.0
  • Google Gadgets 0.1...
  • Fedora 9 / 10 Alpha
  • Opera 9.52
  • Home / Linux / Home Automation

    Tesco Barcode Search 1.00



    No screenshots available
    Downloads: 412  Add to download basket  Tell us about an update
    User Rating:
    Rated by:
    Good (3.1/5)
    19 user(s)
    Developer:

    License / Price:

    Last Updated:

    Category:
    Mark | More programs
    GPL / FREE
    September 8th, 2007, 23:05 GMT
    ROOT / Home Automation

     Read user reviews (0)  Add a review  Refer to a friend  Subscribe

     

    Tesco Barcode Search description

     

    Tesco Barcode Search is a small script which will search the tesco.com online grocery site for a given barcode and return the da

    Tesco Barcode Search is a small script which will search the tesco.com online grocery site for a given barcode and return the data to the console.

    As part of what appears to be an obsessive saga - the short but sweet Tesco script has now been modularized, which has also allowed (thanks entirely to the SOAP::Lite collection of modules) for the swift development of a SOAP WebService, which should mean that interfacing with this script is a whole lot easier for anyone using /other/ languages which in turn means - searching tesco.com for barcodes has just become accessible from pretty much any language that’ll happily communicate with the SOAP::Lite webservice handler.

    I’m making the module code available below.

    Should you want to deploy this as a web service for your own projects and run it within your own environment the next FOUR lines (how preciously succinct perl is) of perl will do the job:

    #!/usr/bin/perl
    use SOAP::Transport::HTML;
    use Tesco; # assuming the Tesco.pm file is in the same directory

    SOAP::Transport::HTTP::CGI->dispatch_to(’Tesco’)->handle;
    Save that out within your webroot, here’s some sample client code (again using perl):

    Here’s a sample client using SOAP::Lite
    #!/usr/bin/perl
    use Data::Dumper;
    use SOAP::Lite;
    my $tesco = SOAP::Lite
    -> uri(’Tesco’)
    -> proxy(’http://path/to/the/script/featured/above’);
    print Dumper $tesco->searchBarcode($TESCOUSER, $TESCOPASS, $BARCODE)->result;

    I’m quite keen to hear from anyone using other languages who’d like to test this (any C# developers want to try adding this as a Web Reference?), drop me a line if you’d like access to the web service I have running.

    For those who simply wish to use the module from within Perl, it’s as easy as:

    #!/usr/bin/perl -w
    use Tesco qw( searchBarcode );
    my ($productname, $shelf, $price, $barcode) =
    searchBarcode($TESCOUSER, $TESCOPASS, $BARCODE);

    As this is still a work in progress (read: I’ve just done the entertaining stuff so far), it’s somewhat lacking….

    For example - there is no error checking, need I go on?
    Feature wise, this is pretty much it, so I’ll get it fixed up with some of that precious error checking and call it a day with this project.

    What's New in This Release:

    · The Perl code is now modularized, allowing for the integration of barcode searches from within your own Perl scripts.
    · The Web site also includes information about the creation of a SOAP Web service, allowing the use of this code from other languages.

      


    TAGS:

    tesco search | barcode search | search barcodes | tesco | bardcode | search

    Related downloads IT News Popular downloads New additions   Latest reviews  
    Tesco Barcode Search 1.00
    Tesco Barcode Search is a small script which will search the tesco.com online grocery site for a given barcode and return the da


    HTML code for linking to this page:


    Go to top



    SUBMIT PROGRAM   |   ADVERTISE   |   GET HELP   |   SEND US FEEDBACK   |   RSS FEEDS   |   ENTER NEWS SITE   |   ENGLISH BOARD   |   ROMANIAN FORUM