Chuyển đến nội dung
Skillpedia
SEO75k · #2784

content-dates

Skill này làm gì

Skill này kiểm tra xem bài viết có hiển thị ngày xuất bản và ngày cập nhật, và có chi tiết ngày khớp nhau cho công cụ tìm kiếm hay không. Skill dành cho blog và trang tin tức muốn nội dung mới và đáng tin.

Khi nào nên dùng

  • ✓Khi trang bài viết không hiển thị ngày xuất bản.
  • ✓Khi ngày cập nhật không khớp với dữ liệu có cấu trúc.
  • ✓Khi template blog của bạn cần thêm đánh dấu ngày.

Liên kết skill

https://github.com/thedaviddias/Front-End-Checklist/blob/main/skills/content-dates/SKILL.md

Sao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.

Cách dùng

Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.

Tin nhắn có sẵn để dán

Hãy dùng skill này để giúp tôi: https://github.com/thedaviddias/Front-End-Checklist/blob/main/skills/content-dates/SKILL.md Đọc tệp SKILL.md tại liên kết đó và làm theo hướng dẫn cho việc của tôi.
Bạn muốn AI tự tìm những skill như thế này?Cài MCP Skillpedia miễn phí: chỉ một dòng, và AI sẽ tìm trong 15.000+ skill trước mỗi việc.Cài đặt trong 1 phút →

Ví dụ cách nhờ AI

“Hãy thêm ngày xuất bản và ngày cập nhật hiển thị cho các bài blog của tôi, kèm chi tiết ngày khớp nhau trong dữ liệu trang.”

5 skill mới mỗi tuần. Đọc chỉ 1 phút.

Cách hoạt động

Agent thêm ngày hiển thị bằng phần tử time, thêm datePublished và dateModified vào dữ liệu có cấu trúc của bài viết theo định dạng ISO, và thêm các thẻ thời gian bài viết khớp nhau.

Nội dung kỹ thuật (SKILL.md gốc)

Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.

Show published and updated dates

Google uses publication and modification dates to assess content freshness, which influences rankings for time-sensitive queries. Visible dates also build user trust by signalling that content is current and maintained.

Quick Reference

  • Include a visible published date and a dateModified in JSON-LD for every article or blog post
  • Use ISO 8601 format (2024-03-15T10:00:00Z) in structured data; human-readable in the visible UI
  • Update dateModified only when content meaningfully changes — not on trivial edits

Check

On each article or blog page, check: (1) Is there a visible published date in the page body or byline? (2) Does the JSON-LD Article or BlogPosting block include datePublished and dateModified properties in ISO 8601 format? (3) Does the <head> include <meta property="article:published_time"> and <meta property="article:modified_time"> Open Graph tags?

Fix

  1. Add a visible publication date in the page byline: <time datetime="2024-03-15">March 15, 2024</time>.
  2. Add datePublished and dateModified to the Article JSON-LD block:
    {
      "@type": "Article",
      "datePublished": "2024-03-15T10:00:00Z",
      "dateModified": "2024-11-20T14:30:00Z"
    }
    
  3. Add Open Graph article time tags to <head>:
    <meta property="article:published_time" content="2024-03-15T10:00:00Z">
    <meta property="article:modified_time" content="2024-11-20T14:30:00Z">
    
  4. Ensure your CMS or build system updates dateModified automatically on content saves.

Explain

Google's freshness algorithm rewards recently published or updated content for time-sensitive queries. Structured date markup lets Google confidently surface the correct date in search snippets; without it, Google must guess from page text or HTTP headers, often producing wrong or missing dates.

Code Review

Verify that Article or BlogPosting JSON-LD includes both datePublished and dateModified in ISO 8601 format. Check that <time datetime='...'> elements in the body use machine-readable dates. Confirm dateModified updates when content changes, not just on every deploy.


For full implementation details, code examples, and framework-specific guidance, see references/rule.md.

Rule page: https://frontendchecklist.io/rules/seo/content-dates

Câu hỏi thường gặp

Vì sao ngày giúp ích cho tìm kiếm?

Skill nói công cụ tìm kiếm dùng ngày xuất bản và ngày sửa đổi để đánh giá độ mới của nội dung.

Khi nào ngày sửa đổi nên thay đổi?

Chỉ khi nội dung thay đổi đáng kể, không phải khi sửa nhỏ.

Dữ liệu dùng định dạng ngày nào?

ISO 8601, như một dấu thời gian đầy đủ kèm múi giờ, còn văn bản hiển thị có thể dễ đọc hơn.

Chi tiết

Mô tả gốc của tác giả

Use when auditing article or blog pages for date markup, generating Article JSON-LD with datePublished/dateModified, or checking whether a CMS template surfaces dates correctly.

repo: thedaviddias/Front-End-Checklist

Độ phổ biến

Sao GitHub
75k
Vị trí xếp hạng
#2784
Giấy phép
MIT
Cập nhật
31/10/2026

Skill này có hữu ích không?

0

Đăng nhập để bình chọn.

Bình luận

  • …

Thêm skill từ kho mã này

Skill tương tự