A very basic Geeklet to display the current exchange rate as displayed in the Bloomberg web site. Useful in these uncertain times...
Just insert code below in the Command box, set the refresh to 300, resize the window and let it go.
On the same basis, one can create a similar command to extract a specific NAV on a given fund registered with Bloomberg.
Code is as follows:
curl -s http://www.bloomberg.com/quote/EURUSD:CUR/ | sed -n "/<h3 class=\"\">EUR-USD<\/h3>/,/<span class=\"currency_factor_description\">/p" | sed -e "s/<[^>]*>//g; s/ *//g; /^*$/d" | strings