Dev.to WebDev 🛠 Dev 👁 2 📖 5 min read

I checked every quotation on our competitor pages against the live sites, and two of them changed within five days

Nakodo has twelve pages that compare it with other influencer tools, indexed at /alternatives. They follow one rule: a statement about another company comes from that company's own site, sits next to a link to the page i

Nakodo has twelve pages that compare it with other influencer tools, indexed at /alternatives. They follow one rule: a statement about another company comes from that company's own site, sits next to a link to the page it came from, and the page says on what date it was checked. Where it is a direct quotation, it is in quotation marks.

That rule is easy to state and impossible to test with a unit test, because the thing it depends on is somebody else's website. So five days after the last edit I tested it by hand.

The extraction

The pages are TypeScript objects (sections of blocks, each with a text string, links written as [words](url)). A throwaway script walked every string in all twelve, took each "..." of six characters or more, and recorded the URLs that appear as links in the same string:

for (const t of allStrings(page.sections)) {
  const urls = [...t.matchAll(/\]\((https?:[^)]+)\)/g)].map((m) => m[1]);
  for (const m of t.matchAll(/"([^"]{6,})"/g)) out.push({ slug, quote: m[1], urls });
}

It found 25 quotation marks' worth of text. Four of those are not claims about anyone: three are the phrase in your Instagram bio (what an email-finding feature does, with no link in the same string) and one is a line of our own about a first order. One more is an artefact of my regex, a link whose label happens to be in quotes. That leaves 20 quotations about other companies, each with a link beside it.

The check

For each one: fetch the linked page, strip scripts, styles and tags, fold curly quotes to straight ones, collapse whitespace, lower-case both sides, and ask whether the quotation is a substring.

const norm = (s) => s
  .replace(/<script[\s\S]*?<\/script>|<style[\s\S]*?<\/style>/gi, " ")
  .replace(/<[^>]+>/g, " ")
  .replace(/[‘’]/g, "'").replace(/[“”]/g, '"')
  .replace(/\s+/g, " ").toLowerCase();

First pass with plain fetch and a browser user agent: 14 hits, two misses on a 200 (plus the regex artefact, which counts as a miss and is not one), and four that could not be read at all because the site answers a script with a 403.

I do not trust that second category. The last time I ran a link checker over our outbound links, a real browser loaded all 33 pages the checker called broken. So the four 403s, all four quotations from one company's pages (the Skeepers page cites it), went through a real browser instead. All four were on the page, word for word.

The tally

result quotations
on the live page, exactly as quoted 18
no longer on the live page 2
quoted from a page that never said it 0

One of the 18 is worth a note. A quotation we attribute to Tomoson's about page is not on that page, but the same string is on its homepage, which the same sentence also links. So the claim is true and one of its two links is the wrong one to cite for it.

The two that moved

Both are from the Creator.co page, which says more than once that it describes the company "as of 26 November 2026":

Creator.co's homepage describes "Creator-Powered Content to Commerce", "Powered by London, our AI agent"...

On 1 December, its homepage says Creator powered commerce and Content to Commerce, Simplified. The AI agent is still there, under the name London, but it is now Meet London AI, Your AI influencer marketing agent. The site was redesigned between our check and my re-check, five days apart.

Two out of 20 is 10 per cent, in five days. I do not know that the rate holds, and a sample of 20 is not a rate. What it does show is what the page's own "as of" date is for. The quotation is accurate about what the site said on the day, and the page says so. The sentence is not wrong. It is a dated statement, and it has just started to age.

What this means for the rule

Three things came out of it that I did not have an hour earlier.

  1. A quotation is the first thing to go stale. A paraphrase ("describes a creator marketplace") survives a redesign. A verbatim line ("Creator-Powered Content to Commerce") does not. Quoting is the strongest way to show you read the page, and it has the shortest life. We should quote less, and paraphrase with a link where the exact wording does not matter.
  2. The check is about a dozen lines and has no dependencies. The extraction is the one above. The comparison is a substring test. Nothing about it needs a framework, a headless browser (for 19 of 20), or a paid service.
  3. It belongs next to the content, not in the test suite. A unit test that fetches other people's websites would fail on a Tuesday because a stranger edited a headline, and the person it would fail for did nothing. A weekly job that writes a list ("these quotations are gone") and leaves the build alone is the right shape. The same reasoning is why a link check should not block a deploy.

The fix I have not made

Every file in src/content/alternatives/ has a comment above the export that reads Every statement about X comes from x.com and was checked on 26 November 2026. Check the linked pages again before changing updated. The sitemap serves that updated date, so crawlers also see 26 November on the Creator.co page. The right edit is not to change the date. It is to re-read the page and rewrite the two sentences, and only then move the date, because moving the date without the re-read would turn a dated statement into a false one.

If you are building anything with citations of other people's pages, the cheap version is: store the quotation next to its URL as data, not buried in a paragraph, and run the substring check on a schedule. Ours lives in prose today, which is why the first thing I had to write was a regex that finds quotation marks.

📰 Read the original article on Dev.to WebDev

Originally published by Dev.to WebDev. Aggregated on AIWithGhost for educational purposes — full credit and traffic to the original publisher.