Pulse Check for your site
Show the Pulse check on your own page.
Readers see that the words in front of them are the words that were sealed, and how they were written.
- 1Put Pulse Check’s files on your siteFour small files. They run in the reader’s browser. Nothing calls New Standard, so we never see your readers.
- 2Put the sealed PDF beside the pageThe writer seals the piece in Pulse and sends you the PDF. Upload it with the article.
- 3Mark the piece and add the badgeThe badge compares the words in the marked piece with the sealed copy, ignoring formatting and spacing.
<!-- 1. Pulse Check's files, on your site -->
<script type="module" src="/pulse/pulse-embed.js"></script>
<!-- 2. The sealed PDF, 3. the badge -->
<article data-pulse-piece>
<h1>A toast for Walt's 80th</h1>
<p data-pulse-skip>By Rachel Carter
<pulse-check pdf="/sealed/walt.pdf"></pulse-check>
</p>
<p>Walt, you taught me to drive…</p>
</article>
Shows as
What readers see
A word anyone can read at a glance.
The heartbeat draws itself once when the badge comes into view. Tap any of these to see its card.
Pulse 90 to 100, and every word on the page matches the sealed copy.
Pulse 70 to 89: mostly written in Pulse.
Pulse 40 to 69: much of it came from somewhere else.
Under 40: most of it didn’t start in Pulse.
The page no longer matches its sealed copy. The card shows where.
No sealed copy, or one Pulse Check can’t vouch for.
Settings
pdf- The sealed PDF, on the same site as the page.
data-pulse-piece- On the element that holds the piece: the article, not the menu or the footer.
data-pulse-skip- On anything inside the piece that isn’t part of it, like the byline or a photo credit.
themelight(the default),dark, orautoto follow the reader’s setting.checker- Where “See the full Pulse check” goes. Pulse Check’s own address unless you change it.
Privacy
- Nothing calls us. The badge, the checking code and the PDF all come from your site.
- Nothing is uploaded. “See the full Pulse check” hands the PDF to Pulse Check inside the reader’s browser.
- Strict pages are fine. No inline scripts or styles, so it works under a strict Content Security Policy.
The files
Put these four in one folder on your site.
They’re the same code Pulse Check runs. [License to be decided.]
- pulse-embed.jsThe badge
- pulse-mark.jsThe heartbeat
- pulse-check.jsChecks the seal
- apple-root.jsApple’s root certificate