2 Replies Latest reply on Sep 7, 2006 5:28 AM by Basel Al-Mustafa

    The link element of an RSS feed does not get rendered proper

    Basel Al-Mustafa Newbie

      I am trying to do something similar to the RSS sample as in fisheye of JBoss Seam:
      http://fisheye.labs.jboss.com/browse/JBoss/jboss-seam/examples/blog/view/index.rss
      However, the link elements do not get rendered properly as you can see here:

      <?xml version="1.0"?>
      <rss version="2.0">
       <channel>
       <title>Sample Feed</title>
       <description>RSS 2.0 Channel</description>
       <link />http://localhost:8080/main.jsf
       <item>
       <title>Firefox</title>
       <link />http://localhost:8080/entry.jsf?id=7
       <description>Firefox the browser you can trust.</description>
      
       </item>
       <item>
       <title>JBoss Seam</title>
       <link />http://localhost:8080/entry.jsf?id=6
       <description>Java EE Framework</description>
       </item>
       </channel>
      </rss>
      


      Here is the source code of rssfeed.xhtml:
      <?xml version="1.0"?>
      <rss version="2.0"
       xmlns:ui="http://java.sun.com/jsf/facelets"
       xmlns:h="http://java.sun.com/jsf/html">
       <channel>
       <title>Sample Feed</title>
       <description>RSS 2.0 Channel</description>
       <link>http://localhost:8080/main.jsf</link>
      
       <ui:repeat value="#{category.recentEntries}" var="entry">
       <item>
       <title>#{entry.title}</title>
       <link>http://localhost:8080/entry.jsf?id=#{entry.id}</link>
       <description>#{entry.body}</description>
       </item>
       </ui:repeat>
       </channel>
      </rss>