Supporting custom namespaces?
Dieses Issue hat noch niemand übernommen.
Bewertung
- Schwierigkeit
- 3/5
- Geschätzter Aufwand
- 1-2 Tage
- Anfängerfreundlichkeit
- 35/100
- Issue-Typ
- Feature
- Klarheit
- Größtenteils klar
- Aktivitätsstatus
- Veraltet
- Tech-Stack
- javascript
- Bereich
- backend
Rechercherichtung
No source file or test is named in the issue. Start by locating the RSS/Atom parser entry point and its handling of element names, then use the sample feed to check whether the custom books:bookid field is preserved alongside standard fields.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Beschreibung
Hey there, love what you're doing here Dave to make things simple and easy to use :)
Question - should this parse custom namespaces? For example, I'm playing around with adding structured data for a "books" rss project and made a mockup here:
https://wooden-honorable-kale.glitch.me/feed.xml
So this code:
<item>
<title>Testing new fields</title>
<description>Some description </description>
<pubDate>Thu, 16 Jun 2022 00:00:00 +0000</pubDate>
<books:bookid>https://openlibrary.org/works/OL19098683W</books:bookid>
<link>http://tomcritchlow.com/2022/06/16/rejecting-specialization/</link>
<guid isPermaLink="true">http://tomcritchlow.com/2022/06/16/rejecting-specialization/</guid>
</item>
Get's parsed using reallysimple as:
{
"title": "Testing new fields",
"description": "Some description",
"pubDate": "2022-06-16T00:00:00.000Z",
"link": "http://tomcritchlow.com/2022/06/16/rejecting-specialization/",
"guid": "http://tomcritchlow.com/2022/06/16/rejecting-specialization/"
}
Ideally I'd like to generate something like this:
{
"title": "Testing new fields",
"description": "Some description",
"pubDate": "2022-06-16T00:00:00.000Z",
"books:bookid":"https://openlibrary.org/works/OL19098683W"
"link": "http://tomcritchlow.com/2022/06/16/rejecting-specialization/",
"guid": "http://tomcritchlow.com/2022/06/16/rejecting-specialization/"
}
I'm a bit of a coding beginner (and not sure if I coded the custom namespace correctly?) so forgive me if this doesn't make sense or I'm doing something wrong
- Vorherrschende Sprache
- JavaScript
- Sterne
- 104
- Forks
- 3
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Entwicklungsumgebung
Dieses Projekt bietet weder Dev-Container noch Dockerfile noch Beitragsleitfaden – die Einrichtung liegt bei Ihnen. Beginnen Sie mit der README; die allgemeinen Schritte stehen in unserem Leitfaden für den ersten Beitrag.
Erste Schritte
- Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
- Forken Sie das Repository und arbeiten Sie in einem Branch.
- Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.
Mehr aus scripting/reallysimple
-
Schwierigkeit 4/5 3-5 Tage Anfängerfreundlichkeit 35/100
scripting/reallysimple#22 · 1 Kommentar ·
-
Schwierigkeit 3/5 1-2 Tage Anfängerfreundlichkeit 35/100
scripting/reallysimple#21 · 4 Kommentare ·
-
Feed discovery tipsOffen
Schwierigkeit 1/5 Unter einer Stunde Anfängerfreundlichkeit 20/100
scripting/reallysimple#20 · 1 Kommentar ·
-
Schwierigkeit 5/5 Über eine Woche Anfängerfreundlichkeit 10/100
scripting/reallysimple#19 ·
-
Schwierigkeit 3/5 1-2 Tage Anfängerfreundlichkeit 25/100
scripting/reallysimple#18 ·
Alle Issues in scripting/reallysimple
Ähnliche Issues
-
ci-install-db-tools stall-case tests flake: stalled apt-get can be killed before it logs its callOffeneffort:low model:light plan planner:opus-5-5 tests
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 86/100
Maintainer antworten meist innerhalb von 1 Tag
-
Bug 🐞
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 72/100
mozilla-mobile/firefox-ios#35986 ·
Maintainer antworten meist innerhalb von 1 Tag
-
component:sight
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 78/100
agentic-os-org/ANOLISA#6738 · 2 Kommentare ·
Maintainer antworten meist innerhalb von 1 Tag
-
bug Durable Agents Observability (AI Telemetry) status: needs triage
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 82/100
mastra-ai/mastra#26470 · 1 Kommentar ·
Maintainer antworten meist innerhalb von 1 Tag
-
feature/cohorts feature/feature-flags team/feature-flags
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 74/100
Maintainer antworten meist innerhalb von 1 Tag