CMS 即时更新
CMS 即时更新是一个可选的签名 POST endpoint,它会告诉 geodeck 在内容变更后几分钟内刷新 llms.txt、清洁页面副本、sitemap 条目以及相关搜索 ping,而不用等待下一次每日 sitemap diff。自 2026 年起,该 endpoint 每次签名请求还可接受最多 500 个同主机 URL 的批量提交。如果你跳过它,托管的文件和审计仍然有用,只是刷新周期会慢一些,走每日循环。
端点
POST https://geodeck.icu/api/webhook/cms X-geodeck-Signature: sha256=<hex hmac of raw body> Content-Type: application/json
有效载荷
{
"domain": "example.com",
"url": "https://example.com/blog/post-slug",
"event": "publish"
}event必须是publish、update或unpublish之一。
Batch submission
{
"domain": "example.com",
"urls": [
"https://example.com/blog/post-one",
"https://example.com/blog/post-two"
],
"event": "update"
}Batch mode accepts up to 500 same-host URLs per signed request. In batch mode, omit title, summary, content, and html.
签名
使用域名的Webhook密钥计算请求正文raw的HMAC-SHA256。使用sha256=前缀十六进制编码发送。
echo -n "$BODY" | openssl dgst -sha256 -hmac "$SECRET" -hex
响应
202 Accepted- 有效载荷已排队。401 Unauthorized- 签名缺失/无效。401 Unauthorized- 未知域名。402 Payment Required- 计划速率限制已达到。
重试
收到5xx响应时,使用指数退避重试(1秒、5秒、30秒、5分钟)。第三次失败后,在CMS日志中显示错误。
这与 IndexNow 和 Google 的标准相比如何?
geodeck 自身的批量上限比更广泛的生态系统要小:IndexNow 文档允许每次请求提交大得多的批量,而且在IndexNow 协议下,一个搜索引擎收到 ping 后,会自动与所有其他参与的搜索引擎共享。Google 的AI 功能文档确认 Google 的 AI 功能不需要单独的 webhook 或文件格式,其Search Console sitemap 帮助文档涵盖了这个 endpoint 想要缩短的、非即时的等效路径。
你可以在一次提交中提交最多 10,000 个 URL,如有需要可以混用 http 和 https URL。
— IndexNow documentation
采用 IndexNow 协议的搜索引擎同意,提交的 URL 会自动与所有其他参与的搜索引擎共享。
— IndexNow documentation
成功的请求会返回 HTTP 200 响应代码;如果你收到了不同的响应,请确认你没有提交得过于频繁、密钥和 URL 是否有效,然后重新提交请求。
— IndexNow documentation
还可以阅读什么?
继续阅读 geodeck 文档,或前往平台页面。
- 所有文档 →三步快速入门和完整指南列表。
- 域名验证 →添加一条 DNS TXT 记录,让 geodeck 管理您的网站。
- llms.txt generator →geodeck 如何为 AI 爬虫生成 /llms.txt 和 /llms-full.txt。
- 索引与 Ping 提供商 →IndexNow、Google Search Console、Google Indexing API 和 XML-RPC Ping。
- 能见度得分 →0-100 分如何根据爬虫访问、页面详细信息、答案清晰度、新鲜度和网站基础知识进行细分。
- geodeck 博客 →关于 SEO、GEO 和 AI 可见性的指南 - 使用 geodeck 自有工具编写。
- 免费扫描 →找到您的网站。 关于谷歌和人工智能的答案。
- llms.txt Generator →Generate, host, and auto-update your llms.txt file. Give supported AI tools a clean map of your most important pages. Works with any CMS and is included on every geodeck plan.
- AI Visibility →See how ready your site is for AI answers. geodeck checks crawl access, llms.txt, schema, answer clarity, Perplexity citations, Bing AI visibility signals, and Search Console coverage.
- Answer Engine Optimization →Answer Engine Optimization(AEO)是一种内容结构化实践,让 ChatGPT、Perplexity 等 AI 系统将您的页面选为最终答案。学习行之有效的优化策略。
- GEO Tools →The best generative engine optimization (GEO) tools for AI visibility readiness, llms.txt, schema, sitemap automation, Perplexity citation tracking, Bing AI visibility signals, and Google Search Console coverage.
- AEO vs GEO vs SEO →AEO、GEO 和 SEO 都旨在带来流量,但优化的信号截然不同。Answer Engine Optimization、Generative Engine Optimization 与传统 SEO 的权威对比。