Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » RSS Feeds
RSS Feeds [message #437950] Sat, 08 October 2005 07:19 Go to next message
udayms is currently offline udaymsFriend
Messages: 23
Registered: July 2009
Junior Member
Hi All,
Has anybody integrated RSS feeds into an RCP app? For example, If I need the rss feeds to be displayed in a table inside a view. How can i do it?

Hope somebody would have already done this. :)
Re: RSS Feeds [message #437952 is a reply to message #437950] Sat, 08 October 2005 08:29 Go to previous messageGo to next message
udayms is currently offline udaymsFriend
Messages: 23
Registered: July 2009
Junior Member
On googling, I understand the rssowl app has been completely done in swt.
Re: RSS Feeds [message #437954 is a reply to message #437952] Sat, 08 October 2005 10:35 Go to previous messageGo to next message
user is currently offline userFriend
Messages: 296
Registered: July 2009
Senior Member
udayms wrote:
> On googling, I understand the rssowl app has been completely done in swt.

there is this site which has the foundations for an rcp news app

http://www.rcpapps.org/

and a good article about using IAdaptable.

looks like it might grow into an invaluable resource.


martin
Re: RSS Feeds [message #437956 is a reply to message #437954] Sat, 08 October 2005 13:38 Go to previous messageGo to next message
udayms is currently offline udaymsFriend
Messages: 23
Registered: July 2009
Junior Member
Hi martin,
Thanx for the link. I found IAdaptable article interesting. But, I was looking for a snippet or tutorial or something of that kind. I am a newbie to swt.

-Uday
Re: RSS Feeds [message #437958 is a reply to message #437956] Sat, 08 October 2005 14:05 Go to previous messageGo to next message
Alex Blewitt is currently offline Alex BlewittFriend
Messages: 946
Registered: July 2009
Senior Member
The source code is in CVS at sourceforge.net (there's a link from the www.rcpapps.org site). You can see how the RSS feeds are parsed from XML, and the info (title, url etc.) is obtained by querying the XML with XPath. This is then hooked in with the tree viewer component through a TreeContentProvider. The RSSPlugin hooks the main RSS feed up to the RSS view for the feeds defined.

It's in an alpha stage at present (I'll be uploading some new changes in the near future to allow RSS feeds to be non-hardcoded) but the goal for the future is to present a bunch of tutorials on how it was put together. Unfortunately, there's no table view at present, so you'll have to extrapolate from the example, but the principle is the same; use a TableView with a TableContentProvider to achieve the same effect.
Re: RSS Feeds [message #437960 is a reply to message #437958] Sat, 08 October 2005 14:29 Go to previous messageGo to next message
udayms is currently offline udaymsFriend
Messages: 23
Registered: July 2009
Junior Member
Hi Alex,
I am unable to get the files from the cvs. I tried using the import function in eclipse to do this. When I try to connect as anonymous with no password, it keeps asking me for the password. AM i doing something wrong here?

-Uday
Re: RSS Feeds [message #437962 is a reply to message #437960] Sat, 08 October 2005 18:44 Go to previous message
Alex Blewitt is currently offline Alex BlewittFriend
Messages: 946
Registered: July 2009
Senior Member
Depends if you're using :pserver: or :ssh:. The former should allow anonymous connections, whilst the other requires a specific user/password.

If you paste :pserver:anonymous@cvs.sourceforge.net:/cvsroot/rcpapps into the 'user' field of the CVS checkout wizard, it will pre-fill out all of the fields for you.

You only need to check out the RCPNews module; there isn't anything else interesting in the other ones (yet)
Previous Topic:Re: Help Server And Help
Next Topic:Wizard needsProgressMonitor setting not processed
Goto Forum:
  


Current Time: Thu Dec 05 16:40:09 GMT 2024

Powered by FUDForum. Page generated in 0.03576 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top