Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (Darkly)
  • No Skin
Collapse
Brand Logo
  1. Home
  2. Uncategorized
  3. I have a question about #activitypub :Is there a method for: Following from account xyz only post of a certain type (e.g., images) or a certain hashtag (#abcd).

I have a question about #activitypub :Is there a method for: Following from account xyz only post of a certain type (e.g., images) or a certain hashtag (#abcd).

Scheduled Pinned Locked Moved Uncategorized
activitypubabcdconcertannounce
11 Posts 5 Posters 0 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • Gilles DePemig :TwinPines:D Gilles DePemig :TwinPines:

    I have a question about #activitypub :
    Is there a method for: Following from account xyz only post of a certain type (e.g., images) or a certain hashtag (#abcd).

    As an example: I would like to be able only to see the comics that a comic artist posts, but not their further opinion. (type is only image)

    Another example from the sender side: I am a music group and I would like to invite people to: "Follow #concert_announcement for @mycrazycoolband"

    Maybe @benpate knows about this?

    Gilles DePemig :TwinPines:D This user is from outside of this forum
    Gilles DePemig :TwinPines:D This user is from outside of this forum
    Gilles DePemig :TwinPines:
    wrote last edited by
    #2

    @benpate Now I think about this 10 minutes longer, this seems like something that one can be done on the client side, right?

    Ben Pate 🤘🏻B 1 Reply Last reply
    0
    • Gilles DePemig :TwinPines:D Gilles DePemig :TwinPines:

      I have a question about #activitypub :
      Is there a method for: Following from account xyz only post of a certain type (e.g., images) or a certain hashtag (#abcd).

      As an example: I would like to be able only to see the comics that a comic artist posts, but not their further opinion. (type is only image)

      Another example from the sender side: I am a music group and I would like to invite people to: "Follow #concert_announcement for @mycrazycoolband"

      Maybe @benpate knows about this?

      silverpillS This user is from outside of this forum
      silverpillS This user is from outside of this forum
      silverpill
      wrote last edited by
      #3

      @DePemig The filtering could be done on the client side. But if I were to implement this in server-to-server context, I would probably add a new property to Follow activity, e.g. filter.

      silverpillS 1 Reply Last reply
      1
      0
      • R AodeRelay shared this topic
      • silverpillS silverpill

        @DePemig The filtering could be done on the client side. But if I were to implement this in server-to-server context, I would probably add a new property to Follow activity, e.g. filter.

        silverpillS This user is from outside of this forum
        silverpillS This user is from outside of this forum
        silverpill
        wrote last edited by
        #4

        @DePemig

        Another example from the sender side: I am a music group and I would like to invite people to: "Follow #concert_announcement for @mycrazycoolband"

        If filters are static, they could be implemented as groups / circles.

        HelgeH 1 Reply Last reply
        2
        0
        • R ActivityRelay shared this topic
        • silverpillS silverpill

          @DePemig

          Another example from the sender side: I am a music group and I would like to invite people to: "Follow #concert_announcement for @mycrazycoolband"

          If filters are static, they could be implemented as groups / circles.

          HelgeH This user is from outside of this forum
          HelgeH This user is from outside of this forum
          Helge
          wrote last edited by
          #5

          This is one of the features, I want to implement with fedi-herds.

          The main current obstacle for me is: How would you want to specify the filter rules? One would need to develop a way to describe filters on Objects / Activities. Solutions like Pleroma's MRF are just "let's write code".

          If you want to allow users to write filters, you want a more limited DSL...

          silverpillS 1 Reply Last reply
          0
          • HelgeH Helge

            This is one of the features, I want to implement with fedi-herds.

            The main current obstacle for me is: How would you want to specify the filter rules? One would need to develop a way to describe filters on Objects / Activities. Solutions like Pleroma's MRF are just "let's write code".

            If you want to allow users to write filters, you want a more limited DSL...

            silverpillS This user is from outside of this forum
            silverpillS This user is from outside of this forum
            silverpill
            wrote last edited by
            #6

            @helge @DePemig For hashtags we need a way to say "give me all Notes where tag contains an object with type equal to Hashtag and name equal to tagname"

            There is a FEP by @mariusor that describes collection filters: https://codeberg.org/fediverse/fep/src/branch/main/fep/6606/fep-6606.md. I guess we can re-use those conventions for lists

            Another FEP is https://codeberg.org/fediverse/fep/src/branch/main/fep/5bf0/fep-5bf0.md, but I think it doesn't have implementations

            Gilles DePemig :TwinPines:D 1 Reply Last reply
            2
            0
            • Gilles DePemig :TwinPines:D Gilles DePemig :TwinPines:

              @benpate Now I think about this 10 minutes longer, this seems like something that one can be done on the client side, right?

              Ben Pate 🤘🏻B This user is from outside of this forum
              Ben Pate 🤘🏻B This user is from outside of this forum
              Ben Pate 🤘🏻
              wrote last edited by
              #7

              @DePemig

              Hey Gilles! It looks like several other *far more knowledgeable* people have already chimed in, but yeah.. this would probably be best as a filter on your client or your own home server.

              I *think* Mastodon already does something kinda like this.. allowing you to filter out boosts from accounts you follow. It's a nice add that we could probably expand on.

              1 Reply Last reply
              2
              0
              • silverpillS silverpill

                @helge @DePemig For hashtags we need a way to say "give me all Notes where tag contains an object with type equal to Hashtag and name equal to tagname"

                There is a FEP by @mariusor that describes collection filters: https://codeberg.org/fediverse/fep/src/branch/main/fep/6606/fep-6606.md. I guess we can re-use those conventions for lists

                Another FEP is https://codeberg.org/fediverse/fep/src/branch/main/fep/5bf0/fep-5bf0.md, but I think it doesn't have implementations

                Gilles DePemig :TwinPines:D This user is from outside of this forum
                Gilles DePemig :TwinPines:D This user is from outside of this forum
                Gilles DePemig :TwinPines:
                wrote last edited by
                #8

                @silverpill @helge @mariusor

                Oops, I was celebrating my birthday yesterday and see your replies only now. I'm a bit humbled since I have close to zero technical knowledge about the protocol. However, great to read that my question is interesting for you! 🙂

                Gilles DePemig :TwinPines:D 1 Reply Last reply
                0
                • Gilles DePemig :TwinPines:D Gilles DePemig :TwinPines:

                  @silverpill @helge @mariusor

                  Oops, I was celebrating my birthday yesterday and see your replies only now. I'm a bit humbled since I have close to zero technical knowledge about the protocol. However, great to read that my question is interesting for you! 🙂

                  Gilles DePemig :TwinPines:D This user is from outside of this forum
                  Gilles DePemig :TwinPines:D This user is from outside of this forum
                  Gilles DePemig :TwinPines:
                  wrote last edited by
                  #9

                  @silverpill @helge @mariusor

                  As @benpate also noted in his answer, an implementation on the client side, be it mastodon on another software seems possible (as indeed, mastodon and other softwares already allow you to follow someone's posts excluding boosts). If I may ask, @silverpill, what information or functionality could be gained by defining this on a "server-to-server" level? You could not create an hashtag that someone "owns", could you?

                  silverpillS 1 Reply Last reply
                  0
                  • Gilles DePemig :TwinPines:D Gilles DePemig :TwinPines:

                    @silverpill @helge @mariusor

                    As @benpate also noted in his answer, an implementation on the client side, be it mastodon on another software seems possible (as indeed, mastodon and other softwares already allow you to follow someone's posts excluding boosts). If I may ask, @silverpill, what information or functionality could be gained by defining this on a "server-to-server" level? You could not create an hashtag that someone "owns", could you?

                    silverpillS This user is from outside of this forum
                    silverpillS This user is from outside of this forum
                    silverpill
                    wrote last edited by
                    #10

                    @DePemig @helge @mariusor @benpate Client side filtering works well for public content. But if the content is private, the sender needs to know the audience, so some server-to-server activity would be required.

                    mariusM 1 Reply Last reply
                    1
                    0
                    • silverpillS silverpill

                      @DePemig @helge @mariusor @benpate Client side filtering works well for public content. But if the content is private, the sender needs to know the audience, so some server-to-server activity would be required.

                      mariusM This user is from outside of this forum
                      mariusM This user is from outside of this forum
                      marius
                      wrote last edited by
                      #11

                      @silverpill HTTP-Signatures work for GET requests too.

                      From them you can extract the actor that accesses a C2S resource and determine based on the resource's recipients (to a reasonable degree) if it's allowed. No S2S required.

                      @DePemig @helge @benpate

                      1 Reply Last reply
                      1
                      0
                      Reply
                      • Reply as topic
                      Log in to reply
                      • Oldest to Newest
                      • Newest to Oldest
                      • Most Votes


                      • Login

                      • Don't have an account? Register

                      • Login or register to search.
                      Powered by NodeBB Contributors
                      • First post
                        Last post
                      0
                      • Categories
                      • Recent
                      • Tags
                      • Popular
                      • World
                      • Users
                      • Groups