Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

We need to know if an article is front or not #885

Open
kelson42 opened this issue May 11, 2024 · 1 comment
Open

We need to know if an article is front or not #885

kelson42 opened this issue May 11, 2024 · 1 comment
Assignees
Milestone

Comments

@kelson42
Copy link
Contributor

This has proven to be mecessary at many occasions but at least in kiwix/libkiwix#1026 (comment)

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 kelson42 added this to the 9.3.0 milestone May 11, 2024
@kelson42
Copy link
Contributor Author

@mgautierfr Would that be easy to implement?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants