# Rss Feed Help!

**URL:** <https://forum.kirupa.com/t/rss-feed-help/245113>\
**Category:** flash\
**Created:** [November 26, 2007, 3:42pm UTC](https://forum.kirupa.com/t/rss-feed-help/245113 "2007-11-26T15:42:24Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![sparky\_157](https://avatars.discourse-cdn.com/v4/letter/s/c68b51/32.png) [@sparky\_157](https://forum.kirupa.com/u/sparky_157)\
**Post date:** [November 26, 2007, 3:42pm UTC](https://forum.kirupa.com/t/rss-feed-help/245113/1 "2007-11-26T15:42:24Z")

</div>

I am using this code for an RSS FEED (works Great)

```auto

function loadXML(loaded) {
    
    if (loaded) {
        
        xmlNode = this.firstChild;
        caption = [];
        total = xmlNode.childNodes.length;
        for (i=0; i<total; i++) {
            
            caption* = xmlNode.childNodes*.childNodes[0].firstChild.nodeValue;
            
        }
        first_item();
        
    } else {
        
        content = "file not loaded!";
        
    }
    
}
xmlData = new XML();
xmlData.ignoreWhite = true;
xmlData.onLoad = loadXML;
xmlData.load("news.xml");
//
function first_item() {
    
    delay = 5000;
    p = 0;
    display(p);
    p++;
    
}
function timer() {
    
    myInterval = setInterval(ticker, delay);
    function ticker() {
        
        clearInterval(myInterval);
        if (p == total) {
            
            p = 0;
            
        }
        fadeout();
        
    }
    
}
function display(pos) {
    
    over = new TextFormat();
    over.underline = false;
    //
    out = new TextFormat();
    out.underline = false;
    //
    newsText._alpha = 100;
    newsText.text = caption[pos];
    
    timer();
    
}
function fadeout() {
    
    this.onEnterFrame = function() {
        
        if (newsText._alpha>=0) {
            
            newsText._alpha -= 5;
            
        } else {
            
            display(p);
            p++;
            delete this.onEnterFrame;
            
        }
        
    };
    
}

```

I want to load the first child into one text box and the 2nd child into another text box. any sugestions?
