rss-to-activitypub icon indicating copy to clipboard operation
rss-to-activitypub copied to clipboard

"account" icon

Open wakest opened this issue 5 years ago • 14 comments

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.

wakest avatar Oct 15 '18 05:10 wakest

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.

dariusk avatar Oct 15 '18 17:10 dariusk

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.

wakest avatar Oct 15 '18 17:10 wakest

Okay it's both updated in the code here and updated on bots.tinysubversions.com!

dariusk avatar Oct 15 '18 18:10 dariusk

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.

wakest avatar Feb 08 '19 18:02 wakest

Can you point me to the feed? It would help with debugging.

dariusk avatar Feb 08 '19 18:02 dariusk

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.

Skirmisher avatar Feb 23 '19 01:02 Skirmisher

Same Issue here: https://bots.tinysubversions.com/u/hpd

stefangrotz avatar Mar 14 '19 19:03 stefangrotz

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)

dariusk avatar Mar 14 '19 20:03 dariusk

Hmm would it help to add .ico to the accepted file formats in mastodon?

stefangrotz avatar Mar 28 '19 11:03 stefangrotz

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.

wakest avatar Mar 30 '19 02:03 wakest

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.)

Skirmisher avatar Apr 02 '19 06:04 Skirmisher

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)

stefangrotz avatar Apr 02 '19 08:04 stefangrotz

Maybe it would be interesting to "override" the user image with a custom URL at the creation of the activity pub user ? Thank you

husimo avatar Apr 03 '19 17:04 husimo

If I may add, rss-bridge stores favicons in <logo> and `'

image

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.

husimo avatar Apr 20 '19 22:04 husimo