I am experiencing the same problem these days. I need a website to display some data every time I launch a web page. The data should be adaptive for each run, automatically, so I donβt think the @Augusto link can solve your question.
After testing various methods (including writing a temporary local XLM or JSON file), I finally convince myself that maybe "replacing" the "data" in the html file might be the easiest way.
I have an html template inside which there is a string like [data]. Each time you start a web page, [data] will be replaced with real data, such as [1,2,3]. So this is a new file that is starting.
You can go to enter a description of the link here to find out how the "replacement" is performed. Good luck.
source share