Save Expand icon

Ron Valstar
front-end developer

PSP as e-book

I removed the obsolete links here. Besides, who wants to read books on a PSP now that we have Kindles, iPads and smartphones.

When I first got my PSP I really dove into the Netfront browser and it’s DOM. First thing I did is create a better typing pad because the PSP’s build in typing thingy really sucks. Then I made an e-book reader: php converts txt format e-books to a local directory you can copy to your PSP. I must say the PSP reads remarkably pleasant (for a light emitting electronic device).
I’m traveling a lot by train again these days, so my reading has also gone up a bit. And since I do not always have a fresh stash of unread books I thought I’d liven my PSP e-book reader a bit.
There are a few problems with the Netfront browser on a PSP. The most irrating one is that you cannot store cookies on when accessing files locally. Cookies would have been the only way to make the PSP remember what line (page) you are reading. So you’ll have to remember the line yourself (so there’s also some free braintraining there).
For that same reason I’ve put in an input field through which you can go to a particular line. The php also renders a 15×1000 png with the line numbers. I’ve tried to go up to a height of 10.000 but not even my good old Firefox would take that (even though the image was only 40kb).
Also annoying is the fact that the Netfront browser is missing some events. The only way I found to get the scroll height is by means of a document.body.onmouseup. The onscroll event is missing, and even pageYOffset or scrollTop don’t work.
The memory also isn’t all that. Big pages really slow the browser down which you’ll notice when scrolling. I could of course divide a txt file into multiple pages to correct that, maybe later.
Anyway, if you have a webserver and a PSP and you like to read books, download this. Collect some books, convert them, put em on your PSP and start reading….

Here’s a great place to start your ebook search: http://www.gutenberg.org/!!!

– update –

I made it easier, just add books using an online form, download the zipped contents, and unpack it to your PSP.