Add ruangrupa feed to shouts #29

Closed
opened 2022-01-28 11:38:12 +00:00 by decentral1se · 3 comments
Owner

This one: http://ruangrupa.id/en/feed/

I think I removed it originally due to some error... it would need testing.

It can be added here: https://git.autonomic.zone/ruangrupa/lumbung.space/src/branch/main/feeds_list.txt

And then documented here: https://panduan.lumbung.space/doc/lumbungspace-YWP4yj4ihC#h-which-content-is-included

This one: http://ruangrupa.id/en/feed/ I think I removed it originally due to some error... it would need testing. It can be added here: https://git.autonomic.zone/ruangrupa/lumbung.space/src/branch/main/feeds_list.txt And then documented here: https://panduan.lumbung.space/doc/lumbungspace-YWP4yj4ihC#h-which-content-is-included
Owner

we don't have access to their website, right? I think the problem is with the website, as it sends broken html. src should be either a base64 encoded image or a link to an image but here the content of src is a broken link to w3.org which describes svg+xml, and the actual image is in data-src and is actually a jpg.

<img class="preload-me iso-lazy-load"
src="data:image/svg+xml,%3Csvg%20xmlns%3D&#39;http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg&#39;%20viewBox%3D&#39;0%200%20379%20253&#39;%2F%3E"
data-src="https://ruangrupa.id/wp-content/uploads/2022/01/001_MLI_2nd-post_08-November-2021-46-379x253.jpg"
data-srcset="https://ruangrupa.id/wp-content/uploads/2022/01/001_MLI_2nd-post_08-November-2021-46-379x253.jpg 379w, https://ruangrupa.id/wp-content/uploads/2022/01/001_MLI_2nd-post_08-November-2021-46-569x380.jpg 569w"
alt=""
width="379"
height="253"  />

take this with a grain of salt because i don't know much about html.

we don't have access to their website, right? I think the problem is with the website, as it sends broken html. `src` should be either a base64 encoded image or a link to an image but here the content of `src` is a broken link to `w3.org` which describes svg+xml, and the actual image is in `data-src` and is actually a jpg. ``` <img class="preload-me iso-lazy-load" src="data:image/svg+xml,%3Csvg%20xmlns%3D&#39;http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg&#39;%20viewBox%3D&#39;0%200%20379%20253&#39;%2F%3E" data-src="https://ruangrupa.id/wp-content/uploads/2022/01/001_MLI_2nd-post_08-November-2021-46-379x253.jpg" data-srcset="https://ruangrupa.id/wp-content/uploads/2022/01/001_MLI_2nd-post_08-November-2021-46-379x253.jpg 379w, https://ruangrupa.id/wp-content/uploads/2022/01/001_MLI_2nd-post_08-November-2021-46-569x380.jpg 569w" alt="" width="379" height="253" /> ``` take this with a grain of salt because i don't know much about html.
Owner

OK I think i understand what's going on. This html is not borked, it's just a box described by SVG+XML that contains a JPEG. I'll make a workaround for it by skipping the box and pulling the JPEG where it's possible. There's a handful of actual SVG images on their website that are described with a bunch of < img src='data:image/svg+xml...' src='data:image/svg+xml...'/> statements, but it's a negligible amount and I think it's better to not have a couple pictures display than to take who knows how long trying to hook it up.

OK I think i understand what's going on. This html is not borked, it's just a box described by SVG+XML that contains a JPEG. I'll make a workaround for it by skipping the box and pulling the JPEG where it's possible. There's a handful of actual SVG images on their website that are described with a bunch of `< img src='data:image/svg+xml...' src='data:image/svg+xml...'/>` statements, but it's a negligible amount and I think it's better to not have a couple pictures display than to take who knows how long trying to hook it up.
Author
Owner
https://lumbung.space/categories/ruangrupa.id/
Sign in to join this conversation.
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: ruangrupa/lumbung.space#29
No description provided.