feat: FAQ/HowTo schema injection and SEO pipeline enhancement

- writer.py: inject_geo_metadata now detects content type (article/listicle/howto/faq/review) and injects appropriate JSON-LD (FAQPage, HowTo, ItemList)
- New helpers: _detect_content_type, _extract_faq_pairs, _extract_howto_steps
- outline.py: _extract_seo_keywords regex support for CJK
- prompt_loader.py: Minor update

Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent)

Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
This commit is contained in:
Yuzhiran Dev
2026-06-16 08:26:44 +08:00
parent 93d1d511e5
commit 7c9a8b88b4
3 changed files with 86 additions and 5 deletions
+1 -1
View File
@@ -53,7 +53,7 @@ class Outliner:
if m:
return m.group(1).strip()[:300]
# 回退:取所有 # 标签或关键词模式
keywords = re.findall(r'[#](\w{2,6})', research_notes)
keywords = re.findall(r'[#]([\u4e00-\u9fff\w]{2,6})', research_notes)
if keywords:
return "".join(keywords[:5])
return "暂无"