Prioritise representative h-card parsing with expect=card

Đang mở
#116 1 bình luận 1 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
35/100
Loại issue
Tính năng
Độ rõ ràng
Đặc tả rõ ràng
Mức độ hoạt động
Đình trệ
Công nghệ
php
Lĩnh vực
api

Hướng nghiên cứu

Start by reading the existing expect: feed parsing path and how it prioritises feed detection over other content types. Then check the parsing tests and identify where a card expectation can be exercised; done means expect: card prioritises representative h-card parsing when a page also contains a feed.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

XRay currently supports passing an expect: feed parameter when parsing, to skip content type detection and prioritise feed detection and parsing. It’s common for people to publish both a representative h-card and some sort of feed on their home page, and depending on exactly how they mark it up, XRay might return either a feed or card item. When the user knows that they want a representative h-card, it would be useful to be able to pass expect: card or similar to prioritise h-card parsing over feed parsing.

Ngôn ngữ chính
PHP
Star
96
Fork
17
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của aaronpk/XRay

Tất cả issue của aaronpk/XRay

Issue tương tự

Thêm issue về PHP

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.