Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Readers > Kobo Reader > Kobo Developer's Corner

Notices

Reply
 
Thread Tools Search this Thread
Old 02-28-2014, 01:46 PM   #1
AMB-ereader
Junior Member
AMB-ereader began at the beginning.
 
Posts: 6
Karma: 10
Join Date: Feb 2014
Device: Kobo wifi
An RSS reader for kobo wifi e-reader

Following on from my earlier thread[1] where I created a new program for directly displaying PNG images on my wifi e-reader (4-bit display depth) without a full screen update I have created a simple RSS reader application.

To be able to use this you will need the python interpreter from the kobo-weather[2] application and the contents of the zip file attached here.

To use the RSS reader you need to copy the files onto the e-reader and from within that directory run:
Code:
python rss-gui.py
There is a file called rssurls.py that can be edited to change the list of RSS sources to use. The program will start up with a list of these sources which can be selected using the up/down and select butons (pressing the back button will exit the program).

When one of the RSS sources is selected the file will be downloaded, converted to a set of PNG files and then displayed. The individual pages can be viewed using the left/right buttons and the back button returns to the menu. Some example images are shown attached (not particularly pretty but useable).

The RSS processing makes use of the feedparser.py[3] and html2text.py[4] libraries to do the conversion and my PNG displaying program[1] to show them. The selection of the RSS sources from the menu (updating the highlighted menu items) is performed by writing to the frame buffer directly from Python.

As with my previous work this has only been tested on an e-reader with 4-bit display, but I don't see any reason why it shouldn't work on the 8-bit version (the image handling is all performed in 8-bit depth).

[1] https://www.mobileread.com/forums/sho...d.php?t=234002
[2] https://bitbucket.org/david_weese/kobo-weather-app
[3] http://code.google.com/p/feedparser/
[4] https://github.com/aaronsw/html2text
Attached Thumbnails
Click image for larger version

Name:	rss-gui.png
Views:	791
Size:	14.3 KB
ID:	119711   Click image for larger version

Name:	rss-page.png
Views:	1076
Size:	72.0 KB
ID:	119712  
Attached Files
File Type: zip rss-reader.zip (74.2 KB, 407 views)
AMB-ereader is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Kobo wifi reader sync ernbrdn Kobo Reader 2 11-04-2012 04:20 PM
Kobo WIFI E-Reader - is it any good? prsmith Kobo Reader 13 11-22-2011 03:34 PM
Kobo Wifi with SD Card Reader rvijay Kobo Reader 1 08-07-2011 04:29 PM
Just about ready to give up on Kobo WiFi reader jean_wat Kobo Reader 9 02-05-2011 03:26 AM
Any affordable Kobo reader without WIFI? erictoma Kobo Reader 19 12-02-2010 03:58 PM


All times are GMT -4. The time now is 03:06 AM.


MobileRead.com is a privately owned, operated and funded community.