SEO Metadata Auto-Generation Test
SEO Metadata Auto-Generation Test
This is a test article without tags and filename in the frontmatter, to verify the system's auto-generation feature.
Auto-Generation Feature
When the following fields are missing from the frontmatter, the system should auto-complete them:
- tags: Should be extracted from the article content
- filename: Should generate an SEO-friendly URL alias based on the title
Content Examples
Code Block Test
def testautogenerate():
"""Test auto-generation feature"""
tags = extracttags(content, title, keywords)
filename = generateseourl(title, datestr)
return tags, filename
Blockquote Test
This is a blockquote to test the blockquote tag handling.
Table Test
| Field | Source | Priority |
|---|---|---|
| tags | frontmatter > auto-extract | High |
| filename | frontmatter > auto-generate | High |
Expected Results
When publishing, the system logs should show:
- Auto-generated tags: ...
- Auto-generated filename: ...
Previous: How to Validate HTML Tags in Your Content
Next: 没有了!