This is my ‘Hello Lemmy World’ post!

I have been lurking a little, while I try to get up to some kind of speed. Thank you everyone here for getting me off that site that shan’t be named. My quality of life has improved immeasurably. I’m also enjoying the higher quality of interactions I find here in the Fediverse.

I have a couple of hopefully not stupid questions about Imagus sieves please. I have tried so, so hard over the years, to write my own sieves, but I always end up wearing the dunce cap. I just can’t figure them out.

I have been trying to make it work on the top level thumbnails at URL’s such as https://lemmy.world/home/data_type/Post/listing_type/Subscribed/sort/Active/page/1

or even https://lemmy.world/

So my questions are as follows:

  1. Has anyone written a sieve for Lemmy.world? If so I would really appreciate trying it out!
  2. Is it possible to edit the sieve for any instance by editing for example ‘lemmy’ to ‘beehaw’ and ‘world’ to ‘org’, or is that just wishful thinking on my part?
  3. Orrrr, would it be possible to write one sieve for all instances?

Thanks for reading and am looking forward to interacting with y’all and contributing to this new 'verse.

    • @new_achievementOP
      link
      English
      311 months ago

      Whoops! I removed my dunce cap and edited the title! Thanks for having my back there!!

        • @new_achievementOP
          link
          English
          111 months ago

          So far so good, thanks for asking… absolutely! Looks like Margot here lost her way, although she makes a good point! haha.

  • amzd
    link
    fedilink
    111 months ago

    First comment. I have written this quick regex that seems to work on thumbnails on kbin.social:

    img: ^kbin\.social/media/cache/resolve/entry_thumb/(.+)$
    to: media.kbin.social/$1

    for import:

    {"kbin.social":{"img":"^kbin\\.social/media/cache/resolve/entry_thumb/(.+)$","to":"media.kbin.social/$1"}}
    
    
    • amzd
      link
      fedilink
      111 months ago

      Ok an update already broke it; kbin added /media path to the media subdomain for some reason so update the to field with:

      media.kbin.social/media/$1