GNU social JP
  • FAQ
  • Login
GNU social JPは日本のGNU socialサーバーです。
Usage/ToS/admin/test/Pleroma FE
  • Public

    • Public
    • Network
    • Groups
    • Featured
    • Popular
    • People

Conversation

Notices

  1. Embed this notice
    Bob Wyman (bobwyman@mastodon.social)'s status on Monday, 20-Feb-2023 07:40:11 JST Bob Wyman Bob Wyman
    • Evan Prodromou
    • James M Snell

    @evan @jasnell
    Why does the Activity Vocabulary define several specific non-URI object types instead of using URIs (e.g. media-types) to indicate types?

    Given that the spec identifies a URI for each of the specific object types it defines, why does it say that I should write:
    {... "type": "Note"...} instead of
    {... "type": "https://www.w3.org/ns/activitystreams#Note" ...}?
    Is it for any reason other than size minimization?

    In conversation Monday, 20-Feb-2023 07:40:11 JST from mastodon.social permalink

    Attachments

    1. No result found on File_thumbnail lookup.
      ActivityStreams 2.0 Terms
      This document lists the terms used for the ActivityStreams 2.0 protocol and its stable extensions, and provides a namespace so each term has an HTTP IRI.
    • Embed this notice
      Evan Prodromou (evan@prodromou.pub)'s status on Monday, 20-Feb-2023 07:40:11 JST Evan Prodromou Evan Prodromou
      in reply to
      • James M Snell

      @bobwyman @jasnell nope, that's it. And it does expand to those longer URLs.

      In conversation Monday, 20-Feb-2023 07:40:11 JST permalink
    • Embed this notice
      Evan Prodromou (evan@prodromou.pub)'s status on Monday, 20-Feb-2023 08:20:50 JST Evan Prodromou Evan Prodromou
      in reply to
      • James M Snell

      @bobwyman @jasnell spec-wise, no. Practically, I think there are a lot of processors that won't expand URLs and will be looking for "Note".

      In conversation Monday, 20-Feb-2023 08:20:50 JST permalink
    • Embed this notice
      Bob Wyman (bobwyman@mastodon.social)'s status on Monday, 20-Feb-2023 08:20:51 JST Bob Wyman Bob Wyman
      in reply to
      • Evan Prodromou
      • James M Snell

      @jasnell @evan
      Given that "Note" and it's URI are equivalent, should I read the spec as saying that I MUST use "Note," or am I permitted to designate an object as either "Note" or "https://www.w3.org/ns/activitystreams#Note"?

      It might make more sense to ask: Given that all the document's examples are in Compact form, am I allowed to use other forms, such as Expanded, etc.?

      In conversation Monday, 20-Feb-2023 08:20:51 JST permalink

      Attachments

      1. No result found on File_thumbnail lookup.
        ActivityStreams 2.0 Terms
        This document lists the terms used for the ActivityStreams 2.0 protocol and its stable extensions, and provides a namespace so each term has an HTTP IRI.
    • Embed this notice
      James M Snell (jasnell@fosstodon.org)'s status on Monday, 20-Feb-2023 08:20:52 JST James M Snell James M Snell
      in reply to
      • Evan Prodromou

      @bobwyman @evan JSON-LD processing does expand those into URIs. But this minimal syntax allows easier processing without full JSON-LD being required.

      In conversation Monday, 20-Feb-2023 08:20:52 JST permalink

Feeds

  • Activity Streams
  • RSS 2.0
  • Atom
  • Help
  • About
  • FAQ
  • TOS
  • Privacy
  • Source
  • Version
  • Contact

GNU social JP is a social network, courtesy of GNU social JP管理人. It runs on GNU social, version 2.0.2-dev, available under the GNU Affero General Public License.

Creative Commons Attribution 3.0 All GNU social JP content and data are available under the Creative Commons Attribution 3.0 license.