Only first image in RSS feed being parsed
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Idoneità per principianti
- 35/100
Direzione di ricerca
Start by tracing how XRay parses RSS items, using the Mastodon feed item in the issue as a reproduction case. Compare the parsed photo value with the item's four image enclosures; done means all four images are represented in the parsed entry.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Hello,
It seems that in the case of mastodon account RSS feed items that contain multiple photos, xray is only parsing the first one. It may be that this is by design but I figured since the the photo element seems to be an array and the microformats contains multiple photos, then it perhaps isn't?
Example from actual RSS feed:
<item>
<title>JonathanMBR: “This progress of Mwashoti is i…”</title>
<guid isPermalink="true">https://mstdn.social/@JonathanMBR/105865580608573320</guid>
<link>https://mstdn.social/@JonathanMBR/105865580608573320</link>
<pubDate>Wed, 10 Mar 2021 12:49:23 +0000</pubDate>
<description><p>This progress of Mwashoti is impressive <a href="https://www.sheldrickwildlifetrust.org/orphans/mwashoti" rel="nofollow noopener noreferrer" target="_blank"><span class="invisible">https://www.</span><span class="ellipsis">sheldrickwildlifetrust.org/orp</span><span class="invisible">hans/mwashoti</span></a></p></description>
<enclosure url="https://mstdn.social/system/media_attachments/files/105/865/577/867/652/257/original/d2fc8daa16c96d4f.jpg" length="203705" type="image/jpeg"/>
<enclosure url="https://mstdn.social/system/media_attachments/files/105/865/578/677/055/363/original/5fbc2c67512e1381.jpg" length="300651" type="image/jpeg"/>
<enclosure url="https://mstdn.social/system/media_attachments/files/105/865/579/531/408/158/original/074824815049fbf7.jpg" length="254773" type="image/jpeg"/>
<enclosure url="https://mstdn.social/system/media_attachments/files/105/865/580/260/465/439/original/4f5e1b34bfba0455.jpg" length="292445" type="image/jpeg"/>
</item>
Example snipped from equivalent xray parsed version:
{
"type": "entry",
"author": {
"name": null,
"url": "https://mstdn.social/@JonathanMBR",
"photo": null
},
"uid": "https://mstdn.social/@JonathanMBR/105865580608573320",
"url": "https://mstdn.social/@JonathanMBR/105865580608573320",
"published": "2021-03-10T12:49:23+00:00",
"content": {
"html": "<p>This progress of Mwashoti is impressive <a href=\"https://www.sheldrickwildlifetrust.org/orphans/mwashoti\">https://www.sheldrickwildlifetrust.org/orphans/mwashoti</a></p>",
"text": "This progress of Mwashoti is impressive https://www.sheldrickwildlifetrust.org/orphans/mwashoti"
},
"name": "JonathanMBR: \u201cThis progress of Mwashoti is i\u2026\u201d",
"photo": [
"https://mstdn.social/system/media_attachments/files/105/865/577/867/652/257/original/d2fc8daa16c96d4f.jpg"
],
"post-type": "photo"
},
- Lingua principale
- PHP
- Stelle
- 96
- Fork
- 17
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Nessun modello di pull request
- Leggi 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.
Altre issue di aaronpk/XRay
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 45/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 54/100
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 35/100
-
Difficoltà 5/5 Più di una settimana Idoneità per principianti 30/100
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 45/100
Tutte le issue di aaronpk/XRay
Issue simili
-
Map Info Window ButtonsAperta
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 90/100
OpenGIS/waymark-wp#82 ·
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
I maintainer di solito rispondono entro 1 giorno
-
BUG: Workspace module renders review twice after "Discard selected changes" (hx-target=table)Aperta9.1 9.2 Bug
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 88/100
neos/neos-development-collection#6046 ·
I maintainer di solito rispondono entro 1 giorno
-
[Sync EN] Pdo\Pgsql: document session state reset on persistent connections (PHP 8.6) (#6084)Forse già presa @lacatoire l’ha presa oggi. Apertasync-en
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
I maintainer di solito rispondono entro 1 giorno
-
Перевод устарел
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
I maintainer di solito rispondono entro 1 giorno