none
How do I combine multiple Sharepoint 07 rss xml calendar lists into one list?

    Question

  • I'm trying to combine multiple Sharepoint 07 calendars so that it appears as one list within a web part.

    I can do this for one rss feed through an xmlhttp.open("GET", url, false) - I do this by clicking the RSS feed button on the calendar list page and copying the url. But I can't seem to figure out how to combine multiple xml rss url feeds into the one list.

    Any help would be appreciated.

    This is what I have so far for a single feed:

    <DIV class=ContentBox2>
    <DIV class=test>
    <SCRIPT type=text/javascript>
    if (window.XMLHttpRequest)
      {// code for IE7+, Firefox, Chrome, Opera, Safari
      xmlhttp=new XMLHttpRequest();
      }
    else
      {// code for IE6, IE5
      xmlhttp=new ActiveXObject("Microsoft.XMLHTTP");
      }


    xmlhttp.open("GET","http://url.hosts.network/testing/_layouts/listfeed.aspx?List=8ea8b552%2D5666%2D4396%2Daf66%2D9201cf8eec70",false)
    xmlhttp.send();
    xmlDoc=xmlhttp.responseXML;

    function test(){
    link=xmlDoc.getElementsByTagName('link');
    title=xmlDoc.getElementsByTagName('title');
    publishdate=xmlDoc.getElementsByTagName('pubDate');

    a=2;
    b=0;

    for (i=2;i<15;i++)
    {
    document.write('<li><p class="title"><a title="' + title[a].childNodes[0].nodeValue + '" href="' + link[a].childNodes[0].nodeValue  + '">' + title[a].childNodes[0].nodeValue + ' |<font color=green> ' + (publishdate[b].childNodes[0].nodeValue).substring(0,16) + '</a></font></p></li>');

    a++;
    b++;
    };
    };

    </SCRIPT>

    </DIV>
    <DIV class=frame>
    <br><img src="http://url.hosts.network/testing/wotsOn.jpg" title="What's on">
    <UL>
    <SCRIPT type=text/javascript>

    document.write(test());
    document.write(testing());


    </SCRIPT>
    </UL>
    </DIV>
    </div>

    Wednesday, December 08, 2010 10:18 PM

Answers