Archive for the ‘Apple MAC OS X’ Category

Confirmed - Wikipedia Offline Reader works on the iPhone with firmware 1.1.2

Donnerstag, Januar 10th, 2008

The content of this entrie is expired - here is the latest information about Wiki2Touch.

Topic says it all. A friend of mine with an iPhone, 1.1.2, has installed the Wikipedia Offline Player and it’s working nice.

I’ve also created a nice icon for the home screen using Erica Saduns “OpenURL”. As soon as Apple releases the SDK for the iPhone/iPod Touch the installation will be much easier. Hopefully it will be in February this year as the promised.

Latest progress on iKi

Montag, Dezember 31st, 2007

Before my vacation time ends next week I wanted to have a more or less complete and stable version. So what have I added or changed in the last few days:

  • The template processor was completely rewritten. I’ve learned that memory is not a problem on the iPod Touch but speed is. The new approach uses much more memory but is also much faster than the old version. While we’re on the subject: Speed is fine, but not amazing. it could happen that the iPod needs about 5-10 seconds to generate a large article. On the other hand the mobile safari need also a lot of time if a large article is displayed.
  • I’ve added every parser function I’ve found in the documenation: {{lc:xxx}}, {{LOCALTIME}} and so on. Some are not very usefully, but some are: {{NUMBEROFUSERS}} which give you always 1 and that’s most of the time totally correct :)
  • Added #switch and #ifexists parser functions. So every parser function except #ifexpr/#expr is working. The later are implemented as a stub.
  • Added the Table of contents and the related handling (__TOC__, etc.)
  • Port, binding address and base path can be change on the command line
  • Namespace handling for different language editions is working nice. Even links to other editions are supported (if installed of course). Installed editions will be detected automatically.
  • Added a config file for language/edition specific settings: The name of the template prefix or the title of the toc for instance.

BTW: The same code works on the MAC also. Nice for debugging. Compiling for a PC or another PDA should also work.

Still missing is a nice tool for splitting, indexing or even downloading the files from Wikipedia. Further, there is still no application to control the server on the device. You have to start it manually using SSH.

iKi - Some pictures of the project

Montag, Dezember 31st, 2007

I’ve made some images and screeshots so you can see how the application is working. I’ve used the German edition, so sorry if you can’t understand the articles.

First my iPod Touch with iKi running on it:

iki on the iPod Touch

(Sorry for the reddish background because of the artifical light.)

 

The home screen with a search phrase entered:

The home screen

(This time I’m using port 8080)

 

As the search phrase did not meet an article title exactly the search results will be presented:

Search results

(Actual the search is not a ‘like’ search but only looks for the phrase as a part of the articles titles)

 

An here is the result:

The article about the element “Gold”

(Isn’t the table nice?)

 

Another table and the toc box and finally some enumerations, internal and external links and the list of references:

Another table and a part of a TOC box

 

 

Enumerations, external links and a list of references