Skip to Content
avatar image
Former Member

RSS feeds in Web Dynpro

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

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Best Answer
    avatar image
    Former Member
    Oct 11, 2007 at 09:27 PM

    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?

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      You don't have to use these classes from Sun that I used then, there are certainly other alternatives in the meantime, e.g.

      https://rome.dev.java.net/

      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

  • avatar image
    Former Member
    Oct 11, 2007 at 09:12 PM

    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

    Add comment
    10|10000 characters needed characters exceeded