Awesome .. this will be fun to play with and a great addition to the
Wikipedia app community.
--tomasz
On Tue, Sep 27, 2011 at 1:51 PM, Christian Pühringer <cip(a)gmx.at> wrote:
Hi Tomasz,
I've pushed the code to
https://github.com/cip/zimgap-android.
Note that the only functionality is currently to load an article from the
zim file and display it.
In particular there is no search functionality, so you have to know the
exact article name to open it.
The reason is simply that I am currently focusing on the feasibility, and I
expect that the main issues are related to loading
an article and and not related to searching the index.
Best regards,
Christian
Am 24.09.2011 23:14, schrieb Tomasz Finc:
Awesome work Christian. Where can we find your code to test out?
If you don't have a place then I'll carve one out in our depots.
On Sep 24, 2011 5:57 AM, "Christian Pühringer"
<christian(a)puehringer.net>
wrote:
Hi Emanuel,
Makes sense that images are not compressed in zim file again, thanks for
the
clarification.
In particular for windows mobile this increases the probability that with
reducing the cluster size
a sufficient performance is achieved (i.p. if there was a better way to
display
images than in android, but I haven't looked into this).
For android I still expect that it it will be better to use a native
library.
Christian
Am 24.09.2011 14:30, schrieb Emmanuel Engelhart:
On 24/09/2011 14:24, Christian Pühringer wrote:
The JAVA liblzma performance is pretty bad: To
increase efficiency of
compression in the zim-format articles (and also all
other data like images) are stored in clusters. Cluster size is
apparently about
1 MB. This implies that loading an article
which is stored at the end of a cluster involves decompressing the
complete
cluster.
Images should not be compressed in ZIM files for the obvious reasons
they mainly are already compressed. This is the case for all ZIM files I
made. As far as I know this is also the case for Mediawiki:Collection
build ZIM files.
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