TMDB Functions - Printable Version +- GetSimple Support Forum (http://get-simple.info/forums) +-- Forum: GetSimple (http://get-simple.info/forums/forumdisplay.php?fid=3) +--- Forum: Developer Discussions (http://get-simple.info/forums/forumdisplay.php?fid=8) +--- Thread: TMDB Functions (/showthread.php?tid=3518) |
TMDB Functions - jay_m - 2012-09-06 I have put together a series of functions that will pull data from themoviedb.org. Now I want to take this information and save it into a page xml. Given an array of data, how can I save it to a GS xml page file. I will base the xml on a special page type. A quick overview I have a special page setup with fields that match each of the fields I want to save. If the field begins with a specific character it triggers the functions to access that fields information from tmdb. I have this working so far, now I would like to be able to save that information back into the special page so I don't have to pull it for every page veiw (tmdb TOS allows caching of data for a "reasonable amount of time"). functions.php movei-page-xxx.xml TMDB Functions - jay_m - 2012-09-07 Can/should I use this function? Code: I18nSpecialPagesBackend::save |