p-tags and backslash-n added to item descriptions of Feedland linkblog feeds

Aperta
#14 1 commento 0 reazioni 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
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
javascript
Ambito
backend

Direzione di ricerca

Reproduce the report with the example app at feeder.scripting.com/returnjson using the Feedland feed at data.feedland.org/feeds/davewiner.xml. Compare item descriptions from feeds that do and do not contain the added

tags and escaped newlines, then trace the reallysimple feed parsing path. Done means the parser returns consistent descriptions without unwanted markup or escape sequences.

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

Descrizione

When using reallysimple to display my Feedland linkblog feed, I noticed that <p> tags and \n were being added to the item descriptions. This doesn't happen in all feeds. Neither I nor AI could figure why (though I can easily strip them out just for linkblog feeds, so it's not holding me up).

Example: http://data.feedland.org/feeds/davewiner.xml, the first item's description does not include the tags

CleanShot 2024-10-20 at 10 42 21

The example app for reallysimple adds the tags https://feeder.scripting.com/returnjson?feedurl=http://data.feedland.org/feeds/davewiner.xml

CleanShot 2024-10-20 at 10 46 49

Lingua principale
JavaScript
Stelle
104
Fork
3
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/reallysimple

Tutte le issue di scripting/reallysimple

Issue simili

Altre issue su JavaScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.