WordPress and <content:encoded> vs <description>

Aperta
#320 3 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
25/100
Tipo di issue
Funzionalità
Chiarezza
Da chiarire
Stato di attività
Ferma
Stack tecnologico
wordpress
Ambito
backend

Direzione di ricerca

Review the linked reallysimple and feedParserDemo packages, then compare their feed handling with the linked WordPress feed and RSS 2.0 specification. Done means reaching an explicit decision about how content:encoded and description should be handled, with the expected behavior documented for implementation.

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

Descrizione

I just typed this into ChatGPT.

I just noticed that the description element of an item in an RSS feed produced by WordPress doesn't contain style info but it is included in content:encoded. How am I just noticing that now? Do all feed readers understand this?

It said that it's a mixed bag of support. I honestly did not notice it until now when I was testing WordPress feeds in a context I had never looked at them closely in the past. I thought I was losing my mind! But I was correctly reading the situation.

I may have to change the code in FeedLand that handles this, and prioritize <content:encoded> if it's present?

I posted this publicly because I'm looking for some idea of how other developers of feed readers handle this.

The package that FeedLand uses to read feeds, it builds on the feedparser package.

What the RSS 2.0 spec says about it.

An example of a feed from my daveverse blog.

Lingua principale
HTML
Stelle
134
Fork
10
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

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 scripting/Scripting-News

Tutte le issue di scripting/Scripting-News

Issue simili

Altre issue su Backend & API Design

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.