Skip to content

Links assume Name and filename are similar #41

@rgaudin

Description

@rgaudin

Because the dashboard is essentially using ZIM from openZIM, there is an assumption that Name metadata is equal for filename without period. While this is true for everything that comes out of the imager-service, it's not for ZIM files created by users and manually uploaded (simplifying here, we're adjusting what needs to be).

On the desk, one user uploaded a ZIM file named Cool_Man_Things.zim that has Name=Cool Man Things.

While it looks similar, due to kiwix/libkiwix#864 and kiwix/libkiwix#1057, kiwix-serve uses this different bookname that is computed internally and so the pathname becomes cool_man_things.

Unless kiwix-serve implements this very soon, we'll have to duplicate the feature in the dashboard generation code…

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions