I have coded a PHP script that scrapes a openly available data table. The information changes every 5 min. My script whenever known as will scrape the information using htmlsimpledom and returns me the table in HTML table format. I would now like to include this result came back through the script right into a wordpress page, to ensure that each time I go to the Wordpress page, the script will get known as and that i begin to see the latest table.

How do you build a storage shed? Can One just produce a new Wordpress page and add my script between PHP tags within the page?


I'd say yes. The most well-liked way is always to write a plugin for this though after which make use of a custom template tag, rather than plastering the code in to the template itself. By doing this it might be multiple-use on multiple pages.