From cc0dfe75b1358128ec2c4e595fa5a6447a724352 Mon Sep 17 00:00:00 2001 From: mossroy Date: Wed, 2 Jan 2013 15:18:02 +0100 Subject: [PATCH] Attempt to fix DeviceStorage usage in Firefox OS --- evopedia-html5/evopedia.html | 5 +++-- evopedia-html5/evopedia.js | 6 +++++- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/evopedia-html5/evopedia.html b/evopedia-html5/evopedia.html index ca29af58..e65528c2 100644 --- a/evopedia-html5/evopedia.html +++ b/evopedia-html5/evopedia.html @@ -42,14 +42,15 @@ License: The original application is at http://www.evopedia.info/

- To use it, you have to first download locally a dump from http://dumpathome.evopedia.info/dumps/finished, and select some of the dowloaded files below. + To use it, you have to first download locally a dump from http://dumpathome.evopedia.info/dumps/finished (with a Bittorrent client), and select some of the dowloaded files below.
Current status : I have tested it with the small dump (2010-08-14), the French dump (2012-02-03) and the French wiktionary dump (2011-03-16). It does NOT work on the English dump for now (I'm working on it)

On desktops, it works at least on Firefox 17 and Chrome 23. I tested it on the Firefos OS simulator : it works but requires (for now) to put the small dump files in the "Music" folder of your device. It looks for wikipedia_small_2010-08-14/titles.idx in it. So far, I could not test it on a real Firefox OS device.
- It's only a proof of concept sor far : there are certainly many many ways this could be enhanced (suggestions and patche are welcome). In particular, the performance can be optimized when reading an article, and the links inside an article do not work for now. + It's only a proof of concept sor far : there are certainly many many ways this could be enhanced (suggestions and patche are welcome : the source code is on github). In particular, the performance can be optimized when reading an article, and the links inside an article do not work for now. +