XML Feeds & File Types Available

Integrate FlashAlert data directly into your website or TV station CGS with our automated file feeds.

Using FlashAlert files in your station or newspaper's website and/or CGS

Files for automatic placement in your website

FlashAlert can automatically place a file into your server containing all the latest data. Through FTP, the file is replaced every five minutes. Information can be provided in a generic HTML style, tab-delimited form, CSV, JSON or as an XML file you can parse.

Here is what the HTML version of the file looks like on a station website.

Important: FlashAlert does not allow "hotlinking" to its site. It is acceptable for stations to periodically pull reports from FlashAlert (every 5 to 15 minutes) if FTP is not available; however you need to cache and re-display this information to your site visitors instead of sending them directly to our servers via hot-linking or iframing FlashAlert report pages.

Files that can automatically populate your TV station CGS

FlashAlert has two XML data feeds available. One contains all of the data: emergencies, news releases and participants. The other, designed for use in TV CGS, has only the emergency postings.

Complete XML file for the Portland area (select View Source)

Emergency-only XML file

Sample XML File Structure

<flashnews updated="2012-08-14 03:12:18">
                        <emergency>
                            <emergency_category name="Central Co. Schools">
                                <emergency_report report_id="26940" effective_date="2012-08-14 15:08:40" updated="0" last_update="2012-08-14 15:08:50" testing="0" schoolrelated="1" orgid="413" custom="0" operating_code="5" transpo_code="20">
                                    <detail><![CDATA[2 hrs late, Buses on snow rts]]></detail>
                                    <tomorrow><![CDATA[Effective tomorrow – Wed Aug 15th]]></tomorrow>
                                    <orgname orgid="413" tier="1" zipcode="x"><![CDATA[Cityville Schools]]></orgname>
                                </emergency_report>
                            </emergency_category>
                        </emergency>
                    </flashnews>
                    

Field/Element/Attributes Descriptions

  • flashnews updated:

    Time the information was posted or last changed

  • emergency:

    Type of info (emergency, news release, sports)

  • emergency_category name:

    The grouping, i.e. schools, police, military

  • emergency_report report_id:

    A unique number for this incident, stays constant if the info is updated

  • effective_date:

    The time the report was first published

  • updated:

    0 = no updates since posting; 1 = updated

  • last_update:

    The time when the report was last altered

  • schoolrelated:

    1 = school-related, 0 = non-school

  • orgid:

    An org's unique ID number

  • custom:

    0 = preconfigured message, 1 = handwritten

  • detail:

    The message content

  • tomorrow:

    Next-day message; resets at midnight

  • tier:

    In Portland/Colorado Springs: 1 = premium, 2 = basic

  • zipcode:

    Zip of the org’s registration

Operating Code Breakdown
Operating Code Description
1 Closed / All offices closed / Schools closed / Schools closed, staff report / Closed due to power/water / Closed but operating remotely / Closed for in-person instruction
2 No AM/PM Kindergarten / No Preschool / Evening or other activities canceled / Early release
3 Opening late (various hours: 9 am, 10 am, 11 am, Noon) / 2.5 or 3 hrs late for non-mission-essential staff
4 1 Hour Late for non-mission-essential staff
5 2 Hours Late for non-mission-essential staff
6 Buses on snow routes / Buses on main roads only / Road restriction routes / AM/PM Buses on snow routes / No activity bus runs
7 Test / Ignore notices

To FTP files into your website or CGS, FlashAlert needs the server address, any folder, a username and password.

How to Pull a Feed from a Single FlashAlert Region

All feeds include all information for all regions. To filter the region(s) appropriate for your needs, use the region codes listed below:

Region Codes

1 Portland/Vancouver/Salem
2 Eugene/Springfield/Roseburg/Albany/Corvallis
5 Colorado Springs/Rocky Mountain Area
7 Spokane/Eastern Washington/Northern Idaho
10 Bend/Central Oregon/Eastern Oregon
12 Seattle/Western Washington
13 Columbia/Tri Cities/Pendleton/Yakima
15 Boise/Southern Idaho
25 Medford/Klamath Falls/Grants Pass

Example Code Pull

Example pull from Columbia/Tri Cities/Pendleton/Yakima region using the rich HTML closures feed:

<iframe style="width:100%; height:150px;" src="https://www.flashalertnewswire.net/IIN/reportsX/cwc-closures.php?RegionID=13&Testing=0" title="School and business closures for Region 13"> </iframe>

The above code would result in:

Video Tutorial

Spoken Audio Narration:

Video Narration & Description

Detailed text alternative describing all step-by-step actions and visual information presented in this video tutorial.

0:00 – 0:50 FlashAlert - How to Post News Releases

  1. 0:02 — Step 1: Click Post News Release (Non-Emerg) link under the Client Tools heading on the left-hand Dashboard.
  2. 0:04 — Step 2: Click Add a News Release button.
  3. 0:05 — Step 3: Add your Headline in the Headline field.
  4. 0:09 — Step 4: Add your Text/Body content in the Text/Body field.
  5. 0:11 — Step 5: Add Contact Information for the news media to reach you in the Contact Info for news media only field.
  6. 0:16 — Step 6: Add any attachments like pictures and documents using the Pictures & Attachments section.
  7. 0:21 — Step 7: Add captions to each of your attachments which will be included with the release when sent.
  8. 0:23 — Repeat as necessary if you have more than one attachment. You can attach up to 15 files.
  9. 0:28 — Step 8: Select the Media Outlets to which you want to distribute your news release.
  10. 0:32 — Step 9: Select Other Audiences such as Custom Email Lists, Messenger Subscribers, as well as posting to Facebook and/or X.

0:35 — Click Send News Release Now and your release will be distributed.

0:40 — Your news release will post to the FlashAlert newsfeeds used by local media organizations.

0:44 — FlashAlert sends your news release via email to all media organizations you selected in Step 8.

0:48 — Your news release will be posted in the Local News tab of FlashAlert's iOS and Android mobile apps.

0:51 – 1:30 FlashAlert - How to Post Emergency Alerts

  1. 0:54 — Step 1: Click the Post Closure/Emerg Report link under the Client Tools heading on the left-hand Dashboard.
  2. 0:56 — Step 2: Select your organization's status from the Opening Status, Preschool/Kindergarten Status (if applicable), and Transportation Status (if applicable) drop-down menus.
  3. 1:01 — Step 3: Enter your organization's contact info for the news media outlets to reach you in the Contact Info for News Media field.
  4. 1:03 — Step 4: Select the cities affected by your organization's closure from the Select Affected Cities dropdown fields.
  5. 1:07 — Step 5: Select whether you want to notify Custom Email Lists (called “Business Partners”), Messenger Subscribers, and/or post the alert to Facebook and/or X.
  6. 1:09 — Step 6: Click the green “Send” button to distribute your emergency alert.

1:11 — You're done! Your emergency closure will be distributed immediately.

1:13 — Emergency alerts are posted to your organization's individualized FlashAlert webpage, the FlashAlert newsfeeds, directly to participating news media websites, distributed to live news crawls (for qualifying organizations), sent as push notification alerts to FlashAlert's Android and iOS apps, and emailed to your organization's Messenger subscribers.

1:20 — Your organization can receive a free 14-day trial to FlashAlert with no credit card required at www.flashalert.net.