on 10-11-2007 10:05 PM
Hi experts,
I'm looking for a way to show RSS feeds inside a Web Dynpro Application. I didn't find any information that really helped me.
Who can help me?
Thanks in advance,
Edwin
Hi Armin,
thank you for your fast reply.
I'm not very experienced in JAVA development. The last two steps in your answer won't be a problem. I know how to do that.
But can you tell me in more detail how I can use the SUN rss parser classes inside my Web Dynpro project?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You don't have to use these classes from Sun that I used then, there are certainly other alternatives in the meantime, e.g.
In essence, you have to create an action to read from the RSS feed, parse the retrieved XML file and fill a context structure from these data, and dynamically recreate the UI elements that display these RSS items.
If you are on NW 7.0, you can probably use the RowRepeater UI element to display the RSS items stored in the context node.
Armin
I have built a prototype some years ago that did exactly this.
What I used was
- some RSS parser classes from Sun
- a context structure filled from the retrieved RSS feeds
- a programatic UI created inside wdDoModifyView() to display the individual RSS items
Just call the RSS feed via its URL and parse the content, fill it into the controller context and set a flag to indicate that the view has to be recreated. In wdDoModifyView(), check the flag, rebuild the view and reset the flag.
Armin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
101 | |
13 | |
13 | |
11 | |
11 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.