kiwix / kiwix-tools

Command line Kiwix tools: kiwix-serve, kiwix-manage, ...
https://download.kiwix.org/release/kiwix-tools/
GNU General Public License v3.0
468 stars 87 forks source link

Kiwix-serve should automatically open one ZIM file #53

Open kelson42 opened 7 years ago

kelson42 commented 7 years ago

From @kelson42 on August 31, 2016 18:46

... and avoid displaying the catalog page if only one ZIM file.

Copied from original issue: kiwix/kiwix-xulrunner#299

kelson42 commented 5 years ago

Not sure anymore this is a good idea. Closing it for now

kelson42 commented 4 years ago

In fact IMO we need that for KaiOS and we probably also need to remove the human_id part of the URL in case of only one ZIM file.

mgautierfr commented 4 years ago

we probably also need to remove the human_id part of the URL in case of only one ZIM file

I'm not sure about this. We tell the browser to cache indefinitely the content we send. This work well because we have a "unique" content per url. If we remove the human_id from the url, we may end with different contents (because different zims) using the same url.

Saying that, we have the same issue with the nodatealias feature of kiwix-serve.

kelson42 commented 4 years ago

@mgautierfr yes, not sure this is a problem or not. You see the problem here https://en.wikimed.kaios.kiwix.org