RSS Viewer widget for Konfabulator: updated

So I’ve finally updated my old RSS Viewer widget for Konfabulator. This version has been updated to work with Konfab 2.x, and adds a couple minor features.

Posted by funkatron on 07/26/05 at 08:51 AM

kingler says...

Nice job! I like the widget.
Just one question, How is the feed updated? Every hour or every day?
didn’t see any option for that.
Another thing is that the title line is not enough to show multiple feed titles. might be good if it can be changed to a rolling list or something.
-----

Posted by kingler  on  07/26  at  11:07 AM

Ed says...

Every 30 minutes, I believe.  It’s hard-coded for now.

no, it’s not long enough.  rolling is a good idea… now I just have to figure out how to do that. 8)

Posted by Ed  on  07/26  at  11:20 AM

Smoove says...

Just tried the updated RSS Viewer.  It just sits there trying to parse the RSS feeds.

the feeds are:

http://whirlpool.net.au/whirlpool.rdf | http://www.winbeta.org/feeds/backend.php?page=longhorn&feed=RSS2

Any ideas?  These work fine in other RSS readers.

Posted by Smoove  on  07/27  at  01:07 AM

Sean says...

Try changing the following line in class.feed.js:

this.raw = runCommand("curl -f -s -L --connect-timeout 10 --max-time 30 “ + this.url);

to:

this.raw = runCommand("curl -f -s -L --connect-timeout 10 --max-time 30 ‘“ + this.url + “‘“);

[You’re putting single quotes around the URL]

I know nothing about JS / Konfabulator / etc., but there seems to be something happening such that the URLs are not being interpreted / loaded properly if not placed in single quotes.  Fixed my similar problems anyway.

GREAT widget, btw, much appreciated.

Posted by Sean  on  07/27  at  11:18 AM

Ed says...

I bet the problem is that I was using curl to download the feeds.  That works fine on OS X (which was konfab’s only platform when I was using it), and if you have a Windows binary in your path it works on Windows, but not on most Windows boxes.  I have a version I’ll upload later today that uses the built-in functionality in newer versions of Konfab to retrieve the feed.

Posted by Ed  on  07/27  at  11:48 AM

Ed says...

Sean,

That will help if you’re on OS X, but Windows doesn’t ship with it, which is obviously a problem for cross-platform support.  The new version I’m about to upload doesn’t use curl anymore.

Posted by Ed  on  07/27  at  01:57 PM

Sean says...

Ed,

I’m gonna have to take your word for that - again, I know so little about JS / Konfab / et. al., but I’m running XP right now and your widget worked for me from the time I downloaded it; just not on sites which had any characters (’&’, ‘%’, etc.) in the URLs, and that’s the only thing that changed for me with the above… in any case, as you say, with the new version it’ll be easier for everyone - thanks for bringing it back with the new versions!

Posted by Sean  on  07/27  at  02:33 PM

Ed says...

Huh.  I wonder if Konfab packages curl into their UnixUtils stuff in the engine.

Posted by Ed  on  07/27  at  04:04 PM
Page 1 of 1 pages

Name:

Email (not displayed):

Location:

URL (not displayed):

Smileys

Remember my personal information

Notify me of follow-up comments?

What is 5 + 1?

« Back to main