libzim icon indicating copy to clipboard operation
libzim copied to clipboard

We need to know if an article is front or not

Open kelson42 opened this issue 9 months ago • 1 comments

This has proven to be mecessary at many occasions but at least in https://github.com/kiwix/libkiwix/issues/1026#issuecomment-1860683025

I think we could achieve this by stoping the inherited hack of not saving twices in the title and path indexes if the entries are the same. That would not imply a major format change, only a minor. We could still be able to use the hack (if no front article).

At libzim level, it would be great to have a dedicated method isFront() based on how the page title is saved

kelson42 avatar May 11 '24 15:05 kelson42

@mgautierfr Would that be easy to implement?

kelson42 avatar May 11 '24 15:05 kelson42