I can use this for Euros, and I could quite easily do 2 conversions to get the USD prices into GBP, but does anyone know of a service that provides this in relation to GBP to start with?
I've seen some osCommerce scripts that reference Oanda.com but that looks like it costs about $1,000 per month?
__________________
Stephen Pratley Shine Marketing Affiliate Programme Management
on a couple of sites. It's free and it works well (updated every 20 mins) - the only thing is you have to do a little preg_match to get the rate from the xml item title as it's not in the most friendly format.
PHP Code:
if(!$xml = simplexml_load_file('http://currencysource.ez-cdn.com/GBP.xml')){
trigger_error('Error reading XML file',E_USER_ERROR);
}
if ($matches[1] != "") {
//Do whatever you want with the code here (insert rates into database etc)
// $matches[1] is the currency code (EUR, USD) etc
// $matches[2] is the rate in comparison to UK £
}