Skip to content

Optionaly include path attribute in catalog #282

@rgaudin

Description

@rgaudin

kiwix-serve in --catalogOnly mode needs every book to have a path attribute as that's what it uses to build path prefixes.
FYI it is not using ZIM metadata (Name) for that because of conflicts that could occur.

In the non-CMS world, we'd generate a path attribute based on url attribute when the XML is to be used in --catalogOnly.

Now, I had to replicate that hack but it seems to me that this is something that the CMS should do, upon request.

Can we imagine passing a param (?addPath to /collections/xxx/catalog.xml) and receive the catalog with path` attr on books? Value would be the folder and the filename.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions