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.
kiwix-servein--catalogOnlymode needs every book to have apathattribute 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
pathattribute based onurlattribute 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 (
?addPathto /collections/xxx/catalog.xml) and receive the catalog withpath` attr on books? Value would be the folder and the filename.