Updating terror alert status
-
Is it possible to get an XML feed etc. from the Whitehouse page showing the terror alert status. I work for a university and we were thinking of putting it on our page ONLY if it can be automatically updated. Regards, Tiruvan
Does anyone still pay attention to that?
-
Does anyone still pay attention to that?
Jim A. Johnson wrote: Does anyone still pay attention to that? I know many media outlets like to cry bloody murder when it goes up but thats the only thing I've seen it used for. (and not many people pay attention then) Matt Newman
All rise for the honorable Judge Stone Cold Steve Austin - From Dilbert Episode 30
-
Is it possible to get an XML feed etc. from the Whitehouse page showing the terror alert status. I work for a university and we were thinking of putting it on our page ONLY if it can be automatically updated. Regards, Tiruvan
Found this doing a quick search on google: http://dotnetjunkies.com/WebLog/bsblog/archive/2004/01/30/6368.aspx[^]. It's just a simple XML document (one element; root element with one attribute) that you could easily parse and use however you want. The link above discusses one alternative.
Microsoft MVP, Visual C# My Articles
-
Is it possible to get an XML feed etc. from the Whitehouse page showing the terror alert status. I work for a university and we were thinking of putting it on our page ONLY if it can be automatically updated. Regards, Tiruvan
Heck, I can't even find the Terror Alert Status page on the site with my eyes, never mind an XML feed. Wherever it is, why not do a web-scrape if they don't supply XML? regards, Paul Watson Bluegrass South Africa Christopher Duncan quoted: "...that would require my explaining Einstein's Fear of Relatives" Crikey! ain't life grand? Einstein says...
-
Found this doing a quick search on google: http://dotnetjunkies.com/WebLog/bsblog/archive/2004/01/30/6368.aspx[^]. It's just a simple XML document (one element; root element with one attribute) that you could easily parse and use however you want. The link above discusses one alternative.
Microsoft MVP, Visual C# My Articles
Go XML ;)
public enum DHSAdvisoryLevel
{
SEVERE,
HIGH,
ELEVATED,
GUARDED,
LOW,
UNKNOWN
}I would be more worried if the value was set to
UNKNOWN
thanSEVER
. regards, Paul Watson Bluegrass South Africa Christopher Duncan quoted: "...that would require my explaining Einstein's Fear of Relatives" Crikey! ain't life grand? Einstein says... -
Does anyone still pay attention to that?
I always found this alert similar to some alerts common on Brazil roads: "Warning, Reduce your speed: Danger Ahead". Ok, very useful: which danger should I look for? Holes on the road? An accident? Animals? Children crossing the road? UFO landing zone? The chupa-cabra? Due to technical difficulties my previous signature, "I see dumb people" will be off until further notice. Too many people were thinking I was talking about them... :sigh:
-
Go XML ;)
public enum DHSAdvisoryLevel
{
SEVERE,
HIGH,
ELEVATED,
GUARDED,
LOW,
UNKNOWN
}I would be more worried if the value was set to
UNKNOWN
thanSEVER
. regards, Paul Watson Bluegrass South Africa Christopher Duncan quoted: "...that would require my explaining Einstein's Fear of Relatives" Crikey! ain't life grand? Einstein says...Paul Watson wrote: I would be more worried if the value was set to UNKNOWN than SEVER. It's better be worried: the 'Unknown' danger is what we live daily, since it's impossible to predict the exact moment of your death, it's impossible to predict your danger level. So, for the sake of the precision, it should never be worried about 'Unknown'. Due to technical difficulties my previous signature, "I see dumb people" will be off until further notice. Too many people were thinking I was talking about them... :sigh:
-
Heck, I can't even find the Terror Alert Status page on the site with my eyes, never mind an XML feed. Wherever it is, why not do a web-scrape if they don't supply XML? regards, Paul Watson Bluegrass South Africa Christopher Duncan quoted: "...that would require my explaining Einstein's Fear of Relatives" Crikey! ain't life grand? Einstein says...
http://www.dhs.gov[^] You could do a web scrape of the image at the top of the page, but that link to the XML document I posted would definitely save you a lot of trouble.
Microsoft MVP, Visual C# My Articles
-
http://www.dhs.gov[^] You could do a web scrape of the image at the top of the page, but that link to the XML document I posted would definitely save you a lot of trouble.
Microsoft MVP, Visual C# My Articles
-
Jim A. Johnson wrote: Does anyone still pay attention to that? I know many media outlets like to cry bloody murder when it goes up but thats the only thing I've seen it used for. (and not many people pay attention then) Matt Newman
All rise for the honorable Judge Stone Cold Steve Austin - From Dilbert Episode 30
-
Go XML ;)
public enum DHSAdvisoryLevel
{
SEVERE,
HIGH,
ELEVATED,
GUARDED,
LOW,
UNKNOWN
}I would be more worried if the value was set to
UNKNOWN
thanSEVER
. regards, Paul Watson Bluegrass South Africa Christopher Duncan quoted: "...that would require my explaining Einstein's Fear of Relatives" Crikey! ain't life grand? Einstein says...Paul Watson said: SEVER SEVER? Is that when terrorists are threating to cut off our arms and legs?:omg: Jeff Martin Triple20 Software
-
Is it possible to get an XML feed etc. from the Whitehouse page showing the terror alert status. I work for a university and we were thinking of putting it on our page ONLY if it can be automatically updated. Regards, Tiruvan
It would be easier to hook up biometric monitors on a hundred random people and when their blood pressure shoots up, you will know to change it from elevated to high. In 5 years or so, you can make the default status low instead of elevated.
Glano perictu com sahni delorin!