Announcement

Collapse
No announcement yet.

CNN Breaking News

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

    CNN Breaking News

    Can someone please post for me their CNN Breaking News script that is working with HS2? I cannot seem to get mine working and wish to start from scratch at this point. Thanks

    #2
    Mine works.
    Tim
    Attached Files
    FB Page - https://www.facebook.com/pages/Capt-Tim/209398425902188

    HSTouch Layouts - https://www.facebook.com/media/set/?...5902188&type=3

    Comment


      #3
      Thanks Tim,
      I'll play around with it.
      Al

      Comment


        #4
        Does this still work?

        Is this still working for folks?

        Mine's been quiet for a couple of days now.

        Ed

        Comment


          #5
          I received a news this morning at 6:36 about an earth quake in the south Pacific.
          -Rupp
          sigpic

          Comment


            #6
            Mine worked this AM.
            5/16/2006 7:36:35 AM Info Event Trigger "CNN Breaking News to Audrey"
            5/16/2006 7:36:35 AM Info Running script in background: custom_cnn_notify_audrey.txt
            5/16/2006 7:37:18 AM Info Web Server authorized local login successful from: 192.168.0.xx User: xxxxxl
            5/16/2006 7:37:26 AM Info Speak ():Powerful earthquake reported deep under South Pacific north of New Zealand; authorities say no destructive tsunami expected, The Associated Press reports.

            Comment


              #7
              Well so far there hasnt been breaking news but here is my issues


              When I run the ("main","test") it does nothing, when I run it in debug test I get the following but no speach or wav play. I'm not sure if it does in debug mode but test mode isnt running at all. Im running HS 2.1

              Without an announcement or test working all I can do now is hope it works unless anyone has an idea of why test isnt functioning

              6/18/2006 1:39:44 AM ~!~Info~!~Event Trigger "Test CNN Script"
              6/18/2006 1:39:44 AM ~!~Info~!~Running script in background: cnn.txt("main","debugtest")
              6/18/2006 1:39:44 AM ~!~CNNAlerts~!~[debug] [variable:strIniFileName] CNNsettings.ini
              6/18/2006 1:39:44 AM ~!~CNNAlerts~!~[debug] [variable:bEdit] False
              6/18/2006 1:39:44 AM ~!~CNNAlerts~!~[debug] [variable:virtualdevice] v10
              6/18/2006 1:39:44 AM ~!~CNNAlerts~!~[debug] [variable:speak] True
              6/18/2006 1:39:44 AM ~!~CNNAlerts~!~[debug] [variable:announceschedule] 08:00-20:30
              6/18/2006 1:39:44 AM ~!~CNNAlerts~!~[debug] [variablelaywav] True
              6/18/2006 1:39:44 AM ~!~CNNAlerts~!~[debug] [variable:wavfile] c:\Program Files\homeseer\cnn.wav
              6/18/2006 1:39:44 AM ~!~CNNAlerts~!~[debug] [variable:notify] False
              6/18/2006 1:39:44 AM ~!~CNNAlerts~!~[debug] [variable:turnoff] True
              6/18/2006 1:39:44 AM ~!~CNNAlerts~!~[debug] [variable:newsicon] /cnn.gif
              6/18/2006 1:39:44 AM ~!~CNNAlerts~!~[debug] [variable:iDaysToKeep] 7
              6/18/2006 1:39:44 AM ~!~CNNAlerts~!~[debug] [variable:strTriggerEvents]
              6/18/2006 1:39:44 AM ~!~CNNAlerts~!~[debug] retrieving http://www.cnn.com/.element/ssi/www/...r.exclude.html
              6/18/2006 1:39:44 AM ~!~CNNAlerts~!~[debug] html data: REMOVED PURPOSLEY
              6/18/2006 1:39:44 AM ~!~CNNAlerts~!~[debug] breaking news detected
              6/18/2006 1:39:44 AM ~!~CNNAlerts~!~[debug] [variable:strOldAlert][No Breaking News]
              6/18/2006 1:39:44 AM ~!~CNNAlerts~!~[debug] breaking news:[The script is now running in test mode. This is a CNN breaking news test alert]
              6/18/2006 1:39:44 AM ~!~CNNAlerts~!~[debug] updating virtualdevice string with the news alert
              6/18/2006 1:39:44 AM ~!~CNNAlerts~!~[debug] turning virtualdevice ON
              6/18/2006 1:41:45 AM ~!~Database Item~!~Saving Event Test CNN Script
              6/18/2006 1:41:50 AM ~!~Info~!~Event Trigger "Test CNN Script"
              6/18/2006 1:41:50 AM ~!~Info~!~Running script in background: cnn.txt("main","test")

              Comment


                #8
                Broken again?

                Has CNN changed it's page again? I've been getting emails from CNN about breaking news, but HS is not seeing them. Latest one was about the Phoenix serial shooter a few minutes ago. I went to the site in the ini file but it was blank (http://www.cnn.com/.element/ssi/www/...r.exclude.html)

                Comment


                  #9
                  Al,
                  There are emails from CNN and then this script that doesn't use email but rather uses "HTML scraping". The problem is CNN changed the format of the page and thus the scraping is broken. I've been working on the script in my spare time but it works for a few breaking news reports and then is broken again. They are adding new HTML to the script on nearly every breaking news. So this script may be done for good unless they stop the "dynamic" feeds. It's a shame they do not post the breaking news in XML format. If they did we would be set.
                  -Rupp
                  sigpic

                  Comment


                    #10
                    Rupp,
                    Thanks for the update. I hope it can be resurrected, it's a big WAF piece for me.

                    Comment


                      #11
                      This isn't as feature rich as Rupp's. But, it does get & announce the news from CNN's 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

                      Comment


                        #12
                        cactsbob,
                        Those are CNN headlines and not breaking news and these are covered in the CNN headlines script posted in the script library already.
                        -Rupp
                        sigpic

                        Comment


                          #13
                          Originally posted by Rupp
                          cactsbob,
                          Those are CNN headlines and not breaking news and these are covered in the CNN headlines script posted in the script library already.

                          Rupp,

                          That right. Sorry, about that. I haven't been able to find a cnn rss feed for only breaking news.

                          Comment


                            #14
                            I've just about got the CNN breaking news script working but it keeps changing. There has to be a better way.
                            Last edited by Rupp; August 5, 2006, 12:45 PM.
                            -Rupp
                            sigpic

                            Comment


                              #15
                              Works Here....

                              I have been recieving breaking news all morning. It works just fine here.


                              <CENTER>U.S. and France agree draft U.N. Security Council resolution aimed at ending fighting between Israel and Hezbollah, wires say.</CENTER><CENTER> </CENTER><CENTER> </CENTER>
                              HS2PRO - Ocelot, SecuIR, Secu16, Attendence Management Alarm Interface, X-10, LCD Studio VFD Display, 3 Apexis IP Cams, Custom Software Interfaces, GMQ Geiger Graphing
                              HS3PRO - Testing

                              Comment

                              Working...
                              X