Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • 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 (No Skin)
  • No Skin
Collapse
We Distribute
  1. Home
  2. General Discussion
  3. I have a question about #activitypub :

I have a question about #activitypub :

Scheduled Pinned Locked Moved General Discussion
activitypubabcdconcertannounce
13 Posts 6 Posters 19 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.
  • depemig@social.coopD depemig@social.coop

    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?

    silverpill@mitra.socialS This user is from outside of this forum
    silverpill@mitra.socialS This user is from outside of this forum
    silverpill@mitra.social
    wrote on 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.

    silverpill@mitra.socialS 1 Reply Last reply
    0
    • silverpill@mitra.socialS silverpill@mitra.social

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

      silverpill@mitra.socialS This user is from outside of this forum
      silverpill@mitra.socialS This user is from outside of this forum
      silverpill@mitra.social
      wrote on 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.

      helge@mymath.rocksH 1 Reply Last reply
      0
      • silverpill@mitra.socialS silverpill@mitra.social

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

        helge@mymath.rocksH This user is from outside of this forum
        helge@mymath.rocksH This user is from outside of this forum
        helge@mymath.rocks
        wrote on 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...

        silverpill@mitra.socialS 1 Reply Last reply
        0
        • helge@mymath.rocksH helge@mymath.rocks

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

          silverpill@mitra.socialS This user is from outside of this forum
          silverpill@mitra.socialS This user is from outside of this forum
          silverpill@mitra.social
          wrote on 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

          depemig@social.coopD 1 Reply Last reply
          0
          • depemig@social.coopD depemig@social.coop

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

            benpate@mastodon.socialB This user is from outside of this forum
            benpate@mastodon.socialB This user is from outside of this forum
            benpate@mastodon.social
            wrote on 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
            0
            • silverpill@mitra.socialS silverpill@mitra.social

              @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

              depemig@social.coopD This user is from outside of this forum
              depemig@social.coopD This user is from outside of this forum
              depemig@social.coop
              wrote on 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! ๐Ÿ™‚

              depemig@social.coopD 1 Reply Last reply
              0
              • depemig@social.coopD depemig@social.coop

                @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! ๐Ÿ™‚

                depemig@social.coopD This user is from outside of this forum
                depemig@social.coopD This user is from outside of this forum
                depemig@social.coop
                wrote on 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?

                silverpill@mitra.socialS 1 Reply Last reply
                0
                • depemig@social.coopD depemig@social.coop

                  @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?

                  silverpill@mitra.socialS This user is from outside of this forum
                  silverpill@mitra.socialS This user is from outside of this forum
                  silverpill@mitra.social
                  wrote on 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.

                  mariusor@metalhead.clubM 1 Reply Last reply
                  0
                  • silverpill@mitra.socialS silverpill@mitra.social

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

                    mariusor@metalhead.clubM This user is from outside of this forum
                    mariusor@metalhead.clubM This user is from outside of this forum
                    mariusor@metalhead.club
                    wrote on 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
                    0
                    • depemig@social.coopD depemig@social.coop

                      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?

                      trwnh@mastodon.socialT This user is from outside of this forum
                      trwnh@mastodon.socialT This user is from outside of this forum
                      trwnh@mastodon.social
                      wrote on last edited by
                      #12

                      @DePemig

                      on the publisher side: create an actor representing the topic you think your audience wants to follow. when the actor is a Person (the most common case), the topic is "everything this person does". probably not what you want in all cases!

                      on the receiving side: you can store everything you receive in some storage backend and query it. this is what fedi does. "give me all posts by x with tag y" is a query on the entire local database of syndicated posts.

                      trwnh@mastodon.socialT 1 Reply Last reply
                      0
                      • trwnh@mastodon.socialT trwnh@mastodon.social

                        @DePemig

                        on the publisher side: create an actor representing the topic you think your audience wants to follow. when the actor is a Person (the most common case), the topic is "everything this person does". probably not what you want in all cases!

                        on the receiving side: you can store everything you receive in some storage backend and query it. this is what fedi does. "give me all posts by x with tag y" is a query on the entire local database of syndicated posts.

                        trwnh@mastodon.socialT This user is from outside of this forum
                        trwnh@mastodon.socialT This user is from outside of this forum
                        trwnh@mastodon.social
                        wrote on last edited by
                        #13

                        @DePemig for publishers you can think of a blog category as having its own atom feed or activitypub outbox. in my website's static site generator (hugo) i configure a taxonomy called "streams" which output to multiple formats

                        each rss channel item / atom feed entry / activitypub outbox activity / etc can be attributed to some author that doesn't have to be the actor you followed. this might cause some weirdness in tracking your "following", since you never followed the author themselves.

                        1 Reply Last reply
                        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