· Home

myframely /api/v1 demo

Exercises all three response shapes (JSON / HTML fragment / web component) against a single URL. Server-loads via the authenticated path; web-component live-fetch uses /demo/proxy as a stand-in for a consumer's backend proxy.

1. JSON shape=json

{
  "url": "https://www.dw.com/en/strait-of-hormuz-mines-iran-us-war-drones/a-76847658",
  "canonical": "https://www.dw.com/en/strait-of-hormuz-mines-iran-us-war-drones/a-76847658",
  "title": "Mines in the Strait of Hormuz: How dangerous are they?",
  "description": "There are still mines in the Straight of Hormuz, delaying the opening for commercial shipping. How dangerous are naval mines, and what can be done to clear them?",
  "siteName": "dw.com",
  "siteLogoUrl": "https://storage.mostly.film/myframely/logo/dw.com/511b80e09d858b8d8edc9706d6431891b10e6947.png",
  "favicon": "https://www.dw.com/images/icons/favicon-16x16.png",
  "images": {
    "thumbnail": "https://storage.mostly.film/myframely/previews/5874515a-45fb-4f75-8960-53fa054dba10/f10abce9cdcc.jpg",
    "hero": "https://storage.mostly.film/myframely/previews/5874515a-45fb-4f75-8960-53fa054dba10/918d61f88595.jpg",
    "origin": "https://static.dw.com/image/76956565_6.jpg"
  },
  "provider": null,
  "fetchedAt": "2026-10-13T15:36:29.855Z"
}

2. HTML fragment shape=html

variant=thumbnail (default)
variant=hero

Mines in the Strait of Hormuz: How dangerous are they?

There are still mines in the Straight of Hormuz, delaying the opening for commercial shipping. How dangerous are naval mines, and what can be done to clear them?

dw.com
raw thumbnail HTML
<div class="mPreview_card" data-variant="thumbnail"><a class="mPreview_link" href="https://www.dw.com/en/strait-of-hormuz-mines-iran-us-war-drones/a-76847658" target="_blank" rel="noopener nofollow"><img class="mPreview_thumb" src="https://storage.mostly.film/myframely/previews/5874515a-45fb-4f75-8960-53fa054dba10/f10abce9cdcc.jpg" alt="" loading="lazy"><div class="mPreview_body"><h3 class="mPreview_title">Mines in the Strait of Hormuz: How dangerous are they?</h3><p class="mPreview_description">There are still mines in the Straight of Hormuz, delaying the opening for commercial shipping. How dangerous are naval mines, and what can be done to clear them?</p><div class="mPreview_meta"><img class="mPreview_logo" src="https://storage.mostly.film/myframely/logo/dw.com/511b80e09d858b8d8edc9706d6431891b10e6947.png" alt="" loading="lazy"><span class="mPreview_site">dw.com</span></div></div></a></div>

3. Web component (pre-fetched) <myframely-card preview=...>

default
theme="dark"
variant="hero"
themed via --mPreview-* (small/tight)

4. Web component (live-fetch) <myframely-card url=... endpoint=/demo/proxy>

This component fetches the preview from /demo/proxy on mount, no pre-serialized attribute. Simulates the pattern a consumer would use if they proxy the preview call through their own backend.