• bbs1org
    SEO Suite
    ID seo_suite版本 1.1.3插件制作者 bbs1org免费554 行 / 31.1 KBHook / 路由 / 后台页
    帮助搜索引擎更好地发现和理解站点内容,提升页面分享效果与收录效率。
    app/plugins/seo_suite/plugin.php
    开发日志已有 1 条

    个人独立维护项目。

    • bbs1org
      bbs1org
      版本 1.1.3 4030270309bb 更新:旧格式迁移:已将插件代码转存到开发日志,主题正文改为基础介绍。release
    主楼
  • 质量报告

    插件质量报告

    插件:seo_suite

    Hook功能范围循环使用频率文件读写修改系统表读写系统表读写自己的表
    page.head全站页面 head否5----
    page.seo全站页面 SEO 数据否4----
    topic.after_view主题查看页完成加载否4----
    reply.after_save回帖保存后否3读写---
    topic.after_save主题保存后否3读写---
    user.after_save用户注册/资料保存后否3读写---
    topic.before_delete主题删除操作否2读写---
    robots.txtrobots.txt 输出否1----

    颜色说明:黄色表示有数据读写,红色表示 Hook 在系统循环中执行,浅蓝色表示有文件写入。“列表跳过”表示回调在列表路径会提前返回,“回调内”表示操作位于回调自身或其帮助函数的循环体内。只有操作实际处于可执行的循环路径时,才会标记“修正❗️”。

    数据字典

    未检测到插件数据表声明。

    #1
  • bbs1org

    提供 Open Graph、Twitter Cards、JSON-LD、robots、缓存 Sitemap 与异步批量 IndexNow。

    #2
  • bbs1org
    <meta charset="utf-8">
            <meta name="viewport" content="width=device-width,initial-scale=1">
            <meta name="description" content="提供 Open Graph、Twitter Cards、JSON-LD、robots、缓存 Sitemap 与异步批量 IndexNow。">
            <link rel="canonical" href="https://bbs1.org/topic/142">
            <title>[seo_suite]SEO Suite - 插件 - bbs1org - 一个极简 PHP 论坛</title>
            <link rel="icon" type="image/svg+xml" href="/app/assets/index.svg">
            <link rel="stylesheet" href="/app/assets/index.css?v=v6.0">
            <link rel="stylesheet" href="/app/assets/plugins.css?v=8ee17c89132d">
            <meta name="robots" content="index,follow,max-image-preview:large,max-snippet:-1,max-video-preview:-1">
            <meta property="og:type" content="article">
            <meta property="og:site_name" content="bbs1org">
            <meta property="og:title" content="[seo_suite]SEO Suite - 插件 - bbs1org - 一个极简 PHP 论坛">
            <meta property="og:url" content="https://bbs1.org/topic/142">
            <meta property="og:description" content="提供 Open Graph、Twitter Cards、JSON-LD、robots、缓存 Sitemap 与异步批量 IndexNow。">
            <meta property="article:published_time" content="2026-07-22T18:41:29+08:00">
            <meta property="article:modified_time" content="2026-07-22T18:55:26+08:00">
            <meta name="twitter:card" content="summary">
            <meta name="twitter:title" content="[seo_suite]SEO Suite - 插件 - bbs1org - 一个极简 PHP 论坛">
            <meta name="twitter:description" content="提供 Open Graph、Twitter Cards、JSON-LD、robots、缓存 Sitemap 与异步批量 IndexNow。">
            <link rel="alternate" hreflang="zh-CN" href="https://bbs1.org/topic/142">
            <link rel="alternate" hreflang="x-default" href="https://bbs1.org/topic/142">
            <script type="application/ld+json">
                {
                    "@context": "https://schema.org",
                    "@graph": [
                        {
                            "@type": "WebSite",
                            "@id": "https://bbs1.org/#website",
                            "url": "https://bbs1.org/",
                            "name": "bbs1org",
                            "inLanguage": "zh-CN",
                            "potentialAction": {
                                "@type": "SearchAction",
                                "target": "https://bbs1.org/index.php?q=%7Bsearch_term_string%7D",
                                "query-input": "required name=search_term_string"
                            }
                        },
                        {
                            "@type": "DiscussionForumPosting",
                            "@id": "https://bbs1.org/topic/142#posting",
                            "url": "https://bbs1.org/topic/142",
                            "headline": "[seo_suite]SEO Suite",
                            "articleBody": "提供 Open Graph、Twitter Cards、JSON-LD、robots、缓存 Sitemap 与异步批量 IndexNow。",
                            "datePublished": "2026-07-22T18:41:29+08:00",
                            "dateModified": "2026-07-22T18:55:26+08:00",
                            "author": {
                                "@type": "Person",
                                "name": "bbs1org",
                                "url": "https://bbs1.org/user/1"
                            },
                            "interactionStatistic": [
                                {
                                    "@type": "InteractionCounter",
                                    "interactionType": "https://schema.org/CommentAction",
                                    "userInteractionCount": 1
                                },
                                {
                                    "@type": "InteractionCounter",
                                    "interactionType": "https://schema.org/ViewAction",
                                    "userInteractionCount": 3
                                }
                            ],
                            "commentCount": 1,
                            "isPartOf": {
                                "@id": "https://bbs1.org/#website"
                            },
                            "inLanguage": "zh-CN"
                        },
                        {
                            "@type": "BreadcrumbList",
                            "@id": "https://bbs1.org/topic/142#breadcrumb",
                            "itemListElement": [
                                {
                                    "@type": "ListItem",
                                    "position": 1,
                                    "name": "首页",
                                    "item": "https://bbs1.org/"
                                },
                                {
                                    "@type": "ListItem",
                                    "position": 2,
                                    "name": "插件",
                                    "item": "https://bbs1.org/forum/5"
                                },
                                {
                                    "@type": "ListItem",
                                    "position": 3,
                                    "name": "[seo_suite]SEO Suite",
                                    "item": "https://bbs1.org/topic/142"
                                }
                            ]
                        }
                    ]
                }</script>
    #3
  • bbs1org

    https://bbs1.org/robots.txt

    #4
  • bbs1org
    # As a condition of accessing this website, you agree to abide by the following
    # content signals:
    
    # (a)  If a Content-Signal = yes, you may collect content for the corresponding
    #      use.
    # (b)  If a Content-Signal = no, you may not collect content for the
    #      corresponding use.
    # (c)  If the website operator does not include a Content-Signal for a
    #      corresponding use, the website operator neither grants nor restricts
    #      permission via Content-Signal with respect to the corresponding use.
    
    # The content signals and their meanings are:
    
    # search:   building a search index and providing search results (e.g., returning
    #           hyperlinks and short excerpts from your website's contents). Search does not
    #           include providing AI-generated search summaries.
    # ai-input: inputting content into one or more AI models (e.g., retrieval
    #           augmented generation, grounding, or other real-time taking of content for
    #           generative AI search answers).
    # ai-train: training or fine-tuning AI models.
    # use:      how AI systems may consume the content (immediate, reference, or full).
    
    # ANY RESTRICTIONS EXPRESSED VIA CONTENT SIGNALS ARE EXPRESS RESERVATIONS OF
    # RIGHTS UNDER ARTICLE 4 OF THE EUROPEAN UNION DIRECTIVE 2019/790 ON COPYRIGHT
    # AND RELATED RIGHTS IN THE DIGITAL SINGLE MARKET.
    
    # BEGIN Cloudflare Managed content
    
    User-agent: *
    Content-Signal: search=yes,ai-train=no,use=reference
    Allow: /
    
    User-agent: Amazonbot
    Disallow: /
    
    User-agent: Applebot-Extended
    Disallow: /
    
    User-agent: Bytespider
    Disallow: /
    
    User-agent: CCBot
    Disallow: /
    
    User-agent: ClaudeBot
    Disallow: /
    
    User-agent: CloudflareBrowserRenderingCrawler
    Disallow: /
    
    User-agent: Google-Extended
    Disallow: /
    
    User-agent: GPTBot
    Disallow: /
    
    User-agent: meta-externalagent
    Disallow: /
    
    # END Cloudflare Managed Content
    
    User-agent: *
    Disallow:
    Disallow: /index.php?a=admin
    Disallow: /index.php?a=login
    Disallow: /index.php?a=register
    Disallow: /index.php?a=search
    Sitemap: https://bbs1.org/sitemap.xml
    #5
  • bbs1org

    Sitemap: https://bbs1.org/sitemap.xml

    #6
  • qq

    很全面!

    #7
  • 350

    🔍 插件审查报告(对照《AI 开发规则》与开发者文档)

    🔒 安全问题

    未发现高危问题。仅一处小项:plugin.php:415 的 IndexNow 提交请求已设置连接超时、总超时与 UA,但未限制响应体大小,建议为 cURL 增加响应大小上限,避免异常大响应占用内存。

    ⚡ 性能问题

    未发现明显问题。Sitemap 生成与 IndexNow 队列均有文件锁、TTL 缓存与幂等去重,符合规范。

    🐛 功能/规范缺陷

    • plugin.php:470 后台样式 seo_suite_css() 中写死了 font-size:13px 与 border-radius:8px,违反“字号必须使用 var(--font-size-*)、圆角使用 var(--radius)”规则,建议改为 var(--font-size-sm) 与 var(--radius)。

    ✅ 修复优先级

    1. CSS 变量规范化(低);2. IndexNow 响应大小上限(低)。整体实现质量较高。
    #8
  • 399

    🔍 插件审查报告(AI 自动审查,对照《AI 开发规则》与开发者文档;本插件未被 8/18 楼上 350 的报告覆盖,属独立首次审查)

    插件:seo_suite v1.1.3

    🔒 安全问题
    未发现明显问题。站点地图/robots 输出路径未见用户输入拼接;写操作路由均有权限与 CSRF 校验。

    ⚡ 性能问题
    未发现明显问题。

    🐛 功能/规范缺陷
    私有 Hook 未加插件前缀:本插件在 seo_suite_capture_topic()(plugin.php 约123行)内自行定义并调用了扩展点 topic.seo_data,供其它插件补充主题的 SEO 元数据,但该私有 Hook 未按规则加上自身插件 ID 前缀(应为 seo_suite.topic_seo_data 或类似形式)。规则要求"只有插件自行定义并通过 hook()/fire() 调用的私有 Hook 才必须以插件 ID 开头",此处属于该情形。

    ✅ 修复优先级
    低优先级规范项:建议将 topic.seo_data 更名为带前缀的私有 Hook 名称,若已有其它插件对接此扩展点,需同步更新调用方。

    #9
  • bbs1org

    旧格式迁移:已将插件代码转存到开发日志,主题正文改为基础介绍。

    #10
  • 583455189

    图片描述这个应该怎么弄

    最后由 583455189 编辑于 2026-09-30 15:45
    #11

发表回复

登录后回复