clojure / clojure/clojure-site
RSS feed rendering issue in Slack
Nessuno ha ancora preso questa issue.
- Lingua principale
- HTML
- Stelle
- 259
- Fork
- 275
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
Slack's RSS feed reader does not render https://clojure.org/feed.xml properly. Some HTML tags are truncated. I think it would be a good idea to make sure the feed renders well in more places.
Reproduce
I have subscribed to the feed in https://clojurians.slack.com/archives/C076654T2LD/p1717409306089639 by seding this message in a Slack channel. Need to wait for the next blog post.
/feed add https://clojure.org/feed.xml
/feed add https://aws.amazon.com/blogs/aws/feed/
Solution
Here are some other RSS feeds that render well in Slack:
It might be worth experimenting with JBake templates (which are excluded via .gitignore). At the moment, the full blog body seems to be included in the <description> tag, but the feeds that render ok in Slack keep the description short and wrap the blog content inside a <content:encoded> instead:
The content:encoded element can be used in conjunction with the description element to provide an item's full content along with a shorter summary. Under this approach, the complete text of the item is presented in content:encoded and the summary in description.
https://www.rssboard.org/rss-profile#namespace-elements-content-encoded
Guida per i contributori
Apri la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Direzione di ricerca
Inizia con il https://clojure.org/feed.xml generato e i template JBake menzionati nell’issue; controlla .gitignore per verificare come vengono gestiti i file generati. Confronta la struttura della descrizione con i feed di AWS e Rust, quindi verifica il feed revisionato in Slack. Il lavoro è concluso quando il contenuto del blog viene renderizzato senza tag HTML troncati.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Ambito
- content
- Tipo di issue
- Bug
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Stato di attività
- Ferma
- Chiarezza
- Abbastanza chiara
- Idoneità per principianti
- 42/100