I'd like to avoid js if possible. Client can turn that off. -Any other ideas?
-----Original Message----- From: Martin Gainty [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 24, 2005 3:38 PM To: Brian McGovern Cc: Struts Users Mailing List Subject: Re: JSTL Rss Reading Brian did you look at frank zammetti's xhrstruts (Browser independent RSS feed implementation using JavaScript) ? http://www.omnytex.com/articles/xhrstruts/ Martin- ----- Original Message ----- From: "Brian McGovern" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <user@struts.apache.org> Sent: Tuesday, May 24, 2005 2:12 PM Subject: JSTL Rss Reading Hi, I'm having a rough time with the issue of reading in rss feeds in my presentation layer. My situation calls for the same feed to be shown on every screen of a certain section. Problem is, it loads very slow. There are a million ways to approach this and Im hoping to keep my logic on the presenation layer in a tag based fashion. My last resort is to create a scheduled job that creates a file to be inlcuded every 10 or 20 minutes. Any ideas appreciated. <c:import var="rssFeed" url="http://rss.prnewswire.com/"/> <x:parse var="rss" doc="${rssFeed}" /> <table width="200" cellpadding="5" cellspacing="0" bgcolor="#EEEEEE" class="BorderOn"> <th height="23" bgcolor="#CCCCCC" align="left"> <span class="infoTextHeader">Recent Headlines</span></th> <x:forEach begin="0" end="5" select="$rss//*[name()='item']" varStatus="indexCounter"> <tr> <td align=left valign=top><a href="<x:out select="./*[name()='link']"/>" class=small><x:out select="./*[name()='title']" escapeXml="false"/></a></td> </tr> </x:forEach> </table> Thanks B --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]