jdlrobson / someday

we will see the world
0 stars 0 forks source link

Add currency/exchange rate widget #8

Open jdlrobson opened 6 years ago

jdlrobson commented 6 years ago
<table class="pp_infobox" style="float:right; clear:right; margin-left: 1em; width:40%;" cellpadding="8" cellspacing="1">
<tbody><tr>
<td style="background-color:#effafa; font-size:90%; border:1px solid #ccc; padding-left: 1em; padding-right: 1em; text-align:left; width:100%;">
<p><b>Exchange rates for Trinidad and Tobago dollar</b>
</p><p>As of January 2018:
</p>
<ul><li>US$1 ≈ TT$6.8</li>
<li>€1 ≈ TT$8.2</li>
<li>UK£1 ≈ TT$9.2</li>
<li>Canadian $1 ≈ TT$5.4</li></ul>
<p><br>
Exchange rates fluctuate. Current rates for these and other currencies are available from <a rel="nofollow" class="external text" href="http://www.xe.com/currency/ttd-trinidadian-dollar">XE.com</a>
</p>
</td></tr></tbody></table>
jdlrobson commented 5 years ago

currency code could be pulled from the infobox screen shot 2018-11-17 at 1 03 53 pm

once pulled, 1000 calls a month - https://fixer.io/product