Arvindh , That works fine .
use the below code for new URL *<mx:HTTPService id="myRSSFeed" url="http://news.google.com/news? ned=us&topic=h&output=rss" />* Regards Kiran On Thu, Oct 8, 2009 at 5:24 AM, arvin <[email protected]> wrote: > > This is the code that i have taken from net for google news reader, it > works very well > > > The url used here is > http://news.google.com/news?ned=us&topic=m&output=rss > > > i tried different url (taken from google news RSS) > http://news.google.com/news?ned=us&topic=h&output=rss > it is showing error > > can you explain me how to use the above code > > > CODE > ---------- > > > <?xml version="1.0" encoding="utf-8"?> > <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" > layout="absolute"> > > <mx:HTTPService id="myRSSFeed" url="http://news.google.com/news? > ned=us&topic=m&output=rss<http://news.google.com/news?%0Aned=us&topic=m&output=rss>" > /> > > <mx:Button x="144.5" y="489" label="Connect !" click="myRSSFeed.send > ()" width="188" height="31" fontFamily="Verdana" fontSize="15" > color="#034C5C"/> > > <mx:DataGrid id="myDataGrid" > dataProvider="{myRSSFeed.lastResult.rss.channel.item}" > width="469.5" height="210" > click="{myTextArea.htmlText = > myRSSFeed.lastResult.rss.channel.item > [myDataGrid.selectedIndex].description}" > x="7.5" y="70"> > > <mx:columns> > <mx:DataGridColumn headerText="Date" dataField="pubDate" > textAlign="left"/> > <mx:DataGridColumn headerText="Title" dataField="title" > textAlign="center"/> > </mx:columns> > </mx:DataGrid> > > <mx:TextArea id="myTextArea" width="467" height="193" x="10" y="288"/> > <mx:Label y="21" text="Google Health News" width="415" height="30" > fontWeight="bold" fontSize="19" textAlign="center" color="#E7EEF3" > left="10"/> > > </mx:Application> > > > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Flex India Community" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/flex_india?hl=en -~----------~----~----~----~------~----~------~--~---

