
Based on
this topic . He promised - he did.
XpressLib is an application for symbian 9.4, which is designed to search for and download free books in fb2 format from flibusta.net. The program uses a server specially written for it, which contains a daily updated catalog of more than 30 thousand authors and more than 130 thousand books. The traffic saving is maximal, as the minimum amount of information is transmitted and received during the exchange with the server. Having found the right book, you can immediately download it. Books are loaded, compressed in zip, and saved to the Text folder on the memory card, with the downloaded files I have the name in Russian, containing the name of the author and the name of the book.
The main features of the program
- Search by author name. The search is case insensitive and in any part of the name or surname.
- Search all books of the selected author
- Search by book title. The search is also being case-insensitive and for any part of the book title.
- View a list of new books (if any are available for the past day)
- Caching queries, search results for more economical consumption of traffic
- Kinetic scrolling and all that ...
Requirements
The program requires python 2.0 or higher, installed from the Software Update menu item or from the Ovi Store, or python 1.9.7 (the program and python must be installed on the same disk.
Download python 1.9.7 ). After installing python, it is advisable to restart the smartphone.
For reading books, I recommend the best, in my opinion,
ZXReader program, which is written by our compatriot.

')
How it all works
As mentioned above, a server was written for the program to work, which works as follows:
Once a day, at 3 o'clock in the morning, a fresh database in sqlite3 format is pulled from the
MyRuLib project. Further, a cunning script hacks it up and down, to optimize the work with it. This made it possible to reduce the search time for some queries dozens of times.
The server itself is written in python using the web.py framework (you could have done very well without it, but laziness sometimes prevails). Answers to requests to the smartphone are given in xml format.
The program itself is written in the python programming language. The implementation took me a couple of evenings of leisurely coding. Virtually the entire UI was written by hand using the appuifw and graphics libraries. Communication with the network takes place using the standard means of the urllib module.
I wrote about python for Symbian programming on the
Python for s60 blog .
Acknowledgments
First of all, I want to thank the author of the
MyRuLib project, now the lintest
habrayuzer , for the work on supporting the database of books. Also, Habrayuzer
Tcapb for the design of this and my other programs. And of course, thanks to the creators and people who fill the project
flibusta.net with content
Finally, download!
The program is absolutely free, and you can download it
off. site.PS Do not forget about the button "support the project" in the program. The money received from donates goes to pay for the server, coffee and buns :)
PPS The program is in beta stage, so please do not scold for glitches and flaws.