I have a custom tpl.php for my custom content type. As part of its content it also needs to show a (dynamic) value. The dynamic content is actually scraped from another website of ours.
My concern is, whether to have scraper logic inside
tpl.php. My understanding is that the intention of
tpl.php is to handle the view part.
What are the disadvantages of having my
tpl.php to contain the logic of scraping(not just scraping. Basically anything apart from rendering)?