1 Reply Latest reply on Mar 20, 2009 9:55 AM by nbelaevski

    Create an RSS Feed

    alexjonk

      I'm trying to create a page that ouputs an rss feed. I'm using facelets for my templating. I currently output a string but I get unwanted tags in the resulting page. Does anybody no a good solution to support rss feeds, I browsed the entire web and did not find any clue

      <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd" >
      <html xmlns="http://www.w3.org/1999/xhtml"><head><link class="component" href="/myrssfeed/a4j/s/3_3_0.GAorg/richfaces/renderkit/html/css/basic_classes.xcss/DATB/eAGLXj9BKHT5DGkAD!cDXA__.faces" rel="stylesheet" type="text/css" /><link class="component" href="/myrssfeed/a4j/s/3_3_0.GAorg/richfaces/renderkit/html/css/extended_classes.xcss/DATB/eAGLXj9BKHT5DGkAD!cDXA__.faces" media="rich-extended-skinning" rel="stylesheet" type="text/css" /><script type="text/javascript">window.RICH_FACES_EXTENDED_SKINNING_ON=true;</script><script src="/myrssfeed/a4j/g/3_3_0.GAorg/richfaces/renderkit/html/scripts/skinning.js.faces" type="text/javascript"></script></head><rss xmlns="http://www.w3.org/1999/xhtml" xmlns:c="http://java.sun.com/jsp/jstl/core">
      <rss version="2.0">
       <channel>
       <title></title>
       <link></link>
       <description></description>
       <language>EN</language>
       <webMaster></webMaster>
       <pubDate></pubDate>
       <item>
       <link></link>
       <description></description>
       <pubDate></pubDate>
       <source></source>
       </item>
       </channel>
      </rss>
      </html>