This Instructable will set out how to construct what I believe to be a unique implementation of Wikipedia in an offline, portable device. It involves installing a stripped-down distribution of Linux on a Psion 5mx handheld, and installing a static HTML version of Wikipedia for use with one of two browsers. Most importantly, you do not have to be a Linux wizard to achieve this. I will assume a basic familiarity with computers, but you do not need experience with the intricacies of filing systems, compiling source code and the stuff that traditionally puts people off using Linux. Following the steps in this Instructable should let you create your own HHGTTG- I will explain what I am doing but also try to give as explicit instructions as possible.
(For this reason, seasoned linux hackers can take the "skip this step" instructions provided at the top of the steps involving partitioning the CF card and unpacking archives to it)
Also, I apologise deeply for how dry this Instructable is. I have tried hard to make the bulk of it readable without skimping on detail or being overly prolix, but explaining how to partition a removable volume and unpack .tgz archives to it is difficult to make amusing. Sorry.
Lastly, but by no means least, I could not have done this without the efforts of:
- the people who ported Linux to the ARM,
- the OpenPsion (née PsiLinux) community for porting Linux to the Psion,
- Adrian Wells for Kludged Linux, and of course
- all the good folks at Wikipedia.
Remove these ads by
Signing UpStep 1: Required materials
The other parts can be easily obtained more cheaply- I spent about £15 for all the parts except for the Psion, which was a gift.
You will need: (with approximate cost)
- A working Psion 5mx PDA. Around £70 (ebay), or possibly free if you search enough attics.
- A Compactflash card of at least 1GB- I recommend a 4GB card. £11 (ebay)
- A Compactflash card adapter for your PC, either USB or PCMCIA. £4 (ebay)
- A PC running Linux. If you don't have it installed, I would suggest burning a live CD or making a bootable USB drive for a distribution such as Puppy.
- The archives with which to install Kludged Linux on your Psion. These may be found at Adrian's site here, at the bottom of the page under "download". If his site should disappear, let me know and I will provide my copies for download
- Static HTML dump of Wikipedia.
Text-only dump from 2003 (large file download)
CD distribution of 4,500 good articles with thumbnail images (warning, 750MB file download)
There is a static dump of the entire English language Wikipedia as of June 2008 here: http://static.wikipedia.org/downloads/2008-06/en/
- A flask of weak lemon drink

















































Visit Our Store »
Go Pro Today »




false pixelated metaphysical computer plane and cannot be touched and tasted and felt and smelt and seen
you can feel it... You just need to hook up the data output to a high voltage source and touch the high voltage data
LOL
PD: Sorry for my english
I did that one day on my computer, and somehow I got from 42 to Stargate Atlantis. So weird.
Alternatively, you could buy one of these, which my boss emailed me this morning under the heading "Contact your lawyer" :)
Erm.. yes, if you followed the "type this here" instructions to the letter, if you're at least capable of booting Linux on your PC, but the tiniest difference would probably break the process. A little linux know-how is quite useful in case, for instance, your drive letters end up different. It should be easy to do with a phone running Windows XP Embedded.
As I've tried to make clear in the instructions, the Psion makes it difficult- all you really need is a device with lots of flash storage and a browser. Any smartphone could do it with a large enough flash card.
Incidentally, it could be because the website is badly written but the XPphone doesn't look very convincing to me. If you are going to buy a smartphone I'd recommend you have a play with as many different models as you can, and preferably try several of the major OSes- iPhone, Android, Blackberry and Nokia are all worth consideration.
:\
Oh well- I'm not going to bother suing them, and I have this in the 'Ibles database to demonstrate I was there first :)
And you have the right to sue them because they didnt even say anything about you in their website
Bear in mind two things. Firstly, I conceived this project in about 2004-5, when smartphones were a recent, comparatively rare and expensive novelty. I had an internet-enabled phone in 2005 but it failed pretty epically at serious internet usage and this thing would have been more useful.
Secondly, if you don't have phone signal or for some other reason can't access the online Wikipedia (internet outage or biblical plagues hitting their servers), having an offline copy is a useful thing. Of course, if you have a phone with gigabytes of storage, a big colour screen and a browser you could skip the whole "Linux on a Psion" bit and just stick the Wikipedia dump on the phone itself.
Great 'ible, and serious geek points to you, my friend.
and thanks for all the fish
If only I could get the Psion 5Mx PDA cheaper....Other than that, excellent Instructable!
http://www.pscience5.net/PGG.htm
http://fz.hobby-site.org/hp660lx/jlime-stable/
http://fz.hobby-site.org/hp660lx/jlime-winter/
Regards
For anybody wondering about Wikipedia's Database Dumps and related information
http://en.wikipedia.org/wiki/Wikipedia:Database_download
link: http://www.dcemu.co.uk/vbulletin/showthread.php?t=144827
but the while thing makes no sense to me at all.
Secondly, if you were actually downloading
http://static.wikipedia.org/downloads/2008-06/en/wikipedia-en-html.tar.7z
then I'm not sure. I just tried it and I got the first few megabytes, FF told me I had 1 day and 9 hours to wait so I guess it had the complete file. Are you behind a firewall, proxy or other restrictive layer that might prevent your download? It's worth trying to open the file you get- it might be an HTML file saying "To stop you using all our bandwidth, you aren't allowed to download this file- talk to your network administrator" or words to that effect. Similarly if you are using a connection with a restrictive bandwidth cap, AOHell or something similar- I can't speak for any of those.
If none of these apply to you, I can only suggest you try to find the file through Wikimedia in case they have moved it somewhere recently and I'm finding the UK mirror service copy or something weird like that.
Maybe I'm wrong in the head as well.
who am I kidding "maybe" I've known that for ages
http://static.wikipedia.org/downloads/2008-06/en/
It's 14GB though
But I was astonished by these words in the article:
"The original Psion operating system was no good because it didn't have the ability to display HTML files, which ultimately are what Wikipedia is made of, so installing Linux was necessary to get this feature."
I'm afraid the author never used a Psion 5mx. The true is that there are two web browsers for Psion (I use them a lot):
1) All Psion 5mx are bundled with a web browser called... Web. It's in the PsiWin CD. You have to install it. It's not the fastest browser on Earth and has many limitations, but works fine. The last version is 2.00 (1999).
2) There's an Opera browser for EPOC! It's version 5.14. It's much faster and powerful than Web and more advanced than the current versions of Dillo. You can get it at Opera's public FTP.
Both browsers are very easy to install.
Thanks again for the interesting instructable.
Cheers,
--
http://alinome.net
I'm a Debian user since the 90's, but I couldn't do without my Psion, its many good apps and some programs I wrote for it. I use a German Psion 5mx Pro with a Spanish EPOC. I love to write, to program and to travel by bike. That's why this machine is still unbeatable for my needs. I hope I will use both EPOC and Debian in my Psion soon.
I don't understand what you mean with "I don't count the Opera for EPOC as it's an external add-on piece of software"... Do you mean you would use only the apps bundled with the Psion? There are many good third party apps for Psion; now almost all of them are free (as in free beer) abandonware, and many are --free (as in free speech) :-) Why not to use them? Also Dillo and the whole Debian are "external add-on pieces of software"...
I suggest you to update the article to include and compare all the alternatives:
EPOC + Web
EPOC + Opera
Debian + Dillo
Debian + Lynx
And there are more:
Debian + ELinks (my favourite browser)
Debian + Links
Debian + Links2
Debian + w3m
but those console browsers are not bundled with the Adrian's distro. I will explore how to install them, especially ELinks.
Anyhow I think Opera is the best option for your goal, in all aspects.
Sorry for your broken screen. I suffered it too some time ago. That's why the last years I bought spare Psions on eBay. They are very cheap and I still do prefer a Psion than any modern tablet or PDA. Only 350 g, a good keyboard and 20-30 working hours with two AA standard rechargable cells are unbeatable features. Happily I don't need color or videos or music... :-) But I miss Ethernet, USB... :-(
Cheers,
--
http://alinome.net
We count in what Mathematicians call "Base 10". We have ten digits in our number system, 0 through 9. When we write a number, the right-most value is the number of "ones" (or 100), the next (moving to the left) is the number of "tens" (or 101) , then "hundreds" (or 102), and so-on.
When we deal with other number systems, the theory works the same way. In octal (a commonly used number system on old mainframe computers), also known as "Base 8", the right-most digit is the number of "ones" (80), the next digit (again, moving left) the number of "eights" (81), then "sixty-fours" (82), etc.
Consider the number that got us into this mess, "42".
We look at it and assume a "regular" way of counting, which for us is Base 10. There are 2 ones and 4 tens.
With Base 13, the rightmost value is the number of ones (that's the "2") and the next to the left is the "thirteens", the "4".
We can convert this to "regular" numbers easily enough, once we get what's going on: 4 thirteens plus 2 ones (4x13 + 2x1) is 52+2, or 54.
If it helps, I'm just strange enough that I do algebra when I'm bored. :)
"Don't worry, base 8 is just like base 10, if you're missing two fingers."
wrs715: my old maths teacher used to give the people who finished their work early strange, obscure bits of maths that were off the syllabus but still interesting. One of the ones I remember was strange bases- first the usual (10, 16, 8, 2), then some abstruse ones (base 5, 9 and 11 IIRC), then the very weird base 0.5 (only good for fractions between 0 and 2 :P) and the possibly more weird base minus 2.
Numbers 0 to 10 in base -2 go:
0
1
-10
111
100
101
-1110
11011
-1000
-1011
-1010
If you want some head bending, try that.
I might have to investigate one of those.. it looks a little bit bigger than I'd like but you can't have small, fast and cheap :(
I don't work there but I just bought an Axim X51v that they said was "refurbished".
It looked brand new to me.
A cellphone: it depends on the phone. Remember a lot of modern phones can access Wikipedia online using 3G, but I doubt an older phone would be able to. My current phone, for example, can access the internet but it couldn't do this.
A laptop offline: yes, very easily. All you have to do is unzip the wikipedia archive onto your hard disk (in other words, just do step 6) and point your browser at it. I would do it with my junky old non-ethernet-capable laptop if the screen wasn't broken.
I just found a great project that uses a web server on the Zaurus to compress/decompress the wiki pages from a zip file so less storage is needed to hold all the files.
URL: http://www.retsiemuab.de/wiki2zaurus
but i see no such option when i connect my ipod touch..
however i did enjoy his typical, utterly nonsesical yet somehow ringing-a-lemony-bell sorta humour..it's sort of a down-to-earth, inexpensive equivalent of a pan galactic gargle blaster...
Meanwhile my computer is still trudging along the vast stretches of cyberspace to download the wikipedia schools dump..I still don't know how to proceed after that..
There are methods to put wikipedia on older ipods with the 'notes' features, :
encyclopodia: http://encyclopodia.sourceforge.net/en/index.html which works on ipod generations 1 to 4, ipod minis and photo ipods
also just in case anyone wants to know how to add plaintext docs to ipod, http://docs.info.apple.com/article.html?artnum=93951 shows you how..for the above mentioned ipods..
but nothing mentioned about ipod touch..i don't know how one adds saved html files to ipod touch, and how ipod's safari handles saved files added externally through the computer(or how one views these files) ,.. so i dont really know what to do..
- More HDD space
- A free 4 GB microSD card. :)
I guess I can back up my 2 GB card this weekend, and scrounge up some more HDD space -- maybe I'll put it on my external HDD, and move it over to the other notebook, since this one's almost at capacity.Then I can start trying to put Wikipedia in my pocket.
I can already tell that I'm going to be limited by space, since my device doesn't support SDHC, but it'll be a fun challenge. It's funny: without doing extra work on the text-only copy of Wikipedia I grabbed from your article, I know I won't be able to fit it and a browser on a 1GB card.
Nick
I've been working on a version for pocket PC/Windows mobile since I saw the iPod version (and thought 'I want that!'). It's written in .NET (and as a nice coincidence also work on desktop versions of Windows & theoretically anything that will run .NET) and is indeed based on around a webserver. It's called nDict and can be found at http://ndict.sourceforge.net (I should soon be releasing new dictionary torrents based on the static HTML dumps).
Shameless Plug: IMHO, the F-100, now that the F-200 is out, is among the cheapest full-featured Linux toys out there! See http://www.dynamism.com/f-200/pricing.shtml
Cheers!
-ghostis
Great instructable! I know extremely little about Linux but the Hitchhiker's connection was enough to pique my interest. =D
http://static.wikipedia.org/downloads/April_2007/en/
However, it's also several gigabytes.
http://www.openpandora.org
HACKADAY
Congrats!