You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: update detect_filetype for JSONs with text/plain MIME type (#520)
* check to see if text file is a json
* add json check into filetype detection
* added test for updated file detection logic
* bytes/strings handling
* changlog and version bump
"text": "News Around NOAA > Are You Weather-Ready for the Spring?",
37
+
"type": "Title",
38
+
"metadata": {
39
+
"page_number": 1
40
+
}
41
+
},
42
+
{
43
+
"element_id": "fab6c4df083f0fb6f324fff65b652c86",
44
+
"text": "Weather Safety Air Quality Beach Hazards Cold Cold Water Drought Floods Fog Heat Hurricanes Lightning Safety Rip Currents Safe Boating Space Weather Sun (Ultraviolet Radiation) Thunderstorms & Tornadoes Tornado Tsunami Wildfire Wind Winter",
45
+
"type": "ListItem",
46
+
"metadata": {
47
+
"page_number": 1
48
+
}
49
+
},
50
+
{
51
+
"element_id": "45c26cf3457e6d18985a435e2c0fcc65",
52
+
"text": "Safety Campaigns Seasonal Safety Campaigns #SafePlaceSelfie Deaf & Hard of Hearing Intellectual Disabilities Spanish-language Content The Great Outdoors",
53
+
"type": "ListItem",
54
+
"metadata": {
55
+
"page_number": 1
56
+
}
57
+
},
58
+
{
59
+
"element_id": "77f5acc603de9a165ed87a5c3fbaf14a",
60
+
"text": "Ambassador About WRN Ambassadors Become an Ambassador Ambassadors of Excellence People of WRN FAQS Tell Your Success Story Success Stories Tri-fold Aviation Current Ambassadors Brochure En Español",
61
+
"type": "ListItem",
62
+
"metadata": {
63
+
"page_number": 1
64
+
}
65
+
},
66
+
{
67
+
"element_id": "8f19bcaabbd1bafa5e9826ac69766c8b",
68
+
"text": "Education NWS Education Home Be A Force Of Nature WRN Kids Flyer Wireless Emergency Alerts NOAA Weather Radio Mobile Weather Brochures Hourly Weather Forecast Citizen Science Intellectual Disabilities",
69
+
"type": "ListItem",
70
+
"metadata": {
71
+
"page_number": 1
72
+
}
73
+
},
74
+
{
75
+
"element_id": "1245f9cf9e019713391e4ee3bac54a63",
76
+
"text": "Collaboration Get Involved Social Media WRN Ambassadors Enterprise Resources StormReady TsunamiReady NWSChat (core partners only) InteractiveNWS (iNWS) (core partners only) SKYWARN",
"text": "About Contact Us What is WRN? WRN FAQ WRN Brochure Hazard Simplification IDSS Brochure Roadmap Strategic Plan WRN International Social Science",
101
+
"type": "ListItem",
102
+
"metadata": {
103
+
"page_number": 1
104
+
}
105
+
},
106
+
{
107
+
"element_id": "6cbcf8c11f8c0781bd9ecc7f67169ff0",
108
+
"text": "The spring season is all about change – a rebirth both literally and figuratively. Even though the spring season doesn’t officially (astronomically, that is) begin until March 20 this year, climatologically, it starts March 1.",
109
+
"type": "NarrativeText",
110
+
"metadata": {
111
+
"page_number": 1
112
+
}
113
+
},
114
+
{
115
+
"element_id": "7184168da442c6ef28553b274bf2be8f",
116
+
"text": "As cold winter nights are replaced by the warmth of longer daylight hours, the National Weather Service invites you to do two important things that may save your life or the life of a loved one.",
117
+
"type": "NarrativeText",
118
+
"metadata": {
119
+
"page_number": 1
120
+
}
121
+
},
122
+
{
123
+
"element_id": "f3be9748ecd68b20d706548129baa22d",
124
+
"text": "First, take steps to better prepare for the seasonal hazards weather can throw at you.\nThis could include a spring cleaning of your storm shelter or ensuring your emergency kit is fully stocked. Take a look at our infographics and social media posts to help you become “weather-ready.”",
125
+
"type": "NarrativeText",
126
+
"metadata": {
127
+
"page_number": 1
128
+
}
129
+
},
130
+
{
131
+
"element_id": "126c3cd201fb259cfeabc6bffc0b5473",
132
+
"text": "Second, encourage others to become Weather-Ready as well. Share the message by taking advantage of our vast array of weather safety content – everything posted on our Spring Safety website is freely available, and we encourage sharing on social media networks. Also remember those who are most vulnerable, like an elderly family member or neighbor who might have limited mobility or is isolated. Reach out to those who are at higher risk of being impacted by extreme weather, and help them get prepared. This simple act of caring could become heroic.",
133
+
"type": "NarrativeText",
134
+
"metadata": {
135
+
"page_number": 1
136
+
}
137
+
},
138
+
{
139
+
"element_id": "c1944fb037f3e1cb14969bc59a7dd9c2",
140
+
"text": "This spring, the campaign is focused on heat dangers. Heat illness and death can occur even in spring’s moderately warm weather. The majority of all heat-related deaths occur outside of heat waves and roughly a third of child hot car deaths occur outside of the summer months. Learn more by viewing the infographics that are now available.",
141
+
"type": "NarrativeText",
142
+
"metadata": {
143
+
"page_number": 1
144
+
}
145
+
},
146
+
{
147
+
"element_id": "fa1b939ef6159d95260bc095f58ebbc2",
148
+
"text": "Stay safe this spring, and every season, by being informed, prepared, and Weather-Ready.",
149
+
"type": "NarrativeText",
150
+
"metadata": {
151
+
"page_number": 1
152
+
}
153
+
},
154
+
{
155
+
"element_id": "47d5d0d27a35a36d7467dfc8b6e089b3",
156
+
"text": "US Dept of Commerce\n National Oceanic and Atmospheric Administration\n National Weather Service\n News Around NOAA1325 East West HighwaySilver Spring, MD 20910Comments? Questions? Please Contact Us.",
0 commit comments