From 7802cbf3b81fae000560716f65920424c4d8fc47 Mon Sep 17 00:00:00 2001 From: mossroy Date: Fri, 15 Mar 2013 13:03:48 +0100 Subject: [PATCH] Big refactoring of the code, in a more object-oriented way. But I could not push it as much as I would like : the FileReader API is asynchronous, which prevents some implementations (ex : a constructor in a class cannot read files) The title searching is not very accurate for now, which is why the links do not work very well for now --- www/index.html | 6 +- www/js/app.js | 545 ++++++++++++----------------------------- www/js/lib/evopedia.js | 312 ++++++++++++++++++++++- 3 files changed, 472 insertions(+), 391 deletions(-) diff --git a/www/index.html b/www/index.html index 6bf8e1fa..52771272 100644 --- a/www/index.html +++ b/www/index.html @@ -48,16 +48,16 @@ License:
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), the French wiktionary dump (2011-03-16) and the English dump (2012-02-11) + I have tested it with the small dump (2010-08-14), the French dump (2012-02-03), the French wiktionary dump (2011-03-16) and the English dump (2012-02-11)


- It's only a proof of concept sor far : there are certainly many many ways this could be enhanced (suggestions and patches are welcome : the source code is on github). In particular, the performance can be optimized when reading an article. I also know the links inside an article do not work very well for now. + It's only a proof of concept so far : there are many many ways this could be enhanced (suggestions and patches are welcome : the source code is on github). In particular, the performance can be optimized when reading an article. I also know the searches are not always very accurate, and the links inside an article do not work well for now.