Code Project: build a PyGTK RSS reader

Code

As we saw in part one of this video series, Python makes it easy to create GTK apps. Well, it turns out that Python also makes it easy to read XML from the web, which means we can make something like an RSS reader in no time at all. In this video tutorial you'll learn how to work with XML, using RSS as an example, while also learning how GTK handles data in multi-line text fields and combo boxes.

This tutorial is dedicated to Evan, who donated at least $50 to support free software - if you want to see more video tutorials like this one, all you have to do is donate to support the Libre Graphics Meeting. Easy!

Important: If you missed part one of this tutorial series, you should watch that first because it covers many fundamental coding techniques that we'll be re-using here: Part One: Python + PyGTK + WebKit in 20 minutes

(NB: you may also enjoy our Python + Clutter RSS reader tutorial, which uses the excellent Feedparser Python module (not installed as standard in Ubuntu, sadly) to read RSS feeds.)

You should follow us on Identi.ca or Twitter


Your comments

Awesome

Thank you for creating this! Good good stuff.

<3

Loving these tutorials, keep them up!

This is an audiio tutorial,

This is an audiio tutorial, any chance that this tutorial getting converted into written format?

Oh the irony

"This tutorial is dedicated to Evan, who donated at least $50 to support free software - if you want to see more video tutorials like this one, all you have to do is donate to support the Libre Graphics Meeting."

Free as in free if you pay for it.

@The Above

@Anonymous Penguin above:

Well Paul's videos arn't "free" in the sense that it is a condition of their release that you have to donate to support the Libre Graphics meeting. However once they have been released, they are free and people who have not contributed anything may download them to their heart's content.

To be perfectly honest, Paul has been pretty clear about what the deal was: you support free software by supporting the developers of programs represented in the Libre graphics meeting financially and Paul then releases a video which you can watch freely, and so can anyone else, regardless of the amount they donated towards the Libre Graphics meeting.

I'm having trouble playing

I'm having trouble playing the .ogv files, mplayer complains about invalid framerate duration, all i get is sound and a single frame.

Playing .ogv files

For some reason, playback of Ogg Theora is quite inconsistent - we have the best luck by dropping movies into Firefox 3.6.

Great tutorial again.

great content and great guy! very clear explanation and going at a very good pace!
great

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

Post new comment

CAPTCHA
We can't accept links (unless you obfuscate them). You also need to negotiate the following CAPTCHA...

Username:   Password:
Create Account | About TuxRadar