It’s just data

Wx3pa part Deux

New code drop. Fixes:

Less Code

Thanks Mark, Joe, Simon.

I agree with Matt. I simply wanted to see what wxPython could do.


What's the Matt thing referring to? Bad link!

Posted by Steven Noels at

Steven - fixed. Thanks!

Posted by Sam Ruby at

It's cool to see another GUI aggregator, and it's in Python!

Can it handle encoding other than ISO-8859-1, say UTF-8?

Posted by number5 at

RSS reader in python

Wx3pa part Deux. New code drop. Fixes: Case inSenSitIve OPML Content encoded Titles now ordered Less Code Thanks Mark, Joe, Simon. I agree with Matt. I simply wanted to see what wxPython could do. [Sam Ruby] Python is a "force multiplier" -- to...

Excerpt from Jay's Scrapbook at

Try it, you'll like it

Give it a try.  If you like, you can use this as a starting point.  If you'd like to collaborate, let me know.... [more]

Trackback from Sam Ruby

at

changing hats

Just for S&G's I hacked Sam's Wx3pa.py script and wrote a 2 paned aggregator. Much better success rate than my... [more]

Trackback from techno weenie

at

Generic News Roundup

Roller 0.9.7.2 is out. Rick: "Just for S&G's I hacked Sam's Wx3pa.py script and wrote a 2 paned aggregator." Russ: "BlogPlanet is a new Java-based moblogging app that came out a week or so ago... What a kick ass little MIDlet!"  It looks...

Excerpt from Matt Croydon::postneo at

Sam Ruby: Wx3pa part Deux

(SOURCE:Sam Ruby)-Sam's Proof of Concept RSS Reader in WxPython keeps getting better!<quote>New code drop. Fixes: * Case inSenSitIve OPML * Content encoded * Titles now ordered</quote>...

Excerpt from Roland Tanglao's Weblog at

Sam Ruby: Wx3pa part Deux

(SOURCE:"sam ruby")-Sam's Proof of Concept RSS Reader in WxPython keeps getting better!<quote>New code drop. Fixes: * Case inSenSitIve OPML * Content encoded * Titles now ordered</quote>...

Excerpt from Roland Tanglao: KLogs at

Sam Ruby: Wx3pa part Deux

(SOURCE:"sam ruby")-Sam's Proof of Concept RSS Reader in WxPython keeps getting better!<quote>New code drop. Fixes: * Case inSenSitIve OPML * Content encoded * Titles now ordered</quote>...

Excerpt from Roland Tanglao: WebCMS at

Sam Ruby: Wx3pa part Deux

(SOURCE:"sam ruby")-Sam's Proof of Concept RSS Reader in WxPython keeps getting better!<quote>New code drop. Fixes: * Case inSenSitIve OPML * Content encoded * Titles now ordered</quote>...

Excerpt from Roland Tanglao: XML at

HTMLifying and unHTMLifying

If you look around, you can find feeds with titles with escaped HTML markup, and content that is plain text.  However, your application may very well want plain text titles, and HTML content.  One of the basic premises of Atom is that such... [more]

Trackback from Sam Ruby

at

Sam Ruby: Wx3pa part Deux

(SOURCE:"sam ruby")- Sam's Proof of Concept RSS Reader in WxPython keeps getting better!... [more]

Trackback from Roland Tanglao's Weblog

at

Hi Sam:

I was trying out the python aggregator code tonight and ran into a little hickup:

Traceback (most recent call last):
  File "agg.py", line 89, in selectFeed
  if not self.list.GetColumn(0): self.list.InsertColumn(0, 'Title')
  File "/usr/lib/python2.2/site-packages/wxPython/controls2.py", line 645, in Ge
tColumn
  val = controls2c.wxListCtrl_GetColumn(self, *_args, **_kwargs)
wxPython.wxc.wxPyAssertionError: C++ assertion "wxAssertFailure" failed in /usr/
src/redhat/BUILD/wxPythonSrc-2.4.2.4/src/generic/listctrl.cpp(3834): invalid col
umn index in GetColumn

I found that this could be eliminated by a slight patch to the code:

89,90c89,90
<  if self.list.GetColumnCount() < 1  : self.list.InsertColumn(0, 'Title')
<
---

if not self.list.GetColumn(0): self.list.InsertColumn(0, 'Title')

Not sure whether this was due to python version, wx version, or what, but the fact that they asserted on GetColumn(0) seemed to suggest that this is not the right way to check for a null column list. I've never used wx before, so I'm really naive in this regard.

Thanks for the code. It works great and is easy to grok.

Posted by david at

Add your comment