WordPress copy of outline
Created by: jtittsler
It might be convenient for the WordPress side to have a copy of the course outline (in JSON or some easy-to-parse format). This could facilitate link mapping within a single page update pulled from WikiEducator. It may be useful to store all of the parameters that were used to generate the snapshot, so keeping arguments to the snapshot script in addition to the outline.
It is possible that you could recreate the outline from the page hierarchy, but now that the page titles are based on the outline text rather than the wiki page link, the usefulness of this is limited.
Storing a copy of the outline requires:
- update the "theme" to add an appropriate XMLRPC (or JSON API) call to store a copy of the outline
- update the snapshot script to save a copy of the outline