Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

SOLVED: XML Parsing from URL

by jshank (Initiate)
on Jun 26, 2015 at 15:02 UTC ( [id://1132165]=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    # This is the URL that streams alerts such as motion detection. Docume
    +ntation at goo.gl/S38ZQq
    my($url) = "http://".$user.":".$password."@".$ip.":".$port."/ISAPI/Eve
    +nt/notification/alertStream";
    ...
    
    Couldn't open http://user:password@10.1.10.23:80/ISAPI/Event/notificat
    +ion/alertStream:
    No such file or directory at /usr/local/share/perl/5.18.2/XML/Parser/P
    +erlSAX.pm line 146.
    
  2. or download this
    #!/usr/bin/perl 
    
    ...
        print "Event: " . $eventType . "\n";
        $twig->purge;                             # delete the twig so far
    +. Not sure if this is needed.
    }
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://1132165]
Approved by kevbot
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others wandering the Monastery: (5)
As of 2024-04-19 23:16 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found