<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[EEATClean]]></title><description><![CDATA[Consultants, trainers and independent experts rely on their articles to earn buyers’ trust. EEATClean checks selected articles against current web sources, iden]]></description><link>https://eeatclean.hashnode.dev</link><generator>RSS for Node</generator><lastBuildDate>Sat, 28 Nov 2026 23:16:48 GMT</lastBuildDate><atom:link href="https://eeatclean.hashnode.dev/rss.xml" rel="self" type="application/rss+xml"/><language><![CDATA[en]]></language><ttl>60</ttl><item><title><![CDATA[Find outdated facts across a whole blog, starting from its sitemap]]></title><description><![CDATA[A simple Python workflow to rank blog pages by time-sensitive claims, then check each one against the official source. No source, no change.]]></description><link>https://eeatclean.hashnode.dev/find-outdated-facts-across-a-whole-blog-starting-from-its-sitemap</link><guid isPermaLink="true">https://eeatclean.hashnode.dev/find-outdated-facts-across-a-whole-blog-starting-from-its-sitemap</guid><category><![CDATA[Python]]></category><category><![CDATA[SEO]]></category><category><![CDATA[web scraping]]></category><category><![CDATA[Technical writing ]]></category><dc:creator><![CDATA[EEATClean]]></dc:creator><pubDate>Thu, 19 Nov 2026 17:24:43 GMT</pubDate><content:encoded><![CDATA[<p>Broken links are easy to find. Every crawler flags them. Wrong facts are harder: the page loads fine, the link works, and the article still tells readers to install version 2 of a tool that is on version 5.</p>
<p>This kind of decay hits technical blogs and docs hard, because they are full of things that change: versions, prices, API limits, deadlines, standards. So here is a simple workflow you can run yourself to find the pages most likely to be wrong, starting from nothing but the sitemap.</p>
<h2>Step 1: get every URL from the sitemap</h2>
<p>Almost every site already publishes a list of its pages. Sometimes it's one <code>sitemap.xml</code>, sometimes a sitemap index that points to several files. This function handles both:</p>
<pre><code class="language-python">import requests
import xml.etree.ElementTree as ET

NS = {"sm": "http://www.sitemaps.org/schemas/sitemap/0.9"}

def sitemap_urls(url):
    root = ET.fromstring(requests.get(url, timeout=20).content)
    if root.tag.endswith("sitemapindex"):
        urls = []
        for loc in root.findall("sm:sitemap/sm:loc", NS):
            urls += sitemap_urls(loc.text.strip())
        return urls
    return [
        (u.findtext("sm:loc", namespaces=NS).strip(),
         u.findtext("sm:lastmod", default="", namespaces=NS))
        for u in root.findall("sm:url", NS)
    ]
</code></pre>
<p>You get a list of <code>(url, lastmod)</code> pairs. Keep <code>lastmod</code>, but don't trust it too much. Many CMSs update it when a sidebar changes, so a recent date doesn't mean the facts were checked.</p>
<h2>Step 2: rank pages by risk, not by age</h2>
<p>The usual advice is "start with your oldest posts". That's a reasonable default, yet it misses something. A two-year-old opinion piece can still be right. A three-month-old tutorial that quotes a price or a version can already be wrong.</p>
<p>So rank pages by how many time-sensitive claims they contain. A few rough patterns go a long way:</p>
<pre><code class="language-python">import re
import time
from bs4 import BeautifulSoup

PATTERNS = {
    "year": r"\b20[0-2]\d\b",
    "version": r"\bv?\d+\.\d+(?:\.\d+)?\b",
    "price": r"[$€£]\s?\d[\d,.]*|\b\d[\d,.]*\s?(?:USD|EUR|GBP)\b",
    "freshness": r"\b(?:currently|as of|latest|this year)\b",
}

def risky_sentences(url):
    html = requests.get(url, timeout=20).text
    text = BeautifulSoup(html, "html.parser").get_text(" ", strip=True)
    hits = []
    for sentence in re.split(r"(?&lt;=[.!?])\s+", text):
        kinds = [k for k, p in PATTERNS.items() if re.search(p, sentence, re.I)]
        if kinds:
            hits.append((kinds, sentence[:200]))
    return hits

pages = sitemap_urls("https://example.com/sitemap.xml")
report = []
for url, lastmod in pages:
    report.append((len(risky_sentences(url)), lastmod, url))
    time.sleep(1)  # be polite, even on your own server

for count, lastmod, url in sorted(report, reverse=True)[:20]:
    print(count, lastmod or "no lastmod", url)
</code></pre>
<p>It's noisy on purpose. The goal isn't to judge the claims yet. It's to get a short list of the 20 pages where a wrong fact is most likely to hide.</p>
<h2>Step 3: check each claim against the official source</h2>
<p>This is the step people skip, and it's the one that matters.</p>
<p>For every flagged sentence, find the page that actually owns the fact: the vendor's release notes, the pricing page, the standard body's site, the regulator's page. Not a blog that summarized it, and not a chatbot answer. A model that sounds sure is not a source.</p>
<p>Two rules keep this honest:</p>
<ol>
<li><strong>No source, no change.</strong> If you can't find an official page that proves the sentence is wrong, leave it alone and note it.</li>
<li><strong>Record the source next to the fix.</strong> Six months later, you or a colleague will want to know why the sentence changed.</li>
</ol>
<p>When we checked 23 of our own articles this way, 62 of the 68 corrections that needed a source were proven by the official page of the vendor or the public body involved. In other words, the official page is almost always there. You just have to go and read it. <a href="https://eeatclean.com/blog/what-we-found-checking-our-own-articles.html">We wrote up the full results here.</a></p>
<p>The same audit had another surprise. Out of 70 corrections, only 1 in 4 came from a fact that had changed since publication. So "oldest first" on its own would have missed most of them, which is why step 2 ranks by claims rather than by date.</p>
<h2>Step 4: recheck the pages that matter, on a schedule</h2>
<p>A one-off cleanup decays too. Pick the pages that bring traffic or leads, and put them on a calendar: monthly for pages that quote prices or versions, every 3 or 6 months for the rest. Rerun step 2 on those URLs and compare the claim counts. A new version number in a sentence you didn't touch usually means someone edited the page, so check it again.</p>
<h2>Where to go from here</h2>
<p>The script above gets you a ranked list in an afternoon. It's a simplified example written for this post, not how EEATClean works inside. The slow part is step 3, because reading official sources for every claim takes hours per article.</p>
<p>That slow part is why we built EEATClean: it reads a site from its sitemap, checks the key claims in the articles you pick against current sources, and shows each correction with the source next to it, so you can verify it in one click before changing anything. If you'd rather start by hand, this guide on <a href="https://eeatclean.com/blog/how-to-find-outdated-content.html">how to find outdated content</a> covers the non-technical side.</p>
<p>Either way, start with the sitemap. It already knows every page you forgot about.</p>
]]></content:encoded></item></channel></rss>