rss-to-activitypub
rss-to-activitypub copied to clipboard
"account" icon
would love to be able to set an image to the feed so as to more easily recognize the bots. could even grab the favicon from the input url and attempt to make an icon out of that.
I'll add the favicon as a fallback. Currently it pulls whatever is defined in <image><url></url></image>
but I guess a lot of feeds don't include that.
awesome! might be nice to be able to set it to something else optionally if the automatic thing doesn't pick up anything or it grabs the wrong image.
Okay it's both updated in the code here and updated on bots.tinysubversions.com!
Just tried to make a new rss bot and it didn't seem to get an icon and there is no way to update it.
Can you point me to the feed? It would help with debugging.
Seeing similar with an RSS feed I punched in the other day. https://bots.tinysubversions.com/u/SeattleTransitBlog clearly has an icon on the page, but I don't see an avatar when viewed from mastodon.social.
Same Issue here: https://bots.tinysubversions.com/u/hpd
Ahh I see. So what I'm doing is parsing the favicon if there is no image specified. Some sites have a png favicon which plays nice with Mastodon/etc, but if it's a *.ico file, Mastodon won't read that as a valid avatar image. I suppose I could just not render a favicon on the homepage for the rss bot if it's an ico file, which would at least reduce user confusion.
https://hpd.de/sites/hpd.de/files/favicon_0.ico https://seattletransitblog.com/wp-content/themes/metro-pro/images/favicon.ico
@stefangrotz @Skirmisher Would you rather just not have an image on the profile page for these bots so you're not confused when the image doesn't appear on Mastodon/etc? The alternative would be me converting the *.ico file and storing my own version of the icon on the server but I don't want to introduce dependencies of like, imagemagick and also the required hard drive space. (Also it would be really blurry/small)
Hmm would it help to add .ico to the accepted file formats in mastodon?
the newest Mastodon rc just added WebP support so it seems they do seem to be down to add new file type support. I guess it would have the added benefit of maybe being able to turn favicons into emojos if we added support for .icos there.
It's not really confusing so much as it just looks a little tacky on the Mastodon end. I think an acceptable compromise would be to use a generic feed icon if the site's favicon isn't a reasonable image format. (A converted ICO would look really bad anyway, as you mentioned.)
I like the gerneric feed icon, maybe just the standard RSS icon.
(source https://de.wikipedia.org/wiki/RSS_%28Web-Feed%29#/media/File:Feed-icon.svg)
Maybe it would be interesting to "override" the user image with a custom URL at the creation of the activity pub user ? Thank you
If I may add, rss-bridge stores favicons in <logo>
and `
Currently they don't seem to be fetched by rss-to-activitypub
Would it be possible to add it ? :-) thank you
Edit : it seems that using "Mrss" export in rss-bridge, the feed includes <image><url></url></image>
so it's properly fetched. Don't know why they don't use it in the standard atom feed.