Embed Local News on Your Site
Add a live, auto-updating "What's happening in [city]" feed to any website with one line of code. Perfect for community organizations, local blogs, and city-focused sites.
Live Preview
See the widget in action for Oklahoma City. Try your ZIP code below.
Embed code:
<script src="https://curbsidenews.com/widget.js" data-dma="41"></script>
How It Works
1️⃣
Paste the script
Add one line of HTML wherever you want the widget to appear.
2️⃣
Set your market
Use data-dma, data-subdma, or data-zip.
3️⃣
Auto-updates
Stories update automatically. No maintenance needed.
Configuration Options
| Attribute | Values | Default | Description |
|---|---|---|---|
| data-dma | 1 to 210 | — | DMA ID for the news market |
| data-subdma | norman, queens, etc. | — | Sub-region slug for neighborhood/city-level feed |
| data-zip | 73071, 10001, etc. | — | 5-digit ZIP code (auto-detects market) |
| data-stories | 1 to 10 | 5 | Number of stories to show |
| data-theme | light or dark | light | Color theme |
| data-width | auto or full | auto | auto limits to 480px; full fills container |
| data-title | true or false | true | Show/hide the "What's happening in…" header |
Usage Examples
By DMA (Oklahoma City):
<script src="https://curbsidenews.com/widget.js" data-dma="41"></script> By sub-region (Norman, OK):
<script src="https://curbsidenews.com/widget.js" data-subdma="norman" data-stories="3"></script> By ZIP code (auto-detects market):
<script src="https://curbsidenews.com/widget.js" data-zip="73071" data-theme="dark"></script> Ready to add local news to your site?
Free to use. No signup required. Just paste the script tag and your readers get the latest stories from their community.
<script src="https://curbsidenews.com/widget.js" data-zip="YOUR_ZIP"></script>