Loading...
Loading...
Compare original and translation side by side
| Command | Purpose |
|---|---|
| Extract candidate tags and categories from content |
| Push taxonomy to CMS via authenticated API |
| Check for thin tags, orphan tags, taxonomy bloat |
| 命令 | 用途 |
|---|---|
| 从内容中提取候选标签与分类 |
| 通过已认证API将分类体系推送至CMS |
| 检查单薄标签、孤立标签、分类体系冗余问题 |
(frequency * 2) + (heading_presence * 5) + (emphasis * 1)(出现频率 * 2) + (标题出现次数 * 5) + (强调标记 * 1)undefinedundefined| Rank | Tag | Score | Source |
|---|---|---|---|
| 1 | content-marketing | 18 | H2 + 6 mentions |
| 2 | seo-strategy | 14 | H3 + 4 mentions |
| 3 | keyword-research | 11 | 5 mentions + bold |
| 排名 | 标签 | 分数 | 来源 |
|---|---|---|---|
| 1 | content-marketing | 18 | H2 + 6次提及 |
| 2 | seo-strategy | 14 | H3 + 4次提及 |
| 3 | keyword-research | 11 | 5次提及 + 加粗 |
undefinedundefined| CMS | API Type | Auth Method | Tags Model |
|---|---|---|---|
| WordPress | REST | Application Passwords (base64) | First-class entities with IDs |
| Shopify | GraphQL (Admin API) | Admin API access token | String array on Article |
| Ghost | REST (Admin API) | API key with JWT signing | First-class entities |
| Strapi | REST or GraphQL | API token (Bearer) | User-defined content type |
| Sanity | GROQ / Mutations | Project token (Bearer) | Document type |
| CMS | API类型 | 认证方式 | 标签模型 |
|---|---|---|---|
| WordPress | REST | 应用密码(base64编码) | 带ID的一等实体 |
| Shopify | GraphQL(Admin API) | Admin API访问令牌 | Article对象上的字符串数组 |
| Ghost | REST(Admin API) | 带JWT签名的API密钥 | 一等实体 |
| Strapi | REST或GraphQL | API令牌(Bearer) | 用户自定义内容类型 |
| Sanity | GROQ / 突变API | 项目令牌(Bearer) | 文档类型 |
GET {CMS_URL}/wp-json/wp/v2/tags?per_page=100&search={keyword}
Authorization: Basic {base64(username:app_password)}POST {CMS_URL}/wp-json/wp/v2/tags
Body: {"name": "Tag Name", "slug": "tag-name", "description": "Optional"}GET {CMS_URL}/wp-json/wp/v2/categories?per_page=100POST {CMS_URL}/wp-json/wp/v2/categories
Body: {"name": "Category", "slug": "category", "parent": 0}POST {CMS_URL}/wp-json/wp/v2/posts/{id}
Body: {"tags": [1, 2, 3], "categories": [4]}X-WP-TotalPagesGET {CMS_URL}/wp-json/wp/v2/tags?per_page=100&search={keyword}
Authorization: Basic {base64(username:app_password)}POST {CMS_URL}/wp-json/wp/v2/tags
Body: {"name": "Tag Name", "slug": "tag-name", "description": "Optional"}GET {CMS_URL}/wp-json/wp/v2/categories?per_page=100POST {CMS_URL}/wp-json/wp/v2/categories
Body: {"name": "Category", "slug": "category", "parent": 0}POST {CMS_URL}/wp-json/wp/v2/posts/{id}
Body: {"tags": [1, 2, 3], "categories": [4]}X-WP-TotalPagesmutation {
articleUpdate(id: "gid://shopify/Article/123", article: {
tags: ["tag-one", "tag-two", "tag-three"]
}) {
article { id tags }
userErrors { field message }
}
}{
articles(first: 250) {
edges {
node { id title tags }
}
}
}X-Shopify-Access-Token: {token}mutation {
articleUpdate(id: "gid://shopify/Article/123", article: {
tags: ["tag-one", "tag-two", "tag-three"]
}) {
article { id tags }
userErrors { field message }
}
}{
articles(first: 250) {
edges {
node { id title tags }
}
}
}X-Shopify-Access-Token: {token}GET {CMS_URL}/ghost/api/admin/tags/?limit=all
Authorization: Ghost {jwt_token}POST {CMS_URL}/ghost/api/admin/tags/
Body: {"tags": [{"name": "Tag Name", "slug": "tag-name"}]}/admin/GET {CMS_URL}/ghost/api/admin/tags/?limit=all
Authorization: Ghost {jwt_token}POST {CMS_URL}/ghost/api/admin/tags/
Body: {"tags": [{"name": "Tag Name", "slug": "tag-name"}]}/admin/GET {CMS_URL}/api/tags?pagination[pageSize]=100
POST {CMS_URL}/api/tags
Body: {"data": {"name": "Tag Name", "slug": "tag-name"}}
Authorization: Bearer {api_token}dataGET {CMS_URL}/api/tags?pagination[pageSize]=100
POST {CMS_URL}/api/tags
Body: {"data": {"name": "Tag Name", "slug": "tag-name"}}
Authorization: Bearer {api_token}data*[_type == "tag"] { _id, name, slug }POST https://{project_id}.api.sanity.io/v2024-01-01/data/mutate/{dataset}
Body: {"mutations": [{"create": {"_type": "tag", "name": "Tag", "slug": {"current": "tag"}}}]}
Authorization: Bearer {token}*[_type == "tag"] { _id, name, slug }POST https://{project_id}.api.sanity.io/v2024-01-01/data/mutate/{dataset}
Body: {"mutations": [{"create": {"_type": "tag", "name": "Tag", "slug": {"current": "tag"}}}]}
Authorization: Bearer {token}| Check | Threshold | Action |
|---|---|---|
| Thin tag archives | < 5 posts per tag | Recommend noindex or merge |
| Orphan tags | 0 posts | Recommend deletion |
| Tag bloat | > 50 total tags | Recommend consolidation |
| Category depth | > 3 levels | Recommend flattening |
| Uncategorized posts | No category assigned | Assign to appropriate category |
| Duplicate slugs | Same slug, different name | Merge into canonical version |
| 检查项 | 阈值 | 操作建议 |
|---|---|---|
| 单薄标签归档 | 每个标签对应文章<5篇 | 建议设置noindex或合并标签 |
| 孤立标签 | 0篇文章使用 | 建议删除 |
| 标签冗余 | 总标签数>50 | 建议合并精简 |
| 分类深度 | >3层级 | 建议扁平化 |
| 未分类文章 | 未分配分类 | 分配至合适分类 |
| 重复slug | slug相同但名称不同 | 合并为标准版本 |
undefinedundefinedundefinedundefined| Variable | Purpose | Example |
|---|---|---|
| CMS_TYPE | Platform identifier | wordpress, shopify, ghost, strapi, sanity |
| CMS_URL | Base URL of the CMS | https://example.com |
| CMS_API_KEY | Authentication credential | Application password, API token, or key |
$CMS_TYPE$CMS_URL$CMS_API_KEY| 变量 | 用途 | 示例 |
|---|---|---|
| CMS_TYPE | 平台标识符 | wordpress, shopify, ghost, strapi, sanity |
| CMS_URL | CMS的基础URL | https://example.com |
| CMS_API_KEY | 认证凭证 | 应用密码、API令牌或密钥 |
$CMS_TYPE$CMS_URL$CMS_API_KEY