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

Filter ZIMs by humanid & aliases #807

Open
juuz0 opened this issue Aug 15, 2022 · 5 comments · May be fixed by #808
Open

Filter ZIMs by humanid & aliases #807

juuz0 opened this issue Aug 15, 2022 · 5 comments · May be fixed by #808
Assignees
Milestone

Comments

@juuz0
Copy link
Collaborator

juuz0 commented Aug 15, 2022

Currently, if I visit:
http://library.kiwix.org/catalog/search?name=archlinux_en_all_nopic_2022-05
I get no books.
The name is not actually the filename so to get the desired book I need to visit:
http://library.kiwix.org/catalog/search?name=archlinux_en_all
and then search through the X number of books with same name that it gives. Hardly flexible. This is needed in /widget for now but may be needed in something else later on.
Apologies if this already exists, I couldn't find but please guide if it does exist. :)
If it doesn't, I propose we add a new filter book for this filename.
http://library.kiwix.org/catalog/search?book=archlinux_en_all_nopic_2022-05 when filename is archlinux_en_all_nopic_2022-05

@kelson42
Copy link
Collaborator

kelson42 commented Aug 15, 2022

It should not be filename, but zim metada « Name ». https://library.kiwix.org/raw/gentoo_en_all_maxi_2021-03/meta/Name

@juuz0
Copy link
Collaborator Author

juuz0 commented Aug 15, 2022

@kelson42 Filtering by name already exists, see:
https://library.kiwix.org/?name=gentoo_en_all

But this gives two books (same ZIM Meta name), I don't know how this will help in exactly getting the specific book. Filename looks more exact to me.

@kelson42
Copy link
Collaborator

kelson42 commented Aug 15, 2022

We are not interested by the filename, because this potentially change each month… we want to have a list of of zim stable over time. Let me think over night.

@kelson42
Copy link
Collaborator

@juuz0 Maybe the solution is that the feature you have built can work with aliases (basically filename without the date)?

@kelson42 kelson42 added this to the 12.0.0 milestone Aug 15, 2022
@juuz0
Copy link
Collaborator Author

juuz0 commented Aug 15, 2022

Sounds good to me, will also not to be duplicate.

@kelson42 kelson42 changed the title Catalog filter using ZIM filename Filter ZIMs by humanid & aliases Aug 16, 2022
@kelson42 kelson42 modified the milestones: 12.0.0, 12.1.0 Aug 24, 2022
@kelson42 kelson42 pinned this issue Sep 24, 2022
@kelson42 kelson42 modified the milestones: 12.1.0, 12.2.0 Jun 2, 2023
@kelson42 kelson42 modified the milestones: 13.0.0, 13.1.0 Jul 26, 2023
@kelson42 kelson42 modified the milestones: 13.2.0, 13.3.0 Jun 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants