Posted by
vicott in
Announcements on Saturday, 14 October 2006 7:37:00 PM
If you are using
CurrencyConv, I encourage you to update to version 0.7 if you haven't done so. I also have to bring your attention to how the currency update works.
In the program, the update button downloads the currency data file (
XML file) from this site. However, this file isn't exactly generated dynamically. Instead, it is another script which actually does the real job of obtaining the currency rate updates. If you wish to check the real date which the rates are obtained on, you can go to the installation folder for CurrencyConv and look for "currency.xml". Simply open the file using any text viewer (e.g. Word Mobile). The date of update obtained for the file is actually defined in the document under the <date> tag in mm/dd/yyyy format.
Sometimes, you may notice that the XML file downloaded doesn't have the current date. This is because of the way the file is updated. Now, let me explain how this file is downloaded. Firstly, there is a
dynamic script which is responsible for obtaining the currency rate updates and writing it into the XML file. The script actually connects to a web service and stores the rates for the 100+ currencies. However, the time taken for this download process can take around 30 to 60 seconds. It would be a bad idea if the software connects to this dynamic script to download the updates instead of the "static" XML file. That's why I designed CurrencyConv to download the "static" XML file instead.
But it also doesn't make sense for the dynamic script to connect to the web service for update everytime the script is loaded. So, it is actually designed to get the updates only at most once per day. One loop-hole of this whole updating process is that somebody needs to "trigger" the script to update the currency rates everyday. So, there may be days when I forget to run the script or if I am too busy to do so.
Well, the main idea I am trying to bring across is that if you realise that the XML file downloaded using CurrencyConv on your Pocket PC isn't "fresh", you can use click on this link to "trigger" the update. The link will forward you to the XML file once the update is complete. Next, you can either save this XML file and transfer over to the device, or run the update in CurrencyConv once again.