Announcement

Collapse
No announcement yet.

CNN Topstories from rss feed.

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    CNN Topstories from rss feed.

    Imports System.Xml.XmlDocument

    Public MyXMLDocument As New System.Xml.XmlDocument

    Sub Main(parm as object)
    Dim nodes As System.Xml.XmlNodeList
    Dim node As System.Xml.XmlNode

    MyXMLDocument.Load("http://rss.cnn.com/rss/cnn_topstories.rss")
    nodes = MyXMLDocument.SelectNodes("//item/title")

    For Each node In nodes
    hs.WriteLog("CNN", node.InnerText)
    hs.Speak(node.InnerText, True)
    Next
    End Sub
Working...
X