AI agent that monitors content freshness, identifies stale pages, and suggests update priorities.
import requests, json, datetime
SITEMAP = "/sitemap.xml"
def check_freshness(url):
resp = requests.head(url)
last_mod = resp.headers.get("Last-Modified")
age_days = (datetime.now() - datetime.strptime(last_mod, "%a, %d %b %Y")).days
if age_days < 30: status = "Fresh"
elif age_days < 90: status = "Review"
elif age_days < 180: status = "Stale"
else: status = "Very Stale"
return {"url": url, "age": age_days, "status": status}
def generate_report(pages):
report = [check_freshness(p) for p in pages]
return sorted(report, key=lambda x: x["age"], reverse=True)
pages = ["/", "/about/", "/blog/ai", "/services/"]
print(json.dumps(generate_report(pages), indent=2))
Basic Package
Special SME traction programme by AINNA.
Limited starter website offer. AI usage, hosting, maintenance and custom integrations depend on the confirmed scope.
View SME Offer β
Ask about AINNA pages, services and articles.
AINNA sources only Β· up to 5 lines Β· 20 questions/hour
No section data available yet.
Sites with documented sections will appear here.
We value your privacy
We use browser storage to remember your choice. Optional analytics runs only after you allow it; your choice is recorded with an anonymous ID. Privacy Policy