拼装结构化数据:
将上述字段整理为符合 YorkTools 文章接口规范的 JSON 对象,示例如下:
{
"slug": "<identical_english_slug>",
"title": "<source_lang_title>",
"summary": "<source_lang_summary>",
"content": "<source_lang_full_cleaned_content>",
"tag": "<source_lang_default_tag_eg_知识分享_or_Knowledge>",
"source": "<extracted_source_url_or_empty>",
"coverImage": null,
"status": "published",
"isFeatured": false,
"tags": ["AI"],
"translations": {
"zh": {
"slug": "<identical_english_slug>",
"title": "<zh_title>",
"summary": "<zh_summary>",
"content": "<zh_content_full_or_distilled>",
"tag": "知识分享",
"seoTitle": "<zh_title> - CoworkAI",
"seoDescription": "<zh_summary>",
"seoKeywords": "关键词1,关键词2"
},
"en": {
"slug": "<identical_english_slug>",
"title": "<en_title>",
"summary": "<en_summary>",
"content": "<en_content_full_or_distilled>",
"tag": "Knowledge",
"seoTitle": "<en_title> - CoworkAI",
"seoDescription": "<en_summary>",
"seoKeywords": "keyword1,keyword2"
}
}
}
注意:根据检测源语言不同,源语言的 content 使用完整的 cleaned markdown,而目标语言的 content 使用提炼概括后的翻译。