Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

RSS feed rendering issue in Slack

Đang mở
#693 4 bình luận 0 reaction 0 người được giao Xem trên GitHub

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
42/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Đình trệ
Lĩnh vực
content

Hướng nghiên cứu

Bắt đầu với https://clojure.org/feed.xml đã được tạo và các template JBake được đề cập trong issue; kiểm tra .gitignore để biết các tệp được tạo được xử lý như thế nào. So sánh cấu trúc phần mô tả của nó với các feed AWS và Rust, sau đó xác minh feed đã sửa trong Slack. Được xem là hoàn tất khi nội dung blog được render mà không có các thẻ HTML bị cắt ngắn.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

backlog

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.

Screenshot 2024-06-03 at 10 56 34

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

Ngôn ngữ chính
HTML
Star
259
Fork
276
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. 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.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của clojure/clojure-site

Tất cả issue của clojure/clojure-site

Issue tương tự

Thêm issue về Content

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.