G'day,
Can anyone fill me in on what the keyword replacement %globals_asset_contents% does? Does it display the contents of a standard page?
I'd really like to have a trigger that uses the 'Execute Database Query' action to store some information about a page in a separate database when the page is updated. This would give me an archive of page contents.
The trigger works ok for keyword replacements such as %asset_name%, but %globals_asset_contents% is blank.
My other way of keeping page archives has been to use a 'Call REST Resource' action to trigger a script that gets the page and its associated images, using wget, to store on disk. However I would have liked to use the database option because it's easier to maintain.
Does anyone have any suggestions about the use of %globals_asset_contents%, or another way of getting the contents of a standard page, or of producing an archive of page contents?
Thanks,
Warwick