Well, yes this is ok, BUT...there is a big legal notice in the html when
you do it..as below:-

  <WARNING>
    <!--
    // *** LEGAL WARNING! ***
    //
    // IF YOU ARE READING THIS, YOU MAY BE CONSIDERING EXTRACTING RATE
DATA FROM XE.COM.
    // THIS IS A VIOLATION OF THE LEGAL TERMS OF USE. DATA EXCTRACTION
IS NOT PERMITTED.
    // REDISTRIBUTION OF THIS DATA IS PROHIBTED, AND ALL USE OF IT IS
STRICTLY GOVERNED
    // BY THE LEGAL TERMS OF USE AGREEMENT LOCATED AT:
    //   http://www.xe.com/legal/
    // IF YOU NEED CURRENCY DATA FOR COMMERCIAL PURPOSES, WE CAN PROVIDE
IT.
    // FOR MORE INFORMATION, PLEASE SEE: http://www.xe.com/dfs/
    //
    // WE CAN AND DO PURSUE LEGAL ACTION AGAINST VIOLATORS OF THE TERMS
OF USE AGREEMENT.
    //
    // -->
  </WARNING>

I might give this a miss I think :-D

Jeremy

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED]
Sent: Thursday, 23 December 2004 18:53
To: NZ Borland Developers Group - Offtopic List
Subject: RE: [DUG-Offtopic] currency onverters


Jeremy,
  Try this recipe if it suits your purpose:
"call http://www.xe.com/ucc/convert.cgi with a METHOD=POST with the
following variables set: Amount, From, To".

NB: If you used WorldPay, your app can fetch a basket of up-to-date
currency rates from them at will, e.g. daily.




From:                   "Jeremy Coulter" <[EMAIL PROTECTED]>
To:                     "'NZ Borland Developers Group - Offtopic List'"
<[email protected]>
Subject:                RE: [DUG-Offtopic] currency onverters
Date sent:              Wed, 22 Dec 2004 23:56:13 +1300
Send reply to:          NZ Borland Developers Group - Offtopic List
<[email protected]>
        <offtopic.ns3.123.co.nz>
        <mailto:[EMAIL PROTECTED]>
        <mailto:[EMAIL PROTECTED]>

> Actually, I found a very cunning way to do this.
> I found a site where you can download an XML file of the NZ$'s rate. 
> Unfortunitly, it goes back to 1994 or something (881KB) , but when its

> downloaded, I let the parsing happend so I end up with just the 
> values, and I know how many values there are, so I jump to the end 
> one, and thats the latest value, then I just do the maths from there. 
> I am just using the "MSXML2.DOMDocument" object in an ASP page which 
> is where I want to use it, and it seems to work just fine !
>
> BUT, this is prob. not ideal, so if anyone know of any site as per my 
> original question, I would still like to hear.
>
> Thanks, Jeremy
>
> -----Original Message-----
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of Jeremy Coulter
> Sent: Wednesday, 22 December 2004 22:29
> To: [email protected]
> Subject: [DUG-Offtopic] currency onverters
>
>
> Hi All.
> I am interested to know if anyone has seen a currency converter that 
> you can pass a value to and the currency to convert to and from, that 
> returns the converted amount? What I am looking at is (sorry this is 
> via a web page), passing the info required, then having that come back

> converted so I can put it into a variable that then populated some 
> data into another webpage.
>
> the idea is, person comes to the website, then they select the item to

> purchase, then the page passes the value to a converter script 
> somewhere, which returns the value, this value is passed to another 
> page, and then used on that page.
>
> the idea is, show NZ $$ prices, but have it converted to US$ so that I

> dont have to wathc the news at night and then alter the prices on the 
> webpage :-)
>
> Jeremy
>
>


cheers,
peter

===========================================
Peter Hyde, Development Director, SPIS Ltd, Christchurch, New Zealand
* TCompress/TCompLHA component sets for Delphi/Kylix/C++
* TurboNote+: http://TurboNote.com  -- top-rated onscreen sticky notes
Find all the above and MORE at http://spis.co.nz


_______________________________________________
Offtopic mailing list
[email protected] http://ns3.123.co.nz/mailman/listinfo/offtopic



_______________________________________________
Offtopic mailing list
[email protected]
http://ns3.123.co.nz/mailman/listinfo/offtopic

Reply via email to