Hi all,
I have a site based on Joomla CMS which is about Forex. I want to offer my visitors several analysis and services. One of these is to give them an alert when one or more currencies reach a certain price.
I use
ForexPros WebMaster tools to get the currency cross rates in realtime. For that they've made an iFrame and made it available
here.
I need the bid level only for four sets of currency cross rates, thus the iFrame should be as follows:
HTML Code:
<iframe frameborder="0" scrolling="no" height="102" width="151" allowtransparency="true" marginwidth="0" marginheight="0" src="http://fxrates.forexpros.com/index.php?pairs_ids=1;2;3;4;&header-text-color=%23FFFFFF&curr-name-color=%230059b0&inner-text-color=%23000000&green-text-color=%232A8215&green-background=%23B7F4C2&red-text-color=%23DC0001&red-background=%23FFE2E2&white-text-color=%230059B0&inner-border-color=%23CBCBCB&border-color=%23cbcbcb&bg1=%23F6F6F6&bg2=%23ffffff&bid=show&last=hide&open=hide&high=hide&low=hide&change=hide&change_in_percents=hide"></iframe><br /><span style="font-size: 11px;color: #333333;text-decoration: none;">Cross Rates Powered by <a href="http://www.forexpros.com/" target="_blank" style="font-size: 11px;color: #06529D; font-weight: bold;" class="underline_link">Forex</a> Pros - The Forex Trading Portal.</span>
This was all about the my source for the cross rates. Now, I want to implement this into my site that I can compare the current bidding level against another value that I will set and update manually weekly. When the bidding level reaches the manual value at anytime, an alert of any kind to the user should be displayed.
That's the story, now my question:
- How can I extract the values from the iframe? noting that these values are dynamic ones
I can take care of converting the code into Joomla! module or component, so that should be no problem, for now at least. Also no need for me to keep their formatting, as when putting the code into Joomla modules and/or components, I have to make a template for it output (as joomla uses Model-View-Controller pattern)
Thank you in advance...