lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


Hi,

On Dec 15, 2008, at 12:25 PM, Jose wrote:

Is the source code to setup the demo also available ? This seems a nice opportunity to learn Nanoki


"setup the demo"?... as in... all the plumbing needed to import the Wikipedia content into an instance of Nanoki? Nope, it's just some rather ugly scripts to somewhat parse the Wikipedia HTML into an usable format... something along these lines:

(1) Get the Wikipedia Selection (around 3 GB)

http://www.soschildrensvillages.org.uk/schools-wikipedia-full-20081023.tar.gz.torrent

(2) Convert the HTML into Markdown syntax, courtesy of html2text

http://www.aaronsw.com/2002/html2text/

(3) Import the resulting Markdown text files into Nanoki itself

Cheers,

--
PA.
http://alt.textdrive.com/nanoki/