Wx3pa part Deux
- 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.
It’s just data
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 atSteven - fixed. Thanks!
Posted by Sam Ruby atIt's cool to see another GUI aggregator, and it's in Python!
Can it handle encoding other than ISO-8859-1, say UTF-8?
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 atGive 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
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
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(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(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(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(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 atIf 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
(SOURCE:"sam ruby")- Sam's Proof of Concept RSS Reader in WxPython keeps getting better!...
[more]
Trackback from Roland Tanglao's Weblog
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