zeroclickinfo-goodies/share/goodie/currency_in
Matt Miller da70710f7d EOL: remove trailing whitespace. 2014-10-28 20:36:15 +02:00
..
README.txt EOL: remove trailing whitespace. 2014-10-28 20:36:15 +02:00
currency.txt Major change - hash table loaded from currency.txt (parser included) 2012-04-17 22:28:55 +02:00
fetch.sh Major change - hash table loaded from currency.txt (parser included) 2012-04-17 22:28:55 +02:00
parse.py EOL: remove trailing whitespace. 2014-10-28 20:36:15 +02:00
parse.sh Major change - hash table loaded from currency.txt (parser included) 2012-04-17 22:28:55 +02:00

README.txt

parser.py generates currencies.txt for 'CurrencyIn.pm' module.

Currencies for each country are from:
http://en.wikipedia.org/wiki/List_of_circulating_currencies

First run: 'fetch.sh' to fetch wikipedia page used by parser,
then run: 'parse.sh' or just 'python parse.py'


DETAILS:
Output is the file (currencies.txt) with list of countries and currencies with iso code in ()
For example:
slovakia
Euro (EUR)

If there is more than one currency used by each country then each currency is separated by comma
For example:
zimbabwe
Botswana pula (BWP),British pound (GBP)

Country name is lowercased for better comparison with user input. But it gets capitalized in search results.