The extension uses site's title as a filename.
I want to suggest a much better template for the filename that will improve the file organisation.
TL'DR
The template should be follow:
[{hostname-without-www}] {YYYY}.{MM}.{DD}—{title}
The example results with this name patter:
"[developer.mozilla.org] 2021.01.21—Cross-Origin-Opener-Policy - HTTP - MDN.mht"
"[en.wikipedia.org] 2021.01.21—High Efficiency Image File Format - Wikipedia.mht"
"[javascript.info] 2021.01.21—Generators.mht"
"[reddit.com] 2021.09.28—WD Blue (New 2018+) Line Models Explained - SMR - Greens (v1) - DataHoarder.mht"
I have already written about it for an other similar extension here and here, so just copy paste the text here:
For better file navigation (to easily find the desired file), files should be organized.
This can be achieved if, when sorting by name (alphabetically), the files are both grouped and sorted. To do this, you need the correct (special) file name.
If the file name contains only the title, the files will be shuffled randomly, mixed with the other files (not mhtml),
Files will be organized if they are grouped by hostname and sorted by date.
This can be achieved if the file name consists of the following parts: first the hostname, then the date, and at the end – the title.
And in order for mhtml files not to be shuffled with other files, you should use the "prefix". The same first character. Which should preferably be neither a letter nor a number, so as not to be among the other files, and get a higher priority when sorting.
You can just add, for example, #
first, but I find it better to tag the site name with []
.
[hostname]
Next is the date. The only correct format: yyyy
first, then mm
, then dd
. (The other types may looks misleading: "10.12
is it mm.dd
or dd.mm
?", or they are not suited for alphabet sorting)
There are several options.
- Without separator: 20210122 - too hard to understand.
- And with the separator:
2021-01-22
or 2021.01.22
.
The line with dots will be shorter, you can select the entire date with a double click, and IMHO it looks nicer.
And then the title. You can separate it with just space
, or you can use "—" —
(Alt + 0151).
- Like space, it is only one character (Windows uses UTF-16 for filenames).
- It is ideal to visual "split" the text into parts in a string, because it takes up a lot of visual space: to separate the meta information from the title.
- It is not selected along with the text by double-clicking on the text.
- Uses much less frequently than spaces
or dashes -
.