TravelMapping / Web

Web-facing tool/page development
8 stars 26 forks source link

Generate canonical list file on demand #772

Open jteresco opened 1 year ago

jteresco commented 1 year ago

A longstanding idea has been to generate canonical list files as part of the site update process (https://github.com/TravelMapping/DataProcessing/issues/279). Another possibility is to generate them from the DB on demand through the web front end.

pderocco commented 1 year ago

There are already a few pages that are generated on demand from user-specific info. This one would be even easier, because it would be unformatted text, i.e., a .list file, which the user could then save with File->Save Page As, or whatever it is called in the browser.

The way I'd use it would be to keep replacing my .list file with the canonical version after every submission. When updating, I wouldn't worry about concurrencies, I'd just add the new traveled segments for the most important routes, and let the system deliver me a new canonical version a day later.