Copy link to clipboard
Copied
Copy link to clipboard
Copied
Copy link to clipboard
Copied
Copy link to clipboard
Copied
Copy link to clipboard
Copied
Copy link to clipboard
Copied
Copy link to clipboard
Copied
Can I import data from some plugin, with this website, Foreign Exchange and keep it refereshing ? or when user try to input data it automatically pick from above website?
Copy link to clipboard
Copied
Yes. I didn't look at the website but don't really have to. If your website has an API, you can create CF code to act as an API client to fetch the data. If your website doesn't have an API, you should change that, but in the meantime CF can be used to crawl HTTP/HTTPS content and parse data from it. That process, "screen scraping", is more fragile and harder to maintain.
To retrieve data on a scheduled basis, use the CF scheduler in the CF admin, the CFSCHEDULE tag, or your local OS scheduler to regularly run your CF code. To retrieve it using event handling, use JavaScript to capture the event and call your CF code in the background and fetch the value, then put the value in your user's page.
Dave Watts, Eidolon LLC
Find more inspiration, events, and resources on the new Adobe Community
Explore Now