I've signed up with template monster's affiliate program. And instead of using all the scripts provided by them (where I just make requests from my site to their server, which is not easy for SEO and can create lag (they say this even themselves)) I am wanting to use their webAPI to create my own database from theirs.
The web API specification can be found here:
I've tried using the method from the link below:
Now I've created the database "tmtemplates" and I've imported the .sql file for the categories on my server. Where I am having trouble is on how to export the data from their server and import the data into my database. The steps from the method i'm following are below:
1) Import the static data (types, categories, etc.) using the file "ImportDirInfo.php" script. All data is included in the single XML file called.
2) Import the bigger XML file for all the other template data, use the script called "ImportXmlInfo.php" DON'T try to run this script via the browser
3) Transfer the screenshots from template monster to your server using the script "ImportScreenshots.php".
Use the script "TestMissingImages.php" once to check/copy missing screenshots.
4) Run the Template Update script "DailyTemplateUpdate.php" once to get the latest templates
Now template monster states: WebAPI scripts for getting information about templates should be invoked at least once per 24 hours. The best time to invoke them is about 8.00 AM EST. Currency rate script (currency.php) should be invoked once per hour.
How is the above done (running the DailyTemplateUpdate.php"? I would assume there is a way to have the server do this automatically. Would be a pain in the butt to have to do this everyday manually.
Any help would be appreciated.