yo,
since making my final(?) retreat from social media, i've been spending some time trying to get my freshrss instance to work how i want. mostly this has involved doing various levels of "clown bullshit" to avoid getting ip banned from tumblr1, but another thing that had been bothering me was that bluesky's rss support kind of sucks shit. like, all u get is the post body as plain text, without any indication of if the post has images attached. which is really frustrating when u consider that it actually does add a note to the post if it's got a quote retweet "quote post or other embedded content" in it!!
anyway as i was messing with my setup i noticed that when a bsky post is linked on eg. discord, the post preview displays the post's images. and they're seemingly the same resolution as they show up on the website? which got me thinking like, "damn i could totally just pull the urls out the post's og:image
tags and shove em on the end of the post huh. cool... maybe another time tho". but as usual i couldn't drop the idea and then the hyperfocus took over and 5 hours later i'd hacked together a freshrss extension that did exactly that.
im not really super comfortable writing stuff in php2 and i couldn't find any documentation for writing freshrss extensions3, so its pretty basic. im not doing anything fancier with the html in there than just shoving a few img
tags on the end of the post body. but it does what i needed and maybe its somethin other people need 2 so i figured i'd share it. check it out if u want :)
til next time,
– freya
-
ok i'm not sure if i actually got ip banned for my crime of "pulling 10 feeds at once a couple times a day" but i sure was getting a 403 forbidden on any attempt to fetch tumblr rss feeds from my server for several days so idk what else it could've been, ↩
-
theres only so many wordpress installations someone can debug before they start avoiding php wherever possible ↩
-
i figured most of it out by looking at the code for the freshrss-invidious extension and looking up functions on the freshrss repo.... ↩