My Twitter Bot

My twitter bot tweets out if the US flag is supposed to be at half staff for either a holiday, or by proclomation. From the website us.halfstaff.org it scrapes for country wide event date for the current or upcoming half-staff notification, and from flagnotify.com it scrapes for upcoming dates for flags at half-staff for particular states. It then tweets out the cominbed information including countrywide and state notifications.

The scraping for us.halfstaff.org looks at the most recent posting for notifications and grabs the date. For flagnotify.com the bot scrapes the upcoming notifications for the top post for the date and state. Any changes to these and it should update the google sheet and send out a tweet with the new information.

I had many iterations of the bot scraping from different websites, but finally found two with the information I wanted in an available form. At first I scraped two parts of the us.halfstaff.org website for the information date, reason for the half-staff, and by whom it was declared, but without any new updates, the parse code I had for the declaration may not have worked, so instead I switched the second parse to individual states and had to get rid of the reason to shorten the tweet to be able to be sent, but added a link to more information on why it was to be half-staff.

In [161]:
import urllib.request
import re 
import datetime
now = datetime.datetime.now()
In [162]:
url_1 = "http://www.us.halfstaff.org/"
url_2 = "http://flagnotify.com/scheduled.aspx"
In [163]:
import gspread
from oauth2client.service_account import ServiceAccountCredentials
scope = ['https://spreadsheets.google.com/feeds']

document_key = "17x26DRzJFIDYJxTnULtV0wUpuWLPrt5Y7W9hnZGZTUY"
credentials = ServiceAccountCredentials.from_json_keyfile_name('../../../../../TweetyBot-b2d02f67ab13.json', scope)

gc = gspread.authorize(credentials)
wks = gc.open_by_key(document_key)

worksheet = wks.worksheet("Sheet1")

worksheet.resize(worksheet.row_count)
In [164]:
import csv
csvfile = "output.csv"
list_of_lists = worksheet.get_all_values()
with open(csvfile, "w") as output:
    writer = csv.writer(output, lineterminator='\n')
    writer.writerows(list_of_lists)

import pandas as pd
output = pd.read_csv(csvfile)
output[:3]
Out[164]:
timestamp url_1 url_2 url_3 all together now
0 0 0 0 0 0
In [165]:
import twitter
from twitter import TwitterError

with open('../../../../../key.txt', 'r') as myfile:
    key=myfile.read()
    
with open('../../../../../secret.txt', 'r') as myfile:
    secret=myfile.read()
    
with open('../../../../../token_key.txt', 'r') as myfile:
    token_key=myfile.read()

with open('../../../../../token_secret.txt', 'r') as myfile:
    token_secret=myfile.read()

api = twitter.Api(consumer_key=key,
                  consumer_secret=secret,
                  access_token_key=token_key,
                  access_token_secret=token_secret)
In [166]:
p_1 = urllib.request.build_opener(urllib.request.HTTPCookieProcessor).open(url_1).read()
print(p_1)
b'\r\n<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">\r\n<html xmlns="http://www.w3.org/1999/xhtml" dir="ltr" lang="en-US">\r\n<head profile="http://gmpg.org/xfn/11">\r\n<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />\r\n<title>UNITED STATES OF AMERICA Half Staff Flag Status</title>\r\n<link rel="stylesheet" href="http://halfstaff.org/wp-content/themes/halfstaff/style.css" type="text/css" media="screen" />\r\n<link rel="alternate" type="application/rss+xml" title="HALF STAFF AMERICAN FLAG NOTIFICATIONS RSS Feed" href="http://halfstaff.org/feed/" />\r\n<link rel="alternate" type="application/atom+xml" title="HALF STAFF AMERICAN FLAG NOTIFICATIONS Atom Feed" href="http://halfstaff.org/feed/atom/" />\r\n<link rel="pingback" href="http://halfstaff.org/xmlrpc.php" />\r\n<style type="text/css" media="screen">\r\n#page {\r\n\tbackground: url("http://halfstaff.org/wp-content/themes/halfstaff/images/kubrickbgwide.jpg") repeat-y top;\r\n\tborder: none;\r\n}\r\n</style>\r\n<link rel="alternate" type="application/rss+xml" title="HALF STAFF AMERICAN FLAG NOTIFICATIONS &raquo; Veterans Day Fly Your American Flag! Comments Feed" href="http://halfstaff.org/2009/11/11/vetarns-day-fly-your-american-flag/feed/" />\r\n<script type=\'text/javascript\' src=\'http://halfstaff.org/wp-includes/js/jquery/jquery.js?ver=1.3.2\'></script>\r\n<script type=\'text/javascript\' src=\'http://halfstaff.org/wp-content/plugins/events-calendar/js/jquery.bgiframe.js?ver=2.1\'></script>\r\n<script type=\'text/javascript\' src=\'http://halfstaff.org/wp-content/plugins/events-calendar/js/jquery.dimensions.js?ver=1.0b2\'></script>\r\n<script type=\'text/javascript\' src=\'http://halfstaff.org/wp-content/plugins/events-calendar/js/jquery.tooltip.min.js?ver=1.3\'></script>\r\n<script type=\'text/javascript\' src=\'http://halfstaff.org/wp-includes/js/comment-reply.js?ver=20090102\'></script>\r\n<meta name="description" content="" />\r\n<meta name="keywords" content="american flag,flag,half mast,half staff,veterans day" />\r\n<!-- /all in one seo pack -->\r\n<!-- Start Of Script Generated By Events-Calendar [Luke Howell | www.lukehowell.com] and [R. MALKA | www.heirem.fr] -->\r\n<link type="text/css" rel="stylesheet" href="http://halfstaff.org/wp-includes/js/thickbox/thickbox.css" />\r\n<link type="text/css" rel="stylesheet" href="http://halfstaff.org/wp-content/plugins/events-calendar/css/events-calendar.css" />\r\n\r\n<!-- End Of Script Generated By Events-Calendar - Version: 6.5.2a -->\r\n<style>\r\n.entry{\r\n\twidth:800px;\r\n\tborder-bottom:#C5C5C5 1px solid;\r\n\tmargin-bottom:10px;\r\n\t\r\n}\r\n.heading{\r\n\twidth:800px;\r\n}\r\n.date{\r\n\twidth:120px;\r\n\tfloat:left;\r\n\tmargin:3px 10px;\r\n}\r\n\r\n.short{\r\n\twidth:400px;\r\n\tfloat:left;\r\n\tmargin:3px 0px;\r\n\tfont-weight:bold;\r\n}\r\n.long{\r\n\twidth:780px;\r\n\tmargin:3px 10px;\r\n\t\r\n}\r\n\r\n.stateName{\r\n\tfont-size:22px;\t\r\n\tfont-weight:bold;\r\n\t\r\n}\r\n.heavy{\r\n\tbackground:#000000;\r\n\theight:3px;\r\n\tmargin:10px 0px 20px 0px;\r\n}\r\n#subscribe{\r\n\t\t\r\n}\r\n#subscribe{\r\n\tbackground:url(/images/subscribe.jpg) left top no-repeat;\r\n\tdisplay: block;\r\n\tfloat: left;\r\n\tmargin-left: 5px;\r\n\twidth: 195px;\r\n\theight: 200px;\r\n\tposition:relative;\r\n}\r\n#subscribe p {\r\n\tmargin-top: 28px;\r\n\tmargin-left: 10px;\r\n\tfont-size: 10px;\r\n\tline-height:12px;\r\n}\r\n#subscribe h1 {\r\n\tcolor: #ba151d;\r\n\tfont-size: 17px;\t\r\n\tmargin-left: 15px;\r\n\tmargin-top: 95px;\r\n}\r\n#submit_btn{\r\n\tposition:absolute;\r\n\ttop:100px;\r\n\tleft:18px;\r\n\t\r\n}\r\n#subscribe form{margin:0px; padding:0px;}\r\n#widgetLink{\r\n\tfont-size:18px;\r\n\tfont-weight:bold;\r\n\tpadding-left:40px;\r\n}\r\n</style>\r\n</head>\r\n<body>\r\n<div id="fb-root"></div>\r\n<script>\r\n(function(d, s, id) \r\n{\r\n  var js, fjs = d.getElementsByTagName(s)[0];\r\n  if (d.getElementById(id)) return;\r\n  js = d.createElement(s); js.id = id;\r\n  js.src = "//connect.facebook.net/en_US/all.js#xfbml=1";\r\n  fjs.parentNode.insertBefore(js, fjs);\r\n}\r\n(document, \'script\', \'facebook-jssdk\'));\r\n</script>\r\n<div id="page">\r\n  <div id="header">\r\n    <div id="headerimg">\r\n      <div id="header-right-icon"> </div>\r\n      <div id="blog-info"> HALF STAFF AMERICAN FLAG NOTIFICATIONS</div>\r\n      <div id="top-links">\r\n\r\n\t\t\t<a href="http://www.halfstaff.org">Home</a>\t| \r\n\r\n\t\t\t<a href="http://www.aflag.com/store/halfstaff_notificiation.asp">Half Staff Notices</a> | \r\n\r\n\t\t\t<a href="http://www.halfstaff.org/calendar">Half Staff Calendar</a> | \r\n\r\n\t\t\t<a href="http://www.halfstaff.org/2009/">Archives</a> \r\n\t\t</div>\r\n    </div>\r\n  </div>\r\n  <div id="center">\r\n    <div id="purchase-heading"> </div>\r\n    <div id="left-content-area">\r\n<a class="left-link"  href="http://US.halfstaff.org">United States State Flag</a> <br/>\r\n<a class="left-link"  href="http://AL.halfstaff.org">Alabama State Flag</a><br/>\r\n<a class="left-link"  href="http://AK.halfstaff.org">Alaska State Flag</a><br/>\r\n<a class="left-link"  href="http://AZ.halfstaff.org">Arizona State Flag</a><br/>\r\n<a class="left-link"  href="http://AR.halfstaff.org">Arkansas State Flag</a><br/>\r\n<a class="left-link"  href="http://CA.halfstaff.org">California State Flag</a><br/>\r\n<a class="left-link"  href="http://CO.halfstaff.org">Colorado State Flag</a><br/>\r\n<a class="left-link"  href="http://CT.halfstaff.org">Connecticut State Flag</a><br/>\r\n<a class="left-link"  href="http://DE.halfstaff.org">Delaware State Flag</a><br/>\r\n<a class="left-link"  href="http://FL.halfstaff.org">Florida State Flag</a><br/>\r\n<a class="left-link"  href="http://GA.halfstaff.org">Georgia State Flag</a><br/>\r\n<a class="left-link"  href="http://HI.halfstaff.org">Hawaii State Flag</a><br/>\r\n<a class="left-link"  href="http://ID.halfstaff.org">Idaho State Flag</a><br/>\r\n<a class="left-link"  href="http://IL.halfstaff.org">Illinois State Flag</a><br/>\r\n<a class="left-link"  href="http://IN.halfstaff.org">Indiana State Flag</a><br/>\r\n<a class="left-link"  href="http://IA.halfstaff.org">Iowa State Flag</a><br/>\r\n<a class="left-link"  href="http://KS.halfstaff.org">Kansas State Flag</a><br/>\r\n<a class="left-link"  href="http://KY.halfstaff.org">Kentucky State Flag</a><br/>\r\n<a class="left-link"  href="http://LA.halfstaff.org">Louisiana State Flag</a><br/>\r\n<a class="left-link"  href="http://ME.halfstaff.org">Maine State Flag</a><br/>\r\n<a class="left-link"  href="http://MD.halfstaff.org">Maryland State Flag</a><br/>\r\n<a class="left-link"  href="http://MA.halfstaff.org">Massachusetts State Flag</a><br/>\r\n<a class="left-link"  href="http://MI.halfstaff.org">Michigan State Flag</a><br/>\r\n<a class="left-link"  href="http://MN.halfstaff.org">Minnesota State Flag</a><br/>\r\n<a class="left-link"  href="http://MS.halfstaff.org">Mississippi State Flag</a><br/>\r\n<a class="left-link"  href="http://MO.halfstaff.org">Missouri State Flag</a><br/>\r\n<a class="left-link"  href="http://MT.halfstaff.org">Montana State Flag</a><br/>\r\n<a class="left-link"  href="http://NE.halfstaff.org">Nebraska State Flag</a><br/>\r\n<a class="left-link"  href="http://NV.halfstaff.org">Nevada State Flag</a><br/>\r\n<a class="left-link"  href="http://NH.halfstaff.org">New Hampshire State Flag</a><br/>\r\n<a class="left-link"  href="http://NJ.halfstaff.org">New Jersey State Flag</a><br/>\r\n<a class="left-link"  href="http://NM.halfstaff.org">New Mexico State Flag</a><br/>\r\n<a class="left-link"  href="http://NY.halfstaff.org">New York State Flag</a><br/>\r\n<a class="left-link"  href="http://NC.halfstaff.org">North Carolina State Flag</a><br/>\r\n<a class="left-link"  href="http://ND.halfstaff.org">North Dakota State Flag</a><br/>\r\n<a class="left-link"  href="http://OH.halfstaff.org">Ohio State Flag</a><br/>\r\n<a class="left-link"  href="http://OK.halfstaff.org">Oklahoma State Flag</a><br/>\r\n<a class="left-link"  href="http://OR.halfstaff.org">Oregon State Flag</a><br/>\r\n<a class="left-link"  href="http://PA.halfstaff.org">Pennsylvania State Flag</a><br/>\r\n<a class="left-link"  href="http://RI.halfstaff.org">Rhode Island State Flag</a><br/>\r\n<a class="left-link"  href="http://SC.halfstaff.org">South Carolina State Flag</a><br/>\r\n<a class="left-link"  href="http://SD.halfstaff.org">South Dakota State Flag</a><br/>\r\n<a class="left-link"  href="http://TN.halfstaff.org">Tennessee State Flag</a><br/>\r\n<a class="left-link"  href="http://TX.halfstaff.org">Texas State Flag</a><br/>\r\n<a class="left-link"  href="http://UT.halfstaff.org">Utah State Flag</a><br/>\r\n<a class="left-link"  href="http://VT.halfstaff.org">Vermont State Flag</a><br/>\r\n<a class="left-link"  href="http://VA.halfstaff.org">Virginia State Flag</a><br/>\r\n<a class="left-link"  href="http://WA.halfstaff.org">Washington State Flag</a><br/>\r\n<a class="left-link"  href="http://WV.halfstaff.org">West Virginia State Flag</a><br/>\r\n<a class="left-link"  href="http://WI.halfstaff.org">Wisconsin State Flag</a><br/>\r\n<a class="left-link"  href="http://WY.halfstaff.org">Wyoming State Flag</a><br/>\r\n      <br/>\r\n    </div>\r\n    <div id="right-content-area">\r\n\t<table cellpadding="5" cellspacing="0" border="0" width="800">  \r\n        <tr>\r\n        \t<td valign="top" colspan="3" align="left"><div class="stateName">UNITED STATES OF AMERICA Half Staff Status</div></td>\r\n         </tr>\r\n         <tr>\r\n         \t<td valign="top" align="left" width="335">\r\n            <img src="/flags/UNITED STATES OF AMERICA.jpg" />\r\n            </td>\r\n            <td valign="top" align="left" width="325"><h2 style="margin-top:0px;">Stay Informed</h2>\r\n            <a href="http://www.facebook.com/pages/Halfstafforg/184135558351908" title="Like Us On Facebook" target="_blank"><img src="/images/facebook-box.jpg" alt="Visit Us On Facebook" width="50" /></a><a href="https://twitter.com/#!/halfstaffflag" title="Follow Us On Twitter"  target="_blank"><img src="/images/twitter-box.jpg" title="Follow Us On Twitter" width="50"/></a><br />\r\n              <p style="font-size:16px;">Follow us on Facebook &<br> Twitter for updates on<br /> half staff flag info.</p>\r\n              <p><div class="fb-like" data-href="http://www.facebook.com/pages/Halfstafforg/184135558351908" data-send="false" data-layout="button_count" data-width="450" data-show-faces="false"></div>&nbsp;&nbsp;<a href="https://twitter.com/share" class="twitter-share-button" data-url="http://halfstaff.org">Tweet</a>\r\n<script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0];if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src="//platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script></noscript>\r\n</td>\r\n            <td valign="top" align="right" width="275">\r\n            <h2 style="margin-top:0px; text-align:center">Email Notification</h2>\r\n                <div id="subscribe">\r\n                    <p>Sign up today to receive email<br />half-staff notifications!</p>\r\n                    <form action="http://www.aflag.com/store/halfstaff_notificiation.asp" method="post" name="subscribe">\r\n                        <input name="sEmail" type="text" style=" border:1px solid #FFF; width: 152px; height: 16px; margin-left:-5px; margin-top:19px;"/>\r\n                        <input type="hidden" name="sDescription" value="Please sign me up for half staff notifications" />\r\n                        <input name="submit" type="image" src="/images/subscribe_button.jpg" style="margin-left:0px; margin-top:5px;" id="submit_btn" />                \r\n                    </form>\r\n\r\n                </div> \r\n            </td>\r\n         </tr>\r\n         <tr>\r\n        \t\r\n            <td align="left" valign="top">\r\n            \t<h2 style="margin-top:75px;">Display Half Staff<bR />\r\n                Notifications on your site<br />\r\n                with our Half Staff Widgets:</h2>\r\n            </td>\r\n            <td align="center" valign="top">\r\n                \r\n            <h2>State Widget</h2>          \r\n           <div id="aFlag_Widget_posts"><div id="state_alert" ></div><div id="posts_alert" ></div><div id="aflag_lk" ><a href="http://www.aflag.com">US&nbsp;Flags</a></div><script type="text/javascript" src="http://www.aflag.com/widget-posts/flagJS.asp?st=US"></script></div> \r\n           \r\n            </td>\r\n            <td align="center" valign="top" ><h2>National Widget</h2>\r\n            \t<div id="aFlag_Widget"><div id="hf_alert"></div><div id="aflag_link" ><a href="http://www.aflag.com">American Flag</a></div><script type="text/javascript" src="http://www.aflag.com/widget/flagJS.asp"></script></div>\r\n                <p align="center" style="font-size:18px;font-weight:bold;">\r\n                Add the Widget<br />to your Site!<br /> <img src="/images/arrow_down.png" /><br /> Get the<br />Widget code <a href="http://www.halfstaff.org/widget">HERE</a></p>\r\n                </td>\r\n        </tr>\r\n      \r\n\t</table>\r\n    <h2 style="margin-bottom:0px;">Historical State Half-Staff Notices:</h2>\r\n    <div class="heavy"></div>\r\n\r\n\t\t\t<div class="entry">\r\n            \t<div class="heading">\r\n                    <div style="clear:both"></div>\r\n                \t<div class="date">START: <strong>10/2/2017</strong></div>\r\n                \t<div class="date">END: <strong>10/6/2017</strong></div>\r\n                \t<div class="short">US Flags at Half-Staff Honoring Victims of the Las Vegas Tragedy</div>\r\n                    <div style="clear:both"></div>\r\n                </div>                \r\n                <div class="long">\r\nPresidential Proclamation Honoring the Victims of the Tragedy in Las Vegas, Nevada\r\n\r\nHONORING THE VICTIMS OF THE TRAGEDY IN LAS VEGAS, NEVADA\r\n\r\n- - - - - - -\r\n\r\nBY THE PRESIDENT OF THE UNITED STATES OF AMERICA\r\n\r\nA PROCLAMATION\r\n\r\n\r\nOur Nation is heartbroken.  We mourn with all whose loved ones were murdered and injured in last night&#39;s horrible tragedy in Las Vegas, Nevada.  As we grieve, we pray that God may provide comfort and relief to all those suffering.\r\n\r\nAs a mark of respect for the victims of the senseless act of violence perpetrated on October 1, 2017, by the authority vested in me as President of the United States by the Constitution and the laws of the United States of America, I hereby order that the flag of the United States shall be flown at half-staff at the White House and upon all public buildings and grounds, at all military posts and naval stations, and on all naval vessels of the Federal Government in the District of Columbia and throughout the United States and its Territories and possessions until sunset, October 6, 2017.  I also direct that the flag shall be flown at half-staff for the same length of time at all United States embassies, legations, consular offices, and other facilities abroad, including all military facilities and naval vessels and stations.\r\n\r\nIN WITNESS WHEREOF, I have hereunto set my hand this second day of October, in the year of our Lord two thousand seventeen, and of the Independence of the United States of America the two hundred and forty-second.\r\n\r\nDONALD J. TRUMP</div>\r\n        \t</div>\r\n\t\t  \r\n\t\t\t<div class="entry">\r\n            \t<div class="heading">\r\n                    <div style="clear:both"></div>\r\n                \t<div class="date">START: <strong>9/11/2017</strong></div>\r\n                \t<div class="date">END: <strong>9/11/2017</strong></div>\r\n                \t<div class="short">US flags at Half-Staff for Patriot Day</div>\r\n                    <div style="clear:both"></div>\r\n                </div>                \r\n                <div class="long">\r\nPresident Donald J. Trump Proclaims September 11, 2017, as Patriot Day\r\n\r\nPATRIOT DAY, 2017\r\n  \r\n BY THE PRESIDENT OF THE UNITED STATES OF AMERICA\r\n  \r\n A PROCLAMATION\r\n\r\nOn Patriot Day, we honor the nearly 3,000 innocent lives taken from us on September 11, 2001, and all of those who so nobly aided their fellow citizens in America&#39;s time of need.  We rededicate ourselves to the ideals that define our country and unite us as one, as we commemorate all the heroes who lost their lives saving others.\r\n  \r\n September 11, 2001, will forever be one of the most tragic days in American history.  Through the unimaginable despair, however, ordinary Americans etched into our history remarkable illustrations of bravery, of sacrifice for one another, and of dedication to our shared values.  The shock from the indelible images of the smoke rising from the World Trade Center and Pentagon gave way to countless inspiring videos of co-workers helping one another to safety; of heroes running into collapsing buildings to save the innocent people trapped within; and to the unforgettable story of the patriots who charged the cockpit of Flight 93 to save untold numbers of lives.  These heroes moved us with their bravery.  They make us proud to be Americans. \r\n  \r\n Throughout history, everyday Americans and first responders have done the extraordinary through selfless acts of patriotism, compassion, and uncommon courage.  Not just in New York, Virginia, and Pennsylvania, but across our great Nation, Americans on September 11, 2001, bound themselves together for the common good, saying with one voice that we will be neither scared nor defeated.  The enemy attempted to tear at the fabric of our society by destroying our buildings and murdering our innocent, but our strength has not and will not waiver.  Americans today remain steadfast in our commitment to liberty, to human dignity, and to one another.  \r\n  \r\n It has been 16 years since the tragedy of September 11, 2001.  Children who lost their parents on that day are now parents of their own, while many teenagers currently in high school learn about September 11th only from their history books.  Yet all Americans are imbued with the same commitment to cause and love of their fellow citizens as everyone who lived through that dark day.  We will never forget.  The events of September 11, 2001, did not defeat us.  They did not rattle us.  They, instead, have rallied us, as leaders of the civilized world, to defeat an evil ideology that preys on innocents and knows nothing but violence and destruction.  \r\n  \r\n On this anniversary, I invite all Americans to thank our Nation&#39;s incredible service members and first responders, who are on the front lines of our fight against terrorism.  We will always remember the sacrifices made in defense of our people, our country, and our freedom.  The spirit of service and self sacrifice that Americans so nobly demonstrated on September 11, 2001, is evident in the incredible response to Hurricanes Harvey and Irma.  The same spirit of American patriotism we movingly witnessed on September 11th has filled our hearts as we again see the unflinching courage, compassion, and generosity of Americans for their neighbors and countrymen.  The service members and first responders who lost their lives on September 11, 2001, and in the years of service since would be proud of what we have all witnessed over these last three weeks and what will undoubtedly unfold in the coming months of recovery.  By protecting those in need, by taking part in acts of charity, service, and compassion, and by giving back to our communities and country, we honor those who gave their lives on and after September 11, 2001.\r\n  \r\n By a joint resolution approved December 18, 2001 (Public Law 107-89), the Congress has designated September 11 of each year as "Patriot Day." \r\n  \r\n NOW, THEREFORE, I, DONALD J. TRUMP, President of the United States of America, do hereby proclaim September 11, 2017, as Patriot Day.  I call upon all departments, agencies, and instrumentalities of the United States to display the flag of the United States at half-staff on Patriot Day in honor of the individuals who lost their lives on September 11, 2001.  I invite the Governors of the United States and its territories and interested organizations and individuals to join in this observance.  I call upon the people of the United States to participate in community service in honor of those our Nation lost, to observe this day with appropriate ceremonies and activities, including remembrance services, and to observe a moment of silence beginning at 8:46 a.m. Eastern Daylight Time to honor the innocent victims who perished as a result of the terrorist attacks of September 11, 2001.\r\n  \r\n IN WITNESS WHEREOF, I have hereunto set my hand this eighth day of September, in the year of our Lord two thousand seventeen, and of the Independence of the United States of America the two hundred and forty-second.\r\n\r\nDONALD J. TRUMP\r\n</div>\r\n        \t</div>\r\n\t\t  \r\n\t\t\t<div class="entry">\r\n            \t<div class="heading">\r\n                    <div style="clear:both"></div>\r\n                \t<div class="date">START: <strong>5/29/2017</strong></div>\r\n                \t<div class="date">END: <strong>5/29/2017</strong></div>\r\n                \t<div class="short">Fly the United States Flag at Half-Staff on Memorial Day \x96 Monday, May 29, 2017</div>\r\n                    <div style="clear:both"></div>\r\n                </div>                \r\n                <div class="long">\r\n\r\nThe White House\r\n\r\nOffice of the Press Secretary\r\n\r\n\r\nFor Immediate Release\r\n\r\nMay 24, 2017\r\n\r\n\r\nPresident Donald J. Trump Proclaims Memorial Day, May 29, 2017, as a Day of Prayer for Permanent Peace\r\n\r\n\r\n\r\n\r\n\r\nPRAYER FOR PEACE, MEMORIAL DAY, 2017\r\n\r\n\x96 \x96 \x96 \x96 \x96 \x96 \x96\r\n\r\n\r\nBY THE PRESIDENT OF THE UNITED STATES OF AMERICA\r\n\r\n\r\nA PROCLAMATION\r\n\r\n\r\nMemorial Day is our Nation\x92s solemn reminder that freedom is never free.  It is a moment of collective reflection on the noble sacrifices of those who gave the last measure of devotion in service of our ideals and in the defense of our Nation.  On this ceremonious day, we remember the fallen, we pray for a lasting peace among nations, and we honor these guardians of our inalienable rights.\r\n\r\n\r\nThis year, we commemorate the centennial anniversary of America\x92s entry into World War I.  More than 4.7 million Americans served during The Great War, representing more than 25 percent of the American male population between the ages of 18 and 31 at the time.  We remember the more than 100,000 Americans who sacrificed their lives during \x93The War to End All Wars,\x94 and who left behind countless family members and loved ones.  We pause again to pray for the souls of those heroes who, one century ago, never returned home after helping to restore peace in Europe.\r\n\r\n\r\nOn Memorial Day we honor the final resting places of the more than one million men and women who sacrificed their lives for our Nation, by decorating their graves with the stars and stripes, as generations have done since 1868.  We also proudly fly America\x92s beautiful flag at our homes, businesses, and in our community parades to honor their memory.  In doing so, we pledge our Nation\x92s allegiance to the great cause of freedom for which they fought and ultimately died.\r\n\r\n\r\nIn honor and recognition of all of our fallen service members, the Congress, by a joint resolution approved May 11, 1950, as amended (36 U.S.C. 116), has requested the President issue a proclamation calling on the people of the United States to observe each Memorial Day as a day of prayer for permanent peace and designating a period on that day when the people of the United States might unite in prayer.  The Congress, by Public Law 106-579, has also designated 3:00 p.m. local time on that day as a time for all Americans to observe, in their own way, the National Moment of Remembrance.\r\n\r\n\r\nNOW, THEREFORE, I, DONALD J. TRUMP, President of the United States of America, do hereby proclaim Memorial Day, May 29, 2017, as a day of prayer for permanent peace, and I designate the hour beginning in each locality at 11:00 a.m. of that day as a time when people might unite in prayer.  I urge the press, radio, television, and all other information media to cooperate in this observance.\r\n\r\n\r\nI further ask all Americans to observe the National Moment of Remembrance beginning at 3:00 p.m. local time on Memorial Day.\r\n\r\n\r\nI also request the Governors of the United States and its Territories, and the appropriate officials of all units of government, to direct that the flag be flown at half-staff until noon on this Memorial Day on all buildings, grounds, and naval vessels throughout the United States and in all areas under its jurisdiction and control.  I also request the people of the United States to display the flag at half-staff from their homes for the customary forenoon period.\r\n\r\n\r\nIN WITNESS WHEREOF, I have hereunto set my hand this twenty-fourth day of May, in the year of our Lord two thousand seventeen, and of the Independence of the United States of America the two hundred and forty-first.\r\n\r\nDONALD J. TRUMP</div>\r\n        \t</div>\r\n\t\t  \r\n\t\t\t<div class="entry">\r\n            \t<div class="heading">\r\n                    <div style="clear:both"></div>\r\n                \t<div class="date">START: <strong>5/15/2017</strong></div>\r\n                \t<div class="date">END: <strong>5/15/2017</strong></div>\r\n                \t<div class="short">Half Staff 5/15/2017 for Peace Officers Memorial Day</div>\r\n                    <div style="clear:both"></div>\r\n                </div>                \r\n                <div class="long">Peace Officers Memorial Day\r\nPresident John F. Kennedy declared the first Peace Officers Memorial Day on May 15, 1962, as a tribute to peace officers and in honor of peace officers who, through their courageous deeds, lost their lives or became disabled in the line of duty. This day has been observed in our country annually ever since.\r\nOn this day, and every day, it is fitting to honor those peace officers who gave their lives to protect ours, and to thank the law enforcement officers who serve for their dedication and service to our communities.\r\nIn accordance with Flag Code section 7(m), the United States flag is to be displayed at half-staff for the entire day in honor of Peace Officers Memorial Day, Monday, May 15, 2017. By a joint resolution approved October 1, 1962, as amended (76 Stat. 676), and by Public Law 103-322, as amended (36 U.S.C. 136-137), the President has been authorized and requested to designate May 15 of each year as "Peace Officers Memorial Day" and the week in which it falls as "Police Week."\r\n</div>\r\n        \t</div>\r\n\t\t  \r\n\t\t\t<div class="entry">\r\n            \t<div class="heading">\r\n                    <div style="clear:both"></div>\r\n                \t<div class="date">START: <strong>4/6/2017</strong></div>\r\n                \t<div class="date">END: <strong>4/6/2017</strong></div>\r\n                \t<div class="short">United States Flags at Half-Staff on Thursday, April 6, 2017 for the Final Burial of John Glenn</div>\r\n                    <div style="clear:both"></div>\r\n                </div>                \r\n                <div class="long">HONORING THE MEMORY OF JOHN GLENN\r\n\r\n\x96 \x96 \x96 \x96 \x96 \x96 \x96\r\n\r\nBY THE PRESIDENT OF THE UNITED STATES OF AMERICA\r\n\r\nA PROCLAMATION\r\n\r\nAs a mark of respect for the memory of John Glenn, I hereby order, by the authority vested in me by the Constitution and the laws of the United States of America, that on the day of his interment, the flag of the United States shall be flown at half staff at the White House and upon all public buildings and grounds, at all military posts and naval stations, and on all naval vessels of the Federal Government in the District of Columbia and throughout the United States and its Territories and possessions until sunset on such day.  I also direct that the flag shall be flown at half-staff for the same period at all United States embassies, legations, consular offices, and other facilities abroad, including all military facilities and naval vessels and stations.\r\n\r\nIN WITNESS WHEREOF, I have hereunto set my hand this fifth day of April, in the year of our Lord two thousand seventeen, and of the Independence of the United States of America the two hundred and forty-first.\r\n\r\nDONALD J. TRUMP\r\n</div>\r\n        \t</div>\r\n\t\t  \r\n\t\t\t<div class="entry">\r\n            \t<div class="heading">\r\n                    <div style="clear:both"></div>\r\n                \t<div class="date">START: <strong>12/9/2016</strong></div>\r\n                \t<div class="date">END: <strong>12/17/2016</strong></div>\r\n                \t<div class="short">US Flags at Half-Staff for John Glenn</div>\r\n                    <div style="clear:both"></div>\r\n                </div>                \r\n                <div class="long">Presidential Proclamation -- Death of John Glenn\r\n\r\n\r\n\r\n\r\n\r\nDEATH OF JOHN GLENN\r\n\r\n- - - - - - -\r\n\r\nBY THE PRESIDENT OF THE UNITED STATES OF AMERICA\r\n\r\nA PROCLAMATION\r\n\r\nAs a mark of respect for the memory of John Glenn, I hereby order, by the authority vested in me by the Constitution and the laws of the United States of America, that the flag of the United States shall be flown at half-staff at the White House and upon all public buildings and grounds, at all military posts and naval stations, and on all naval vessels of the Federal Government in the District of Columbia and throughout the United States and its Territories and possessions until sunset, on the day of interment. I also direct that the flag shall be flown at half-staff for the same period at all United States embassies, legations, consular offices, and other facilities abroad, including all military facilities and naval vessels and stations.\r\n\r\nIN WITNESS WHEREOF, I have hereunto set my hand this\r\n ninth day of December, in the year of our Lord two thousand sixteen, and of the Independence of the United States of America the two hundred and forty-first.\r\n\r\nBARACK OBAMA\r\n</div>\r\n        \t</div>\r\n\t\t  \r\n\t\t\t<div class="entry">\r\n            \t<div class="heading">\r\n                    <div style="clear:both"></div>\r\n                \t<div class="date">START: <strong>12/7/2016</strong></div>\r\n                \t<div class="date">END: <strong>12/7/2016</strong></div>\r\n                \t<div class="short">The United States Flags are at Flags at Half-Staff on Wednesday December 7, 2016 in Honor of National Pearl Harbor Remembrance Day, 2016.</div>\r\n                    <div style="clear:both"></div>\r\n                </div>                \r\n                <div class="long">National Pearl Harbor Remembrance Day, 2016\r\n------------\r\n\r\nBY THE PRESIDENT OF THE UNITED STATES OF AMERICA\r\nA PROCLAMATION\r\n\r\nSeventy-five years ago, Japanese fighter planes attacked the United States Naval Base at Pearl Harbor, destroying much of our Pacific Fleet and killing more than 2,400 Americans. The following day, President Franklin D. Roosevelt called on the Congress to declare war and "make it very certain that this form of treachery shall never again endanger us." In that spirit, Americans came together to pay tribute to the victims, support the survivors, and shed the comforts of civilian life to serve in our military and fight for our Union. Each year on National Pearl Harbor Remembrance Day, we honor those whose lives were forever changed that December morning and resolve to uphold the legacy of all who stepped forward in our time of need.\r\n\r\nFrom the docks of Pearl Harbor to the beaches of Normandy and far around the world, brave patriots served their country and defended the values that have sustained our Nation since its founding. They went to war for liberty and sacrificed more than most of us will ever know; they chased victory and defeated fascism, turning adversaries into allies and writing a new chapter in our history. Through their service and unparalleled devotion, they inspired a generation with their refusal to give in despite overwhelming odds. And as we reflect on the profound debt of gratitude we owe them for the freedoms we cherish, we are reminded of the everlasting responsibilities we have to one another and to our country.\r\n\r\n\r\nIn memory of all who lost their lives on December 7, 1941 -- and those who responded by leaving their homes for the battlefields -- we must ensure the sacrifices they made in the name of liberty and democracy were not made in vain. On this solemn anniversary, there can be no higher tribute to these American patriots than forging a united commitment to honor our troops and veterans, give them the support and care they deserve, and carry on their work of keeping our country strong and free.\r\n\r\nThe Congress, by Public Law 103-308, as amended, has designated December 7 of each year as "National Pearl Harbor Remembrance Day."\r\n\r\nNOW, THEREFORE, I, BARACK OBAMA, President of the United States of America, do hereby proclaim December 7, 2016, as National Pearl Harbor Remembrance Day. I encourage all Americans to observe this solemn day of remembrance and to honor our military, past and present, with appropriate ceremonies and activities. I urge all Federal agencies and interested organizations, groups, and individuals to fly the flag of the United States at half-staff this December 7 in honor of those American patriots who died as a result of their service at Pearl Harbor.\r\n\r\nIN WITNESS WHEREOF, I have hereunto set my hand this sixth day of December, in the year of our Lord two thousand sixteen, and of the Independence of the United States of America the two hundred and forty-first.\r\n\r\nBARACK OBAMA\r\n</div>\r\n        \t</div>\r\n\t\t  \r\n\t\t\t<div class="entry">\r\n            \t<div class="heading">\r\n                    <div style="clear:both"></div>\r\n                \t<div class="date">START: <strong>10/9/2016</strong></div>\r\n                \t<div class="date">END: <strong>10/9/2016</strong></div>\r\n                \t<div class="short">US Flags at Half Staff in Honor of National Fallen Firefighters Memorial Service</div>\r\n                    <div style="clear:both"></div>\r\n                </div>                \r\n                <div class="long">Presidential Proclamation -- Fire Prevention Week, 2016\r\n\r\n\r\nFIRE PREVENTION WEEK, 2016\r\n\r\n- - - - - - -\r\n\r\nBY THE PRESIDENT OF THE UNITED STATES OF AMERICA\r\n\r\nA PROCLAMATION\r\n\r\nMore than 1 million fires occur each year in the United States. Throughout the past decade, the number of fires -- and of resulting deaths and injuries -- has gone down. But residential fires still damage homes across our country, causing a higher percentage of fire deaths, injuries, and economic loss than any other fires, and wildfires continue to devastate our forests and threaten nearby homes and businesses. During Fire Prevention Week, we strive to increase our preparedness for fires and commit to giving dedicated firefighters the support they need to keep us safe.\r\n\r\nEvery moment counts during a fire, and smoke alarms help save lives. However, many people do not know that their smoke alarms should be replaced every 10 years -- after 10 years, they tend to become unreliable. I encourage everyone to check the manufacturing dates of their smoke alarms to see if they need replacing. Families and businesses should also develop and practice evacuation plans in case of emergencies and should prepare communication strategies in case of a fire. All Americans can learn more about steps they can take to prepare for fires by visiting www.Ready.gov.\r\n\r\nIn recent years, we have experienced some of the most severe wildfire seasons in American history, including roughly 50,000 wildfires and over 9 million acres burned last year alone. Climate change exacerbates wildfire risks through drier landscapes and higher temperatures -- we must recognize the effects our changing climate has on fire risks and help fire professionals and community leaders take action to enhance community resilience against these risks. Last year, my Administration brought together fire chiefs from around our country to identify key lessons learned from fires at the wildland-urban interface and actions that can be taken to reduce the harm to people and property associated with wildfires in these areas, where fighting fires is especially complicated, expensive, and dangerous. We need to be smarter about where we build, and we must work to better understand how fires behave so our firefighters can work more safely and effectively -- we owe these heroic professionals nothing less.\r\n\r\nThis week presents opportunities for businesses, families, and communities to learn about ways to protect themselves in case of fire and helps raise awareness of steps we can all take to prevent fires. During Fire Prevention Week, we also pause to honor our first responders and firefighters, including those who have sacrificed their own lives to save the lives of people they had never met. Let us salute them and pay tribute to all firefighters whose bravery, sense of duty, and love of country make our Nation a stronger, safer place.\r\n\r\nNOW, THEREFORE, I, BARACK OBAMA, President of the United States of America, by virtue of the authority vested in me by the Constitution and the laws of the United States, do hereby proclaim October 9 through October 15, 2016, as Fire Prevention Week. On Sunday, October 9, 2016, in accordance with Public Law 107-51, the flag of the United States will be flown at half-staff at all Federal office buildings in honor of the National Fallen Firefighters Memorial Service. I call on all Americans to participate in this observance with appropriate programs and activities and by renewing their efforts to prevent fires and their tragic consequences.\r\n\r\nIN WITNESS WHEREOF, I have hereunto set my hand this seventh day of October, in the year of our Lord two thousand sixteen, and of the Independence of the United States of America the two hundred and forty-first.\r\n\r\n \r\n\r\nBARACK OBAMA\r\n</div>\r\n        \t</div>\r\n\t\t  \r\n\t\t\t<div class="entry">\r\n            \t<div class="heading">\r\n                    <div style="clear:both"></div>\r\n                \t<div class="date">START: <strong>9/28/2016</strong></div>\r\n                \t<div class="date">END: <strong>9/30/2016</strong></div>\r\n                \t<div class="short">US Flags at Half-Staff for the Death of Shimon Peres</div>\r\n                    <div style="clear:both"></div>\r\n                </div>                \r\n                <div class="long">Presidential Proclamation -- Death of Shimon Peres\r\nDEATH OF SHIMON PERES \r\n- - - - - - - \r\nBY THE PRESIDENT OF THE UNITED STATES OF AMERICA \r\nA PROCLAMATION \r\n\r\nAs a mark of respect for the memory of Shimon Peres, former President and Prime Minister of Israel, I hereby order, by the authority vested in me by the Constitution and laws of the United States of America, that the flag of the United States shall be flown at half-staff at the White House and on all public buildings and grounds, at all military posts and naval stations, and on all naval vessels of the Federal Government in the District of Columbia and throughout the United States and its Territories and possessions until sunset, on September 30, 2016. I also direct that the flag shall be flown at half-staff for the same period at all United States embassies, legations, consular offices, and other facilities abroad, including all military facilities and naval vessels and stations. \r\n\r\nIN WITNESS WHEREOF, I have hereunto set my hand this twenty-eighth day of September, in the year of our Lord two thousand sixteen, and of the Independence of the United States of America the two hundred and forty-first. \r\n\r\nBARACK OBAMA \r\n</div>\r\n        \t</div>\r\n\t\t  \r\n\t\t\t<div class="entry">\r\n            \t<div class="heading">\r\n                    <div style="clear:both"></div>\r\n                \t<div class="date">START: <strong>7/18/2016</strong></div>\r\n                \t<div class="date">END: <strong>7/22/2016</strong></div>\r\n                \t<div class="short">US Flags at Half Staff Honoring the Victims of the Attack in Baton Rouge, Louisiana</div>\r\n                    <div style="clear:both"></div>\r\n                </div>                \r\n                <div class="long">ONORING THE VICTIMS OF THE ATTACK IN BATON ROUGE, LOUISIANA\r\n\r\n- - - - - - -\r\n\r\nBY THE PRESIDENT OF THE UNITED STATES OF AMERICA\r\n\r\nA PROCLAMATION\r\n\r\nAs a mark of respect for the victims of the attack on police officers perpetrated on Sunday, July 17, 2016, in Baton Rouge, Louisiana, by the authority vested in me as President of the United States by the Constitution and the laws of the United States of America, I hereby order that the flag of the United States shall be flown at half-staff at the White House and upon all public buildings and grounds, at all military posts and naval stations, and on all naval vessels of the Federal Government in the District of Columbia and throughout the United States and its Territories and possessions until sunset, July 22, 2016. I also direct that the flag shall be flown at half-staff for the same length of time at all United States embassies, legations, consular offices, and other facilities abroad, including all military facilities and naval vessels and stations.\r\n\r\nIN WITNESS WHEREOF, I have hereunto set my hand this eighteenth day of July, in the year of our Lord two thousand sixteen, and of the Independence of the United States of America the two hundred and forty-first.\r\n\r\n \r\n\r\nBARACK OBAMA</div>\r\n        \t</div>\r\n\t\t  \r\n\t\t\t<div class="entry">\r\n            \t<div class="heading">\r\n                    <div style="clear:both"></div>\r\n                \t<div class="date">START: <strong>7/15/2016</strong></div>\r\n                \t<div class="date">END: <strong>7/19/2016</strong></div>\r\n                \t<div class="short">US Flags at Half Staff Honoring the Victims of the Attack in Nice, France</div>\r\n                    <div style="clear:both"></div>\r\n                </div>                \r\n                <div class="long"><p><!--[if gte mso 9]><xml>\r\n<w:WordDocument>\r\n<w:View>Normal</w:View>\r\n<w:Zoom>0</w:Zoom>\r\n<w:TrackMoves />\r\n<w:TrackFormatting />\r\n<w:PunctuationKerning />\r\n<w:ValidateAgainstSchemas />\r\n<w:SaveIfXMLInvalid>false</w:SaveIfXMLInvalid>\r\n<w:IgnoreMixedContent>false</w:IgnoreMixedContent>\r\n<w:AlwaysShowPlaceholderText>false</w:AlwaysShowPlaceholderText>\r\n<w:DoNotPromoteQF />\r\n<w:LidThemeOther>EN-US</w:LidThemeOther>\r\n<w:LidThemeAsian>X-NONE</w:LidThemeAsian>\r\n<w:LidThemeComplexScript>X-NONE</w:LidThemeComplexScript>\r\n<w:Compatibility>\r\n<w:BreakWrappedTables />\r\n<w:SnapToGridInCell />\r\n<w:WrapTextWithPunct />\r\n<w:UseAsianBreakRules />\r\n<w:DontGrowAutofit />\r\n<w:SplitPgBreakAndParaMark />\r\n<w:EnableOpenTypeKerning />\r\n<w:DontFlipMirrorIndents />\r\n<w:OverrideTableStyleHps />\r\n</w:Compatibility>\r\n<w:BrowserLevel>MicrosoftInternetExplorer4</w:BrowserLevel>\r\n<m:mathPr>\r\n<m:mathFont m:val="Cambria Math" />\r\n<m:brkBin m:val="before" />\r\n<m:brkBinSub m:val="&#45;-" />\r\n<m:smallFrac m:val="off" />\r\n<m:dispDef />\r\n<m:lMargin m:val="0" />\r\n<m:rMargin m:val="0" />\r\n<m:defJc m:val="centerGroup" />\r\n<m:wrapIndent m:val="1440" />\r\n<m:intLim m:val="subSup" />\r\n<m:naryLim m:val="undOvr" />\r\n</m:mathPr></w:WordDocument>\r\n</xml><![endif]--></p>\r\n<p><!--[if gte mso 9]><xml>\r\n<w:LatentStyles DefLockedState="false" DefUnhideWhenUsed="true"\r\nDefSemiHidden="true" DefQFormat="false" DefPriority="99"\r\nLatentStyleCount="267">\r\n<w:LsdException Locked="false" Priority="0" SemiHidden="false"\r\nUnhideWhenUsed="false" QFormat="true" Name="Normal" />\r\n<w:LsdException Locked="false" Priority="9" SemiHidden="false"\r\nUnhideWhenUsed="false" QFormat="true" Name="heading 1" />\r\n<w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 2" />\r\n<w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 3" />\r\n<w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 4" />\r\n<w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 5" />\r\n<w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 6" />\r\n<w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 7" />\r\n<w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 8" />\r\n<w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 9" />\r\n<w:LsdException Locked="false" Priority="39" Name="toc 1" />\r\n<w:LsdException Locked="false" Priority="39" Name="toc 2" />\r\n<w:LsdException Locked="false" Priority="39" Name="toc 3" />\r\n<w:LsdException Locked="false" Priority="39" Name="toc 4" />\r\n<w:LsdException Locked="false" Priority="39" Name="toc 5" />\r\n<w:LsdException Locked="false" Priority="39" Name="toc 6" />\r\n<w:LsdException Locked="false" Priority="39" Name="toc 7" />\r\n<w:LsdException Locked="false" Priority="39" Name="toc 8" />\r\n<w:LsdException Locked="false" Priority="39" Name="toc 9" />\r\n<w:LsdException Locked="false" Priority="35" QFormat="true" Name="caption" />\r\n<w:LsdException Locked="false" Priority="10" SemiHidden="false"\r\nUnhideWhenUsed="false" QFormat="true" Name="Title" />\r\n<w:LsdException Locked="false" Priority="1" Name="Default Paragraph Font" />\r\n<w:LsdException Locked="false" Priority="11" SemiHidden="false"\r\nUnhideWhenUsed="false" QFormat="true" Name="Subtitle" />\r\n<w:LsdException Locked="false" Priority="22" SemiHidden="false"\r\nUnhideWhenUsed="false" QFormat="true" Name="Strong" />\r\n<w:LsdException Locked="false" Priority="20" SemiHidden="false"\r\nUnhideWhenUsed="false" QFormat="true" Name="Emphasis" />\r\n<w:LsdException Locked="false" Priority="59" SemiHidden="false"\r\nUnhideWhenUsed="false" Name="Table Grid" />\r\n<w:LsdException Locked="false" UnhideWhenUsed="false" Name="Placeholder Text" />\r\n<w:LsdException Locked="false" Priority="1" SemiHidden="false"\r\nUnhideWhenUsed="false" QFormat="true" Name="No Spacing" />\r\n<w:LsdException Locked="false" Priority="60" SemiHidden="false"\r\nUnhideWhenUsed="false" Name="Light Shading" />\r\n<w:LsdException Locked="false" Priority="61" SemiHidden="false"\r\nUnhideWhenUsed="false" Name="Light List" />\r\n<w:LsdException Locked="false" Priority="62" SemiHidden="false"\r\nUnhideWhenUsed="false" Name="Light Grid" />\r\n<w:LsdException Locked="false" Priority="63" SemiHidden="false"\r\nUnhideWhenUsed="false" Name="Medium Shading 1" />\r\n<w:LsdException Locked="false" Priority="64" SemiHidden="false"\r\nUnhideWhenUsed="false" Name="Medium Shading 2" />\r\n<w:LsdException Locked="false" Priority="65" SemiHidden="false"\r\nUnhideWhenUsed="false" Name="Medium List 1" />\r\n<w:LsdException Locked="false" Priority="66" SemiHidden="false"\r\nUnhideWhenUsed="false" Name="Medium List 2" />\r\n<w:LsdException Locked="false" Priority="67" SemiHidden="false"\r\nUnhideWhenUsed="false" Name="Medium Grid 1" />\r\n<w:LsdException Locked="false" Priority="68" SemiHidden="false"\r\nUnhideWhenUsed="false" Name="Medium Grid 2" />\r\n<w:LsdException Locked="false" Priority="69" SemiHidden="false"\r\nUnhideWhenUsed="false" Name="Medium Grid 3" />\r\n<w:LsdException Locked="false" Priority="70" SemiHidden="false"\r\nUnhideWhenUsed="false" Name="Dark List" />\r\n<w:LsdException Locked="false" Priority="71" SemiHidden="false"\r\nUnhideWhenUsed="false" Name="Colorful Shading" />\r\n<w:LsdException Locked="false" Priority="72" SemiHidden="false"\r\nUnhideWhenUsed="false" Name="Colorful List" />\r\n<w:LsdException Locked="false" Priority="73" SemiHidden="false"\r\nUnhideWhenUsed="false" Name="Colorful Grid" />\r\n<w:LsdException Locked="false" Priority="60" SemiHidden="false"\r\nUnhideWhenUsed="false" Name="Light Shading Accent 1" />\r\n<w:LsdException Locked="false" Priority="61" SemiHidden="false"\r\nUnhideWhenUsed="false" Name="Light List Accent 1" />\r\n<w:LsdException Locked="false" Priority="62" SemiHidden="false"\r\nUnhideWhenUsed="false" Name="Light Grid Accent 1" />\r\n<w:LsdException Locked="false" Priority="63" SemiHidden="false"\r\nUnhideWhenUsed="false" Name="Medium Shading 1 Accent 1" />\r\n<w:LsdException Locked="false" Priority="64" SemiHidden="false"\r\nUnhideWhenUsed="false" Name="Medium Shading 2 Accent 1" />\r\n<w:LsdException Locked="false" Priority="65" SemiHidden="false"\r\nUnhideWhenUsed="false" Name="Medium List 1 Accent 1" />\r\n<w:LsdException Locked="false" UnhideWhenUsed="false" Name="Revision" />\r\n<w:LsdException Locked="false" Priority="34" SemiHidden="false"\r\nUnhideWhenUsed="false" QFormat="true" Name="List Paragraph" />\r\n<w:LsdException Locked="false" Priority="29" SemiHidden="false"\r\nUnhideWhenUsed="false" QFormat="true" Name="Quote" />\r\n<w:LsdException Locked="false" Priority="30" SemiHidden="false"\r\nUnhideWhenUsed="false" QFormat="true" Name="Intense Quote" />\r\n<w:LsdException Locked="false" Priority="66" SemiHidden="false"\r\nUnhideWhenUsed="false" Name="Medium List 2 Accent 1" />\r\n<w:LsdException Locked="false" Priority="67" SemiHidden="false"\r\nUnhideWhenUsed="false" Name="Medium Grid 1 Accent 1" />\r\n<w:LsdException Locked="false" Priority="68" SemiHidden="false"\r\nUnhideWhenUsed="false" Name="Medium Grid 2 Accent 1" />\r\n<w:LsdException Locked="false" Priority="69" SemiHidden="false"\r\nUnhideWhenUsed="false" Name="Medium Grid 3 Accent 1" />\r\n<w:LsdException Locked="false" Priority="70" SemiHidden="false"\r\nUnhideWhenUsed="false" Name="Dark List Accent 1" />\r\n<w:LsdException Locked="false" Priority="71" SemiHidden="false"\r\nUnhideWhenUsed="false" Name="Colorful Shading Accent 1" />\r\n<w:LsdException Locked="false" Priority="72" SemiHidden="false"\r\nUnhideWhenUsed="false" Name="Colorful List Accent 1" />\r\n<w:LsdException Locked="false" Priority="73" SemiHidden="false"\r\nUnhideWhenUsed="false" Name="Colorful Grid Accent 1" />\r\n<w:LsdException Locked="false" Priority="60" SemiHidden="false"\r\nUnhideWhenUsed="false" Name="Light Shading Accent 2" />\r\n<w:LsdException Locked="false" Priority="61" SemiHidden="false"\r\nUnhideWhenUsed="false" Name="Light List Accent 2" />\r\n<w:LsdException Locked="false" Priority="62" SemiHidden="false"\r\nUnhideWhenUsed="false" Name="Light Grid Accent 2" />\r\n<w:LsdException Locked="false" Priority="63" SemiHidden="false"\r\nUnhideWhenUsed="false" Name="Medium Shading 1 Accent 2" />\r\n<w:LsdException Locked="false" Priority="64" SemiHidden="false"\r\nUnhideWhenUsed="false" Name="Medium Shading 2 Accent 2" />\r\n<w:LsdException Locked="false" Priority="65" SemiHidden="false"\r\nUnhideWhenUsed="false" Name="Medium List 1 Accent 2" />\r\n<w:LsdException Locked="false" Priority="66" SemiHidden="false"\r\nUnhideWhenUsed="false" Name="Medium List 2 Accent 2" />\r\n<w:LsdException Locked="false" Priority="67" SemiHidden="false"\r\nUnhideWhenUsed="false" Name="Medium Grid 1 Accent 2" />\r\n<w:LsdException Locked="false" Priority="68" SemiHidden="false"\r\nUnhideWhenUsed="false" Name="Medium Grid 2 Accent 2" />\r\n<w:LsdException Locked="false" Priority="69" SemiHidden="false"\r\nUnhideWhenUsed="false" Name="Medium Grid 3 Accent 2" />\r\n<w:LsdException Locked="false" Priority="70" SemiHidden="false"\r\nUnhideWhenUsed="false" Name="Dark List Accent 2" />\r\n<w:LsdException Locked="false" Priority="71" SemiHidden="false"\r\nUnhideWhenUsed="false" Name="Colorful Shading Accent 2" />\r\n<w:LsdException Locked="false" Priority="72" SemiHidden="false"\r\nUnhideWhenUsed="false" Name="Colorful List Accent 2" />\r\n<w:LsdException Locked="false" Priority="73" SemiHidden="false"\r\nUnhideWhenUsed="false" Name="Colorful Grid Accent 2" />\r\n<w:LsdException Locked="false" Priority="60" SemiHidden="false"\r\nUnhideWhenUsed="false" Name="Light Shading Accent 3" />\r\n<w:LsdException Locked="false" Priority="61" SemiHidden="false"\r\nUnhideWhenUsed="false" Name="Light List Accent 3" />\r\n<w:LsdException Locked="false" Priority="62" SemiHidden="false"\r\nUnhideWhenUsed="false" Name="Light Grid Accent 3" />\r\n<w:LsdException Locked="false" Priority="63" SemiHidden="false"\r\nUnhideWhenUsed="false" Name="Medium Shading 1 Accent 3" />\r\n<w:LsdException Locked="false" Priority="64" SemiHidden="false"\r\nUnhideWhenUsed="false" Name="Medium Shading 2 Accent 3" />\r\n<w:LsdException Locked="false" Priority="65" SemiHidden="false"\r\nUnhideWhenUsed="false" Name="Medium List 1 Accent 3" />\r\n<w:LsdException Locked="false" Priority="66" SemiHidden="false"\r\nUnhideWhenUsed="false" Name="Medium List 2 Accent 3" />\r\n<w:LsdException Locked="false" Priority="67" SemiHidden="false"\r\nUnhideWhenUsed="false" Name="Medium Grid 1 Accent 3" />\r\n<w:LsdException Locked="false" Priority="68" SemiHidden="false"\r\nUnhideWhenUsed="false" Name="Medium Grid 2 Accent 3" />\r\n<w:LsdException Locked="false" Priority="69" SemiHidden="false"\r\nUnhideWhenUsed="false" Name="Medium Grid 3 Accent 3" />\r\n<w:LsdException Locked="false" Priority="70" SemiHidden="false"\r\nUnhideWhenUsed="false" Name="Dark List Accent 3" />\r\n<w:LsdException Locked="false" Priority="71" SemiHidden="false"\r\nUnhideWhenUsed="false" Name="Colorful Shading Accent 3" />\r\n<w:LsdException Locked="false" Priority="72" SemiHidden="false"\r\nUnhideWhenUsed="false" Name="Colorful List Accent 3" />\r\n<w:LsdException Locked="false" Priority="73" SemiHidden="false"\r\nUnhideWhenUsed="false" Name="Colorful Grid Accent 3" />\r\n<w:LsdException Locked="false" Priority="60" SemiHidden="false"\r\nUnhideWhenUsed="false" Name="Light Shading Accent 4" />\r\n<w:LsdException Locked="false" Priority="61" SemiHidden="false"\r\nUnhideWhenUsed="false" Name="Light List Accent 4" />\r\n<w:LsdException Locked="false" Priority="62" SemiHidden="false"\r\nUnhideWhenUsed="false" Name="Light Grid Accent 4" />\r\n<w:LsdException Locked="false" Priority="63" SemiHidden="false"\r\nUnhideWhenUsed="false" Name="Medium Shading 1 Accent 4" />\r\n<w:LsdException Locked="false" Priority="64" SemiHidden="false"\r\nUnhideWhenUsed="false" Name="Medium Shading 2 Accent 4" />\r\n<w:LsdException Locked="false" Priority="65" SemiHidden="false"\r\nUnhideWhenUsed="false" Name="Medium List 1 Accent 4" />\r\n<w:LsdException Locked="false" Priority="66" SemiHidden="false"\r\nUnhideWhenUsed="false" Name="Medium List 2 Accent 4" />\r\n<w:LsdException Locked="false" Priority="67" SemiHidden="false"\r\nUnhideWhenUsed="false" Name="Medium Grid 1 Accent 4" />\r\n<w:LsdException Locked="false" Priority="68" SemiHidden="false"\r\nUnhideWhenUsed="false" Name="Medium Grid 2 Accent 4" />\r\n<w:LsdException Locked="false" Priority="69" SemiHidden="false"\r\nUnhideWhenUsed="false" Name="Medium Grid 3 Accent 4" />\r\n<w:LsdException Locked="false" Priority="70" SemiHidden="false"\r\nUnhideWhenUsed="false" Name="Dark List Accent 4" />\r\n<w:LsdException Locked="false" Priority="71" SemiHidden="false"\r\nUnhideWhenUsed="false" Name="Colorful Shading Accent 4" />\r\n<w:LsdException Locked="false" Priority="72" SemiHidden="false"\r\nUnhideWhenUsed="false" Name="Colorful List Accent 4" />\r\n<w:LsdException Locked="false" Priority="73" SemiHidden="false"\r\nUnhideWhenUsed="false" Name="Colorful Grid Accent 4" />\r\n<w:LsdException Locked="false" Priority="60" SemiHidden="false"\r\nUnhideWhenUsed="false" Name="Light Shading Accent 5" />\r\n<w:LsdException Locked="false" Priority="61" SemiHidden="false"\r\nUnhideWhenUsed="false" Name="Light List Accent 5" />\r\n<w:LsdException Locked="false" Priority="62" SemiHidden="false"\r\nUnhideWhenUsed="false" Name="Light Grid Accent 5" />\r\n<w:LsdException Locked="false" Priority="63" SemiHidden="false"\r\nUnhideWhenUsed="false" Name="Medium Shading 1 Accent 5" />\r\n<w:LsdException Locked="false" Priority="64" SemiHidden="false"\r\nUnhideWhenUsed="false" Name="Medium Shading 2 Accent 5" />\r\n<w:LsdException Locked="false" Priority="65" SemiHidden="false"\r\nUnhideWhenUsed="false" Name="Medium List 1 Accent 5" />\r\n<w:LsdException Locked="false" Priority="66" SemiHidden="false"\r\nUnhideWhenUsed="false" Name="Medium List 2 Accent 5" />\r\n<w:LsdException Locked="false" Priority="67" SemiHidden="false"\r\nUnhideWhenUsed="false" Name="Medium Grid 1 Accent 5" />\r\n<w:LsdException Locked="false" Priority="68" SemiHidden="false"\r\nUnhideWhenUsed="false" Name="Medium Grid 2 Accent 5" />\r\n<w:LsdException Locked="false" Priority="69" SemiHidden="false"\r\nUnhideWhenUsed="false" Name="Medium Grid 3 Accent 5" />\r\n<w:LsdException Locked="false" Priority="70" SemiHidden="false"\r\nUnhideWhenUsed="false" Name="Dark List Accent 5" />\r\n<w:LsdException Locked="false" Priority="71" SemiHidden="false"\r\nUnhideWhenUsed="false" Name="Colorful Shading Accent 5" />\r\n<w:LsdException Locked="false" Priority="72" SemiHidden="false"\r\nUnhideWhenUsed="false" Name="Colorful List Accent 5" />\r\n<w:LsdException Locked="false" Priority="73" SemiHidden="false"\r\nUnhideWhenUsed="false" Name="Colorful Grid Accent 5" />\r\n<w:LsdException Locked="false" Priority="60" SemiHidden="false"\r\nUnhideWhenUsed="false" Name="Light Shading Accent 6" />\r\n<w:LsdException Locked="false" Priority="61" SemiHidden="false"\r\nUnhideWhenUsed="false" Name="Light List Accent 6" />\r\n<w:LsdException Locked="false" Priority="62" SemiHidden="false"\r\nUnhideWhenUsed="false" Name="Light Grid Accent 6" />\r\n<w:LsdException Locked="false" Priority="63" SemiHidden="false"\r\nUnhideWhenUsed="false" Name="Medium Shading 1 Accent 6" />\r\n<w:LsdException Locked="false" Priority="64" SemiHidden="false"\r\nUnhideWhenUsed="false" Name="Medium Shading 2 Accent 6" />\r\n<w:LsdException Locked="false" Priority="65" SemiHidden="false"\r\nUnhideWhenUsed="false" Name="Medium List 1 Accent 6" />\r\n<w:LsdException Locked="false" Priority="66" SemiHidden="false"\r\nUnhideWhenUsed="false" Name="Medium List 2 Accent 6" />\r\n<w:LsdException Locked="false" Priority="67" SemiHidden="false"\r\nUnhideWhenUsed="false" Name="Medium Grid 1 Accent 6" />\r\n<w:LsdException Locked="false" Priority="68" SemiHidden="false"\r\nUnhideWhenUsed="false" Name="Medium Grid 2 Accent 6" />\r\n<w:LsdException Locked="false" Priority="69" SemiHidden="false"\r\nUnhideWhenUsed="false" Name="Medium Grid 3 Accent 6" />\r\n<w:LsdException Locked="false" Priority="70" SemiHidden="false"\r\nUnhideWhenUsed="false" Name="Dark List Accent 6" />\r\n<w:LsdException Locked="false" Priority="71" SemiHidden="false"\r\nUnhideWhenUsed="false" Name="Colorful Shading Accent 6" />\r\n<w:LsdException Locked="false" Priority="72" SemiHidden="false"\r\nUnhideWhenUsed="false" Name="Colorful List Accent 6" />\r\n<w:LsdException Locked="false" Priority="73" SemiHidden="false"\r\nUnhideWhenUsed="false" Name="Colorful Grid Accent 6" />\r\n<w:LsdException Locked="false" Priority="19" SemiHidden="false"\r\nUnhideWhenUsed="false" QFormat="true" Name="Subtle Emphasis" />\r\n<w:LsdException Locked="false" Priority="21" SemiHidden="false"\r\nUnhideWhenUsed="false" QFormat="true" Name="Intense Emphasis" />\r\n<w:LsdException Locked="false" Priority="31" SemiHidden="false"\r\nUnhideWhenUsed="false" QFormat="true" Name="Subtle Reference" />\r\n<w:LsdException Locked="false" Priority="32" SemiHidden="false"\r\nUnhideWhenUsed="false" QFormat="true" Name="Intense Reference" />\r\n<w:LsdException Locked="false" Priority="33" SemiHidden="false"\r\nUnhideWhenUsed="false" QFormat="true" Name="Book Title" />\r\n<w:LsdException Locked="false" Priority="37" Name="Bibliography" />\r\n<w:LsdException Locked="false" Priority="39" QFormat="true" Name="TOC Heading" />\r\n</w:LatentStyles>\r\n</xml><![endif]--><!--[if gte mso 10]>\r\n<style>\r\n/* Style Definitions */\r\ntable.MsoNormalTable\r\n{mso-style-name:"Table Normal";\r\nmso-tstyle-rowband-size:0;\r\nmso-tstyle-colband-size:0;\r\nmso-style-noshow:yes;\r\nmso-style-priority:99;\r\nmso-style-parent:"";\r\nmso-padding-alt:0in 5.4pt 0in 5.4pt;\r\nmso-para-margin:0in;\r\nmso-para-margin-bottom:.0001pt;\r\nmso-pagination:widow-orphan;\r\nfont-size:10.0pt;\r\nfont-family:"Times New Roman","serif";}\r\n</style>\r\n<![endif]-->\r\n<p style="margin-bottom:12.0pt" class="MsoNormal"><span style="color:black">BY THE PRESIDENT OF THE UNITED STATES OF AMERICA</span></p>\r\n<p style="margin-bottom:12.0pt" class="MsoNormal"><span style="color:black">A PROCLAMATION</span></p>\r\n<p style="margin-bottom:12.0pt" class="MsoNormal"><span style="color:black">As a mark of respect for the victims of the attack perpetrated on July 14, 2016, in Nice, France, by the authority vested in me as President of the United States by the Constitution and the laws of the United States of America, I hereby order that the flag of the United States shall be flown at half-staff at the White House and upon all public buildings and grounds, at all military posts and naval stations, and on all naval vessels of the Federal Government in the District of Columbia and throughout the United States and its Territories and possessions <strong>until sunset, July 19, 2016.</strong> I also direct that the flag shall be flown at half-staff for the same length of time at all United States embassies, legations, consular offices, and other facilities abroad, including all military facilities and naval vessels and stations.</span></p>\r\n<p class="MsoNormal"><span style="color:black">IN WITNESS WHEREOF, I have hereunto set my hand thisfifteenth day of July, in the year of our Lord two thousand sixteen, and of the Independence of the United States of America the two hundred and forty-first.</span></p>\r\n<p class="MsoNormal"><span style="color:black">&nbsp;</span></p>\r\n<span style="font-size:12.0pt;font-family:&quot;Times New Roman&quot;,&quot;serif&quot;;mso-fareast-font-family:\r\nCalibri;mso-fareast-theme-font:minor-latin;color:black;mso-ansi-language:EN-US;\r\nmso-fareast-language:EN-US;mso-bidi-language:AR-SA">BARACK OBAMA</span></p></div>\r\n        \t</div>\r\n\t\t  \r\n\t\t\t<div class="entry">\r\n            \t<div class="heading">\r\n                    <div style="clear:both"></div>\r\n                \t<div class="date">START: <strong>7/8/2016</strong></div>\r\n                \t<div class="date">END: <strong>7/12/2016</strong></div>\r\n                \t<div class="short">US Flags at Half-Staff Honoring the Victims of the Attack in Dallas, Texas</div>\r\n                    <div style="clear:both"></div>\r\n                </div>                \r\n                <div class="long">For Immediate Release\r\n\r\nJuly 08, 2016\r\n\r\nPresidential Proclamation -- Honoring the Victims of the Attack in Dallas, Texas\r\n\r\nBY THE PRESIDENT OF THE UNITED STATES OF AMERICA \r\n A PROCLAMATION \r\n\r\nAs a mark of respect for the victims of the attack on police officers perpetrated on Thursday, July 7, 2016, in Dallas, Texas, by the authority vested in me as President of the United States by the Constitution and the laws of the United States of America, I hereby order that the flag of the United States shall be flown at half-staff at the White House and upon all public buildings and grounds, at all military posts and naval stations, and on all naval vessels of the Federal Government in the District of Columbia and throughout the United States and its Territories and possessions until sunset, July 12, 2016. I also direct that the flag shall be flown at half-staff for the same length of time at all United States embassies, legations, consular offices, and other facilities abroad, including all military facilities and naval vessels and stations. \r\n\r\nIN WITNESS WHEREOF, I have hereunto set my hand this eighth day of July, in the year of our Lord two thousand sixteen, and of the Independence of the United States of America the two hundred and forty-first. \r\n\r\nBARACK OBAMA \r\n\r\n# # #\r\n</div>\r\n        \t</div>\r\n\t\t  \r\n\t\t\t<div class="entry">\r\n            \t<div class="heading">\r\n                    <div style="clear:both"></div>\r\n                \t<div class="date">START: <strong>6/12/2016</strong></div>\r\n                \t<div class="date">END: <strong>6/16/2016</strong></div>\r\n                \t<div class="short">US Flags at Half-Staff Honoring Victims of Attack in Orlando</div>\r\n                    <div style="clear:both"></div>\r\n                </div>                \r\n                <div class="long"><div data-contents="true">\r\n<div data-block="true" data-editor="25qg3" data-offset-key="90kog-0-0">\r\n<div data-offset-key="90kog-0-0" class="_1mf _1mj"><span data-offset-key="90kog-0-0"><span data-text="true">Fly the United States Flag at Half-Staff Immediately Until Sunset on Thursday June 16, 2016 </span></span></div>\r\n</div>\r\n<div data-block="true" data-editor="25qg3" data-offset-key="cum0o-0-0">\r\n<div data-offset-key="cum0o-0-0" class="_1mf _1mj"><span data-offset-key="cum0o-0-0"><br data-text="true" />\r\n</span></div>\r\n</div>\r\n<div data-block="true" data-editor="25qg3" data-offset-key="7unqo-0-0">\r\n<div data-offset-key="7unqo-0-0" class="_1mf _1mj"><span data-offset-key="7unqo-0-0"><span data-text="true">For Immediate Release</span></span></div>\r\n</div>\r\n<div data-block="true" data-editor="25qg3" data-offset-key="612aj-0-0">\r\n<div data-offset-key="612aj-0-0" class="_1mf _1mj"><span data-offset-key="612aj-0-0"><span data-text="true">June 12, 2016</span></span></div>\r\n</div>\r\n<div data-block="true" data-editor="25qg3" data-offset-key="f3iae-0-0">\r\n<div data-offset-key="f3iae-0-0" class="_1mf _1mj"><span data-offset-key="f3iae-0-0"><span data-text="true">Presidential Proclamation -- Honoring the Victims of the Attack in Orlando, Florida</span></span></div>\r\n</div>\r\n<div data-block="true" data-editor="25qg3" data-offset-key="crruk-0-0">\r\n<div data-offset-key="crruk-0-0" class="_1mf _1mj"><span data-offset-key="crruk-0-0"><span data-text="true"> </span></span></div>\r\n</div>\r\n<div data-block="true" data-editor="25qg3" data-offset-key="9jn8i-0-0">\r\n<div data-offset-key="9jn8i-0-0" class="_1mf _1mj"><span data-offset-key="9jn8i-0-0"><span data-text="true">HONORING THE VICTIMS OF THE ATTACK IN ORLANDO, FLORIDA </span></span></div>\r\n</div>\r\n<div data-block="true" data-editor="25qg3" data-offset-key="ftiqi-0-0">\r\n<div data-offset-key="ftiqi-0-0" class="_1mf _1mj"><span data-offset-key="ftiqi-0-0"><span data-text="true">- - - - - - - </span></span></div>\r\n</div>\r\n<div data-block="true" data-editor="25qg3" data-offset-key="51jk8-0-0">\r\n<div data-offset-key="51jk8-0-0" class="_1mf _1mj"><span data-offset-key="51jk8-0-0"><span data-text="true">BY THE PRESIDENT OF THE UNITED STATES OF AMERICA </span></span></div>\r\n</div>\r\n<div data-block="true" data-editor="25qg3" data-offset-key="b417p-0-0">\r\n<div data-offset-key="b417p-0-0" class="_1mf _1mj"><span data-offset-key="b417p-0-0"><span data-text="true">A PROCLAMATION </span></span></div>\r\n</div>\r\n<div data-block="true" data-editor="25qg3" data-offset-key="31kl-0-0">\r\n<div data-offset-key="31kl-0-0" class="_1mf _1mj"><span data-offset-key="31kl-0-0"><span data-text="true">As a mark of respect for the victims of the act of hatred and terror perpetrated on Sunday, June 12, 2016, in Orlando, Florida, by the authority vested in me as President of the United States by the Constitution and the laws of the United States of America, I hereby order that the flag of the United States shall be flown at half-staff at the White House and upon all public buildings and grounds, at all military posts and naval stations, and on all naval vessels of the Federal Government in the District of Columbia and throughout the United States and its Territories and possessions until sunset, June 16, 2016. I also direct that the flag shall be flown at half-staff for the same length of time at all United States embassies, legations, consular offices, and other facilities abroad, including all military facilities and naval vessels and stations. </span></span></div>\r\n</div>\r\n<div data-block="true" data-editor="25qg3" data-offset-key="9qbjs-0-0">\r\n<div data-offset-key="9qbjs-0-0" class="_1mf _1mj"><span data-offset-key="9qbjs-0-0"><span data-text="true">IN WITNESS WHEREOF, I have hereunto set my hand this </span></span></div>\r\n</div>\r\n<div data-block="true" data-editor="25qg3" data-offset-key="aej1u-0-0">\r\n<div data-offset-key="aej1u-0-0" class="_1mf _1mj"><span data-offset-key="aej1u-0-0"><span data-text="true">twelfth day of June, in the year of our Lord two thousand sixteen, and of the Independence of the United States of America the two hundred and fortieth. </span></span></div>\r\n</div>\r\n<div data-block="true" data-editor="25qg3" data-offset-key="3bjlp-0-0">\r\n<div data-offset-key="3bjlp-0-0" class="_1mf _1mj"><span data-offset-key="3bjlp-0-0"><span data-text="true">BARACK OBAMA </span></span></div>\r\n</div>\r\n<div data-block="true" data-editor="25qg3" data-offset-key="3menk-0-0">\r\n<div data-offset-key="3menk-0-0" class="_1mf _1mj"><span data-offset-key="3menk-0-0"><span data-text="true"># # #</span></span></div>\r\n</div>\r\n<div data-block="true" data-editor="25qg3" data-offset-key="3086h-0-0">\r\n<div data-offset-key="3086h-0-0" class="_1mf _1mj"><span data-offset-key="3086h-0-0"><br data-text="true" />\r\n</span></div>\r\n</div>\r\n</div></div>\r\n        \t</div>\r\n\t\t  \r\n\t\t\t<div class="entry">\r\n            \t<div class="heading">\r\n                    <div style="clear:both"></div>\r\n                \t<div class="date">START: <strong>5/30/2016</strong></div>\r\n                \t<div class="date">END: <strong>5/30/2016</strong></div>\r\n                \t<div class="short">US Flags at Half-Staff from Sunrise Until Noon for Memorial Day</div>\r\n                    <div style="clear:both"></div>\r\n                </div>                \r\n                <div class="long"><p>US Flags at Half-Staff from Sunrise Until Noon for Memorial Day</p></div>\r\n        \t</div>\r\n\t\t  \r\n\t\t\t<div class="entry">\r\n            \t<div class="heading">\r\n                    <div style="clear:both"></div>\r\n                \t<div class="date">START: <strong>5/15/2016</strong></div>\r\n                \t<div class="date">END: <strong>5/15/2016</strong></div>\r\n                \t<div class="short">US Flag at Half Staff - Peace Officers Memorial Day</div>\r\n                    <div style="clear:both"></div>\r\n                </div>                \r\n                <div class="long">US Flag at Half Staff - Peace Officers Memorial Day</div>\r\n        \t</div>\r\n\t\t  \r\n\t\t\t<div class="entry">\r\n            \t<div class="heading">\r\n                    <div style="clear:both"></div>\r\n                \t<div class="date">START: <strong>3/22/2016</strong></div>\r\n                \t<div class="date">END: <strong>3/26/2016</strong></div>\r\n                \t<div class="short">US Flags at Half Staff Honoring the Victims of the Attacks in Brussels, Belgium</div>\r\n                    <div style="clear:both"></div>\r\n                </div>                \r\n                <div class="long">US Flags at Half Staff Honoring the Victims of the Attacks in Brussels, Belgium</div>\r\n        \t</div>\r\n\t\t  \r\n\t\t\t<div class="entry">\r\n            \t<div class="heading">\r\n                    <div style="clear:both"></div>\r\n                \t<div class="date">START: <strong>3/7/2016</strong></div>\r\n                \t<div class="date">END: <strong>3/11/2016</strong></div>\r\n                \t<div class="short">US Flags at Half-Staff Honoring Nancy Reagan</div>\r\n                    <div style="clear:both"></div>\r\n                </div>                \r\n                <div class="long"><p>DEATH OF NANCY REAGAN</p>\r\n<p class="rtecenter">- - - - - - -</p>\r\n<p class="rtecenter">BY THE PRESIDENT OF THE UNITED STATES OF AMERICA</p>\r\n<p class="rtecenter">A PROCLAMATION</p>\r\n<p>As a mark of respect for the memory of Nancy Reagan, I hereby order, by the authority vested in me by the Constitution and the laws of the United States of America, that the flag of the United States shall be flown at half-staff at the White House and upon all public buildings and grounds, at all military posts and naval stations, and on all naval vessels of the Federal Government in the District of Columbia and throughout the United States and its Territories and possessions until sunset, on the day of interment.&nbsp; I also direct that the flag shall be flown at half-staff for the same period at all United States embassies, legations, consular offices, and other facilities abroad, including all military facilities and naval vessels and stations.&nbsp;</p>\r\n<p>IN WITNESS WHEREOF, I have hereunto set my hand this seventh day of March, in the year of our Lord two thousand sixteen, and of the Independence of the United States of America the two hundred and fortieth.</p>\r\n<p>&nbsp;</p>\r\n<p class="rtecenter">BARACK OBAMA</p></div>\r\n        \t</div>\r\n\t\t  \r\n\t\t\t<div class="entry">\r\n            \t<div class="heading">\r\n                    <div style="clear:both"></div>\r\n                \t<div class="date">START: <strong>2/13/2016</strong></div>\r\n                \t<div class="date">END: <strong>2/20/2016</strong></div>\r\n                \t<div class="short">US Flags at Half Staff Honoring Antonin Scalia</div>\r\n                    <div style="clear:both"></div>\r\n                </div>                \r\n                <div class="long">The White House\r\n\r\nOffice of the Press Secretary\r\n\r\nFor Immediate Release\r\n\r\nFebruary 13, 2016\r\n .\r\n\r\nPresidential Proclamation: Death of Antonin Scalia\r\n\r\nAs a mark of respect for Antonin Scalia, Associate Justice of the United States, I hereby order, by the authority vested in me by the Constitution and laws of the United States of America, including section 7 of title 4, United States Code, that the flag of the United States shall be flown at half-staff at the White House and on all public buildings and grounds, at all military posts and naval stations, and on all naval vessels of the Federal Government in the District of Columbia and throughout the United States and its Territories and possessions until sunset, on the day of interment. I also direct that the flag shall be flown at half-staff for the same period at all United States embassies, legations, consular offices, and other facilities abroad, including all military facilities and naval vessels and stations.\r\n\r\nIN WITNESS WHEREOF, I have hereunto set my hand this thirteenth day of February, in the year of our Lord two thousand sixteen, and of the Independence of the United States of America the two hundred and fortieth.\r\n\r\nBARACK OBAMA\r\n\r\n# # #\r\n</div>\r\n        \t</div>\r\n\t\t  \r\n\t\t\t<div class="entry">\r\n            \t<div class="heading">\r\n                    <div style="clear:both"></div>\r\n                \t<div class="date">START: <strong>12/3/2015</strong></div>\r\n                \t<div class="date">END: <strong>12/7/2015</strong></div>\r\n                \t<div class="short">US Flags at Half-Staff - Honoring The Victims Of The Attack In San Bernardino, California</div>\r\n                    <div style="clear:both"></div>\r\n                </div>                \r\n                <div class="long"><h1>Presidential Proclamation -- Honoring The Victims Of The Attack In San Bernardino, California</h1>\r\n<div class="panel-pane pane-entity-field pane-node-field-forall-body">\r\n<div class="field field-name-field-forall-body field-type-text-long field-label-hidden forall-body">\r\n<div class="field-items">\r\n<div class="field-item even">\r\n<p class="rtecenter">HONORING THE VICTIMS OF THE ATTACK IN SAN BERNARDINO, CALIFORNIA</p>\r\n<p class="rtecenter">- - - - - - -</p>\r\n<p class="rtecenter">BY THE PRESIDENT OF THE UNITED STATES OF AMERICA</p>\r\n<p class="rtecenter">A PROCLAMATION</p>\r\n<p>As a mark of respect for the victims of gun violence perpetrated on December 2, 2015, in San Bernardino, California, by the authority vested in me as President of the United States by the Constitution and the laws of the United States of America, I hereby order that the flag of the United States shall be flown at half-staff at the White House and upon all public buildings and grounds, at all military posts and naval stations, and on all naval vessels of the Federal Government in the District of Columbia and throughout the United States and its Territories and possessions through December 7, 2015.&nbsp; I also direct that the flag shall be flown at half-staff for the same length of time at all United States embassies, legations, consular offices, and other facilities abroad, including all military facilities and naval vessels and stations.</p>\r\n<p>IN WITNESS WHEREOF, I have hereunto set my hand this third day of December, in the year of our Lord two thousand fifteen, and of the Independence of the United States of America the two hundred and fortieth.</p>\r\n<p>&nbsp;</p>\r\n<p class="rtecenter">BARACK OBAMA</p>\r\n</div>\r\n</div>\r\n</div>\r\n</div></div>\r\n        \t</div>\r\n\t\t  \r\n\t\t\t<div class="entry">\r\n            \t<div class="heading">\r\n                    <div style="clear:both"></div>\r\n                \t<div class="date">START: <strong>11/15/2015</strong></div>\r\n                \t<div class="date">END: <strong>11/19/2015</strong></div>\r\n                \t<div class="short">US Flags to Half-Staff Honoring Victims of Paris Terrorist Attack</div>\r\n                    <div style="clear:both"></div>\r\n                </div>                \r\n                <div class="long">BY THE PRESIDENT OF THE UNITED STATES OF AMERICA\r\nA PROCLAMATION\r\n\r\nThe American people stand with the people of France. Friday&#39;s terror attacks were not just an attack on Paris; they were an attack on all humanity and the universal values we share, including the bonds of liberte, egalite, and fraternite. These values will endure far beyond any terrorists or their hateful vision. The United States and our allies do not give in to fear, nor will we be divided, nor will anyone change our way of life. We will do whatever it takes, working with nations and peoples around the world, to bring the perpetrators of these attacks to justice, and to go after terrorists who threaten our people.\r\n\r\nAs a mark of respect for the victims of the senseless acts of violence perpetrated on November 13, 2015, in Paris, France, by the authority vested in me as President of the United States by the Constitution and the laws of the United States of America, I hereby order that the flag of the United States shall be flown at half-staff at the White House and upon all public buildings and grounds, at all military posts and naval stations, and on all naval vessels of the Federal Government in the District of Columbia and throughout the United States and its Territories and possessions until sunset, November 19, 2015. I also direct that the flag shall be flown at half-staff for the same length of time at all United States embassies, legations, consular offices, and other facilities abroad, including all military facilities and naval vessels and stations.\r\n\r\nIN WITNESS WHEREOF, I have hereunto set my hand this fifteenth day of November, in the year of our Lord two thousand fifteen, and of the Independence of the United States of America the two hundred and fortieth.\r\n\r\nBARACK OBAMA\r\n</div>\r\n        \t</div>\r\n\t\t  \r\n\t\t\t<div class="entry">\r\n            \t<div class="heading">\r\n                    <div style="clear:both"></div>\r\n                \t<div class="date">START: <strong>10/4/2015</strong></div>\r\n                \t<div class="date">END: <strong>10/4/2015</strong></div>\r\n                \t<div class="short">US Flags to Half Staff National Fallen Firefighters Memorial Service</div>\r\n                    <div style="clear:both"></div>\r\n                </div>                \r\n                <div class="long">\r\nPresidential Proclamation: Fire Prevention Week, 2015\r\n\r\n\r\n\r\n\r\n\r\n \r\n\r\nBY THE PRESIDENT OF THE UNITED STATES OF AMERICA \r\n\r\nA PROCLAMATION \r\n\r\nEach year, fires leave tremendous hardship and devastation in their wake. They claim too many lives, destroy too many communities, and take too much of a toll on our economy -- and many incidents can be avoided with simple preventive measures. During Fire Prevention Week, we pledge to take precautionary steps to stop fires before they start, and we honor the sacrifices made by our Nation&#39;s courageous first responders who risk their lives to beat back these threats. \r\n\r\nWhether residential or wild, fires can ignite anytime and anywhere and we can all play a role in preventing them. I urge all Americans to routinely test their smoke alarms, develop and practice fire evacuation plans at work and at home, and create family emergency communication plans in order to quickly locate loved ones in the event of any emergency. Additionally, I encourage everyone to act responsibly to prevent forest fires when outdoors, and to immediately report any signs of fire to their local fire department. More ways to avoid and respond to fires can be found at www.Ready.gov. \r\n\r\nMy Administration remains committed to aiding in efforts to responsibly respond to fires wherever they occur. This year, we called on the Congress to fix the way we pay for wildfire costs so we can more appropriately invest our resources in forest restoration and resilience -- making our land and infrastructure less vulnerable to fires in the first place. \r\n\r\nEach of us can do our part to practice fire safety and to support the dedicated volunteers and professionals who risk everything to protect our homes and communities. This week, let us pay tribute to the heroes who have lost their lives fighting fires, let us stand beside all who continue to serve in our firehouses, and let us rededicate ourselves to doing everything in our power to stop tragedies before they strike. \r\n\r\nNOW, THEREFORE, I, BARACK OBAMA, President of the United States of America, by virtue of the authority vested in me by the Constitution and the laws of the United States, do hereby proclaim October 4 through October 10, 2015, as Fire Prevention Week. On Sunday, October 4, 2015, in accordance with Public Law 107-51, the flag of the United States will be flown at half-staff at all Federal office buildings in honor of the National Fallen Firefighters Memorial Service. I call on all Americans to participate in this observance with appropriate programs and activities and by renewing their efforts to prevent fires and their tragic consequences. \r\n\r\nIN WITNESS WHEREOF, I have hereunto set my hand this second day of October, in the year of our Lord two thousand fifteen, and of the Independence of the United States of America the two hundred and fortieth. \r\n\r\nBARACK OBAMA \r\n</div>\r\n        \t</div>\r\n\t\t  \r\n\t\t\t<div class="entry">\r\n            \t<div class="heading">\r\n                    <div style="clear:both"></div>\r\n                \t<div class="date">START: <strong>10/2/2015</strong></div>\r\n                \t<div class="date">END: <strong>10/6/2015</strong></div>\r\n                \t<div class="short">US Flag to Half-Staff Honoring the Victims of the Tragedy in Roseburg, Oregon</div>\r\n                    <div style="clear:both"></div>\r\n                </div>                \r\n                <div class="long">\r\nPresidential Proclamation: Honoring the Victims of the Tragedy in Roseburg, Oregon\r\n\r\n\r\n\r\n\r\n\r\n \r\n\r\nBY THE PRESIDENT OF THE UNITED STATES OF AMERICA \r\n\r\nA PROCLAMATION \r\n\r\nAs a mark of respect for the victims of gun violence perpetrated on October 1, 2015, in Roseburg, Oregon, by the authority vested in me as President of the United States by the Constitution and the laws of the United States of America, I hereby order that the flag of the United States shall be flown at half-staff at the White House and upon all public buildings and grounds, at all military posts and naval stations, and on all naval vessels of the Federal Government in the District of Columbia and throughout the United States and its Territories and possessions until sunset, October 6, 2015. I also direct that the flag shall be flown at half-staff for the same length of time at all United States embassies, legations, consular offices, and other facilities abroad, including all military facilities and naval vessels and stations. \r\n\r\nIN WITNESS WHEREOF, I have hereunto set my hand this \r\n\r\nsecond day of October, in the year of our Lord two thousand fifteen, and of the Independence of the United States of America the two hundred and fortieth. \r\n\r\nBARACK OBAMA \r\n</div>\r\n        \t</div>\r\n\t\t  \r\n\t\t\t<div class="entry">\r\n            \t<div class="heading">\r\n                    <div style="clear:both"></div>\r\n                \t<div class="date">START: <strong>9/11/2015</strong></div>\r\n                \t<div class="date">END: <strong>9/11/2015</strong></div>\r\n                \t<div class="short">Flags at Half Staff for Patriot Day and National Day of Service and Remembrance, 2015</div>\r\n                    <div style="clear:both"></div>\r\n                </div>                \r\n                <div class="long">Presidential Proclamation: Patriot Day and National Day of Service and Remembrance, 2015\r\n\r\nPATRIOT DAY AND NATIONAL DAY OF SERVICE AND REMEMBRANCE, 2015\r\n\r\n\x96 \x96 \x96 \x96 \x96 \x96 \x96\r\n\r\nBY THE PRESIDENT OF THE UNITED STATES OF AMERICA\r\n\r\nA PROCLAMATION\r\n\r\nOn September 11, 2001, America experienced the worst terrorist attack in her history when nearly 3,000 men, women, and children were taken from us, leaving their families and our Nation with a void that can never be filled. But those who brought hate to our shores and smoke to our skies did not expect our country to emerge stronger, and our beacons of hope and freedom to shine brighter as a result. In the years since, we have stood strong as one people -- determined to further embolden our country\x92s character with acts of endurance and strength; rebuilding and resilience; renewal and progress. In remembrance of the innocent victims who lost their lives and in honor of the families they left behind, let us continue to answer these heinous acts by serving our communities, lifting the lives of our fellow citizens, and spreading the hope that others tried to dim that day.\r\n\r\nThe compassion that rose in the hearts and minds of the American people on September 11 still serves as the ultimate rebuke to the evil of those who attacked us. First responders who risked and gave their lives to rescue others demonstrated the unwavering heroism that defines our great Nation. Volunteers donated time, money, and blood to ensure wounds gave way to healing and recovery. Young people, raised until then in a time of peace, stepped forward to serve and defend us, and meet the threats of our time. And people from across our country and the world joined together in the days that followed to stand up and turn toward one another with open arms, making of a tragedy something the terrorists could never abide -- a tribute of hope over fear, and love over hate.\r\n\r\nAs we reflect on the lives we lost and pay tribute to the families who still live with extraordinary pain, let us resolve to continue embodying the American spirit that no act of terror can ever extinguish. I call on all Americans to observe this National Day of Service and Remembrance with acts of selflessness and charity. In doing so, we prove once again that the power of those who seek to harm and to destroy is never greater than our power to persevere and to build. I encourage everyone to visit www.Serve.gov to learn of the many opportunities available to give back to others and to reaffirm the fundamental truth that we are our brothers\x92 and our sisters\x92 keepers, and that we can forge a brighter future together.\r\n\r\nToday, we continue our unfaltering march forward, enduring in the perennial optimism that drives us and brightening the light that the darkness of evil can never overcome. We remember and yearn for the presence of the beautiful lives lost, and we recommit to honoring their memories by shaping the days to come -- in as stark a contrast as possible to those who took them from us -- with courage, liberty, and love.\r\n\r\nBy a joint resolution approved December 18, 2001 (Public Law 107-89), the Congress has designated September 11 of each year as \x93Patriot Day,\x94 and by Public Law 111-13, approved April 21, 2009, the Congress has requested the observance of September 11 as an annually recognized \x93National Day of Service and Remembrance.\x94\r\n\r\nNOW, THEREFORE, I, BARACK OBAMA, President of the United States of America, do hereby proclaim September 11, 2015, as Patriot Day and National Day of Service and Remembrance. I call upon all departments, agencies, and instrumentalities of the United States to display the flag of the United States at half-staff on Patriot Day and National Day of Service and Remembrance in honor of the individuals who lost their lives on September 11, 2001. I invite the Governors of the United States and its Territories and interested organizations and individuals to join in this observance. I call upon the people of the United States to participate in community service in honor of those our Nation lost, to observe this day with appropriate ceremonies and activities, including remembrance services, and to observe a moment of silence beginning at 8:46 a.m. Eastern Daylight Time to honor the innocent victims who perished as a result of the terrorist attacks of September 11, 2001.\r\n\r\nIN WITNESS WHEREOF, I have hereunto set my hand this\r\n\r\ntenth day of September, in the year of our Lord two thousand fifteen, and of the Independence of the United States of America the two hundred and fortieth.\r\n\r\nBARACK OBAMA\r\n</div>\r\n        \t</div>\r\n\t\t  \r\n\t\t\t<div class="entry">\r\n            \t<div class="heading">\r\n                    <div style="clear:both"></div>\r\n                \t<div class="date">START: <strong>7/21/2015</strong></div>\r\n                \t<div class="date">END: <strong>7/25/2015</strong></div>\r\n                \t<div class="short">US Flags at Half-Staff Honoring the Victims of the Tragedy in Chattanooga, Tennessee</div>\r\n                    <div style="clear:both"></div>\r\n                </div>                \r\n                <div class="long">BY THE PRESIDENT OF THE UNITED STATES OF AMERICA\r\n\r\nA PROCLAMATION\r\n\r\nOur thoughts and prayers as a Nation are with the service members killed last week in Chattanooga.  We honor their service.  We offer our gratitude to the police officers and first responders who stopped the rampage and saved lives.  We draw strength from yet another American community that has come together with an unmistakable message to those who would try and do us harm:  We do not give in to fear.  You cannot divide us. And you will not change our way of life.\r\n\r\nWe ask God to watch over the fallen, the families, and their communities.  As a mark of respect for the victims of the senseless acts of violence perpetrated on July 16, 2015, in Chattanooga, Tennessee, by the authority vested in me as President of the United States by the Constitution and the laws of the United States of America, I hereby order that the flag of the United States shall be flown at half-staff at the White House and upon all public buildings and grounds, at all military posts and naval stations, and on all naval vessels of the Federal Government in the District of Columbia and throughout the United States and its Territories and possessions until sunset, July 25, 2015.  I also direct that the flag shall be flown at half-staff for the same length of time at all United States embassies, legations, consular offices, and other facilities abroad, including all military facilities and naval vessels and stations. \r\n\r\nIN WITNESS WHEREOF, I have hereunto set my hand this twenty-first day of July, in the year of our Lord two thousand fifteen, and of the Independence of the United States of America the two hundred and fortieth.\r\n\r\n \r\n\r\nBARACK OBAMA\r\n</div>\r\n        \t</div>\r\n\t\t  \r\n\t\t\t<div class="entry">\r\n            \t<div class="heading">\r\n                    <div style="clear:both"></div>\r\n                \t<div class="date">START: <strong>5/25/2015</strong></div>\r\n                \t<div class="date">END: <strong>5/25/2015</strong></div>\r\n                \t<div class="short">US flags at Half-Staff for Memorial Day</div>\r\n                    <div style="clear:both"></div>\r\n                </div>                \r\n                <div class="long">US flags at Half-Staff from sunrise until noon for Memorial Day</div>\r\n        \t</div>\r\n\t\t  \r\n\t\t\t<div class="entry">\r\n            \t<div class="heading">\r\n                    <div style="clear:both"></div>\r\n                \t<div class="date">START: <strong>5/15/2015</strong></div>\r\n                \t<div class="date">END: <strong>5/15/2015</strong></div>\r\n                \t<div class="short">US Flags at Half Staff for Peace Officers Memorial Day</div>\r\n                    <div style="clear:both"></div>\r\n                </div>                \r\n                <div class="long">Presidential Proclamation -- Peace Officers Memorial Day and Police Week, 2015\r\nPEACE OFFICERS MEMORIAL DAY AND POLICE WEEK, 2015\r\n\r\n- - - - - - -\r\n\r\nBY THE PRESIDENT OF THE UNITED STATES OF AMERICA\r\n\r\nA PROCLAMATION\r\n\r\nEach May, our Nation salutes the American women and men who put their lives on the line every day to maintain public safety and hold accountable those who break the law. On Peace Officers Memorial Day and during Police Week, we recognize all those who have dedicated their lives to this vital task. With heavy hearts, we mourn the heroes taken from us only because they chose to serve, and we rededicate ourselves to carrying forward their noble legacy.\r\n\r\nOur law enforcement officers have extraordinarily tough jobs. They regularly work in dangerous environments and in difficult, high-tension situations. And they often face challenges deeply rooted in systemic problems and broader social issues. These professionals serve to protect their communities and strengthen their Nation, and they deserve to go home safely to their loved ones at the end of each shift. As President, I am committed to making sure America&#39;s dedicated police officers receive the support and recognition they have earned, and to doing all I can to protect those who protect us.\r\n\r\nOne important way to make policing safer and more effective is by continuing to enhance relations and trust between law enforcement and the neighborhoods they serve. This will make it easier and safer for police officers to do their jobs, and it will strengthen the places we live and work. This important task will require our Nation -- our communities, our law enforcement, and our leaders at every level -- to come together to commit to meeting this challenge and moving our country forward, block by block and neighborhood by neighborhood. As President, I firmly believe it is within our power to make progress in our time, and I am dedicated to partnering with all those who are willing to do this necessary work.\r\n\r\nMy Administration is taking concrete steps to implement the commonsense, pragmatic recommendations my Task Force on 21st Century Policing put forward based on input from law enforcement personnel as well as criminal justice experts, community leaders, and civil liberties advocates. And we are engaging with local jurisdictions so they can begin to make the changes that will help ensure that police officers and their communities are partners in battling crime and that everyone feels safe on and off the job.\r\n\r\nOur Nation&#39;s police officers are mentors in our schools, familiar faces on the corner, and pillars of our communities. They keep our borders secure and our roads safe, and in times of crisis, they rush toward tragedy. They are hardworking mothers, fathers, daughters, and sons who have dedicated their lives to public service, working every day to build a brighter future for their families and their Nation. Their selfless commitment and daily sacrifice represent what is possible for every city, town, and reservation in America, and our country has an enormous opportunity to lift up the very best law enforcement personnel as examples -- not just to other officers, but to all who aspire to lives of good citizenship. This week and every week, let us remember the patriots who laid down their lives for ours and honor all who strive to make our Nation more safe, more free, and more just.\r\n\r\nBy a joint resolution approved October 1, 1962, as amended (76 Stat. 676), and by Public Law 103-322, as amended (36 U.S.C. 136-137), the President has been authorized and requested to designate May 15 of each year as "Peace Officers Memorial Day" and the week in which it falls as "Police Week."\r\n\r\nNOW, THEREFORE, I, BARACK OBAMA, President of the United States of America, do hereby proclaim May 15, 2015, as Peace Officers Memorial Day and May 10 through May 16, 2015, as Police Week. I call upon all Americans to observe these events with appropriate ceremonies and activities. I also call on the Governors of the United States and its Territories, and appropriate officials of all units of government, to direct that the flag be flown at half-staff on Peace Officers Memorial Day. I further encourage all Americans to display the flag at half-staff from their homes and businesses on that day.\r\n\r\nIN WITNESS WHEREOF, I have hereunto set my hand this eighth day of May, in the year of our Lord two thousand fifteen, and of the Independence of the United States of America the two hundred and thirty-ninth.\r\n\r\nBARACK OBAMA\r\n</div>\r\n        \t</div>\r\n\t\t  \r\n\t\t\t<div class="entry">\r\n            \t<div class="heading">\r\n                    <div style="clear:both"></div>\r\n                \t<div class="date">START: <strong>4/15/2015</strong></div>\r\n                \t<div class="date">END: <strong>4/15/2015</strong></div>\r\n                \t<div class="short">US Flags at Half Staff for Abraham Lincoln</div>\r\n                    <div style="clear:both"></div>\r\n                </div>                \r\n                <div class="long">BY THE PRESIDENT OF THE UNITED STATES OF AMERICA \r\n \r\nA PROCLAMATION \r\n \r\n \r\nPresident Abraham Lincoln believed that we are, at heart, one Nation and one people. At a time when America was torn apart and our very future was in doubt, he knew our country was more than a collection of States, and that we shared a bond that would not break. One hundred fifty years after President Lincoln&#39;s death, Americans join together across the Union he saved to honor his memory and celebrate the freedom for which he gave his last full measure of devotion.\r\n\r\n \r\nA self-taught man, rugged rail-splitter, and humble lawyer from Springfield, Illinois, President Lincoln believed in the fierce independence that lies at the heart of the American experience. But he also knew that together, we can do great things -- that it is through the accumulated toil and sacrifice of ordinary women and men that our country is perfected and our liberty preserved.\r\n\r\n \r\nPresident Lincoln understood the immense sacrifices required to give meaning to our founding principles. With enduring faith and steady resolve, he led our Nation through Civil War, knowing the blood shed was in painful service to those same ideals. He sought to reunite our people not only in Government, but also in a freedom that knew no bounds of color or creed. It was in this spirit that he issued the Emancipation Proclamation, forever joining the cause of our Union with the advancement of liberty. As our Nation gave birth to a new era of freedom, President Lincoln charted a course that would help bind the wounds of a divided country and bring healing to a people who desperately needed it.\r\nEven while his Presidency was characterized by war, his ambition was a just and lasting peace. Amid the discord of great conflict, President Lincoln demonstrated the wisdom to look forward. He knew a united America could serve the hopes of all its people if they seized the opportunity of their time. He established land-grant colleges and committed to a railroad connecting East to West, even as he fought to hold together North and South. He fueled new enterprises with a national currency, spurred innovation, and ignited America&#39;s imagination with a National Academy of Sciences.\r\n\r\n \r\nAs we reflect on the Great Emancipator, we are reminded that we will be remembered for what we choose to make of the moment we are given. President Lincoln has passed on a tremendous legacy to us, and we too are called to do great things. His example gives us confidence that whatever trials await us, this Nation and the freedom we cherish can, and will, prevail. Today, we reflect on the extraordinary progress he made possible, and with one voice, we rededicate ourselves to the work of ensuring a Government of the people, by the people, for the people, shall not perish from the earth.\r\n\r\n \r\nNOW, THEREFORE, I, BARACK OBAMA, President of the United States of America, by virtue of the authority vested in me by the Constitution and the laws of the United States, do hereby proclaim April 15, 2015, as a Day of Remembrance for President Abraham Lincoln. I call upon all Americans to honor his life and legacy with appropriate programs, ceremonies, and activities. I also call upon the Governors of the United States and its Territories, and appropriate officials of all units of government, to direct that the flag be flown at half-staff on the Day of Remembrance for President Abraham Lincoln. I further encourage all Americans to display the flag at half-staff from their homes and businesses on that day.\r\n\r\n \r\nIN WITNESS WHEREOF, I have hereunto set my hand this fourteenth day of April, in the year of our Lord two thousand fifteen, and of the Independence of the United States of America the two hundred and thirty-ninth.\r\n\r\nBARACK OBAMA\r\n</div>\r\n        \t</div>\r\n\t\t  \r\n\t\t\t<div class="entry">\r\n            \t<div class="heading">\r\n                    <div style="clear:both"></div>\r\n                \t<div class="date">START: <strong>12/7/2014</strong></div>\r\n                \t<div class="date">END: <strong>12/7/2014</strong></div>\r\n                \t<div class="short">US Flags at Half-Staff in Honor of Pearl Harbor Remembrance Day</div>\r\n                    <div style="clear:both"></div>\r\n                </div>                \r\n                <div class="long">US Flags at Half-Staff in Honor of Pearl Harbor Remembrance Day</div>\r\n        \t</div>\r\n\t\t  \r\n\t\t\t<div class="entry">\r\n            \t<div class="heading">\r\n                    <div style="clear:both"></div>\r\n                \t<div class="date">START: <strong>10/12/2014</strong></div>\r\n                \t<div class="date">END: <strong>10/12/2014</strong></div>\r\n                \t<div class="short">US Flags at Half-Staff in Honor of Fallen Firefighters Memorial Service</div>\r\n                    <div style="clear:both"></div>\r\n                </div>                \r\n                <div class="long">Presidential Proclamation -- Fire Prevention Week, 2014\r\nFIRE PREVENTION WEEK, 2014\r\n\r\n- - - - - - -\r\n\r\nBY THE PRESIDENT OF THE UNITED STATES OF AMERICA\r\n\r\nA PROCLAMATION\r\n\r\nFires can take lives, devastate communities, and destroy our homes and businesses. They pose a threat to Americans across our Nation, and they cost us billions of dollars each year. As we mark Fire Prevention Week, we emphasize the importance of taking steps to prevent fires, and we recognize the selflessness of those who answer the call to fight these blazes, placing themselves in danger to help others.\r\n\r\nAll Americans can protect themselves by taking precautions to guard against fires. This week&#39;s theme, "Smoke Alarms Save Lives: Test Yours Every Month," reminds us of the importance of installing and maintaining smoke alarms in the places we live and work. Powerful and unpredictable, fire spreads rapidly and widely. That is why I encourage every American to develop and practice fire evacuation plans that will allow for swift exits from regularly visited places. It is our responsibility to teach our children about fire prevention and do everything we can to protect our loved ones during these emergencies. To learn more about fire safety, visit www.Ready.gov.\r\n\r\nThis year, our Nation has suffered tragic losses as wildfires ravage States across our country. As wildfires increase in frequency and intensity in a changing climate, fire prevention and planning only become more urgent. My Administration continues to take action to increase our Nation&#39;s preparedness and resiliency, and every person can do his or her part. Americans who live near woodlands should clear flammable vegetation away from homes and buildings, and everyone can be ready by making an emergency kit and discussing evacuation routes and emergency plans with their families.\r\n\r\nWe owe a great debt to our brave first responders and firefighters who run toward the scene of a disaster to fight fires. They are heroes who demonstrate courage, determination, and professionalism every day as they battle flames and smoke and teach their neighbors how to protect themselves. During Fire Prevention Week, we recognize our duty to be vigilant and take action to avert fires, and we remember the sacrifices of those who gave their lives so others might live.\r\n\r\nNOW, THEREFORE, I, BARACK OBAMA, President of the United States of America, by virtue of the authority vested in me by the Constitution and the laws of the United States do hereby proclaim October 5 through October 11, 2014, as Fire Prevention Week. On Sunday, October 12, 2014, in accordance with Public Law 107-51, the flag of the United States will be flown at half-staff at all Federal office buildings in honor of the National Fallen Firefighters Memorial Service. I call on all Americans to participate in this observance with appropriate programs and activities and by renewing their efforts to prevent fires and their tragic consequences.\r\n\r\nIN WITNESS WHEREOF, I have hereunto set my hand this third day of October, in the year of our Lord two thousand fourteen, and of the Independence of the United States of America the two hundred and thirty-ninth.\r\n\r\nBARACK OBAMA\r\n</div>\r\n        \t</div>\r\n\t\t  \r\n\t\t\t<div class="entry">\r\n            \t<div class="heading">\r\n                    <div style="clear:both"></div>\r\n                \t<div class="date">START: <strong>9/11/2014</strong></div>\r\n                \t<div class="date">END: <strong>9/11/2014</strong></div>\r\n                \t<div class="short">US Flags at Half Staff for Patriot Day</div>\r\n                    <div style="clear:both"></div>\r\n                </div>                \r\n                <div class="long">President Obama has ordered US flags to half-staff in honor of Patriot Day.</div>\r\n        \t</div>\r\n\t\t  \r\n\t\t\t<div class="entry">\r\n            \t<div class="heading">\r\n                    <div style="clear:both"></div>\r\n                \t<div class="date">START: <strong>5/26/2014</strong></div>\r\n                \t<div class="date">END: <strong>5/26/2014</strong></div>\r\n                \t<div class="short">US Flags to Half Staff for Memorial Day</div>\r\n                    <div style="clear:both"></div>\r\n                </div>                \r\n                <div class="long">Memorial Day, which is observed on the last Monday of May, commemorates the men and women who died while in the military service.  In observance of the holiday, display the United States flag at Half Staff from sunrise until Noon.\r\n\r\nUnited States Flag Code\r\n\r\nSection 7.M\r\n\r\nThe flag, when flown at half-staff, should be first hoisted to the peak for an instant and then lowered to the half-staff position. The flag should be again raised to the peak before it is lowered for the day. On Memorial Day the flag should be displayed at half-staff until noon only, then raised to the top of the staff.  \r\n</div>\r\n        \t</div>\r\n\t\t  \r\n\t\t\t<div class="entry">\r\n            \t<div class="heading">\r\n                    <div style="clear:both"></div>\r\n                \t<div class="date">START: <strong>5/15/2014</strong></div>\r\n                \t<div class="date">END: <strong>5/15/2014</strong></div>\r\n                \t<div class="short">US Flags to Half Staff in Honor of Police Officers Memorial Day</div>\r\n                    <div style="clear:both"></div>\r\n                </div>                \r\n                <div class="long">Proclamation\x96 Peace Officers Memorial Day and Police Week, 2014\r\n - \x96 - \x96 - \x96 -\r\nBY THE PRESIDENT OF THE UNITED STATES OF AMERICA\r\n\r\nA PROCLAMATION\r\n\r\nEach year, America sets aside a week to salute the men and women who do the difficult, dangerous, and often thankless work of safeguarding our communities. Our Nation\x92s peace officers embody the very idea of citizenship \x97 that along with our rights come responsibilities, both to ourselves and to others. During Peace Officers Memorial Day and Police Week, we celebrate those who protect and serve us every minute of every day, and we honor the courageous officers who devoted themselves so fully to others that in the process they laid down their lives.\r\n\r\nAs we mourn the fallen, let us also remember how they lived. With unflinching commitment, they defended our schools and businesses. They guarded prisons; patrolled borders; and kept us safe at home, on the road, and as we went about our lives. To their families, we owe an unpayable debt. And to the men and women who carry their mission forward, we owe our unyielding support.\r\n\r\nOur Nation has an obligation to ensure that as police officers face untold risks in the line of duty, we are doing whatever we can to protect them. This means providing all necessary resources so they can get the job done, hiring new officers where they are needed most, and investing in training to prepare those on the front lines for potentially deadly situations. It also means making reforms to curb senseless epidemics of violence that threaten law enforcement officers and haunt the neighborhoods they serve.\r\n\r\nJust as police officers never let down their guard, we must never let slide our gratitude. We should extend our thanks not only in times of tragedy, but for every tragedy averted \x97 every accident avoided because a patrol officer took a drunk driver off the streets, every child made safer because a criminal was brought to justice, every life saved because police officers raced to the scene. In other words, we must show our gratitude every day.\r\n\r\nBy a joint resolution approved October 1, 1962, as amended (76 Stat. 676), and by Public Law 103-322, as amended (36 U.S.C. 136-137), the President has been authorized and requested to designate May 15 of each year as \x93Peace Officers Memorial Day\x94 and the week in which it falls as \x93Police Week.\x94\r\n\r\nNOW, THEREFORE, I, BARACK OBAMA, President of the United States of America, do hereby proclaim May 15, 2014, as Peace Officers Memorial Day and May 11 through May 17, 2014, as Police Week. I call upon all Americans to observe these events with appropriate ceremonies and activities. I also call on Governors of the United States and the Commonwealth of Puerto Rico, officials of the other territories subject to the jurisdiction of the United States, and appropriate officials of all units of government, to direct that the flag be flown at half-staff on Peace Officers Memorial Day. I further encourage all Americans to display the flag at half-staff from their homes and businesses on that day.\r\n\r\nIN WITNESS WHEREOF, I have hereunto set my hand this ninth day of May, in the year of our Lord two thousand fourteen, and of the Independence of the United States of America the two hundred and thirty-eighth.\r\n\r\nBARACK OBAMA\r\n</div>\r\n        \t</div>\r\n\t\t  \r\n\t\t\t<div class="entry">\r\n            \t<div class="heading">\r\n                    <div style="clear:both"></div>\r\n                \t<div class="date">START: <strong>12/7/2013</strong></div>\r\n                \t<div class="date">END: <strong>12/7/2013</strong></div>\r\n                \t<div class="short">US Flags to Flags to Half Staff in Honor of  National Pearl Harbor Remembrance Day, 2013</div>\r\n                    <div style="clear:both"></div>\r\n                </div>                \r\n                <div class="long"><p>NATIONAL PEARL HARBOR REMEMBRANCE DAY, 2013</p>\r\n<p align="center">- - - - - - -</p>\r\n<p align="center">BY THE PRESIDENT OF THE UNITED STATES OF AMERICA</p>\r\n<p align="center">A PROCLAMATION</p>\r\n<p>More than seven decades ago, on a calm Sunday morning, our Nation was attacked without warning or provocation. The bombs that fell on the island of Oahu took almost 2,400 American lives, damaged our Pacific Fleet, challenged our resilience, and tested our resolve. On National Pearl Harbor Remembrance Day, we honor the men and women who selflessly sacrificed for our country, and we show our enduring gratitude to all who fought to defend freedom against the forces of tyranny and oppression in the Second World War.</p>\r\n<p>In remembrance of Pearl Harbor and to defend our Nation against future attacks, scores of young Americans enlisted in the United States military. In battle after battle, our troops fought with courage and honor. They took the Pacific theater island by island, and eventually swept through Europe, liberating nations as they progressed. Because of their extraordinary valor, America emerged from this test as we always do -- stronger than ever before.</p>\r\n<p>We also celebrate those who served and sacrificed on the home front -- from families who grew Victory Gardens or donated to the war effort to women who joined the assembly line alongside workers of every background and realized their own power to build a brighter world. Together, our Greatest Generation overcame the Great Depression, and built the largest middle class and strongest economy in history.</p>\r\n<p>Today, with solemn pride and reverence, let us remember those who fought and died at Pearl Harbor, acknowledge everyone who carried their legacy forward, and reaffirm our commitment to upholding the ideals for which they served.</p>\r\n<p>The Congress, by Public Law 103-308, as amended, has designated December 7 of each year as &quot;National Pearl Harbor Remembrance Day.&quot;</p>\r\n<p>NOW, THEREFORE, I, BARACK OBAMA, President of the United States of America, do hereby proclaim December 7, 2013, as National Pearl Harbor Remembrance Day. I encourage all Americans to observe this solemn day of remembrance and to honor our military, past and present, with appropriate ceremonies and activities. I urge all Federal agencies and interested organizations, groups, and individuals to fly the flag of the United States at half-staff this December 7 in honor of those American patriots who died as a result of their service at Pearl Harbor.</p>\r\n<p>IN WITNESS WHEREOF, I have hereunto set my hand this fifth day of December, in the year of our Lord two thousand thirteen, and of the Independence of the United States of America the two hundred and thirty-eighth.</p>\r\n<p class="rtecenter">BARACK OBAMA</p></div>\r\n        \t</div>\r\n\t\t  \r\n\t\t\t<div class="entry">\r\n            \t<div class="heading">\r\n                    <div style="clear:both"></div>\r\n                \t<div class="date">START: <strong>12/5/2013</strong></div>\r\n                \t<div class="date">END: <strong>12/9/2013</strong></div>\r\n                \t<div class="short">US Flags to Half Staff in Honor of Nelson Mandela</div>\r\n                    <div style="clear:both"></div>\r\n                </div>                \r\n                <div class="long"><p><strong>\r\n<p>THE WHITE HOUSE<br />\r\nOffice of the Press Secretary<br />\r\nFor Immediate Release December 5, 2013<br />\r\nDEATH OF NELSON MANDELA<br />\r\n&ndash; - &ndash; - &ndash; - &ndash;<br />\r\nBY THE PRESIDENT OF THE UNITED STATES OF AMERICA<br />\r\nA PROCLAMATION</p>\r\n<p>Today, the United States has lost a close friend, South Africa has lost an incomparable liberator, and the world has lost an inspiration for freedom, justice, and human dignity &mdash; Nelson Mandela is no longer with us, he belongs to the ages.</p>\r\n<p>Nelson Mandela achieved more than could be expected of any man. His own struggle inspired others to believe in the promise of a better world, and the rightness of reconciliation. Through his fierce dignity and unbending will to sacrifice his own freedom for the freedom of others, he transformed South Africa &mdash; and moved the entire world. His journey from a prisoner to a President embodied the promise that human beings &mdash; and countries &mdash; can change for the better. His commitment to transfer power and reconcile with those who jailed him set an example that all humanity should aspire to, whether in the life of nations or our own personal lives.</p>\r\n<p>While we mourn his loss, we will forever honor Nelson Mandela&rsquo;s memory. He left behind a South Africa that is free and at peace with itself &mdash; a close friend and partner of the United States. And his memory will be kept in the hearts of billions who have been lifted up by the power of his example.</p>\r\n<p>We will not see the likes of Nelson Mandela again. It falls to us to carry forward the example that he set &mdash; to make decisions guided not by hate, but by love; to never discount the difference that one person can make; and to strive for a future that is worthy of his sacrifice. For now, let us pause and give thanks for the fact that Nelson Mandela lived &mdash; a man who took history in his hands, and bent the arc of the moral universe toward justice.</p>\r\n<p>As a mark of respect for the memory of Nelson Mandela, by the authority vested in me as President of the United States by the Constitution and laws of the United States of America, I hereby order that the flag of the United States shall be flown at half-staff at the White House and upon all public buildings and grounds, at all military posts and naval stations, and on all naval vessels of the Federal Government in the District of Columbia and throughout the United States and its Territories and possessions until sunset, December 9, 2013. I also direct that the flag shall be flown at half-staff for the same length of time at all United States embassies, legations, consular offices, and other facilities abroad, including all military facilities and naval vessels and stations.</p>\r\n<p>IN WITNESS WHEREOF, I have hereunto set my hand this fifth day of December, in the year of our Lord two thousand thirteen, and of the Independence of the United States of America the two hundred and thirty-eighth.</p>\r\n<p>BARACK OBAMA</p>\r\n</strong></p>\r\n<p>&nbsp;</p></div>\r\n        \t</div>\r\n\t\t  \r\n\t\t\t<div class="entry">\r\n            \t<div class="heading">\r\n                    <div style="clear:both"></div>\r\n                \t<div class="date">START: <strong>11/22/2013</strong></div>\r\n                \t<div class="date">END: <strong>11/22/2013</strong></div>\r\n                \t<div class="short">US Flags at Half Staff for Day of Remembrance for President John F. Kennedy</div>\r\n                    <div style="clear:both"></div>\r\n                </div>                \r\n                <div class="long"><p><strong> </strong></p>\r\n<div id="postcontent"><strong>\r\n<p>For Immediate Release<br />\r\nNovember 21, 2013</p>\r\n<p>DAY OF REMEMBRANCE FOR PRESIDENT JOHN F. KENNEDY</p>\r\n<p>BY THE PRESIDENT OF THE UNITED STATES OF AMERICA<br />\r\nA PROCLAMATION</p>\r\n<p>A half century ago, America mourned the loss of an extraordinary  public servant. With broad vision and soaring but sober idealism,  President John F. Kennedy had called a generation to service and  summoned a Nation to greatness. Today, we honor his memory and celebrate  his enduring imprint on American history.</p>\r\n<p>In his 3 years as President of the United States, John F. Kennedy  weathered some of the most perilous tests of the Cold War and led  America to the cusp of a bright new age. His leadership through the  Cuban Missile Crisis remains the standard for American diplomacy at its  finest. In a divided Berlin, he delivered a stirring defense of freedom  that would echo through the ages, yet he also knew that we must advance  human rights here at home. During his final year in office, he proposed a  civil rights bill that called for an end to segregation in America. And  recognizing women&rsquo;s basic right to earn a living equal to their  efforts, he signed the Equal Pay Act into law.</p>\r\n<p>While President Kennedy&rsquo;s life was tragically cut short, his vision  lives on in the generations he inspired &mdash; volunteers who serve as  ambassadors for peace in distant corners of the globe, scientists and  engineers who reach for new heights in the face of impossible odds,  innovators who set their sights on the new frontiers of our time. Today  and in the decades to come, let us carry his legacy forward. Let us face  today&rsquo;s tests by beckoning the spirit he embodied &mdash; that fearless,  resilient, uniquely American character that has always driven our Nation  to defy the odds, write our own destiny, and make the world anew.</p>\r\n<p>NOW, THEREFORE, I, BARACK OBAMA, President of the United States of  America, by virtue of the authority vested in me by the Constitution and  the laws of the United States, do hereby proclaim November 22, 2013, as  a Day of Remembrance for President John F. Kennedy. I call upon all  Americans to honor his life and legacy with appropriate programs,  ceremonies, and activities. I also call upon Governors of the United  States and the Commonwealth of Puerto Rico, officials of the other  territories subject to the jurisdiction of the United States, and  appropriate officials of all units of government, to direct that the  flag be flown at half-staff on the Day of Remembrance for President John  F. Kennedy. I further encourage all Americans to display the flag at  half-staff from their homes and businesses on that day.</p>\r\n<p>IN WITNESS WHEREOF, I have hereunto set my hand this Twenty-first day  of November, in the year of our Lord two thousand thirteen, and of the  Independence of the United States of America the two hundred and  thirty-eighth.</p>\r\n<p>BARACK OBAMA</p>\r\n</strong></div>\r\n<div>&nbsp;</div>\r\n<p>&nbsp;</p></div>\r\n        \t</div>\r\n\t\t  \r\n\t\t\t<div class="entry">\r\n            \t<div class="heading">\r\n                    <div style="clear:both"></div>\r\n                \t<div class="date">START: <strong>10/29/2013</strong></div>\r\n                \t<div class="date">END: <strong>10/29/2013</strong></div>\r\n                \t<div class="short">US Flags at Half Staff in Honor of Thomas S. Foley, Former Speaker of the House of Representatives</div>\r\n                    <div style="clear:both"></div>\r\n                </div>                \r\n                <div class="long"><h1 property="dc:title">&nbsp;</h1>\r\n<p align="center">FORMER SPEAKER OF THE HOUSE OF REPRESENTATIVES</p>\r\n<p align="center">- - - - - - -</p>\r\n<p align="center">BY THE PRESIDENT OF THE UNITED STATES OF AMERICA</p>\r\n<p align="center">A PROCLAMATION</p>\r\n<p>As a mark of respect for the memory of Thomas S. Foley, former Speaker of the House of Representatives, by the authority vested in me as President of the United States by the Constitution and laws of the United States of America, I hereby order that the flag of the United States shall be flown at half-staff at the White House and upon all public buildings and grounds, at all military posts and naval stations, and on all naval vessels of the Federal Government in the District of Columbia and throughout the United States and its Territories and possessions on Tuesday, October 29, 2013. I also direct that the flag shall be flown at half-staff on that day at all United States embassies, legations, consular offices, and other facilities abroad, including all military facilities and naval vessels and stations.</p>\r\n<p>IN WITNESS WHEREOF, I have hereunto set my hand this twenty-eighth day of October, in the year of our Lord two thousand thirteen, and of the Independence of the United States of America the two hundred and thirty-eighth.</p>\r\n<p align="center">BARACK OBAMA</p></div>\r\n        \t</div>\r\n\t\t  \r\n\t\t\t<div class="entry">\r\n            \t<div class="heading">\r\n                    <div style="clear:both"></div>\r\n                \t<div class="date">START: <strong>10/6/2013</strong></div>\r\n                \t<div class="date">END: <strong>10/6/2013</strong></div>\r\n                \t<div class="short">US Flags to Half STaff in Honor of National Fallen Firefighters Memorial Service</div>\r\n                    <div style="clear:both"></div>\r\n                </div>                \r\n                <div class="long"><p align="center">FIRE PREVENTION WEEK, 2013</p>\r\n<p align="center">- - - - - - -</p>\r\n<p align="center">BY THE PRESIDENT OF THE UNITED STATES OF AMERICA</p>\r\n<p align="center">A PROCLAMATION</p>\r\n<p>Fires take more American lives than all other natural disasters combined. They inflict devastating tolls on families and communities, and they cost our Nation billions of dollars each year. During Fire Prevention Week, we pay tribute to the brave men and women who put their lives on the line to pull their neighbors out of harm&#39;s way, and pledge to do our part to prevent fires in our homes, our cities, and the great outdoors.</p>\r\n<p>We all have a responsibility to protect our families against fire. We should be cautious while cooking, using electrical appliances, and heating our homes. Those who live in areas prone to wildfires can help safeguard their homes by clearing flammable vegetation, and they should plan for emergencies by building a supply kit and talking with their families about a communications plan and evacuation routes. Every American should install working smoke detectors on each level of their home and remember to test them monthly. It is also essential to develop and practice evacuation plans twice a year. Because fire spreads rapidly and poisonous, disorienting smoke moves even quicker, families should design plans that allow for the quickest possible exit. To learn more about taking precautions against fires, visit <a title="www.Ready.gov" href="http://www.ready.gov/">www.Ready.gov</a>.</p>\r\n<p>By preventing fires, we can both protect our loved ones and keep America&#39;s firefighters out of unnecessary danger. To save people they have never met, these skilled professionals battle walls of flame, put themselves in the paths of unpredictable wildfires, and rush into houses on the verge of collapse. This week, as we renew our commitment to fire safety, we thank these courageous first responders for their service and honor those who have made the ultimate sacrifice in the line of duty.</p>\r\n<p jquery1380913696482="11">NOW, THEREFORE, I, BARACK OBAMA, President of the United States of America, by virtue of the authority vested in me by the Constitution and the laws of the United States do hereby proclaim October 6 through October 12, 2013, as Fire Prevention Week. On Sunday, October 6, 2013, in accordance with Public Law 107-51, the flag of the United States will be flown at half-staff at all Federal office buildings in honor of the National Fallen Firefighters Memorial Service. I call on all Americans to participate in this observance with appropriate programs and activities and by renewing their efforts to prevent fires and their tragic consequences.</p>\r\n<p>IN WITNESS WHEREOF, I have hereunto set my hand this fourth day of October, in the year of our Lord two thousand thirteen, and of the Independence of the United States of America the two hundred and thirty-eighth.</p>\r\n<p align="center">BARACK OBAMA</p></div>\r\n        \t</div>\r\n\t\t  \r\n\t\t\t<div class="entry">\r\n            \t<div class="heading">\r\n                    <div style="clear:both"></div>\r\n                \t<div class="date">START: <strong>9/16/2013</strong></div>\r\n                \t<div class="date">END: <strong>9/20/2013</strong></div>\r\n                \t<div class="short">US Flags at Half Staff Until 9/20 for the Victims of the Washington Navy Yard Tragedy</div>\r\n                    <div style="clear:both"></div>\r\n                </div>                \r\n                <div class="long"><p class="rtecenter">BY THE PRESIDENT OF THE UNITED STATES OF AMERICA</p>\r\n<p class="rtecenter">A PROCLAMATION</p>\r\n<p jquery1379379086435="12">As a mark of respect for the victims of the senseless acts of violence perpetrated on September 16, 2013, at the Washington Navy Yard, by the authority vested in me as President of the United States by the Constitution and the laws of the United States of America, I hereby order that the flag of the United States shall be flown at half-staff at the White House and upon all public buildings and grounds, at all military posts and naval stations, and on all naval vessels of the Federal Government in the District of Columbia and throughout the United States and its Territories and possessions until sunset, September 20, 2013. I also direct that the flag shall be flown at half-staff for the same length of time at all United States embassies, legations, consular offices, and other facilities abroad, including all military facilities and naval vessels and stations.</p>\r\n<p>IN WITNESS WHEREOF, I have hereunto set my hand this sixteenth day of September, in the year of our Lord two thousand thirteen, and of the Independence of the United States of America the two hundred and thirty-eighth.</p></div>\r\n        \t</div>\r\n\t\t  \r\n\t\t\t<div class="entry">\r\n            \t<div class="heading">\r\n                    <div style="clear:both"></div>\r\n                \t<div class="date">START: <strong>9/11/2013</strong></div>\r\n                \t<div class="date">END: <strong>9/11/2013</strong></div>\r\n                \t<div class="short">US Flags to Flags to Half Staff in Honor of Patriot Day</div>\r\n                    <div style="clear:both"></div>\r\n                </div>                \r\n                <div class="long"><p>Presidential Proclamation &mdash; Patriot Day and National Day of Service and Remembrance<br />\r\nPATRIOT DAY AND NATIONAL DAY OF SERVICE AND REMEMBRANCE, 2013<br />\r\n- &ndash; - &ndash; - &ndash; -</p>\r\n<p>BY THE PRESIDENT OF THE UNITED STATES OF AMERICA</p>\r\n<p>A PROCLAMATION</p>\r\n<p>Twelve years ago this month, nearly three thousand innocent men, women, and children lost their lives in attacks meant to terrorize our Nation. They had been going about their day, harming no one, when sudden violence struck. We will never undo the pain and injustice borne that terrible morning, nor will we ever forget those we lost.</p>\r\n<p>On September 11, 2001, amid shattered glass, twisted steel, and clouds of dust, the spirit of America shone through. We remember the sacrifice of strangers and first responders who rushed into darkness to carry others from danger. We remember the unbreakable bonds of unity we felt in the long days that followed &mdash; how we held each other, how we came to our neighbors&rsquo; aid, how we prayed for one another. We recall how Americans of every station joined together to support the survivors in their hour of need and to heal our Nation in the years that followed.</p>\r\n<p>Today, we can honor those we lost by building a Nation worthy of their memories. Let us also live up to the selfless example of the heroes who gave of themselves in the face of such great evil. As we mark the anniversary of September 11, I invite all Americans to observe a National Day of Service and Remembrance by uniting in the same extraordinary way we came together after the attacks. Like the Americans who chose compassion when confronted with cruelty, we can show our love for one another by devoting our time and talents to those in need. I encourage all Americans to visit www.Serve.gov, or www.Servir.gov for Spanish speakers, to find ways to get involved in their communities.</p>\r\n<p>As we serve and remember, we reaffirm our ties to one another. On September 11, 2001, no matter where we came from, what God we prayed to, or what race or ethnicity we were, we were united as one American family. May the same be said of us today, and always.</p>\r\n<p>By a joint resolution approved December 18, 2001 (Public Law 107-89), the Congress has designated September 11 of each year as &ldquo;Patriot Day,&rdquo; and by Public Law 111-13, approved April 21, 2009, the Congress has requested the observance of September 11 as an annually recognized &ldquo;National Day of Service and Remembrance.&rdquo;</p>\r\n<p>NOW, THEREFORE, I, BARACK OBAMA, President of the United States of America, do hereby proclaim September 11, 2013, as Patriot Day and National Day of Service and Remembrance. I call upon all departments, agencies, and instrumentalities of the United States to display the flag of the United States at half-staff on Patriot Day and National Day of Service and Remembrance in honor of the individuals who lost their lives on September 11, 2001. I invite the Governors of the United States and the Commonwealth of Puerto Rico and interested organizations and individuals to join in this observance. I call upon the people of the United States to participate in community service in honor of those our Nation lost, to observe this day with appropriate ceremonies and activities, including remembrance services, and to observe a moment of silence beginning at 8:46 a.m. Eastern Daylight Time to honor the innocent victims who perished as a result of the terrorist attacks of September 11, 2001.</p>\r\n<p>IN WITNESS WHEREOF, I have hereunto set my hand this tenth day of September, in the year of our Lord two thousand thirteen, and of the Independence of the United States of America the two hundred and thirty-eighth.</p>\r\n<p>BARACK OBAMA</p></div>\r\n        \t</div>\r\n\t\t  \r\n\t\t\t<div class="entry">\r\n            \t<div class="heading">\r\n                    <div style="clear:both"></div>\r\n                \t<div class="date">START: <strong>5/15/2013</strong></div>\r\n                \t<div class="date">END: <strong>5/15/2013</strong></div>\r\n                \t<div class="short">US Flags to Flags to Half Staff in Honor of Police Officers Memorial Day</div>\r\n                    <div style="clear:both"></div>\r\n                </div>                \r\n                <div class="long"><div class="rtecenter">PEACE OFFICERS MEMORIAL DAY AND POLICE WEEK, 2013</div>\r\n<div class="rtecenter">&nbsp;</div>\r\n<div class="rtecenter">- - - - - - -</div>\r\n<div class="rtecenter">&nbsp;</div>\r\n<div class="rtecenter">BY THE PRESIDENT OF THE UNITED STATES OF AMERICA</div>\r\n<div class="rtecenter">&nbsp;</div>\r\n<div class="rtecenter">A PROCLAMATION</div>\r\n<div>&nbsp;</div>\r\n<div>Day after day, police officers in every corner of America suit up, put on the badge, and carry out their sworn duty to protect and serve. They step out the door every morning without considering bravery or heroics. They stay focused on meeting their responsibilities. They concentrate on keeping their neighborhoods safe and doing right by their fellow officers. And with quiet courage, they help fulfill the demanding yet vital task of shielding our people from harm. It is work that deserves our deepest respect -- because when darkness and danger would threaten the peace, our police officers are there to step in, ready to lay down their lives to protect our own.</div>\r\n<div>&nbsp;</div>\r\n<div>This week, we pay solemn tribute to men and women who did. Setting aside fear and doubt, these officers made the ultimate sacrifice to preserve the rule of law and the communities they loved. They heard the call to serve and answered it; braved the line of fire; charged toward the danger. Our hearts are heavy with their loss, and on Peace Officers Memorial Day, our Nation comes together to reflect on the legacy they left us.</div>\r\n<div>&nbsp;</div>\r\n<div>As we mark this occasion, let us remember that we can do no greater service to those who perished than by upholding what they fought to protect. That means doing everything we can to make our communities safer. It means putting cops back on the beat and supporting them with the tools and training they need. It means getting weapons of war off our streets and keeping guns out of the hands of criminals -- common-sense measures that would reduce gun violence and help officers do their job safely and effectively.</div>\r\n<div>&nbsp;</div>\r\n<div>Together, we can accomplish those goals. So as we take this time to honor law enforcement in big cities and small towns all across our country, let us join them in pursuit of a brighter tomorrow. Our police officers serve and sacrifice on our behalf every day, and as citizens, we owe them nothing less than our full and lasting support.</div>\r\n<div>&nbsp;</div>\r\n<div>By a joint resolution approved October 1, 1962, as amended (76 Stat. 676), and by Public Law 103-322, as amended (36 U.S.C. 136-137), the President has been authorized and requested to designate May 15 of each year as &quot;Peace Officers Memorial Day&quot; and the week in which it falls as &quot;Police Week.&quot;</div>\r\n<div>&nbsp;</div>\r\n<div>NOW, THEREFORE, I, BARACK OBAMA, President of the United States of America, do hereby proclaim May 15, 2013, as Peace Officers Memorial Day and May 12 through May 18, 2013, as Police Week. I call upon all Americans to observe these events with appropriate ceremonies and activities. I also call on Governors of the United States and the Commonwealth of Puerto Rico, officials of the other territories subject to the jurisdiction of the United States, and appropriate officials of all units of government, to direct that the flag be flown at half-staff on Peace Officers Memorial Day. I further encourage all Americans to display the flag at half-staff from their homes and businesses on that day.</div>\r\n<div>&nbsp;</div>\r\n<div>IN WITNESS WHEREOF, I have hereunto set my hand this</div>\r\n<div>tenth day of May, in the year of our Lord two thousand thirteen, and of the Independence of the United States of America the two hundred and thirty-seventh.</div>\r\n<div>&nbsp;</div>\r\n<div>&nbsp;</div>\r\n<div>\r\n<p style="margin-left: 3in">BARACK OBAMA</p>\r\n</div></div>\r\n        \t</div>\r\n\t\t  \r\n\t\t\t<div class="entry">\r\n            \t<div class="heading">\r\n                    <div style="clear:both"></div>\r\n                \t<div class="date">START: <strong>4/16/2013</strong></div>\r\n                \t<div class="date">END: <strong>4/20/2013</strong></div>\r\n                \t<div class="short">US Flags to Half Staff Honoring Victims of the Tragedy in Boston, MA</div>\r\n                    <div style="clear:both"></div>\r\n                </div>                \r\n                <div class="long"><p>BY THE PRESIDENT OF THE UNITED STATES OF AMERICA</p>\r\n<p>A PROCLAMATION</p>\r\n<div>\r\n<p>As a mark of respect for the victims of the senseless acts of violence perpetrated on April 15, 2013, in Boston, Massachusetts, by the authority vested in me as President of the United States by the Constitution and the laws of the United States of America, I hereby order that the flag of the United States shall be flown at half-staff at the White House and upon all public buildings and grounds, at all military posts and naval stations, and on all naval vessels of the Federal Government in the District of Columbia and throughout the United States and its Territories and possessions until sunset, April 20, 2013. I also direct that the flag shall be flown at half-staff for the same length of time at all United States embassies, legations, consular offices, and other facilities abroad, including all military facilities and naval vessels and stations.</p>\r\n<p>IN WITNESS WHEREOF, I have hereunto set my hand this sixteenth day of April, in the year of our Lord two thousand thirteen, and of the Independence of the United States of America the two hundred and thirty-seventh.</p>\r\n<p>BARACK OBAMA</p>\r\n</div></div>\r\n        \t</div>\r\n\t\t  \r\n\t\t\t<div class="entry">\r\n            \t<div class="heading">\r\n                    <div style="clear:both"></div>\r\n                \t<div class="date">START: <strong>12/18/2012</strong></div>\r\n                \t<div class="date">END: <strong>12/21/2012</strong></div>\r\n                \t<div class="short">US Flags at Half Staff in Honor of Senator Daniel K. Inouye</div>\r\n                    <div style="clear:both"></div>\r\n                </div>                \r\n                <div class="long"><p class="rtecenter" jquery1355940084287="13">DEATH OF SENATOR DANIEL K. INOUYE,<br />\r\nPRESIDENT PRO TEMPORE OF THE SENATE</p>\r\n<p class="rtecenter">- - - - - - -</p>\r\n<p class="rtecenter">BY THE PRESIDENT OF THE UNITED STATES OF AMERICA</p>\r\n<p class="rtecenter">A PROCLAMATION</p>\r\n<p jquery1355940084287="14">As a mark of respect for the memory and longstanding service of Senator Daniel K. Inouye, President pro tempore of the Senate, I hereby order, by the authority vested in me by the Constitution and the laws of the United States of America, and consistent with President Nixon&#39;s Proclamation 3948, that the flag of the United States shall be flown at half-staff at the White House and upon all public buildings and grounds, at all military posts and naval stations, and on all naval vessels of the Federal Government in the District of Columbia and throughout the United States and its Territories and possessions until sunset on the day of his interment. I further direct that the flag shall be flown at half-staff for the same period at all United States embassies, legations, consular offices, and other facilities abroad, including all military facilities and naval vessels and stations.</p>\r\n<p>IN WITNESS WHEREOF, I have hereunto set my hand thiseighteenth day of December, in the year of our Lord two thousand twelve, and of the Independence of the United States of America the two hundred and thirty-seventh.</p>\r\n<p class="rtecenter">BARACK OBAMA</p></div>\r\n        \t</div>\r\n\t\t  \r\n\t\t\t<div class="entry">\r\n            \t<div class="heading">\r\n                    <div style="clear:both"></div>\r\n                \t<div class="date">START: <strong>12/14/2012</strong></div>\r\n                \t<div class="date">END: <strong>12/18/2012</strong></div>\r\n                \t<div class="short">US Flags at Half Staff Honoring the Victims of the Tragedy in Newtown, Connecticut</div>\r\n                    <div style="clear:both"></div>\r\n                </div>                \r\n                <div class="long"><div class="rtecenter">\r\n<div>HONORING THE VICTIMS OF THE TRAGEDY IN NEWTOWN, CONNECTICUT</div>\r\n<div>&nbsp;</div>\r\n<div>- - - - - - -</div>\r\n<div>&nbsp;</div>\r\n<div>BY THE PRESIDENT OF THE UNITED STATES OF AMERICA</div>\r\n<div>&nbsp;</div>\r\n<div>&nbsp;</div>\r\n<div>A PROCLAMATION</div>\r\n<div>&nbsp;</div>\r\n</div>\r\n<div>&nbsp;</div>\r\n<div jquery1355525684533="12">As a mark of respect for the victims of the senseless acts of violence perpetrated on December 14, 2012, in Newtown, Connecticut, by the authority vested in me as President of the United States by the Constitution and the laws of the United States of America, I hereby order that the flag of the United States shall be flown at half-staff at the White House and upon all public buildings and grounds, at all military posts and naval stations, and on all naval vessels of the Federal Government in the District of Columbia and throughout the United States and its Territories and possessions until sunset, December 18, 2012. I also direct that the flag shall be flown at half-staff for the same length of time at all United States embassies, legations, consular offices, and other facilities abroad, including all military facilities and naval vessels and stations.</div>\r\n<div jquery1355525684533="12">&nbsp;</div>\r\n<div>&nbsp;</div>\r\n<div jquery1355525684533="14">IN WITNESS WHEREOF, I have hereunto set my hand this fourteenth day of December, in the year of our Lord two thousand twelve, and of the Independence of the United States of America the two hundred and thirty-seventh.</div>\r\n<div jquery1355525684533="14">&nbsp;</div>\r\n<div>\r\n<div>&nbsp;</div>\r\n<div class="rtecenter">BARACK OBAMA</div>\r\n</div></div>\r\n        \t</div>\r\n\t\t  \r\n\t\t\t<div class="entry">\r\n            \t<div class="heading">\r\n                    <div style="clear:both"></div>\r\n                \t<div class="date">START: <strong>12/7/2012</strong></div>\r\n                \t<div class="date">END: <strong>12/7/2012</strong></div>\r\n                \t<div class="short">US Flags to Half Staff on 12/7/2012 - In Honor of Pearl Harbor Remembrance Day</div>\r\n                    <div style="clear:both"></div>\r\n                </div>                \r\n                <div class="long"><p class="rtecenter">NATIONAL PEARL HARBOR REMEMBRANCE DAY, 2012</p>\r\n<p class="rtecenter">- - - - - - -</p>\r\n<p class="rtecenter">BY THE PRESIDENT OF THE UNITED STATES OF AMERICA</p>\r\n<p class="rtecenter">A PROCLAMATION</p>\r\n<p>On December 7, 1941, our Nation suffered one of the most devastating attacks ever to befall the American people. In less than 2 hours, the bombs that rained on Pearl Harbor robbed thousands of men, women, and children of their lives; in little more than a day, our country was thrust into the greatest conflict the world had ever known. We mark this anniversary by honoring the patriots who perished more than seven decades ago, extending our thoughts and prayers to the loved ones they left behind, and showing our gratitude to a generation of service members who carried our Nation through some of the 20th century&#39;s darkest moments.</p>\r\n<p>In his address to the Congress, President Franklin D. Roosevelt affirmed that &quot;with confidence in our Armed Forces -- with the unbounding determination of our people -- we will gain the inevitable triumph.&quot; Millions stood up and shipped out to meet that call to service, fighting heroically on Europe&#39;s distant shores and pressing island by island across the Pacific. Millions more carried out the fight in factories and shipyards here at home, building the arsenal of democracy that propelled America to the victory President Roosevelt foresaw. On every front, we faced down impossible odds -- and out of the ashes of conflict, America rose more prepared than ever to meet the challenges of the day, sure that there was no trial we could not overcome.</p>\r\n<p>Today, we pay solemn tribute to America&#39;s sons and daughters who made the ultimate sacrifice at Oahu. As we do, let us also reaffirm that their legacy will always burn bright -- whether in the memory of those who knew them, the spirit of service that guides our men and women in uniform today, or the heart of the country they kept strong and free.</p>\r\n<p>The Congress, by Public Law 103-308, as amended, has designated December 7 of each year as &quot;National Pearl Harbor Remembrance Day.&quot;</p>\r\n<p>NOW, THEREFORE, I, BARACK OBAMA, President of the United States of America, do hereby proclaim December 7, 2012, as National Pearl Harbor Remembrance Day. I encourage all Americans to observe this solemn day of remembrance and to honor our military, past and present, with appropriate ceremonies and activities. I urge all Federal agencies and interested organizations, groups, and individuals to fly the flag of the United States at half-staff this December 7 in honor of those American patriots who died as a result of their service at Pearl Harbor.</p>\r\n<p>IN WITNESS WHEREOF, I have hereunto set my hand this sixth day of December, in the year of our Lord two thousand twelve, and of the Independence of the United States of America the two hundred and thirty-seventh.</p>\r\n<p class="rtecenter" jquery1354831575170="13">BARACK OBAMA</p></div>\r\n        \t</div>\r\n\t\t  \r\n\t\t\t<div class="entry">\r\n            \t<div class="heading">\r\n                    <div style="clear:both"></div>\r\n                \t<div class="date">START: <strong>10/16/2012</strong></div>\r\n                \t<div class="date">END: <strong>10/16/2012</strong></div>\r\n                \t<div class="short">US Flags to Half Staff on 10/16/2012 - In Honor of Arlen Specter</div>\r\n                    <div style="clear:both"></div>\r\n                </div>                \r\n                <div class="long"><p class="rtecenter">BY THE PRESIDENT OF THE UNITED STATES OF AMERICA</p>\r\n<p class="rtecenter">A PROCLAMATION</p>\r\n<p>As a mark of respect for the memory of Arlen Specter, I hereby order, by the authority vested in me by the Constitution and laws of the United States of America, that on the day of his interment, the flag of the United States shall be flown at half-staff at the White House and upon all public buildings and grounds, at all military posts and naval stations, and on all naval vessels of the Federal Government in the District of Columbia and throughout the United States and its Territories and possessions until sunset on such day. I also direct that the flag shall be flown at half-staff for the same period at all United States embassies, legations, consular offices, and other facilities abroad, including all military facilities and naval vessels and stations.</p>\r\n<p>IN WITNESS WHEREOF, I have hereunto set my hand this fifteenth day of October, in the year of our Lord two thousand twelve, and of the Independence of the United States of America the two hundred and thirty-seventh.</p>\r\n<p class="rtecenter">BARACK OBAMA</p></div>\r\n        \t</div>\r\n\t\t  \r\n\t\t\t<div class="entry">\r\n            \t<div class="heading">\r\n                    <div style="clear:both"></div>\r\n                \t<div class="date">START: <strong>10/7/2012</strong></div>\r\n                \t<div class="date">END: <strong>1/7/2012</strong></div>\r\n                \t<div class="short">US Flags to Half Staff on 10/7/2012 - Fallen Firefighters Memorial Day</div>\r\n                    <div style="clear:both"></div>\r\n                </div>                \r\n                <div class="long"><h1 property="dc:title">BY THE PRESIDENT OF THE UNITED STATES OF AMERICA<br />\r\nA PROCLAMATION</h1>\r\n<p>Every year, fires in and around homes nationwide put thousands of Americans in harm&#39;s way. From the loss of a home to the tragic passing of a loved one, the devastation these disasters leave in their wake is heartbreaking. During Fire Prevention Week, we resolve to protect ourselves, our families, and our communities from fires, and we honor the courageous first responders who put their lives at risk to keep us safe.</p>\r\n<p>All of us can take meaningful steps to reduce the risk of fire in our homes. I encourage all Americans to install and maintain smoke alarms, test smoke alarm batteries regularly, and follow safe practices in the kitchen and when using electrical appliances. Families should also develop and practice a fire escape plan that includes at least two ways out of every room. To learn more about these and other simple precautions against home fires, visit <a href="http://www.ready.gov/">www.Ready.gov</a>.</p>\r\n<p>This year, wildfires caused profound damage to communities across our country, and our Nation mourned the loss of life that followed. These events reminded us that wildfires are often unpredictable, which is why it is essential for people in areas at risk to practice proper fire prevention and preparedness. Those who live in regions prone to wildfire can take action by clearing flammable vegetation, preparing an emergency supply kit, and sharing evacuation routes and a communications plan with their family in case of emergency. Individuals who see a wildfire should report it by calling 911, and if advised, evacuate immediately.</p>\r\n<p>As we mark Fire Prevention Week by recommitting to preparedness, we also extend our thoughts and prayers to all those who have been affected by fires this year -- including the brave first responders who fought them. Summoning courage in crisis and bringing discipline and professionalism to the job each and every day, America&#39;s firefighters are heroes in every sense. This week, we express our deepest gratitude for their service to our communities and our Nation, and we pay solemn tribute to the men and women who gave their lives to protect our own. Their sacrifice will never be forgotten, and in their memory, let us rededicate ourselves to preventing tragedy before it strikes.</p>\r\n<p>NOW, THEREFORE, I, BARACK OBAMA, President of the United States of America, by virtue of the authority vested in me by the Constitution and the laws of the United States, do hereby proclaim October 7 through October 13, 2012, as Fire Prevention Week. On Sunday, October 7, 2012, in accordance with Public Law 107-51, the flag of the United States will be flown at half-staff on all Federal office buildings in honor of the National Fallen Firefighters Memorial Service. I call on all Americans to participate in this observance with appropriate programs and activities and by renewing their efforts to prevent fires and their tragic consequences.</p>\r\n<p>IN WITNESS WHEREOF, I have hereunto set my hand this fifth day of October, in the year of our Lord two thousand twelve, and of the Independence of the United States of America the two hundred and thirty-seventh.</p>\r\n<p class="rtecenter">BARACK OBAMA</p></div>\r\n        \t</div>\r\n\t\t  \r\n\t\t\t<div class="entry">\r\n            \t<div class="heading">\r\n                    <div style="clear:both"></div>\r\n                \t<div class="date">START: <strong>9/12/2012</strong></div>\r\n                \t<div class="date">END: <strong>9/16/2012</strong></div>\r\n                \t<div class="short">US Flags to Half Staff Honoring the Victims of the Attack in Libya</div>\r\n                    <div style="clear:both"></div>\r\n                </div>                \r\n                <div class="long"><p class="rtecenter">BY THE PRESIDENT OF THE UNITED STATES OF AMERICA</p>\r\n<p class="rtecenter">A PROCLAMATION</p>\r\n<p>As a mark of respect for the memory of John Christopher Stevens, United States Ambassador to Libya, and American personnel killed in the senseless attack on our diplomatic facility in Benghazi, by the authority vested in me as President of the United States by the Constitution and the laws of the United States of America, I hereby order that the flag of the United States shall be flown at half-staff at the White House and upon all public buildings and grounds, at all military posts and naval stations, and on all naval vessels of the Federal Government in the District of Columbia and throughout the United States and its Territories and possessions until sunset, September 16, 2012. I also direct that the flag shall be flown at half-staff for the same length of time at all United States embassies, legations, consular offices, and other facilities abroad, including all military facilities and naval vessels and stations.</p>\r\n<p>IN WITNESS WHEREOF, I have hereunto set my hand this twelfth day of September, in the year of our Lord two thousand twelve, and of the Independence of the United States of America the two hundred and thirty-seventh.</p>\r\n<p class="rtecenter">BARACK OBAMA</p></div>\r\n        \t</div>\r\n\t\t  \r\n\t\t\t<div class="entry">\r\n            \t<div class="heading">\r\n                    <div style="clear:both"></div>\r\n                \t<div class="date">START: <strong>9/11/2012</strong></div>\r\n                \t<div class="date">END: <strong>9/11/2012</strong></div>\r\n                \t<div class="short">US Flags to Half Staff in Honor of Patriot Day</div>\r\n                    <div style="clear:both"></div>\r\n                </div>                \r\n                <div class="long"><h3>PATRIOT DAY AND NATIONAL DAY OF SERVICE AND REMEMBRANCE, 2012</h3>\r\n<p class="rtecenter">- - - - - - -</p>\r\n<p class="rtecenter">BY THE PRESIDENT OF THE UNITED STATES OF AMERICA</p>\r\n<p class="rtecenter">A PROCLAMATION</p>\r\n<p>On September 11, 2001, a bright autumn day was darkened by the worst attack on the American people in our history. Thousands of innocent men, women, and children perished when mighty towers collapsed in the heart of New York City and wreckage burned in Pennsylvania and at the Pentagon. They were family and friends, service members and first responders -- and the tragedy of their loss left pain that will never fade and scars our country will never forget.</p>\r\n<p>More than a decade later, the world we live in is forever changed. But as we mark the anniversary of September 11, we remember what remains the same: our character as a Nation, our faith in one another, and our legacy as a country strengthened by service and selflessness. In the spirit that moved rescue workers and firefighters to charge into darkness and danger that September morning, we see the same sense of moral responsibility that drove countless Americans to give of themselves in the months that followed. We offered our neighbors a hand and lined up to give blood. Many helped our Nation rebuild and recover long after the dust had settled, donating and volunteering and helping survivors who had borne so much. We were united, and the outpouring of generosity reminded us that, through challenges that have spanned from acts of terrorism to natural disasters, we go forward together as one people.</p>\r\n<p>Today, as we remember the victims, their families, and the heroes who stood up during one of our country&#39;s darkest moments, I invite all Americans to reclaim that abiding spirit of compassion by serving their communities in the days and weeks ahead. From volunteering with a faith-based organization, to collecting food and clothing for those in need, to preparing care packages for our men and women in uniform, there are many ways to bring service into our everyday lives -- and each of us can do something. To get involved and find a local service opportunity, visit <a href="http://www.serve.gov/">www.Serve.gov</a>, or <a href="http://www.servir.gov/">www.Servir.gov</a> for Spanish speakers.</p>\r\n<p>Even the simplest act of kindness can be a way to honor those we have lost, and to help build stronger communities and a more resilient Nation. By joining together on this solemn anniversary, let us show that America&#39;s sense of common purpose need not be a fleeting moment, but a lasting virtue -- not just on one day, but every day.</p>\r\n<p>By a joint resolution approved December 18, 2001 (Public Law 107-89), the Congress has designated September 11 of each year as &quot;Patriot Day,&quot; and by Public Law 111-13, approved April 21, 2009, the Congress has requested the observance of September 11 as an annually recognized &quot;National Day of Service and Remembrance.&quot;</p>\r\n<p>NOW, THEREFORE, I, BARACK OBAMA, President of the United States of America, do hereby proclaim September 11, 2012, as Patriot Day and National Day of Service and Remembrance. I call upon all departments, agencies, and instrumentalities of the United States to display the flag of the United States at half-staff on Patriot Day and National Day of Service and Remembrance in honor of the individuals who lost their lives on September 11, 2001. I invite the Governors of the United States and the Commonwealth of Puerto Rico and interested organizations and individuals to join in this observance. I call upon the people of the United States to participate in community service in honor of those our Nation lost, to observe this day with appropriate ceremonies and activities, including remembrance services, and to observe a moment of silence beginning at 8:46 a.m. Eastern Daylight Time to honor the innocent victims who perished as a result of the terrorist attacks of September 11, 2001.</p>\r\n<p>IN WITNESS WHEREOF, I have hereunto set my hand this tenth day of September, in the year of our Lord two thousand twelve, and of the Independence of the United States of America the two hundred and thirty-seventh.</p>\r\n<p class="rtecenter">BARACK OBAMA</p></div>\r\n        \t</div>\r\n\t\t  \r\n\t\t\t<div class="entry">\r\n            \t<div class="heading">\r\n                    <div style="clear:both"></div>\r\n                \t<div class="date">START: <strong>8/31/2012</strong></div>\r\n                \t<div class="date">END: <strong>8/31/2012</strong></div>\r\n                \t<div class="short">US Flags to Half Staff in Honor of Neil Armstrong</div>\r\n                    <div style="clear:both"></div>\r\n                </div>                \r\n                <div class="long"><div class="rtecenter">BY THE PRESIDENT OF THE UNITED</div>\r\n<div class="rtecenter">STATES OF AMERICA</div>\r\n<div class="rtecenter">&nbsp;</div>\r\n<div class="rtecenter">&nbsp;</div>\r\n<div class="rtecenter">A PROCLAMATION</div>\r\n<div>&nbsp;</div>\r\n<div>&nbsp;</div>\r\n<div>As a mark of respect for the memory of Neil Armstrong, I hereby order, by the authority vested in me by the Constitution and the laws of the United States of America, that on the day of his interment, the flag of the United States shall be flown at half-staff at the White House and upon all public buildings and grounds, at all military posts and naval stations, and on all naval vessels of the Federal Government in the District of Columbia and throughout the United States and its Territories and possessions until sunset on such day. I also direct that the flag shall be flown at half-staff for the same length of time at all United States embassies, legations, consular offices, and other facilities abroad, including all military facilities and naval vessels and stations.</div>\r\n<div>&nbsp;</div>\r\n<div>&nbsp;</div>\r\n<div>IN WITNESS WHEREOF, I have hereunto set my hand this twenty-seventh day of August, in the year of our Lord two thousand twelve, and of the Independence of the United States of America the two hundred and thirty-seventh.</div>\r\n<div>&nbsp;</div>\r\n<div class="rtecenter">&nbsp;</div>\r\n<div class="rtecenter">BARACK OBAMA</div></div>\r\n        \t</div>\r\n\t\t  \r\n\t\t\t<div class="entry">\r\n            \t<div class="heading">\r\n                    <div style="clear:both"></div>\r\n                \t<div class="date">START: <strong>8/6/2012</strong></div>\r\n                \t<div class="date">END: <strong>8/10/2012</strong></div>\r\n                \t<div class="short">US Flags at Half Staff in Honor of Oak Creek, WI Shootings</div>\r\n                    <div style="clear:both"></div>\r\n                </div>                \r\n                <div class="long"><p class="rtecenter">HONORING THE VICTIMS OF THE TRAGEDY IN OAK CREEK, WISCONSIN</p>\r\n<p class="rtecenter">BY THE PRESIDENT OF THE UNITED STATES OF AMERICA</p>\r\n<p class="rtecenter">A PROCLAMATION</p>\r\n<p jquery1344291293332="12">As a mark of respect for the victims of the senseless acts of violence perpetrated on August 5, 2012, in Oak Creek, Wisconsin, by the authority vested in me as President of the United States by the Constitution and the laws of the United States of America, I hereby order that the flag of the United States shall be flown at half-staff at the White House and upon all public buildings and grounds, at all military posts and naval stations, and on all naval vessels of the Federal Government in the District of Columbia and throughout the United States and its Territories and possessions until sunset, August 10, 2012. I also direct that the flag shall be flown at half-staff for the same length of time at all United States embassies, legations, consular offices, and other facilities abroad, including all military facilities and naval vessels and stations.</p>\r\n<p>IN WITNESS WHEREOF, I have hereunto set my hand this sixth day of August, in the year of our Lord two thousand twelve, and of the Independence of the United States of America the two hundred and thirty-seventh.</p>\r\n<p class="rtecenter">BARACK OBAMA</p></div>\r\n        \t</div>\r\n\t\t  \r\n\t\t\t<div class="entry">\r\n            \t<div class="heading">\r\n                    <div style="clear:both"></div>\r\n                \t<div class="date">START: <strong>7/20/2012</strong></div>\r\n                \t<div class="date">END: <strong>7/25/2012</strong></div>\r\n                \t<div class="short">US Flags To Half Staff in Honor of Aurora, Colorado Shooting Victims</div>\r\n                    <div style="clear:both"></div>\r\n                </div>                \r\n                <div class="long"><p>Presidential Proclomation :</p>\r\n<p>As a mark of respect for the victims of the senseless acts of violence perpetrated on July 20, 2012, in Aurora, Colorado, by the authority vested in me as President of the United States by the Constitution and the laws of the United States of America, I hereby order that the flag of the United States shall be flown at half-staff at the White House and upon all public buildings and grounds, at all military posts and naval stations, and on all naval vessels of the Federal Government in the District of Columbia and throughout the United States and its Territories and possessions until sunset, July 25, 2012. I also direct that the flag shall be flown at half-staff for the same length of time at all United States embassies, legations, consular offices, and other facilities abroad, including all military facilities and naval vessels and stations.<br />\r\nIN WITNESS WHEREOF, I have hereunto set my hand this twentieth day of July, in the year of our Lord two thousand twelve, and of the Independence of the United States of America the two hundred and thirty-seventh.</p>\r\n<p>Barack Obama</p></div>\r\n        \t</div>\r\n\t\t  \r\n\t\t\t<div class="entry">\r\n            \t<div class="heading">\r\n                    <div style="clear:both"></div>\r\n                \t<div class="date">START: <strong>5/28/2012</strong></div>\r\n                \t<div class="date">END: <strong>5/28/2012</strong></div>\r\n                \t<div class="short">US Flags to Half Staff Until Noon for Memorial Day</div>\r\n                    <div style="clear:both"></div>\r\n                </div>                \r\n                <div class="long"><p>&nbsp;</p>\r\n<div style="line-height: normal; margin: 0in 0in 10pt"><span style="color: black; font-size: 9pt">EXERPT FROM THE US FLAG CODE :</span></div>\r\n<div style="line-height: normal; margin: 0in 0in 0pt"><span style="color: black; font-size: 10pt">Section 7.M</span></div>\r\n<div style="line-height: normal; margin: 0in 0in 0pt"><span style="color: black; font-size: 10pt">The flag, when flown at half-staff, should be<br />\r\nfirst hoisted to the peak for an instant and then lowered to the half-staff<br />\r\nposition. The flag should be again raised to the peak before it is lowered for<br />\r\nthe day. On Memorial Day the flag should be displayed at half-staff until noon<br />\r\nonly, then raised to the top of the staff.</span></div></div>\r\n        \t</div>\r\n\t\t  \r\n\t\t\t<div class="entry">\r\n            \t<div class="heading">\r\n                    <div style="clear:both"></div>\r\n                \t<div class="date">START: <strong>5/12/2012</strong></div>\r\n                \t<div class="date">END: <strong>5/12/2012</strong></div>\r\n                \t<div class="short">US Flags to Half Staff for Peace Officers Memorial Day</div>\r\n                    <div style="clear:both"></div>\r\n                </div>                \r\n                <div class="long"><p>Fly the US Flag at Half Staff in Honor of Peace Officeres Memorial Day. President Obama has ordered a <a href="http://www.halfstaff.org/">proclomation.</a></p></div>\r\n        \t</div>\r\n\t\t  \r\n\t\t\t<div class="entry">\r\n            \t<div class="heading">\r\n                    <div style="clear:both"></div>\r\n                \t<div class="date">START: <strong>12/7/2011</strong></div>\r\n                \t<div class="date">END: <strong>12/7/2011</strong></div>\r\n                \t<div class="short">US flags to Half Staff in Honor of Pearl Harbor Day</div>\r\n                    <div style="clear:both"></div>\r\n                </div>                \r\n                <div class="long"><p><strong><span style="font-size: 10pt; font-weight: normal">President Obama has ordered all flags throughout the United States of America should be flown at half-staff in honor of Pearl Harbor Day.</span></strong></p></div>\r\n        \t</div>\r\n\t\t  \r\n\t\t\t<div class="entry">\r\n            \t<div class="heading">\r\n                    <div style="clear:both"></div>\r\n                \t<div class="date">START: <strong>10/16/2011</strong></div>\r\n                \t<div class="date">END: <strong>10/16/2011</strong></div>\r\n                \t<div class="short">President Obama Orders Flags to Half Staff</div>\r\n                    <div style="clear:both"></div>\r\n                </div>                \r\n                <div class="long"><p><span style="line-height: 115%; font-family: &quot;Arial&quot;,&quot;sans-serif&quot;; color: black; font-size: 10pt; mso-fareast-font-family: &#39;Times New Roman&#39;; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA; mso-bidi-font-weight: bold">President Obama has ordered the flag of the United States to be flown at half-staff on all Federal office buildings on Sunday, October 16, 2011 in honor of the National Fallen Firefighters Memorial Service. All Americans are encouraged to join in this tribute.</span></p></div>\r\n        \t</div>\r\n\t\t  \r\n\t\t\t<div class="entry">\r\n            \t<div class="heading">\r\n                    <div style="clear:both"></div>\r\n                \t<div class="date">START: <strong>9/11/2011</strong></div>\r\n                \t<div class="date">END: <strong>9/11/2011</strong></div>\r\n                \t<div class="short">US Flags to Half Staff</div>\r\n                    <div style="clear:both"></div>\r\n                </div>                \r\n                <div class="long"><p>President Obama has order all US has ordered all US Flags to Half Staff in Honor of Patriot Day.</p></div>\r\n        \t</div>\r\n\t\t  \r\n\t\t\t<div class="entry">\r\n            \t<div class="heading">\r\n                    <div style="clear:both"></div>\r\n                \t<div class="date">START: <strong>5/30/2011</strong></div>\r\n                \t<div class="date">END: <strong>5/30/2011</strong></div>\r\n                \t<div class="short">US flags to Half Staff</div>\r\n                    <div style="clear:both"></div>\r\n                </div>                \r\n                <div class="long"><p>US Flag will be flown at half staff from dawn to noon on Monday May 30, 2011 in observance of Memorial Day.</p></div>\r\n        \t</div>\r\n\t\t  \r\n\t\t\t<div class="entry">\r\n            \t<div class="heading">\r\n                    <div style="clear:both"></div>\r\n                \t<div class="date">START: <strong>5/15/2011</strong></div>\r\n                \t<div class="date">END: <strong>5/15/2011</strong></div>\r\n                \t<div class="short">US Flags to Half Staff</div>\r\n                    <div style="clear:both"></div>\r\n                </div>                \r\n                <div class="long"><p>US Flags are at half staff for Peace Officer&#39;s Memorial Day.</p></div>\r\n        \t</div>\r\n\t\t  \r\n\t\t\t<div class="entry">\r\n            \t<div class="heading">\r\n                    <div style="clear:both"></div>\r\n                \t<div class="date">START: <strong>3/15/2011</strong></div>\r\n                \t<div class="date">END: <strong>3/15/2011</strong></div>\r\n                \t<div class="short">Flags to Half Staff in Memory of Army Corporal Frank W. Buckles</div>\r\n                    <div style="clear:both"></div>\r\n                </div>                \r\n                <div class="long"><p><strong><span style="color: black; font-size: 10pt; font-weight: normal">President Obama has issued a proclamation ordering all flags in the United States lowered to half-staff on Tuesday, March 15, 2011 in memory and respect of Army Corporal Frank W. Buckles, the last surviving American Veteran of World War 1 who died on February 27, 2011 at age 110. <a target="_blank" href="http://www.whitehouse.gov/the-press-office/2011/02/28/presidential-proclamation-death-army-corporal-frank-w-buckles-last-survi"><b><font color="#0000ff">View the proclamation here</font></b></a>. </span></strong></p></div>\r\n        \t</div>\r\n\t\t  \r\n\t\t\t<div class="entry">\r\n            \t<div class="heading">\r\n                    <div style="clear:both"></div>\r\n                \t<div class="date">START: <strong>1/9/2011</strong></div>\r\n                \t<div class="date">END: <strong>1/14/2011</strong></div>\r\n                \t<div class="short">US Flags to Half Staffi n Honor of Victims of the Tragedy in Tucson, Arizona</div>\r\n                    <div style="clear:both"></div>\r\n                </div>                \r\n                <div class="long"><p><span style="font-size: 10pt">Presidential Proclamation</span></p>\r\n<p><span style="font-size: 10pt">As a mark of respect for the victims of the senseless acts of violence perpetrated on Saturday, January 8, 2011, in Tucson, Arizona, by the authority vested in me as President of the United States by the Constitution and the laws of the United States of America, I hereby order that the flag of the United States shall be flown at half-staff at the White House and upon all public buildings and grounds, at all military posts and naval stations, and on all naval vessels of the Federal Government in the District of Columbia and throughout the United States and its Territories and possessions until <b>sunset, January 14, 2011</b>.&nbsp; I also direct that the flag shall be flown at half-staff for the same length of time at all United States embassies, legations, consular offices, and other facilities abroad, including all military facilities and naval vessels and stations.</span></p>\r\n<div style="margin: 0in 0in 0pt">&nbsp;</div>\r\n<div style="margin: 0in 0in 0pt"><span style="font-size: 10pt">IN WITNESS WHEREOF, I have hereunto set my hand this<br />\r\nninth day of January, in the year of our Lord two thousand eleven, and of the Independence of the United States of America the two hundred and thirty-fifth.</span></div>\r\n<div style="margin: 0in 0in 0pt"><span style="font-size: 10pt"><br />\r\nBARACK OBAMA</span></div></div>\r\n        \t</div>\r\n\t\t  \r\n\t\t\t<div class="entry">\r\n            \t<div class="heading">\r\n                    <div style="clear:both"></div>\r\n                \t<div class="date">START: <strong>12/7/2010</strong></div>\r\n                \t<div class="date">END: <strong>12/7/2010</strong></div>\r\n                \t<div class="short">US flags to Half Staff in Honor of Pearl</div>\r\n                    <div style="clear:both"></div>\r\n                </div>                \r\n                <div class="long"><p>President Obama has ordered all US flags to Half Staff in Honor of Pearl Harbor Remembrance Day.</p></div>\r\n        \t</div>\r\n\t\t  \r\n\t\t\r\n        \r\n        \r\n      </div>\r\n      \r\n    </div>\r\n  </div>\r\n  <div id="footer">\r\n    <p style="display:none">Blogroll</p>\r\n    <ul class=\'xoxo blogroll\'>\r\n      <li><a href="http://halfstaff.org/">Home</a> |\r\n      <li><a href="http://halfstaff.org/about" title="American Flag Half Staff notifications &#8211; Website devoted to when to fly your flag at half staff">About</a> |\r\n      <li><a href="http://halfstaff.org/2009">Archived Blog Articles</a> |\r\n    </ul>\r\n  </div>\r\n</div>\r\n</div>\r\n</body>\r\n</html>\r\n'
In [167]:
res_1 = re.search(b'\t<div class=\"date\">START: <strong>(.*)</strong></div>',p_1)
print(res_1.group(1).decode('UTF-8'))
10/2/2017
In [168]:
p_2 = urllib.request.build_opener(urllib.request.HTTPCookieProcessor).open(url_2).read()
print(p_2)
b'\r\n\r\n<!DOCTYPE html>\r\n<html>\r\n  <head><meta charset="UTF-8"><title>\r\n\tUpcoming Lowerings - FlagNotify\r\n</title><link href="favicon.ico" rel="shortcut icon" type="image/x-icon" /><meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">\r\n    <!-- Bootstrap 3.3.2 -->\r\n    <link href="bootstrap/css/bootstrap.min.css" rel="stylesheet" type="text/css" />\r\n    <!-- Font Awesome Icons --> \r\n      <link href="https://maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css" rel="stylesheet" type="text/css" />\r\n     \r\n    <!-- Theme style -->\r\n    <link href="dist/css/AdminLTE.css" rel="stylesheet" type="text/css" />\r\n\r\n\r\n      <!-- REQUIRED JS SCRIPTS -->\r\n      <!-- jQuery 2.1.3 -->\r\n      <script src="libraries/jQuery-2.1.3.min.js"></script>\r\n      <!-- Bootstrap 3.3.2 JS -->\r\n      <script src="bootstrap/js/bootstrap.min.js" type="text/javascript"></script>\r\n\r\n      <script src="dist/js/app.min.js" type="text/javascript"></script>\r\n      <!-- Optionally, you can add Slimscroll and FastClick plugins.\r\n          Both of these plugins are recommended to enhance the\r\n          user experience -->\r\n\r\n      <link href="dist/css/skins/skin-red.css" rel="stylesheet" type="text/css" />\r\n\r\n      <script src="libraries/ajax_lib.aspx" type="text/javascript"></script>\r\n      <script src="http://connect.facebook.net/en_US/all.js#xfbml=1"></script>\r\n\r\n\r\n        \r\n    <style>\r\n        .alternate-stripe\r\n        {\r\n            background-color: #f9f9f9;\r\n        }\r\n\r\n    </style>\r\n\r\n <link href="dist/css/bsFN.css" rel="stylesheet" type="text/css" /></head>\r\n  <!--\r\n  BODY TAG OPTIONS:\r\n  =================\r\n  Apply one or more of the following classes to get the\r\n  desired effect\r\n  |---------------------------------------------------------|\r\n  | SKINS         | skin-blue                               |\r\n  |               | skin-black                              |\r\n  |               | skin-purple                             |\r\n  |               | skin-yellow                             |\r\n  |               | skin-red                                |\r\n  |               | skin-green                              |\r\n  |---------------------------------------------------------|\r\n  |LAYOUT OPTIONS | fixed                                   |\r\n  |               | layout-boxed                            |\r\n  |               | layout-top-nav                          |\r\n  |               | sidebar-collapse                        |\r\n  |---------------------------------------------------------|\r\n\r\n  -->\r\n  <body class="skin-red" style="height:100%;">\r\n      <script language ="javascript">\r\n\r\n          $(document).ready(function () {\r\n              $("#newsNav").addClass("active")\r\n\r\n\r\n              //alert($(\'#mainSection\').height());\r\n\r\n          });\r\n\r\n          function setState(state)\r\n          {\r\n              var url = \'/ajax_misc.aspx\'\r\n              var params = \'mode=setstate\';\r\n              params += \'&s=\' + state\r\n\r\n\r\n              $.ajax({\r\n                  url: url,\r\n                  type: \'post\',\r\n                  async: true,\r\n                  data: {\r\n                      mode: "setstate",\r\n                      s: state\r\n                  }\r\n              }).done(function (response) {\r\n                  //alert(response)\r\n                  //var obj = jQuery.parseJSON(response);\r\n                  //alert(response.state)\r\n                  //alert(response.status)\r\n                  $(\'#currentStateName\').html(response.state)\r\n                  $(\'#currentStateStatus\').html(response.status)\r\n              });\r\n\r\n\r\n          }\r\n\r\n          function setStateAjax(json)\r\n          {\r\n              alert(json)\r\n          }\r\n      </script>\r\n\r\n    <div class="wrapper">\r\n\r\n      <!-- Main Header -->\r\n      <header class="main-header">\r\n\r\n        <!-- Logo -->\r\n        <a href="/" class="logo">FlagNotify</a>\r\n\r\n        <!-- Header Navbar -->\r\n        <nav class="navbar navbar-static-top" role="navigation">\r\n          <!-- Sidebar toggle button-->\r\n          <a href="#" class="sidebar-toggle" data-toggle="offcanvas" role="button">\r\n            <span class="sr-only">Toggle navigation</span>\r\n          </a>\r\n          <!-- Navbar Right Menu -->\r\n          <div class="navbar-custom-menu">\r\n            <ul class="nav navbar-nav">\r\n              <!-- Messages: style can be found in dropdown.less-->\r\n              <li class="dropdown messages-menu">\r\n \r\n\r\n              <!-- Tasks Menu -->\r\n              <li class="dropdown tasks-menu">\r\n                <!-- Menu Toggle Button -->\r\n                <a href="#" class="dropdown-toggle" data-toggle="dropdown">\r\n                  <i class="fa fa-flag-o"></i>\r\n                  <span class="label label-warning"></span>\r\n                </a>\r\n                <ul class="dropdown-menu">\r\n                  <li class="header">All flags are at Full Staff</li>\r\n                  <li>\r\n                    <!-- Inner menu: contains the tasks -->\r\n                    <ul class="menu">\r\n                        \r\n\r\n                    </ul>\r\n                  </li>\r\n\r\n                </ul>\r\n              </li>\r\n\r\n              <li class="dropdown tasks-menu">\r\n                <!-- Menu Toggle Button -->\r\n                <a href="#" class="dropdown-toggle" data-toggle="dropdown">Change State\r\n                 </a>\r\n                <ul class="dropdown-menu">\r\n                  <li class="header">Select a new default state</li>\r\n                  <li>\r\n                    <!-- Inner menu: contains the tasks -->\r\n                    <ul class="menu">\r\n                        \r\n                                  <li>\r\n                                      <a href="javascript:setState(\'AL\')" style ="color:black;">\r\n                                          <span style="padding-left:10px;">Alabama</span>\r\n                                      </a>\r\n                                  </li>\r\n                              \r\n                                  <li>\r\n                                      <a href="javascript:setState(\'AK\')" style ="color:black;">\r\n                                          <span style="padding-left:10px;">Alaska</span>\r\n                                      </a>\r\n                                  </li>\r\n                              \r\n                                  <li>\r\n                                      <a href="javascript:setState(\'AZ\')" style ="color:black;">\r\n                                          <span style="padding-left:10px;">Arizona</span>\r\n                                      </a>\r\n                                  </li>\r\n                              \r\n                                  <li>\r\n                                      <a href="javascript:setState(\'AR\')" style ="color:black;">\r\n                                          <span style="padding-left:10px;">Arkansas</span>\r\n                                      </a>\r\n                                  </li>\r\n                              \r\n                                  <li>\r\n                                      <a href="javascript:setState(\'CA\')" style ="color:black;">\r\n                                          <span style="padding-left:10px;">California</span>\r\n                                      </a>\r\n                                  </li>\r\n                              \r\n                                  <li>\r\n                                      <a href="javascript:setState(\'CO\')" style ="color:black;">\r\n                                          <span style="padding-left:10px;">Colorado</span>\r\n                                      </a>\r\n                                  </li>\r\n                              \r\n                                  <li>\r\n                                      <a href="javascript:setState(\'CT\')" style ="color:black;">\r\n                                          <span style="padding-left:10px;">Connecticut</span>\r\n                                      </a>\r\n                                  </li>\r\n                              \r\n                                  <li>\r\n                                      <a href="javascript:setState(\'DE\')" style ="color:black;">\r\n                                          <span style="padding-left:10px;">Delaware</span>\r\n                                      </a>\r\n                                  </li>\r\n                              \r\n                                  <li>\r\n                                      <a href="javascript:setState(\'DC\')" style ="color:black;">\r\n                                          <span style="padding-left:10px;">District of Columbia</span>\r\n                                      </a>\r\n                                  </li>\r\n                              \r\n                                  <li>\r\n                                      <a href="javascript:setState(\'FP\')" style ="color:black;">\r\n                                          <span style="padding-left:10px;">Federal</span>\r\n                                      </a>\r\n                                  </li>\r\n                              \r\n                                  <li>\r\n                                      <a href="javascript:setState(\'FL\')" style ="color:black;">\r\n                                          <span style="padding-left:10px;">Florida</span>\r\n                                      </a>\r\n                                  </li>\r\n                              \r\n                                  <li>\r\n                                      <a href="javascript:setState(\'GA\')" style ="color:black;">\r\n                                          <span style="padding-left:10px;">Georgia</span>\r\n                                      </a>\r\n                                  </li>\r\n                              \r\n                                  <li>\r\n                                      <a href="javascript:setState(\'HI\')" style ="color:black;">\r\n                                          <span style="padding-left:10px;">Hawaii</span>\r\n                                      </a>\r\n                                  </li>\r\n                              \r\n                                  <li>\r\n                                      <a href="javascript:setState(\'ID\')" style ="color:black;">\r\n                                          <span style="padding-left:10px;">Idaho</span>\r\n                                      </a>\r\n                                  </li>\r\n                              \r\n                                  <li>\r\n                                      <a href="javascript:setState(\'IL\')" style ="color:black;">\r\n                                          <span style="padding-left:10px;">Illinois</span>\r\n                                      </a>\r\n                                  </li>\r\n                              \r\n                                  <li>\r\n                                      <a href="javascript:setState(\'IN\')" style ="color:black;">\r\n                                          <span style="padding-left:10px;">Indiana</span>\r\n                                      </a>\r\n                                  </li>\r\n                              \r\n                                  <li>\r\n                                      <a href="javascript:setState(\'IA\')" style ="color:black;">\r\n                                          <span style="padding-left:10px;">Iowa</span>\r\n                                      </a>\r\n                                  </li>\r\n                              \r\n                                  <li>\r\n                                      <a href="javascript:setState(\'KS\')" style ="color:black;">\r\n                                          <span style="padding-left:10px;">Kansas</span>\r\n                                      </a>\r\n                                  </li>\r\n                              \r\n                                  <li>\r\n                                      <a href="javascript:setState(\'KY\')" style ="color:black;">\r\n                                          <span style="padding-left:10px;">Kentucky</span>\r\n                                      </a>\r\n                                  </li>\r\n                              \r\n                                  <li>\r\n                                      <a href="javascript:setState(\'LA\')" style ="color:black;">\r\n                                          <span style="padding-left:10px;">Louisiana</span>\r\n                                      </a>\r\n                                  </li>\r\n                              \r\n                                  <li>\r\n                                      <a href="javascript:setState(\'ME\')" style ="color:black;">\r\n                                          <span style="padding-left:10px;">Maine</span>\r\n                                      </a>\r\n                                  </li>\r\n                              \r\n                                  <li>\r\n                                      <a href="javascript:setState(\'MD\')" style ="color:black;">\r\n                                          <span style="padding-left:10px;">Maryland</span>\r\n                                      </a>\r\n                                  </li>\r\n                              \r\n                                  <li>\r\n                                      <a href="javascript:setState(\'MA\')" style ="color:black;">\r\n                                          <span style="padding-left:10px;">Massachusetts</span>\r\n                                      </a>\r\n                                  </li>\r\n                              \r\n                                  <li>\r\n                                      <a href="javascript:setState(\'MI\')" style ="color:black;">\r\n                                          <span style="padding-left:10px;">Michigan</span>\r\n                                      </a>\r\n                                  </li>\r\n                              \r\n                                  <li>\r\n                                      <a href="javascript:setState(\'MN\')" style ="color:black;">\r\n                                          <span style="padding-left:10px;">Minnesota</span>\r\n                                      </a>\r\n                                  </li>\r\n                              \r\n                                  <li>\r\n                                      <a href="javascript:setState(\'MS\')" style ="color:black;">\r\n                                          <span style="padding-left:10px;">Mississippi</span>\r\n                                      </a>\r\n                                  </li>\r\n                              \r\n                                  <li>\r\n                                      <a href="javascript:setState(\'MO\')" style ="color:black;">\r\n                                          <span style="padding-left:10px;">Missouri</span>\r\n                                      </a>\r\n                                  </li>\r\n                              \r\n                                  <li>\r\n                                      <a href="javascript:setState(\'MT\')" style ="color:black;">\r\n                                          <span style="padding-left:10px;">Montana</span>\r\n                                      </a>\r\n                                  </li>\r\n                              \r\n                                  <li>\r\n                                      <a href="javascript:setState(\'NE\')" style ="color:black;">\r\n                                          <span style="padding-left:10px;">Nebraska</span>\r\n                                      </a>\r\n                                  </li>\r\n                              \r\n                                  <li>\r\n                                      <a href="javascript:setState(\'NV\')" style ="color:black;">\r\n                                          <span style="padding-left:10px;">Nevada</span>\r\n                                      </a>\r\n                                  </li>\r\n                              \r\n                                  <li>\r\n                                      <a href="javascript:setState(\'NH\')" style ="color:black;">\r\n                                          <span style="padding-left:10px;">New Hampshire</span>\r\n                                      </a>\r\n                                  </li>\r\n                              \r\n                                  <li>\r\n                                      <a href="javascript:setState(\'NJ\')" style ="color:black;">\r\n                                          <span style="padding-left:10px;">New Jersey</span>\r\n                                      </a>\r\n                                  </li>\r\n                              \r\n                                  <li>\r\n                                      <a href="javascript:setState(\'NM\')" style ="color:black;">\r\n                                          <span style="padding-left:10px;">New Mexico</span>\r\n                                      </a>\r\n                                  </li>\r\n                              \r\n                                  <li>\r\n                                      <a href="javascript:setState(\'NY\')" style ="color:black;">\r\n                                          <span style="padding-left:10px;">New York</span>\r\n                                      </a>\r\n                                  </li>\r\n                              \r\n                                  <li>\r\n                                      <a href="javascript:setState(\'NC\')" style ="color:black;">\r\n                                          <span style="padding-left:10px;">North Carolina</span>\r\n                                      </a>\r\n                                  </li>\r\n                              \r\n                                  <li>\r\n                                      <a href="javascript:setState(\'ND\')" style ="color:black;">\r\n                                          <span style="padding-left:10px;">North Dakota</span>\r\n                                      </a>\r\n                                  </li>\r\n                              \r\n                                  <li>\r\n                                      <a href="javascript:setState(\'OH\')" style ="color:black;">\r\n                                          <span style="padding-left:10px;">Ohio</span>\r\n                                      </a>\r\n                                  </li>\r\n                              \r\n                                  <li>\r\n                                      <a href="javascript:setState(\'OK\')" style ="color:black;">\r\n                                          <span style="padding-left:10px;">Oklahoma</span>\r\n                                      </a>\r\n                                  </li>\r\n                              \r\n                                  <li>\r\n                                      <a href="javascript:setState(\'OR\')" style ="color:black;">\r\n                                          <span style="padding-left:10px;">Oregon</span>\r\n                                      </a>\r\n                                  </li>\r\n                              \r\n                                  <li>\r\n                                      <a href="javascript:setState(\'PA\')" style ="color:black;">\r\n                                          <span style="padding-left:10px;">Pennsylvania</span>\r\n                                      </a>\r\n                                  </li>\r\n                              \r\n                                  <li>\r\n                                      <a href="javascript:setState(\'RI\')" style ="color:black;">\r\n                                          <span style="padding-left:10px;">Rhode Island</span>\r\n                                      </a>\r\n                                  </li>\r\n                              \r\n                                  <li>\r\n                                      <a href="javascript:setState(\'SC\')" style ="color:black;">\r\n                                          <span style="padding-left:10px;">South Carolina</span>\r\n                                      </a>\r\n                                  </li>\r\n                              \r\n                                  <li>\r\n                                      <a href="javascript:setState(\'SD\')" style ="color:black;">\r\n                                          <span style="padding-left:10px;">South Dakota</span>\r\n                                      </a>\r\n                                  </li>\r\n                              \r\n                                  <li>\r\n                                      <a href="javascript:setState(\'TN\')" style ="color:black;">\r\n                                          <span style="padding-left:10px;">Tennessee</span>\r\n                                      </a>\r\n                                  </li>\r\n                              \r\n                                  <li>\r\n                                      <a href="javascript:setState(\'TX\')" style ="color:black;">\r\n                                          <span style="padding-left:10px;">Texas</span>\r\n                                      </a>\r\n                                  </li>\r\n                              \r\n                                  <li>\r\n                                      <a href="javascript:setState(\'UT\')" style ="color:black;">\r\n                                          <span style="padding-left:10px;">Utah</span>\r\n                                      </a>\r\n                                  </li>\r\n                              \r\n                                  <li>\r\n                                      <a href="javascript:setState(\'VT\')" style ="color:black;">\r\n                                          <span style="padding-left:10px;">Vermont</span>\r\n                                      </a>\r\n                                  </li>\r\n                              \r\n                                  <li>\r\n                                      <a href="javascript:setState(\'VA\')" style ="color:black;">\r\n                                          <span style="padding-left:10px;">Virginia</span>\r\n                                      </a>\r\n                                  </li>\r\n                              \r\n                                  <li>\r\n                                      <a href="javascript:setState(\'WA\')" style ="color:black;">\r\n                                          <span style="padding-left:10px;">Washington</span>\r\n                                      </a>\r\n                                  </li>\r\n                              \r\n                                  <li>\r\n                                      <a href="javascript:setState(\'WV\')" style ="color:black;">\r\n                                          <span style="padding-left:10px;">West Virginia</span>\r\n                                      </a>\r\n                                  </li>\r\n                              \r\n                                  <li>\r\n                                      <a href="javascript:setState(\'WI\')" style ="color:black;">\r\n                                          <span style="padding-left:10px;">Wisconsin</span>\r\n                                      </a>\r\n                                  </li>\r\n                              \r\n                                  <li>\r\n                                      <a href="javascript:setState(\'WY\')" style ="color:black;">\r\n                                          <span style="padding-left:10px;">Wyoming</span>\r\n                                      </a>\r\n                                  </li>\r\n                              \r\n\r\n                    </ul>\r\n                  </li>\r\n\r\n                </ul>\r\n              </li>\r\n                \r\n            </ul>\r\n          </div>\r\n        </nav>\r\n      </header>\r\n      <!-- Left side column. contains the logo and sidebar -->\r\n      <aside class="main-sidebar">\r\n\r\n        <!-- sidebar: style can be found in sidebar.less -->\r\n        <section class="sidebar">\r\n\r\n          <!-- Sidebar user panel (optional) -->\r\n          <div class="user-panel">\r\n            <div class="pull-left info">\r\n              <p id ="currentStateName">Connecticut</p>\r\n              <!-- Status -->\r\n              <small > <span id ="currentStateStatus">Full</span> Staff</small>\r\n            </div>\r\n          </div>\r\n\r\n\r\n\r\n          <!-- Sidebar Menu -->\r\n          <ul class="sidebar-menu">\r\n            \r\n            <li id ="homeNav"><a href="/"><span>Home</span></a></li>\r\n            <li id ="signupNav"><a href="/flagstatus_signup.aspx"><span>Sign Up</span></a></li>\r\n\r\n            <li class="treeview" id ="aboutNav">\r\n              <a href="#"><span>About</span> <i class="fa fa-angle-left pull-right"></i></a>\r\n              <ul class="treeview-menu">\r\n                <li><a href="/flag_facts.aspx">U.S. Flag Facts</a></li>\r\n                <li><a href="/tips.aspx">F.A.Q.</a></li>\r\n                <li><a href="/contact.aspx">About Us</a></li>\r\n              </ul>\r\n            </li>\r\n\r\n            <li class="treeview" id ="newsNav">\r\n              <a href="#" ><span>News</span> <i class="fa fa-angle-left pull-right"></i></a>\r\n              <ul class="treeview-menu">\r\n                <li><a href="/scheduled.aspx">Upcoming</a></li>\r\n                <li><a href="/newslist.aspx">Archives</a></li>\r\n              </ul>\r\n            </li>\r\n\r\n            <li id ="loginNav"><a href="/cp_login.aspx">Login</a></li>\r\n\r\n          </ul><!-- /.sidebar-menu -->\r\n        </section>\r\n        <!-- /.sidebar -->\r\n      </aside>\r\n\r\n      <!-- Content Wrapper. Contains page content -->\r\n      <div class="content-wrapper" id ="mainSection" style ="border:0px none red;height:100%;" >\r\n        <!-- Content Header (Page header) -->\r\n        <section class="content-header" style ="">\r\n          <h1>\r\n            Upcoming Lowerings \r\n            <small><!--Optional description--></small>\r\n          </h1>\r\n        </section>\r\n       <!-- Main content -->\r\n        <section class="content" >\r\n\r\n            <div class ="FNPage">\r\n            \r\n\r\n  \r\n\r\n    \r\n    <script language = "javascript">\r\n        function expand(uid) {\r\n            var obj = document.getElementById(\'tbody_\' + uid)\r\n            if (obj.style.display == \'\') {\r\n                //$(obj).hide();\r\n\r\n                obj.style.display = \'none\';\r\n                document.getElementById(\'ahref_\' + uid).innerHTML = \'Show Details\'\r\n            }\r\n            else {\r\n                obj.style.display = \'\';\r\n                //$(obj).show();\r\n                document.getElementById(\'ahref_\' + uid).innerHTML = \'Hide Details\'\r\n            }\r\n                \r\n        }\r\n        \r\n    </script>\r\n \r\n        <table class="table" id="gv_articles" >\r\n            <thead>\r\n                <tr>\r\n                    <th  >Start</th>\r\n                    <th >End</th>\r\n                    <th  >State</th>\r\n                    <th></th>\r\n                </tr>\r\n            </thead>\r\n                              \r\n                        <tr class ="alternate-stripe">\r\n                            <td  style = "font-weight:bold;">10/25/2017</td>\r\n                            <td  style = "font-weight:normal;">10/25/2017</td>\r\n                            <td  style = "font-weight:normal;">New York</td>\r\n                            <td align = right style = "padding-right:10px;"><a href ="javascript:expand(7568)" id = "ahref_7568">Show Details</a></td>\r\n                        </tr>\r\n\r\n                        <tr class ="alternate-stripe" id = "tbody_7568" style = "display:none;"> \r\n                            <td  colspan = "4" style = "padding-left:25px;padding-top:5px;padding-right:10px;overflow:visible;width:100%;">Flags at state buildings will be flown at half-staff to honor Buffalo Police Officer Craig Lehner. New York grieves with his family  </td>\r\n                        </tr>\r\n                \r\n        </table>\r\n\r\n   \r\n            </div>\r\n\r\n\r\n             \r\n        <div style = "width:100%; text-align:center;border:0px none red;height:100px; max-height:100px;">\r\n\r\n            <script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>\r\n            <!-- New Footer -->\r\n            <ins class="adsbygoogle"\r\n                 style="display:block"\r\n                 data-ad-client="ca-pub-8229325723714757"\r\n                 data-ad-slot="6729739287"\r\n                 data-ad-format="auto"></ins>\r\n            <script>\r\n                (adsbygoogle = window.adsbygoogle || []).push({});\r\n            </script>\r\n       </div>\r\n  </section><!-- /.content -->\r\n\r\n      </div><!-- /.content-wrapper -->\r\n     <!-- Main Footer -->\r\n      <footer class="main-footer">\r\n\r\n \r\n\r\n\r\n       <!-- To the right -->\r\n        <div class="pull-right hidden-xs" >\r\n          <fb:like href="http://flagnotify.com" layout="button_count" width="90" font="arial"></fb:like>\r\n        </div>\r\n        <!-- Default to the left -->\r\n        <strong>Copyright &copy; 2015 <a href="/privacy.aspx">FlagNotify</a>.</strong> All rights reserved.\r\n      </footer>\r\n\r\n    </div><!-- ./wrapper -->\r\n\r\n<script>\r\n  (function(i,s,o,g,r,a,m){i[\'GoogleAnalyticsObject\']=r;i[r]=i[r]||function(){\r\n  (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),\r\n  m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)\r\n  })(window,document,\'script\',\'https://www.google-analytics.com/analytics.js\',\'ga\');\r\n\r\n  ga(\'create\', \'UA-97323165-1\', \'auto\');\r\n  ga(\'send\', \'pageview\');\r\n\r\n</script>\r\n\r\n\r\n  </body>\r\n</html>\r\n'
In [169]:
res_2 = re.search(b'<td  style = \"font-weight:normal;\">(\D*)</td>',p_2)  
print (res_2.group(1).decode('UTF-8'))
New York
In [170]:
p_3 = urllib.request.build_opener(urllib.request.HTTPCookieProcessor).open(url_2).read()
print(p_3)
b'\r\n\r\n<!DOCTYPE html>\r\n<html>\r\n  <head><meta charset="UTF-8"><title>\r\n\tUpcoming Lowerings - FlagNotify\r\n</title><link href="favicon.ico" rel="shortcut icon" type="image/x-icon" /><meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">\r\n    <!-- Bootstrap 3.3.2 -->\r\n    <link href="bootstrap/css/bootstrap.min.css" rel="stylesheet" type="text/css" />\r\n    <!-- Font Awesome Icons --> \r\n      <link href="https://maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css" rel="stylesheet" type="text/css" />\r\n     \r\n    <!-- Theme style -->\r\n    <link href="dist/css/AdminLTE.css" rel="stylesheet" type="text/css" />\r\n\r\n\r\n      <!-- REQUIRED JS SCRIPTS -->\r\n      <!-- jQuery 2.1.3 -->\r\n      <script src="libraries/jQuery-2.1.3.min.js"></script>\r\n      <!-- Bootstrap 3.3.2 JS -->\r\n      <script src="bootstrap/js/bootstrap.min.js" type="text/javascript"></script>\r\n\r\n      <script src="dist/js/app.min.js" type="text/javascript"></script>\r\n      <!-- Optionally, you can add Slimscroll and FastClick plugins.\r\n          Both of these plugins are recommended to enhance the\r\n          user experience -->\r\n\r\n      <link href="dist/css/skins/skin-red.css" rel="stylesheet" type="text/css" />\r\n\r\n      <script src="libraries/ajax_lib.aspx" type="text/javascript"></script>\r\n      <script src="http://connect.facebook.net/en_US/all.js#xfbml=1"></script>\r\n\r\n\r\n        \r\n    <style>\r\n        .alternate-stripe\r\n        {\r\n            background-color: #f9f9f9;\r\n        }\r\n\r\n    </style>\r\n\r\n <link href="dist/css/bsFN.css" rel="stylesheet" type="text/css" /></head>\r\n  <!--\r\n  BODY TAG OPTIONS:\r\n  =================\r\n  Apply one or more of the following classes to get the\r\n  desired effect\r\n  |---------------------------------------------------------|\r\n  | SKINS         | skin-blue                               |\r\n  |               | skin-black                              |\r\n  |               | skin-purple                             |\r\n  |               | skin-yellow                             |\r\n  |               | skin-red                                |\r\n  |               | skin-green                              |\r\n  |---------------------------------------------------------|\r\n  |LAYOUT OPTIONS | fixed                                   |\r\n  |               | layout-boxed                            |\r\n  |               | layout-top-nav                          |\r\n  |               | sidebar-collapse                        |\r\n  |---------------------------------------------------------|\r\n\r\n  -->\r\n  <body class="skin-red" style="height:100%;">\r\n      <script language ="javascript">\r\n\r\n          $(document).ready(function () {\r\n              $("#newsNav").addClass("active")\r\n\r\n\r\n              //alert($(\'#mainSection\').height());\r\n\r\n          });\r\n\r\n          function setState(state)\r\n          {\r\n              var url = \'/ajax_misc.aspx\'\r\n              var params = \'mode=setstate\';\r\n              params += \'&s=\' + state\r\n\r\n\r\n              $.ajax({\r\n                  url: url,\r\n                  type: \'post\',\r\n                  async: true,\r\n                  data: {\r\n                      mode: "setstate",\r\n                      s: state\r\n                  }\r\n              }).done(function (response) {\r\n                  //alert(response)\r\n                  //var obj = jQuery.parseJSON(response);\r\n                  //alert(response.state)\r\n                  //alert(response.status)\r\n                  $(\'#currentStateName\').html(response.state)\r\n                  $(\'#currentStateStatus\').html(response.status)\r\n              });\r\n\r\n\r\n          }\r\n\r\n          function setStateAjax(json)\r\n          {\r\n              alert(json)\r\n          }\r\n      </script>\r\n\r\n    <div class="wrapper">\r\n\r\n      <!-- Main Header -->\r\n      <header class="main-header">\r\n\r\n        <!-- Logo -->\r\n        <a href="/" class="logo">FlagNotify</a>\r\n\r\n        <!-- Header Navbar -->\r\n        <nav class="navbar navbar-static-top" role="navigation">\r\n          <!-- Sidebar toggle button-->\r\n          <a href="#" class="sidebar-toggle" data-toggle="offcanvas" role="button">\r\n            <span class="sr-only">Toggle navigation</span>\r\n          </a>\r\n          <!-- Navbar Right Menu -->\r\n          <div class="navbar-custom-menu">\r\n            <ul class="nav navbar-nav">\r\n              <!-- Messages: style can be found in dropdown.less-->\r\n              <li class="dropdown messages-menu">\r\n \r\n\r\n              <!-- Tasks Menu -->\r\n              <li class="dropdown tasks-menu">\r\n                <!-- Menu Toggle Button -->\r\n                <a href="#" class="dropdown-toggle" data-toggle="dropdown">\r\n                  <i class="fa fa-flag-o"></i>\r\n                  <span class="label label-warning"></span>\r\n                </a>\r\n                <ul class="dropdown-menu">\r\n                  <li class="header">All flags are at Full Staff</li>\r\n                  <li>\r\n                    <!-- Inner menu: contains the tasks -->\r\n                    <ul class="menu">\r\n                        \r\n\r\n                    </ul>\r\n                  </li>\r\n\r\n                </ul>\r\n              </li>\r\n\r\n              <li class="dropdown tasks-menu">\r\n                <!-- Menu Toggle Button -->\r\n                <a href="#" class="dropdown-toggle" data-toggle="dropdown">Change State\r\n                 </a>\r\n                <ul class="dropdown-menu">\r\n                  <li class="header">Select a new default state</li>\r\n                  <li>\r\n                    <!-- Inner menu: contains the tasks -->\r\n                    <ul class="menu">\r\n                        \r\n                                  <li>\r\n                                      <a href="javascript:setState(\'AL\')" style ="color:black;">\r\n                                          <span style="padding-left:10px;">Alabama</span>\r\n                                      </a>\r\n                                  </li>\r\n                              \r\n                                  <li>\r\n                                      <a href="javascript:setState(\'AK\')" style ="color:black;">\r\n                                          <span style="padding-left:10px;">Alaska</span>\r\n                                      </a>\r\n                                  </li>\r\n                              \r\n                                  <li>\r\n                                      <a href="javascript:setState(\'AZ\')" style ="color:black;">\r\n                                          <span style="padding-left:10px;">Arizona</span>\r\n                                      </a>\r\n                                  </li>\r\n                              \r\n                                  <li>\r\n                                      <a href="javascript:setState(\'AR\')" style ="color:black;">\r\n                                          <span style="padding-left:10px;">Arkansas</span>\r\n                                      </a>\r\n                                  </li>\r\n                              \r\n                                  <li>\r\n                                      <a href="javascript:setState(\'CA\')" style ="color:black;">\r\n                                          <span style="padding-left:10px;">California</span>\r\n                                      </a>\r\n                                  </li>\r\n                              \r\n                                  <li>\r\n                                      <a href="javascript:setState(\'CO\')" style ="color:black;">\r\n                                          <span style="padding-left:10px;">Colorado</span>\r\n                                      </a>\r\n                                  </li>\r\n                              \r\n                                  <li>\r\n                                      <a href="javascript:setState(\'CT\')" style ="color:black;">\r\n                                          <span style="padding-left:10px;">Connecticut</span>\r\n                                      </a>\r\n                                  </li>\r\n                              \r\n                                  <li>\r\n                                      <a href="javascript:setState(\'DE\')" style ="color:black;">\r\n                                          <span style="padding-left:10px;">Delaware</span>\r\n                                      </a>\r\n                                  </li>\r\n                              \r\n                                  <li>\r\n                                      <a href="javascript:setState(\'DC\')" style ="color:black;">\r\n                                          <span style="padding-left:10px;">District of Columbia</span>\r\n                                      </a>\r\n                                  </li>\r\n                              \r\n                                  <li>\r\n                                      <a href="javascript:setState(\'FP\')" style ="color:black;">\r\n                                          <span style="padding-left:10px;">Federal</span>\r\n                                      </a>\r\n                                  </li>\r\n                              \r\n                                  <li>\r\n                                      <a href="javascript:setState(\'FL\')" style ="color:black;">\r\n                                          <span style="padding-left:10px;">Florida</span>\r\n                                      </a>\r\n                                  </li>\r\n                              \r\n                                  <li>\r\n                                      <a href="javascript:setState(\'GA\')" style ="color:black;">\r\n                                          <span style="padding-left:10px;">Georgia</span>\r\n                                      </a>\r\n                                  </li>\r\n                              \r\n                                  <li>\r\n                                      <a href="javascript:setState(\'HI\')" style ="color:black;">\r\n                                          <span style="padding-left:10px;">Hawaii</span>\r\n                                      </a>\r\n                                  </li>\r\n                              \r\n                                  <li>\r\n                                      <a href="javascript:setState(\'ID\')" style ="color:black;">\r\n                                          <span style="padding-left:10px;">Idaho</span>\r\n                                      </a>\r\n                                  </li>\r\n                              \r\n                                  <li>\r\n                                      <a href="javascript:setState(\'IL\')" style ="color:black;">\r\n                                          <span style="padding-left:10px;">Illinois</span>\r\n                                      </a>\r\n                                  </li>\r\n                              \r\n                                  <li>\r\n                                      <a href="javascript:setState(\'IN\')" style ="color:black;">\r\n                                          <span style="padding-left:10px;">Indiana</span>\r\n                                      </a>\r\n                                  </li>\r\n                              \r\n                                  <li>\r\n                                      <a href="javascript:setState(\'IA\')" style ="color:black;">\r\n                                          <span style="padding-left:10px;">Iowa</span>\r\n                                      </a>\r\n                                  </li>\r\n                              \r\n                                  <li>\r\n                                      <a href="javascript:setState(\'KS\')" style ="color:black;">\r\n                                          <span style="padding-left:10px;">Kansas</span>\r\n                                      </a>\r\n                                  </li>\r\n                              \r\n                                  <li>\r\n                                      <a href="javascript:setState(\'KY\')" style ="color:black;">\r\n                                          <span style="padding-left:10px;">Kentucky</span>\r\n                                      </a>\r\n                                  </li>\r\n                              \r\n                                  <li>\r\n                                      <a href="javascript:setState(\'LA\')" style ="color:black;">\r\n                                          <span style="padding-left:10px;">Louisiana</span>\r\n                                      </a>\r\n                                  </li>\r\n                              \r\n                                  <li>\r\n                                      <a href="javascript:setState(\'ME\')" style ="color:black;">\r\n                                          <span style="padding-left:10px;">Maine</span>\r\n                                      </a>\r\n                                  </li>\r\n                              \r\n                                  <li>\r\n                                      <a href="javascript:setState(\'MD\')" style ="color:black;">\r\n                                          <span style="padding-left:10px;">Maryland</span>\r\n                                      </a>\r\n                                  </li>\r\n                              \r\n                                  <li>\r\n                                      <a href="javascript:setState(\'MA\')" style ="color:black;">\r\n                                          <span style="padding-left:10px;">Massachusetts</span>\r\n                                      </a>\r\n                                  </li>\r\n                              \r\n                                  <li>\r\n                                      <a href="javascript:setState(\'MI\')" style ="color:black;">\r\n                                          <span style="padding-left:10px;">Michigan</span>\r\n                                      </a>\r\n                                  </li>\r\n                              \r\n                                  <li>\r\n                                      <a href="javascript:setState(\'MN\')" style ="color:black;">\r\n                                          <span style="padding-left:10px;">Minnesota</span>\r\n                                      </a>\r\n                                  </li>\r\n                              \r\n                                  <li>\r\n                                      <a href="javascript:setState(\'MS\')" style ="color:black;">\r\n                                          <span style="padding-left:10px;">Mississippi</span>\r\n                                      </a>\r\n                                  </li>\r\n                              \r\n                                  <li>\r\n                                      <a href="javascript:setState(\'MO\')" style ="color:black;">\r\n                                          <span style="padding-left:10px;">Missouri</span>\r\n                                      </a>\r\n                                  </li>\r\n                              \r\n                                  <li>\r\n                                      <a href="javascript:setState(\'MT\')" style ="color:black;">\r\n                                          <span style="padding-left:10px;">Montana</span>\r\n                                      </a>\r\n                                  </li>\r\n                              \r\n                                  <li>\r\n                                      <a href="javascript:setState(\'NE\')" style ="color:black;">\r\n                                          <span style="padding-left:10px;">Nebraska</span>\r\n                                      </a>\r\n                                  </li>\r\n                              \r\n                                  <li>\r\n                                      <a href="javascript:setState(\'NV\')" style ="color:black;">\r\n                                          <span style="padding-left:10px;">Nevada</span>\r\n                                      </a>\r\n                                  </li>\r\n                              \r\n                                  <li>\r\n                                      <a href="javascript:setState(\'NH\')" style ="color:black;">\r\n                                          <span style="padding-left:10px;">New Hampshire</span>\r\n                                      </a>\r\n                                  </li>\r\n                              \r\n                                  <li>\r\n                                      <a href="javascript:setState(\'NJ\')" style ="color:black;">\r\n                                          <span style="padding-left:10px;">New Jersey</span>\r\n                                      </a>\r\n                                  </li>\r\n                              \r\n                                  <li>\r\n                                      <a href="javascript:setState(\'NM\')" style ="color:black;">\r\n                                          <span style="padding-left:10px;">New Mexico</span>\r\n                                      </a>\r\n                                  </li>\r\n                              \r\n                                  <li>\r\n                                      <a href="javascript:setState(\'NY\')" style ="color:black;">\r\n                                          <span style="padding-left:10px;">New York</span>\r\n                                      </a>\r\n                                  </li>\r\n                              \r\n                                  <li>\r\n                                      <a href="javascript:setState(\'NC\')" style ="color:black;">\r\n                                          <span style="padding-left:10px;">North Carolina</span>\r\n                                      </a>\r\n                                  </li>\r\n                              \r\n                                  <li>\r\n                                      <a href="javascript:setState(\'ND\')" style ="color:black;">\r\n                                          <span style="padding-left:10px;">North Dakota</span>\r\n                                      </a>\r\n                                  </li>\r\n                              \r\n                                  <li>\r\n                                      <a href="javascript:setState(\'OH\')" style ="color:black;">\r\n                                          <span style="padding-left:10px;">Ohio</span>\r\n                                      </a>\r\n                                  </li>\r\n                              \r\n                                  <li>\r\n                                      <a href="javascript:setState(\'OK\')" style ="color:black;">\r\n                                          <span style="padding-left:10px;">Oklahoma</span>\r\n                                      </a>\r\n                                  </li>\r\n                              \r\n                                  <li>\r\n                                      <a href="javascript:setState(\'OR\')" style ="color:black;">\r\n                                          <span style="padding-left:10px;">Oregon</span>\r\n                                      </a>\r\n                                  </li>\r\n                              \r\n                                  <li>\r\n                                      <a href="javascript:setState(\'PA\')" style ="color:black;">\r\n                                          <span style="padding-left:10px;">Pennsylvania</span>\r\n                                      </a>\r\n                                  </li>\r\n                              \r\n                                  <li>\r\n                                      <a href="javascript:setState(\'RI\')" style ="color:black;">\r\n                                          <span style="padding-left:10px;">Rhode Island</span>\r\n                                      </a>\r\n                                  </li>\r\n                              \r\n                                  <li>\r\n                                      <a href="javascript:setState(\'SC\')" style ="color:black;">\r\n                                          <span style="padding-left:10px;">South Carolina</span>\r\n                                      </a>\r\n                                  </li>\r\n                              \r\n                                  <li>\r\n                                      <a href="javascript:setState(\'SD\')" style ="color:black;">\r\n                                          <span style="padding-left:10px;">South Dakota</span>\r\n                                      </a>\r\n                                  </li>\r\n                              \r\n                                  <li>\r\n                                      <a href="javascript:setState(\'TN\')" style ="color:black;">\r\n                                          <span style="padding-left:10px;">Tennessee</span>\r\n                                      </a>\r\n                                  </li>\r\n                              \r\n                                  <li>\r\n                                      <a href="javascript:setState(\'TX\')" style ="color:black;">\r\n                                          <span style="padding-left:10px;">Texas</span>\r\n                                      </a>\r\n                                  </li>\r\n                              \r\n                                  <li>\r\n                                      <a href="javascript:setState(\'UT\')" style ="color:black;">\r\n                                          <span style="padding-left:10px;">Utah</span>\r\n                                      </a>\r\n                                  </li>\r\n                              \r\n                                  <li>\r\n                                      <a href="javascript:setState(\'VT\')" style ="color:black;">\r\n                                          <span style="padding-left:10px;">Vermont</span>\r\n                                      </a>\r\n                                  </li>\r\n                              \r\n                                  <li>\r\n                                      <a href="javascript:setState(\'VA\')" style ="color:black;">\r\n                                          <span style="padding-left:10px;">Virginia</span>\r\n                                      </a>\r\n                                  </li>\r\n                              \r\n                                  <li>\r\n                                      <a href="javascript:setState(\'WA\')" style ="color:black;">\r\n                                          <span style="padding-left:10px;">Washington</span>\r\n                                      </a>\r\n                                  </li>\r\n                              \r\n                                  <li>\r\n                                      <a href="javascript:setState(\'WV\')" style ="color:black;">\r\n                                          <span style="padding-left:10px;">West Virginia</span>\r\n                                      </a>\r\n                                  </li>\r\n                              \r\n                                  <li>\r\n                                      <a href="javascript:setState(\'WI\')" style ="color:black;">\r\n                                          <span style="padding-left:10px;">Wisconsin</span>\r\n                                      </a>\r\n                                  </li>\r\n                              \r\n                                  <li>\r\n                                      <a href="javascript:setState(\'WY\')" style ="color:black;">\r\n                                          <span style="padding-left:10px;">Wyoming</span>\r\n                                      </a>\r\n                                  </li>\r\n                              \r\n\r\n                    </ul>\r\n                  </li>\r\n\r\n                </ul>\r\n              </li>\r\n                \r\n            </ul>\r\n          </div>\r\n        </nav>\r\n      </header>\r\n      <!-- Left side column. contains the logo and sidebar -->\r\n      <aside class="main-sidebar">\r\n\r\n        <!-- sidebar: style can be found in sidebar.less -->\r\n        <section class="sidebar">\r\n\r\n          <!-- Sidebar user panel (optional) -->\r\n          <div class="user-panel">\r\n            <div class="pull-left info">\r\n              <p id ="currentStateName">Connecticut</p>\r\n              <!-- Status -->\r\n              <small > <span id ="currentStateStatus">Full</span> Staff</small>\r\n            </div>\r\n          </div>\r\n\r\n\r\n\r\n          <!-- Sidebar Menu -->\r\n          <ul class="sidebar-menu">\r\n            \r\n            <li id ="homeNav"><a href="/"><span>Home</span></a></li>\r\n            <li id ="signupNav"><a href="/flagstatus_signup.aspx"><span>Sign Up</span></a></li>\r\n\r\n            <li class="treeview" id ="aboutNav">\r\n              <a href="#"><span>About</span> <i class="fa fa-angle-left pull-right"></i></a>\r\n              <ul class="treeview-menu">\r\n                <li><a href="/flag_facts.aspx">U.S. Flag Facts</a></li>\r\n                <li><a href="/tips.aspx">F.A.Q.</a></li>\r\n                <li><a href="/contact.aspx">About Us</a></li>\r\n              </ul>\r\n            </li>\r\n\r\n            <li class="treeview" id ="newsNav">\r\n              <a href="#" ><span>News</span> <i class="fa fa-angle-left pull-right"></i></a>\r\n              <ul class="treeview-menu">\r\n                <li><a href="/scheduled.aspx">Upcoming</a></li>\r\n                <li><a href="/newslist.aspx">Archives</a></li>\r\n              </ul>\r\n            </li>\r\n\r\n            <li id ="loginNav"><a href="/cp_login.aspx">Login</a></li>\r\n\r\n          </ul><!-- /.sidebar-menu -->\r\n        </section>\r\n        <!-- /.sidebar -->\r\n      </aside>\r\n\r\n      <!-- Content Wrapper. Contains page content -->\r\n      <div class="content-wrapper" id ="mainSection" style ="border:0px none red;height:100%;" >\r\n        <!-- Content Header (Page header) -->\r\n        <section class="content-header" style ="">\r\n          <h1>\r\n            Upcoming Lowerings \r\n            <small><!--Optional description--></small>\r\n          </h1>\r\n        </section>\r\n       <!-- Main content -->\r\n        <section class="content" >\r\n\r\n            <div class ="FNPage">\r\n            \r\n\r\n  \r\n\r\n    \r\n    <script language = "javascript">\r\n        function expand(uid) {\r\n            var obj = document.getElementById(\'tbody_\' + uid)\r\n            if (obj.style.display == \'\') {\r\n                //$(obj).hide();\r\n\r\n                obj.style.display = \'none\';\r\n                document.getElementById(\'ahref_\' + uid).innerHTML = \'Show Details\'\r\n            }\r\n            else {\r\n                obj.style.display = \'\';\r\n                //$(obj).show();\r\n                document.getElementById(\'ahref_\' + uid).innerHTML = \'Hide Details\'\r\n            }\r\n                \r\n        }\r\n        \r\n    </script>\r\n \r\n        <table class="table" id="gv_articles" >\r\n            <thead>\r\n                <tr>\r\n                    <th  >Start</th>\r\n                    <th >End</th>\r\n                    <th  >State</th>\r\n                    <th></th>\r\n                </tr>\r\n            </thead>\r\n                              \r\n                        <tr class ="alternate-stripe">\r\n                            <td  style = "font-weight:bold;">10/25/2017</td>\r\n                            <td  style = "font-weight:normal;">10/25/2017</td>\r\n                            <td  style = "font-weight:normal;">New York</td>\r\n                            <td align = right style = "padding-right:10px;"><a href ="javascript:expand(7568)" id = "ahref_7568">Show Details</a></td>\r\n                        </tr>\r\n\r\n                        <tr class ="alternate-stripe" id = "tbody_7568" style = "display:none;"> \r\n                            <td  colspan = "4" style = "padding-left:25px;padding-top:5px;padding-right:10px;overflow:visible;width:100%;">Flags at state buildings will be flown at half-staff to honor Buffalo Police Officer Craig Lehner. New York grieves with his family  </td>\r\n                        </tr>\r\n                \r\n        </table>\r\n\r\n   \r\n            </div>\r\n\r\n\r\n             \r\n        <div style = "width:100%; text-align:center;border:0px none red;height:100px; max-height:100px;">\r\n\r\n            <script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>\r\n            <!-- New Footer -->\r\n            <ins class="adsbygoogle"\r\n                 style="display:block"\r\n                 data-ad-client="ca-pub-8229325723714757"\r\n                 data-ad-slot="6729739287"\r\n                 data-ad-format="auto"></ins>\r\n            <script>\r\n                (adsbygoogle = window.adsbygoogle || []).push({});\r\n            </script>\r\n       </div>\r\n  </section><!-- /.content -->\r\n\r\n      </div><!-- /.content-wrapper -->\r\n     <!-- Main Footer -->\r\n      <footer class="main-footer">\r\n\r\n \r\n\r\n\r\n       <!-- To the right -->\r\n        <div class="pull-right hidden-xs" >\r\n          <fb:like href="http://flagnotify.com" layout="button_count" width="90" font="arial"></fb:like>\r\n        </div>\r\n        <!-- Default to the left -->\r\n        <strong>Copyright &copy; 2015 <a href="/privacy.aspx">FlagNotify</a>.</strong> All rights reserved.\r\n      </footer>\r\n\r\n    </div><!-- ./wrapper -->\r\n\r\n<script>\r\n  (function(i,s,o,g,r,a,m){i[\'GoogleAnalyticsObject\']=r;i[r]=i[r]||function(){\r\n  (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),\r\n  m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)\r\n  })(window,document,\'script\',\'https://www.google-analytics.com/analytics.js\',\'ga\');\r\n\r\n  ga(\'create\', \'UA-97323165-1\', \'auto\');\r\n  ga(\'send\', \'pageview\');\r\n\r\n</script>\r\n\r\n\r\n  </body>\r\n</html>\r\n'
In [171]:
res_3 = re.search(b'weight:bold;\">(.*)</td>',p_3)  
print (res_3.group(1).decode('UTF-8'))
10/25/2017
In [172]:
if res_1 and res_2 and res_3: 
    output_1 = res_1.group(1).decode('UTF-8')
    output_2 = res_2.group(1).decode('UTF-8')
    output_3 = res_3.group(1).decode('UTF-8')
    titles = output_1 + " and in " + output_2 + " on " + output_3 + ". For more information visit https://goo.gl/7fQNMg"
print("%s | %s | %s | %s | %s"%(worksheet.row_values(worksheet.row_count)[1],worksheet.row_values(worksheet.row_count)[2],worksheet.row_values(worksheet.row_count)[3],worksheet.row_values(worksheet.row_count)[4],worksheet.row_values(worksheet.row_count)[2]))
0 | 0 | 0 | 0 | 0
In [173]:
print("%s | %s | %s | %s | %s"%(worksheet.row_values(worksheet.row_count)[1],worksheet.row_values(worksheet.row_count)[2],worksheet.row_values(worksheet.row_count)[3],worksheet.row_values(worksheet.row_count)[4],worksheet.row_values(worksheet.row_count)[2]))
0 | 0 | 0 | 0 | 0
In [174]:
print("%s | %s | %s | %s | %s"%(now,output_1,output_2,output_3,titles))
2017-10-24 23:37:45.602271 | 10/2/2017 | New York | 10/25/2017 | 10/2/2017 and in New York on 10/25/2017. For more information visit https://goo.gl/7fQNMg
In [175]:
if res_1 and res_2: 
 
    
    if (float(worksheet.row_values(worksheet.row_count)[1]) != output_1) or (float(worksheet.row_values(worksheet.row_count)[2]) != output_2):
        
        if (float(worksheet.row_values(worksheet.row_count)[1]) != output_1):
 
            try:
                #print ('Titles: %s'%(output_2))
                status = api.PostUpdate('US Flags are Half-Staff countrywide on %s'%(titles))
                print(status.text)
            except TwitterError:
                #print ('T1 + T2: %s'%(output_2))
                status = api.PostUpdate('US Flags to be Half-Staff countrywide on %s'%(titles))
                print(status.text)
                
        worksheet.append_row([now,output_1,output_2,output_3,titles])
US Flags are Half-Staff countrywide on 10/2/2017 and in New York on 10/25/2017. For more information visit https://t.co/LQlK38yorl
In [ ]: