I also think it would be valuable to store these information somewhere
in the ZIM files.
We need to save many new metadata, for each type of file (picture,
video, audio, text)... and why not other types (presentation, ...).
IMO the best we can do, is saving how many entries we have per
mime-type, so we are sure we have on the format size always the
information we need (with the finest granularity).
The reader or the zimlib should make the computation and provide the
necessary code to make something like getAudioArticleCount().
What do you think?
Emmanuel
A new metadata is certainly the most easiest solution, but I'm not sure
this is the best.
So this could potentialy add really a lot of new metadat
On 01/22/2012 06:15 PM, Christian PĆ¼hringer wrote:
Hi,
I think it's currently not possible to get the number of articles
without redirects.
(Except counting all articles which are not redirects, but this would
be pretty slow)
However, I agree that it would be a useful feature, so we should consider
to add it. (Perhaps as metadata?)
Best regards,
Christian
Am 22.01.2012 16:09, schrieb Emmanuel Engelhart:
Hi
Do we have a way to know how many articles we have in a specific
namespace in a ZIM file... but without the redirects?
Regards
Emmanuel
_______________________________________________
dev-l mailing list
dev-l(a)openzim.org
https://intern.openzim.org/mailman/listinfo/dev-l
_______________________________________________
dev-l mailing list
dev-l(a)openzim.org
https://intern.openzim.org/mailman/listinfo/dev-l