Exchange Rate Filters

Create Exchange Rate Filters by your own

If a webpage provides exchange rates, you can import these values into the NumericalChameleon. The website has to provide exchange rates and their corresponding ISO-4217-codes (e. g. USD, EUR, etc.). It doesn' matter whether the ISO codes are visible in the HTML page, they only have to appear in the source code of the HTML page, even the presence of a link is sufficient.

The ISO-codes are stored in "<installationdirectory>/data/lists/iso4217.list". You can delete lines in this file to specify only the exchange rates you want.

Exchange Rates Filters are being stored in the folder called "<installationdirectory>/data/rates/" and the name of a filter file has to end with the suffix ".filter". Exchange rates filters have been stored in ISO 8859-1 before NumericalChameleon 2.0.0. Starting with NumericalChameleon 2.2.0, exchange rates filters have to be stored in UTF-8.

Example

Example of the filter file for the webseite "The University of British Columbia"
(<installationdirectory>/data/rates/fx.sauder.ubc.ca.filter)

name=PACIFIC Exchange Rate Service
provider=The University of British Columbia: Sauder School of Business

visit=http://fx.sauder.ubc.ca/supplement.html
version=20180714
country=ca
continent=na

instruction=\
Visit the website above. Respect the "Terms of Use"\n\
at the webpage. Save the webpage to a file and\n\
go to step 3.\n\
\n\
IMPORTANT: If you use the Internet Explorer (IE), select\n\
the option "Save as type: Web Page, HTML only" at the\n
dialog called "Save Web Page", otherwise the IE rewrites\n\
(destroys) the original HTML of the exchange rate provider\n\
and this filter doesn't work anymore!

instruction_de=\
Besuchen Sie obige Webseite. Respektieren Sie die\n\
Nutzungsbedingungen auf der Webseite. Speichern Sie die\n\
Webseite als Datei ab und gehen Sie zu Schritt 3.\n\
\n\
WICHTIG: Wenn Sie den Internet Explorer (IE) verwenden,\n\
wählen Sie beim Dialog "Webseite speichern" den Dateityp\n\
"Webseite, nur HTML". Wenn Sie "Webseite, komplett" wählen,\n\
zerstört der IE das HTML-Originalformat des Wechselkurs-\n\
anbieters und dieser Filter funktioniert dann nicht mehr.

date=<title>Today's FX Rates Supplement for ([^<]+)</title>
before_iso=<tt>
after_iso=</tt></td>\
\\s*<td[^>]+>[^<]+</td>\
\\s*<td[^>]+>([\\d\\.]+)[^<]*</td>
valuepos=1
decimalSeparator=,
decimalPoint=.
filechooser=htm,html
base=CAD
directDownload=true
user-agent=random


Description of all keywords: