Recently I switched the Wikipedia views to utilize metadata in the ZIM files themselves to generate the list of available files. But some ZIM files may not have metadata inside them.
We should include the entire Kiwix library.xml and use it as a backup when no metadata is found. We need to figure out how to get the unique identifer from the zim file and use this to index into the library xml file. The zimlib source code can probably be referenced on how to generate this number.
Recently I switched the Wikipedia views to utilize metadata in the ZIM files themselves to generate the list of available files. But some ZIM files may not have metadata inside them.
We should include the entire Kiwix library.xml and use it as a backup when no metadata is found. We need to figure out how to get the unique identifer from the zim file and use this to index into the library xml file. The zimlib source code can probably be referenced on how to generate this number.