Demo page for parsing HTML data back to a json file after edits

I went with this.

Then all I need to do to get everything back is just dump all the files in an appropriately name .hyperesources folder along with the restore file.

Just tested this and worked a treat.

Glad you may look at that at some point..

I am in the middle of building a simple Page where a user/client could load a json file into an editable form type page. Make changes /add/delete and then save the new json back down to local disk where they can put it up to their server replacing the original.

The goal of this is, I already use requests to parse a json file that contains data for the hype project externally.

But need a simple way for the user/client of the page to be able to change/add/delete text. etc.. without having to understand how to open and write a json file with correct syntax.

(at this stage it does not need to be anything in the realms of a real content manager.)

Initial test going well.

As seen in this demo page

1 Like