fnic-lemmy / lemmy-directory

A repo for the Lemmy directory
https://lemmy.dbzer0.com/c/lemmydirectory
MIT License
1 stars 0 forks source link

We need to check if there are shields for kbin/mbin and implement them into the directory. #6

Closed M4rtineski closed 6 days ago

chris-y commented 2 weeks ago

We will need to raise a feature request for this. Worse case they can scrape the information from the magazine page or the magazine search. https://fedia.io/magazines?query=teletext&fields=names&federation=local&adult=show

I don't think there's any API to show the value.

Actually, the Activity pub API can probably provide this.

chris-y commented 2 weeks ago

Step 1: https://github.com/MbinOrg/mbin/issues/832

chris-y commented 2 weeks ago

Step 2: https://github.com/badges/shields/issues/10264

I think that should work with kbin as well, but I'm not sure if the state of the API there. I know it was taking ages for it to be in the stable branch.

chris-y commented 1 week ago

I've managed to add Mbin support to shields.io :smiley: image

I need to add some tests apparently, haven't looked into that bit yet.

M4rtineski commented 1 week ago

Is this really shields.io or did you use a workaround? The URL looks different from shields.io.

M4rtineski commented 1 week ago

Ah, forgot to be happy about that. I'm happy we finally got it working. :3

chris-y commented 1 week ago

Is this really shields.io or did you use a workaround? The URL looks different from shields.io.

It's a local instance, I've copied and pasted the image it generated into GitHub, so that image isn't "live".

chris-y commented 1 week ago

Awaiting merge: https://github.com/badges/shields/pull/10270

Something to be aware of is that Mbin is case sensitive with the magazine names.

M4rtineski commented 6 days ago

If I'm not missing anything then this issue got resolved.