Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
TMDB Functions
#1
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
Reply
#2
Can/should I use this function?
Code:
I18nSpecialPagesBackend::save
Reply




Users browsing this thread: 1 Guest(s)