LinuxDir2HTML icon indicating copy to clipboard operation
LinuxDir2HTML copied to clipboard

Rewrite template's data format to use json

Open homeisfar opened this issue 3 years ago • 1 comments

Snap2HTML, being a Windows-only program, gets to make certain assumptions about the files it's expected to handle. This also means it can use a bespoke data format to interpret in its html, delimited by *.

The problem for us Linux users is that a file can basically have anything but / and \0 as a character. And while I have no intention to handle \n in filenames, * is problematic since it's the delimiter. This can cause issues like files apparently missing in the manifest. I don't think there's any working around this without resorting to a well-specified data format, and json is the best, most readily available option.

homeisfar avatar Oct 27 '22 17:10 homeisfar

I've been waiting for your work.😘

cxplay avatar Aug 14 '23 14:08 cxplay