I want to create a module that gets data from a website in div id.
Example:
Website code:
<b class="b2 nieb" title="Kurs EUR na żywo" id="EURPLN">4.33320</b>
And i want display value of id="EURPLN"
I want to set the config which site is to collect data and from which the ID
example:
defaults: {
url: http://domain.com/
findID: "EURPLN"
}
how to do it?
Note from admin: Please use Markdown on code snippets!