Open Popolechien opened 1 month ago
This website is a mediawiki, see https://enciclopedia.banrepcultural.org/index.php?title=Especial:Versi%C3%B3n
I cancelled the recipe, we need to discuss the way forward but by default Zimit is not appropriate for Mediawikis because it is typically grabbing all special pages with versions, edit forms, ... e.g. all pages on https://enciclopedia.banrepcultural.org/index.php?title=Plantilla:RelacionesBanrepcultural&action=history (and same for all other articles)
Thanks. I've changed the recipe to mwoffliner's dev
version. Let's see.
Edit: Ah well it failed 😞
mwoffliner cannot work on this website as far as I can tell. It has only RestApi (no VisualEditor, no ActionParse) among possible API endpoints. And unfortunately it looks like calls to the RestAPI endpoint at https://enciclopedia.banrepcultural.org/rest.php do not work (only this URL work, but I failed to make any other request work, e.g. https://enciclopedia.banrepcultural.org/rest.php/v1/search/page?q=earth&limit=1 just fails with something which make it looks like it has been misinterpreted by the server).
Not mwoffliner fault this time ^^
I created again a zimit recipe at https://farm.openzim.org/recipes/banrepcultural.org_es_enciclopedia with some exclusion rule, it probably needs more but at least we will have something to analyze for required exclude rules.
I'm tweaking a bit the exclude parameter, but it looks we are close to have "something" with zimit (no idea about the quality, but I expect it would be quite good)
ZIM is available at https://dev.library.kiwix.org/#lang=&q=enciclopedia+banrepcultural
Can you please review it? There is one "significant" issue on images which mostly don't display when you are not on a mobile device (a tablet might be ok as well), see e.g. https://dev.library.kiwix.org/content/banrepcultural.org_es_enciclopedia_2024-09/enciclopedia.banrepcultural.org/index.php%3Ftitle%3DDelcy_Morelos_Sandoval
I will open an issue upstream, it seems pretty easy (and very interesting) to solve.
Upstream issue: https://github.com/openzim/warc2zim/issues/403
Note that a custom CSS will obviously also be needed to hide non-working stuff (search bar, button for feedback, ...).
Looks good overall, though there are lots of external links that can be clicked by mistake - clearly not the best UX.
We have been contacted by the National Bank of Colombia to try and look into making a zim version of their encyclopedia https://enciclopedia.banrepcultural.org/
Recipe has been created here https://farm.openzim.org/recipes/banrepcultural_es_all