Skip to content
  • Categories
  • Recent
  • Popular
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

NodeBB-ActivityPub Bridge Test Instance

  1. Home
  2. Categories
  3. General Discussion
  4. AP Test (community.nodebb.org)
  5. Recommend object URL should 301 to AP resource

Recommend object URL should 301 to AP resource

Scheduled Pinned Locked Moved AP Test (community.nodebb.org)
activitypubghostdiscourse
15 Posts 6 Posters 56 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.
  • evan@cosocial.caE evan@cosocial.ca

    @julian @johnonolan @angus there's a whole task force for this. You've commented on it. Why does this need to be discussed?

    julian@community.nodebb.orgJ This user is from outside of this forum
    julian@community.nodebb.orgJ This user is from outside of this forum
    julian@community.nodebb.org
    wrote on last edited by
    #5

    @evan@cosocial.ca this was to ask the mentioned parties for Ghost and Discourse to implement.

    I mentioned you to keep you in the loop because task forces achieve nothing without implementors doing the work.

    1 Reply Last reply
    0
    • rimu@piefed.socialR This user is from outside of this forum
      rimu@piefed.socialR This user is from outside of this forum
      rimu@piefed.social
      wrote on last edited by
      #6

      Object IDs should really be retrievable by http GET. See section 3.2 of https://www.w3.org/TR/activitypub

      julian@community.nodebb.orgJ 1 Reply Last reply
      0
      • rimu@piefed.socialR rimu@piefed.social

        Object IDs should really be retrievable by http GET. See section 3.2 of https://www.w3.org/TR/activitypub

        julian@community.nodebb.orgJ This user is from outside of this forum
        julian@community.nodebb.orgJ This user is from outside of this forum
        julian@community.nodebb.org
        wrote on last edited by
        #7

        @rimu@piefed.social yes, that's right. I'm specifically referring to object urls though, which tend to be more user facing.

        1 Reply Last reply
        0
        • 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
          #8

          @julian @johnonolan @angus @evan

          Why 301 and not 302?
          I am using 302. Probably chose it because everyone else was using it.

          julian@community.nodebb.orgJ 1 Reply Last reply
          0
          • silverpill@mitra.socialS silverpill@mitra.social

            @julian @johnonolan @angus @evan

            Why 301 and not 302?
            I am using 302. Probably chose it because everyone else was using it.

            julian@community.nodebb.orgJ This user is from outside of this forum
            julian@community.nodebb.orgJ This user is from outside of this forum
            julian@community.nodebb.org
            wrote on last edited by
            #9

            @silverpill@mitra.social 302/307 is also fine by me. Probably safer from being accidentally cached and may be more appropriate in this situation.

            1 Reply Last reply
            0
            • rimu@piefed.socialR This user is from outside of this forum
              rimu@piefed.socialR This user is from outside of this forum
              rimu@piefed.social
              wrote on last edited by
              #10

              You could save yourself some hassle and make urls and IDs the same value. But you do you 🙂

              1 Reply Last reply
              0
              • johnonolan@mastodon.xyzJ This user is from outside of this forum
                johnonolan@mastodon.xyzJ This user is from outside of this forum
                johnonolan@mastodon.xyz
                wrote on last edited by
                #11

                @julian @angus @evan interesting problem! Redirect feels like a slightly weird pattern to me, intuitively, but open to implementing any preferred approach

                julian@community.nodebb.orgJ 1 Reply Last reply
                0
                • johnonolan@mastodon.xyzJ johnonolan@mastodon.xyz

                  @julian @angus @evan interesting problem! Redirect feels like a slightly weird pattern to me, intuitively, but open to implementing any preferred approach

                  julian@community.nodebb.orgJ This user is from outside of this forum
                  julian@community.nodebb.orgJ This user is from outside of this forum
                  julian@community.nodebb.org
                  wrote on last edited by
                  #12

                  @johnonolan@mastodon.xyz A solution is only needed if the resource id is different from the URL (which in Ghost's case, is true).

                  You don't have to use a redirect. If your software is capable of doing it, you can serve the ActivityPub object directly from that route's controller; that's what NodeBB does.

                  1 Reply Last reply
                  0
                  • johnonolan@mastodon.xyzJ This user is from outside of this forum
                    johnonolan@mastodon.xyzJ This user is from outside of this forum
                    johnonolan@mastodon.xyz
                    wrote on last edited by
                    #13

                    @julian If you want to make an issue here about what you'd like to see I'll make sure the team sees it 🙂

                    Link Preview Image
                    GitHub - TryGhost/ActivityPub: A full-featured ActivityPub server for networked publishing with Ghost

                    A full-featured ActivityPub server for networked publishing with Ghost - TryGhost/ActivityPub

                    favicon

                    GitHub (github.com)

                    johnonolan@mastodon.xyzJ 1 Reply Last reply
                    0
                    • johnonolan@mastodon.xyzJ johnonolan@mastodon.xyz

                      @julian If you want to make an issue here about what you'd like to see I'll make sure the team sees it 🙂

                      Link Preview Image
                      GitHub - TryGhost/ActivityPub: A full-featured ActivityPub server for networked publishing with Ghost

                      A full-featured ActivityPub server for networked publishing with Ghost - TryGhost/ActivityPub

                      favicon

                      GitHub (github.com)

                      johnonolan@mastodon.xyzJ This user is from outside of this forum
                      johnonolan@mastodon.xyzJ This user is from outside of this forum
                      johnonolan@mastodon.xyz
                      wrote on last edited by
                      #14

                      @julian (Thank you for the ping btw, I appreciate the note - this wasn't on my radar)

                      julian@community.nodebb.orgJ 1 Reply Last reply
                      0
                      • johnonolan@mastodon.xyzJ johnonolan@mastodon.xyz

                        @julian (Thank you for the ping btw, I appreciate the note - this wasn't on my radar)

                        julian@community.nodebb.orgJ This user is from outside of this forum
                        julian@community.nodebb.orgJ This user is from outside of this forum
                        julian@community.nodebb.org
                        wrote on last edited by
                        #15

                        @johnonolan@mastodon.xyz no worries, and thanks! Will do.

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


                        • Login

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