Jump to content

Daily export of pages and their subpages in a JSON


lenoir
 Share

Recommended Posts

Hi,

I need to export a JSON once a day automatically. It should contain a whole set of pages and their direct subpages:

Agenda
-> Play 1 (text, images)
     -> Play 1 date 1 (diverse fields, datetime)
     -> Play 1 date 2
-> Play 2
     -> Play 2 date 1

I'm not sure where to do this and where to save the JSON file. I'm thinking of a hook in ready.php but I haven't done this before, so I'm a bit cautious.

Thank you for your help!

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...