Prioritise representative h-card parsing with expect=card

Aperta
#116 1 commento 1 reazione 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
35/100
Tipo di issue
Funzionalità
Chiarezza
Specificata chiaramente
Stato di attività
Ferma
Stack tecnologico
php
Ambito
api

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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.

Lingua principale
PHP
Stelle
96
Fork
17
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di aaronpk/XRay

Tutte le issue di aaronpk/XRay

Issue simili

Altre issue su PHP

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.