openzim/zimfarm

Allow setting different landing page on zimit recipes

Closed this issue · 2 comments

Not entirely sure this is a zimit or zimfarm issue.

MWoffliner recipes have a Main Page field that allows recipe creator to set a different landing page than the default one. Some zimit-generated zim files actually focus on content that is not exactly presented on the landing page (Survivor Library is one that comes to mind where the Download books tab is the more interesting part).

Generally speaking I could see this being needed with resource repositories where the default main page is used for dynamic (news and announcements) content, which in an offline setting isn't as important.

I don't understand what you want. zimit takes a homepage as main argument. So you already specify your homepage. There are additional (and more difficult to use!) arguments to tweak what to crawl (defaults to homepage folder as a prefix).

Customizing home page is already here by default.

In survivor library, the home page was the "download books" page, but I changed it to the website home page when we decided to grab the whole website instead of just books (openzim/zim-requests#1130 (comment)).

Except when we do not grab the whole website, in general I don't agree about customizing home pages, website owners have their reasons and I find it a bit weird to overrule them (and I feel like it breaks the navigation flow imagined by website owner).

Anyway, this is another discussion and zimit already has everything needed.