Supporting custom namespaces?
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức phù hợp với người mới
- 35/100
- Loại issue
- Tính năng
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Đình trệ
- Công nghệ
- javascript
- Lĩnh vực
- backend
Hướng nghiên cứu
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.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
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
- Ngôn ngữ chính
- JavaScript
- Star
- 104
- Fork
- 3
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Hướng dẫn đóng góp
Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của scripting/reallysimple
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 35/100
scripting/reallysimple#22 · 1 bình luận ·
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 35/100
scripting/reallysimple#21 · 4 bình luận ·
-
Feed discovery tips Đang mở
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 20/100
scripting/reallysimple#20 · 1 bình luận ·
-
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 10/100
scripting/reallysimple#19 ·
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 25/100
scripting/reallysimple#18 ·
Tất cả issue của scripting/reallysimple
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
palladius/rails8-app-on-gcp#145 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
dotenvx/dotenv-vscode#139 ·
-
test-change-proposal
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
web-platform-tests/interop#1455 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
corsairdev/corsair#1764 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100