rem: item.xmlContentBase = itemNode.getElementsByTagNameNS(ATOM_IETF_NS,"content")[0].baseURI; 
add: item.xmlContentBase = this.childrenByTagNameNS(itemNode, ATOM_IETF_NS, "content")[0].baseURI; 
context:   parseAsAtomIETF: function(aFeed, aDOM)  {        var parsedItems = new Array();    // Get the first channel (assuming there is only one per Atom File).    var channel = aDOM.getElementsByTagNameNS(ATOM_IETF_NS,"feed")[0];    if (!channel)    {      aFeed.onParseError(aFeed);      return parsedItems;    }    aFeed.title = aFeed.title || this.stripTags(this.serializeTextConstruct(channel.getElementsByTagNameNS(ATOM_IETF_NS,"title")[0]));    aFeed.description = this.serializeTextConstruct(channel.getElementsByTagNameNS(ATOM_IETF_NS,"subtitle")[0]);    aFeed.link = this.findAtomLink("alternate",channel.getElementsByTagNameNS(ATOM_IETF_NS,"link"));    if (!aFeed.parseItems)      return parsedItems;    aFeed.invalidateItems();    var items = aDOM.getElementsByTagNameNS(ATOM_IETF_NS,"entry");    debug("Items to parse: " + items.length);    for (var i=0; i < items.length; i++)     {      var itemNode = items[i];      var item = new FeedItem();      item.feed = aFeed;      item.characterSet = "UTF-8";      item.isStoredWithId = true;      item.url = this.findAtomLink("alternate",itemNode.getElementsByTagNameNS(ATOM_IETF_NS,"link")) || aFeed.link;      item.id = getNodeValue(itemNode.getElementsByTagNameNS(ATOM_IETF_NS,"id")[0]);      item.description = this.serializeTextConstruct(itemNode.getElementsByTagNameNS(ATOM_IETF_NS,"summary")[0]);      item.title = this.stripTags(this.serializeTextConstruct(itemNode.getElementsByTagNameNS(ATOM_IETF_NS,"title")[0])                                  || (item.description ? item.description.substr(0, 150) : null)                                  || item.title);            // XXX Support multiple authors      var source = itemNode.getElementsByTagNameNS(ATOM_IETF_NS,"source")[0];      var authorEl = itemNode.getElementsByTagNameNS(ATOM_IETF_NS,"author")[0]                           || (source ? source.getElementsByTagNameNS(ATOM_IETF_NS,"author")[0] : null)                           || channel.getElementsByTagNameNS(ATOM_IETF_NS,"author")[0];      var author = "";      if (authorEl)       {        var name = getNodeValue(authorEl.getElementsByTagNameNS(ATOM_IETF_NS,"name")[0]);        var email = getNodeValue(authorEl.getElementsByTagNameNS(ATOM_IETF_NS,"email")[0]);        if (name)          author = name + (email ? " <" + email + ">" : "");        else if (email)          author = email;      }            item.author = author || item.author || aFeed.title;      item.date = getNodeValue(itemNode.getElementsByTagNameNS(ATOM_IETF_NS,"updated")[0]                               || itemNode.getElementsByTagNameNS(ATOM_IETF_NS,"published")[0])                               || item.date;      item.content = this.serializeTextConstruct(itemNode.getElementsByTagNameNS(ATOM_IETF_NS,"content")[0]);      if(item.content)        item.xmlContentBase = itemNode.getElementsByTagNameNS(ATOM_IETF_NS,"content")[0].baseURI;      else if(item.description)        item.xmlContentBase = itemNode.getElementsByTagNameNS(ATOM_IETF_NS,"summary")[0].baseURI;      else        item.xmlContentBase = itemNode.baseURI;      parsedItems[i] = item;    }    return parsedItems;  },
meta: 8395	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/8395/a726cf3bef215bac6d3c1797dc8acaf2e510466a/feed-parser.js/clean/mail/extensions/newsblog/content/feed-parser.js