Convert RSS Feed URL into an XML File

Posted on 2007-09-28
Medium Priority
Last Modified: 2013-11-18
I have a url of an RSS Feed and would like to get it on my computer in the format of an XML file.  How do you go about doing this?

Question by:Robb Hill
LVL 12

Accepted Solution

jkmyoung earned 1500 total points
ID: 19980586
Just do a simple HTTPRequest on the site using the URL provided:
eg, see here for a short code sample and explanation.

Expert Comment

ID: 20012781
just open the file in web browser and click File > Save As in the IE or whatever browser you use...
LVL 11

Author Comment

by:Robb Hill
ID: 20023962
   Private Sub GetWNBC_SportsData(ByVal stateInfo As Object)

        'Variables for working with exisitng RSS feed's XML data
        Dim xmldoc As New Xml.XmlDocument
        Dim xmlnlist As Xml.XmlNodeList
        Dim xmln As Xml.XmlNode
        Dim config As System.Configuration.ConfigurationSettings

        'The following variables are used for creating the new xml file
        Dim xmlRevDoc As New Xml.XmlDocument
        ' Create the root element
        Dim rootNode As XmlElement = xmlRevDoc.CreateElement("WNBC_Sports")

            xmlnlist = xmldoc.SelectNodes("//item/description")
            Dim category As String = "WNBC_Sports"
            For Each xmln In xmlnlist
                'Get node information used for new xml file
                Dim description As String = xmln.InnerText
                ' Create the required nodes
                Dim mainNode As XmlElement = xmlRevDoc.CreateElement("Description")
                'retrieve the text
                Dim txtDescription As XmlText = xmlRevDoc.CreateTextNode(description)
                'append the nodes to the parent node without the value
                ' save the value of the field into the node

            WriteXML(category, xmlRevDoc.OuterXml.ToString)
        Catch ex As Exception
        End Try

    End Sub

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Preface This article introduces an authentication and authorization system for a website.  It is understood by the author and the project contributors that there is no such thing as a "one size fits all" system.  That being said, there is a certa…
Preface This is the third article about the EE Collaborative Login Project. A Better Website Login System (http://www.experts-exchange.com/A_2902.html) introduces the Login System and shows how to implement a login page. The EE Collaborative Logi…
HTML5 has deprecated a few of the older ways of showing media as well as offering up a new way to create games and animations. Audio, video, and canvas are just a few of the adjustments made between XHTML and HTML5. As we learned in our last micr…
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…
Suggested Courses

749 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question