Skip to content

Support for websites lacking a homepage when generating a .zim #62

Description

@klerpi

I'm trying to archive select Wikipedia articles and it's been working great when serving from the local kage directory: the homepage lists the available paths and I can navigate to the page I need.

The problem I'm having is that when I generate the .zim file, I lose that ability. Opening the file with the MacOS Kiwix reader leaves me stuck to the first available page it finds.

How to reproduce

First:

kage clone https://en.wikipedia.org/wiki/2000s --max-pages 1

And then:

kage clone https://en.wikipedia.org/wiki/1990s --max-pages 1

Serve from folder (will have an index):

kage serve ~/data/kage/en.wikipedia.org

Serve from .zim (will not have and index):

kage pack en.wikipedia.org

kage open en.wikipedia.org.zim

Opening the .zim will jump straight to the 1990s page.

What I'm trying to achieve

I would like a way to keep the index page when I'm using the .zim version. The auto redirect is preventing me from accessing other articles on the kiwix reader.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions