http://code.google.com/p/as3syndicationlib/
HTH, Ben --- In [email protected], "dfalling" <[EMAIL PROTECTED]> wrote: > > I'm trying to write a small app that will parse an inputted RSS feed. > On some feeds (reddit.com) it works fine, but on others (slashdot.org) > the xml seems to be cut off... the description and title for the feed > are there, but none of the items. What is causing this? I've wandered > tried to adapt code from dozens of different examples and still can't > understand exactly what I need. Here's the minimal code that I'm using > now, without all the hacks and attempts I've tried: > > > import mx.collections.XMLListCollection; > import mx.utils.ArrayUtil; > import mx.rpc.http.HTTPService; > import mx.rpc.events.ResultEvent; > import mx.collections.ArrayCollection; > import mx.events.FlexEvent; > > [Bindable] private var _dataProvider:XMLListCollection = new > XMLListCollection(); > private var _httpService:HTTPService; > > private function urlSubmitted():void > { > var feedUrl:String = urlText.text; > _httpService = new HTTPService(); > _httpService.url = feedUrl; > _httpService.resultFormat = "e4x"; > > _httpService.addEventListener(ResultEvent.RESULT,dataReceived,false,0,tr\ > ue); > _httpService.send(); > } > > private function dataReceived(event:ResultEvent):void > { > _dataProvider.source = event.result.channel.item as > XMLList; > noDataView.visible = false; > dataGrid.visible = true; > } >

