Well, I've got the posted solution working from the terminal. It required a port of php, perl, bzip2, and xapian. With the database, it uses almost my entire 4gb CF card.
Extracting from the bzip archive and generating the html is a bit slow (~12 seconds), but it's doable. If someone could write a gtk gui for it....we would have the wikipedia in the palm of our hands!
Code:
root@ereader:/mnt/cf/offline.wikipedia# ./mywiki.pl iliad
0: (abort)
1: (100%) Iliad
2: (72%) The Iliad
3: (72%) Little Iliad
4: (72%) Ambrosian Iliad
5: (63%) Category:Characters in the Iliad
6: (63%) Wikipedia:Articles for deletion/Ambrosian Iliad
7: (63%) Wikipedia:Votes for deletion/Ambrosian Iliad
Select a number: 1
This is the search program. It's case insensitive, so I think the article about the iRex iLiad is overwritten by the book...
Code:
Selected:
Iliad
rec00153enwiki-20070802-pages-articles.xml.bz2p
And now that the result html has been generated, I open it from the contentlister.