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 (No Skin)
  • No Skin
Collapse

NodeBB

  1. Home
  2. Technical Discussion
  3. I am outputting ActivityPub/ActivityStreams content for the listing of what is in a directory.

I am outputting ActivityPub/ActivityStreams content for the listing of what is in a directory.

Scheduled Pinned Locked Moved Technical Discussion
activitypubfediverseactivitystreamsfedidevfedidevs
1 Cross-posts 7 Posts 4 Posters 1 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.
  • reiver@mastodon.socialR This user is from outside of this forum
    reiver@mastodon.socialR This user is from outside of this forum
    reiver@mastodon.social
    wrote last edited by
    #1

    I am outputting ActivityPub/ActivityStreams content for the listing of what is in a directory.

    Think of it as the AP/AS version of output from the `ls` command.

    AP/AS has a whole bunch of stuff that can be used to represents files. Even sub-types of files

    https://www.w3.org/TR/activitystreams-vocabulary/#object-types

    And, while AP/AS has 'Collection' (and 'CollectionPage') —

    https://www.w3.org/TR/activitystreams-vocabulary/#dfn-collection

    AP/AS doesn't have a 'Directory' type (as a sub-type of 'Collection')

    #ActivityPub #ActivityStreams #FediDev #FediDevs #Fediverse

    maddyunderstars@aus.socialM smallcircles@social.coopS sl007@digitalcourage.socialS 3 Replies Last reply
    0
    • reiver@mastodon.socialR reiver@mastodon.social

      I am outputting ActivityPub/ActivityStreams content for the listing of what is in a directory.

      Think of it as the AP/AS version of output from the `ls` command.

      AP/AS has a whole bunch of stuff that can be used to represents files. Even sub-types of files

      https://www.w3.org/TR/activitystreams-vocabulary/#object-types

      And, while AP/AS has 'Collection' (and 'CollectionPage') —

      https://www.w3.org/TR/activitystreams-vocabulary/#dfn-collection

      AP/AS doesn't have a 'Directory' type (as a sub-type of 'Collection')

      #ActivityPub #ActivityStreams #FediDev #FediDevs #Fediverse

      maddyunderstars@aus.socialM This user is from outside of this forum
      maddyunderstars@aus.socialM This user is from outside of this forum
      maddyunderstars@aus.social
      wrote last edited by
      #2

      @reiver Cool! Is this part of a larger project?

      reiver@mastodon.socialR 1 Reply Last reply
      0
      • maddyunderstars@aus.socialM maddyunderstars@aus.social

        @reiver Cool! Is this part of a larger project?

        reiver@mastodon.socialR This user is from outside of this forum
        reiver@mastodon.socialR This user is from outside of this forum
        reiver@mastodon.social
        wrote last edited by
        #3

        @maddyunderstars

        Yes, I am creating a high performance read-only HTTP server for static files — that has built-in support for ActivityPub/ActivityStreams.

        It also supports (the read operations of) WebDAV. So, it can be used as a shared read-only drive in operating-systems (OSes) that support WebDAV.

        1 Reply Last reply
        0
        • reiver@mastodon.socialR reiver@mastodon.social

          I am outputting ActivityPub/ActivityStreams content for the listing of what is in a directory.

          Think of it as the AP/AS version of output from the `ls` command.

          AP/AS has a whole bunch of stuff that can be used to represents files. Even sub-types of files

          https://www.w3.org/TR/activitystreams-vocabulary/#object-types

          And, while AP/AS has 'Collection' (and 'CollectionPage') —

          https://www.w3.org/TR/activitystreams-vocabulary/#dfn-collection

          AP/AS doesn't have a 'Directory' type (as a sub-type of 'Collection')

          #ActivityPub #ActivityStreams #FediDev #FediDevs #Fediverse

          smallcircles@social.coopS This user is from outside of this forum
          smallcircles@social.coopS This user is from outside of this forum
          smallcircles@social.coop
          wrote last edited by
          #4

          @reiver

          Today "ActivityStreams: Where do you want to go to today?" might be a slogan we borrowed from Microsoft.

          The question is whether #ActivityStreams should be used - besides all the things it is already being used for - to also map to file systems.

          The #LinkedData nature of #ActivityPub is generally shunned in favor of plain #JSON. That in itself is fine, as long as:

          a) information still represents valid #JSONLD.

          b) information models still follow data modeling best practices.

          c) information models are designed with #interoperability in mind.

          Not saying your approach is good or bad, just observing that everyone mapping and overloading their own app-specific semantics to the poor AS vocab looks to me a worst-practice. We can get away with it, as we made post-facto interop the poor man's accepted practice, lacking more rigorous extension process and guidance.

          There are likely existing standardized ontologies.

          smallcircles@social.coopS 1 Reply Last reply
          0
          • smallcircles@social.coopS smallcircles@social.coop

            @reiver

            Today "ActivityStreams: Where do you want to go to today?" might be a slogan we borrowed from Microsoft.

            The question is whether #ActivityStreams should be used - besides all the things it is already being used for - to also map to file systems.

            The #LinkedData nature of #ActivityPub is generally shunned in favor of plain #JSON. That in itself is fine, as long as:

            a) information still represents valid #JSONLD.

            b) information models still follow data modeling best practices.

            c) information models are designed with #interoperability in mind.

            Not saying your approach is good or bad, just observing that everyone mapping and overloading their own app-specific semantics to the poor AS vocab looks to me a worst-practice. We can get away with it, as we made post-facto interop the poor man's accepted practice, lacking more rigorous extension process and guidance.

            There are likely existing standardized ontologies.

            smallcircles@social.coopS This user is from outside of this forum
            smallcircles@social.coopS This user is from outside of this forum
            smallcircles@social.coop
            wrote last edited by
            #5

            @reiver

            A quick 2 second search on file system #ontologies did not directly yield a great standard candidate, but it did return some interesting results on #SemanticFileSsystems.

            Like this paper and #ontology design:

            https://semantic-file-system-ontology.sourceforge.net/

            https://www.researchgate.net/publication/324605710_The_Design_and_Development_of_a_Semantic_File_System_Ontology

            reiver@mastodon.socialR 1 Reply Last reply
            0
            • smallcircles@social.coopS smallcircles@social.coop

              @reiver

              A quick 2 second search on file system #ontologies did not directly yield a great standard candidate, but it did return some interesting results on #SemanticFileSsystems.

              Like this paper and #ontology design:

              https://semantic-file-system-ontology.sourceforge.net/

              https://www.researchgate.net/publication/324605710_The_Design_and_Development_of_a_Semantic_File_System_Ontology

              reiver@mastodon.socialR This user is from outside of this forum
              reiver@mastodon.socialR This user is from outside of this forum
              reiver@mastodon.social
              wrote last edited by
              #6

              @smallcircles

              I agree that AP/AS has its limitations and shortcomings, but —

              I want this to work with Fediverse software.

              If I choose a Linked-Data namespace not supported by any Fediverse software, it won't be.

              ...

              I don't mind adding additional namespaces — and given AP/AS is missing fields for some information I want to expose, I'll likely need to.

              1 Reply Last reply
              0
              • reiver@mastodon.socialR reiver@mastodon.social

                I am outputting ActivityPub/ActivityStreams content for the listing of what is in a directory.

                Think of it as the AP/AS version of output from the `ls` command.

                AP/AS has a whole bunch of stuff that can be used to represents files. Even sub-types of files

                https://www.w3.org/TR/activitystreams-vocabulary/#object-types

                And, while AP/AS has 'Collection' (and 'CollectionPage') —

                https://www.w3.org/TR/activitystreams-vocabulary/#dfn-collection

                AP/AS doesn't have a 'Directory' type (as a sub-type of 'Collection')

                #ActivityPub #ActivityStreams #FediDev #FediDevs #Fediverse

                sl007@digitalcourage.socialS This user is from outside of this forum
                sl007@digitalcourage.socialS This user is from outside of this forum
                sl007@digitalcourage.social
                wrote last edited by
                #7

                @reiver

                This might be a misunderstanding.
                Any property in ActivityPub can have multiple properties [except the few marked as 'functional'].
                It does not need a special subtype.
                If we have type ['CollectionPage', 'Collection', 'wd:Q201456'], it is a directory in a directory (?)
                We have these nested structures in fedigeo anywhere, for example the UNESCO World Heritage or IATA Collection etc. We use wikidata (the data of wikipedia) so that anyone can use the label and infos for "directory" in any language …

                1 Reply Last reply
                0
                • ? Guest crossposted this topic to General Discussion

                Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                With your input, this post could be even better 💗

                Register Login
                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