If I'm understanding you correctly, you want to bypass the server-side component and retrieve XML feeds with JavaScript. Unless the XML feeds reside on the same domain that your JavaScript does, you cannot do this.
There are two components in FooReader.NET. First is the client-side component, which is written in JavaScript and uses DHTML to dynamically add content to the page. The second is the server component, which is written in C#. FooReader.NET is written in this way because JavaScript cannot retrieve RSS or Atom feeds that reside on a different server due to security restrictions. This problem is circumvented by using a server-side application to act as a proxy.
In FooReader.NET, we use JavaScript to communicate with the server-side component which retrieves RSS and Atom feeds from remote servers. The server-side component then sends the retrieved XML feed to the browser where it's parsed and added to the web page.
If the XML feeds you want to retrieve do reside on the same domain as your JavaScript, you can use a simple XMLHttp request to download the feed, parse it, and add it to the page.
------------------------
Jeremy McPeak
Author,
Professional Ajax
http://www.wdonline.com