openzim / ifixit

iFixit to ZIM scraper
GNU General Public License v3.0
25 stars 3 forks source link

¨Problem" around ZIM metadata "Description" and "LongDescription" #105

Open kelson42 opened 4 months ago

kelson42 commented 4 months ago

Here is why I see on Kiwix Library when I search for the IFixit ZIM file in French: image

I'm not satisfied by the tile because the sentence is shorten although there is plenty of space for the description.

If I look to the metadata, I see:

It looks like here to me the Description/LongDescription metadata are not and can not be specified properly.

kelson42 commented 4 months ago

To me, it is clear that part of the solution is in Zimfarm/Kiwix serve, but without having proper Metadata in the ZIM, this does not help. I would propose to:

benoit74 commented 4 months ago
  • Add support to --zimLongDescription command line to specific the ZIM Metdata LongDescription
  • Put in LongDescription the description coming from the upstream if longer than 80 characters.

Both already there, but both are either buggy (we do not store the long description in the ZIM while it is properly fetched and computed ...) and not properly exposed in the Zimfarm (just forgot about it ...)

I suggest we do not change the way the short description is currently computed, we just need editors to override it with a more tangible thing in Zimfarm for our use case. Do you agree?