Embed The Midland on your site
Free, lightweight, no API key. Show the latest Midland, Texas headlines to your visitors. Updated every 5 minutes from the same source as themidland.org.
Auto-iframe (recommended)
Drop these two lines anywhere in your HTML. The script discovers the <div> and inserts the iframe automatically.
<div data-nexcom-widget data-ref="YOUR_SITE"></div>
<script async src="https://themidland.org/embed/embed.js"></script>
Manual iframe
Or use a plain iframe directly:
<iframe src="https://themidland.org/embed/widget?ref=YOUR_SITE" width="100%" height="380" style="border:0;max-width:480px" title="The Midland — Latest Headlines"></iframe>
Customization (optional data-* attributes)
data-ref="YOUR_SITE" — attribution / analytics tag
data-theme="light" — light, dark, red, green
data-color="#1e3a5f" — override accent color (6-digit hex)
data-limit="5" — number of headlines (1-10)
data-compact="1" — tighter layout for sidebars
data-max-width="320px" — iframe max width
data-min-height="280px" — iframe min height
Live preview
License
Headlines and excerpts are CC BY 4.0. Link the displayed headlines to the canonical articles on themidland.org (the widget does this automatically). No special permission needed for nonprofit / community use.
Network
The Midland is part of the Nexcom Media Network — 16 hyperlocal, advocacy, and community news sites. Every site offers the same widget. See the network embed catalog.