~santiago_lema

Rio de Janeiro

https://lema.org

Mostly an iOS dev these days


#24 sitemap ? 11 months ago

Ticket created by ~santiago_lema on ~hedy/gelim

For large diets and slow connections it’d be nice if there was a simple text definition to get the full site map. So visitor can just search on his mobile device for all files and get one without asking for subfolder contents each time.

I realize you could just have a big text page with all the unfolded links but it wouldn’t be suitable as a normal welcome page. But one could link from home to some .idx file that would be the same .txt format just treated (optionally) differently by clients.

Like you get sitemap.idx and it contains a tree of the full site contents:

/
/files/img/cat.jpg
/files/img/dog.jpg
/files/demos/fairlight/intro.t64
/articles/my_life.txt
/articles/dump.txt
(And potentially thousands of lines).

So even on a 2G link I can get say 16k of index and then browse / search instantly with my native client.

Ideally the server would be smart enough to just regenerate this index regularly based on the file structure.