Interactieve e-mailtemplate

Live nieuwsfeedmodule

Haal de laatste koppen op het moment van openen op, zodat je content actueel blijft zonder opnieuw te versturen.

Nieuwsbrieven met live modules blijven relevant, ook als ze uren later worden geopend.

Inboxvoorbeeld

Statische HTML-weergave van de e-mailtekst. Gebruik die om de opmaak te controleren voordat je de live AMP-versie naar een testinbox stuurt.

Gmail · Primair

Mailneo demo <hello@mailneo.co>

10:42 (2 min geleden)

Live nieuwsfeedmodule

aan mij · interactieve e-mail

Top headlines right now

Render latest stories when email opens.

codefragmenten

<!doctype html>
<html amp4email>
  <head>
    <meta charset="utf-8" />
    <script async src="https://cdn.ampproject.org/v0.js"></script>
    <script async custom-element="amp-list" src="https://cdn.ampproject.org/v0/amp-list-0.1.js"></script>
    <script async custom-template="amp-mustache" src="https://cdn.ampproject.org/v0/amp-mustache-0.2.js"></script>
    <style amp4email-boilerplate>body{visibility:hidden}</style>
    <style amp-custom>
      body { margin: 0; padding: 16px; font-family: Arial, Helvetica, sans-serif; background: #fff7ed; color: #1f2937; }
      .card { max-width: 560px; margin: 0 auto; padding: 16px; border: 1px solid #fed7aa; border-radius: 12px; background: #ffffff; }
      h1 { margin: 0 0 8px; font-size: 24px; line-height: 30px; }
      .muted { color: #6b7280; font-size: 13px; line-height: 18px; }
      .btn { display: inline-block; margin-top: 10px; padding: 10px 14px; border: 0; border-radius: 8px; background: #f97316; color: #ffffff; text-decoration: none; font-weight: 700; cursor: pointer; }
      .pill { display: inline-block; margin-right: 8px; margin-bottom: 8px; padding: 4px 9px; border-radius: 999px; border: 1px solid #fdba74; background: #fff7ed; font-size: 12px; }
      .item { padding: 10px; border: 1px solid #fed7aa; border-radius: 10px; margin-top: 8px; }
    </style>
    <title>Live news feed module</title>
  </head>
  <body>
    <section class="card">
  <h1>Latest headlines</h1>
  <p class="muted">This block updates from your newsroom feed.</p>
  <amp-list width="auto" height="260" layout="fixed-height" src="https://amp.mailneo.co/demo/news-feed">
    <template type="amp-mustache">
      <div class="item">
        <p style="margin:0;font-weight:700;">{{title}}</p>
        <p class="muted" style="margin:6px 0;">{{source}} · {{publishedAt}}</p>
      </div>
    </template>
    <div placeholder class="muted">Loading headlines...</div>
  </amp-list>
</section>
  </body>
</html>

Gebruikte AMP-componenten

amp-list

toepassingen

  • Nieuwsbrief van een medium

    Toon topverhalen met tijdstempels en bronnamen.

    Branche: Uitgeverij

  • Management briefing

    Geef ochtendupdates uit interne of openbare feeds.

valkuilen

  • Uptime van de feed

    Gebruik een betrouwbaar endpoint en fallback-placeholders voor storingen.

  • Redactionele veiligheid

    Saniteer de payloads van koppen voordat je ze in templates laat zien.

data over conversieverbetering

Bij deze template is nog geen conversiebenchmark toegevoegd.

bronvermeldingen

gerelateerde templates

Voor dit item zijn nog geen links naar gerelateerde templates ingesteld.